/* AudioVista marketing site — cream / teal / mint / gold
   Heritage in Harmony Group, Inc. · Editorial Pass 01 */

:root {
  --cream: #f7f4ec;
  --teal: #10383c;
  --teal-mid: #16363a;
  --mint: #deebe5;
  --gold: #edbd82;
  --text: #10383c;
  --text-muted: #3a5558;
  --white: #ffffff;
  --focus: #edbd82;
  --danger-bg: #fff3cd;
  --danger-border: #c9a227;
  --max: 68rem;
  --radius: 0.75rem;
  --shadow: 0 0.5rem 1.5rem rgba(16, 56, 60, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--teal-mid);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 1000;
  background: var(--teal);
  color: var(--cream);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 236, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(16, 56, 60, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.45rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-weight: 550;
  color: var(--text-muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--teal);
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.2;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--teal-mid);
  color: var(--cream);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-secondary:hover {
  background: var(--mint);
  color: var(--teal);
}

.btn-gold {
  background: var(--gold);
  color: var(--teal);
}

.btn-gold:hover {
  filter: brightness(0.97);
  color: var(--teal);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Hero */
.hero {
  padding: 3rem 0 2.5rem;
  background:
    linear-gradient(180deg, var(--mint) 0%, var(--cream) 70%);
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  max-width: 14ch;
}

.hero-lead {
  font-size: 1.2rem;
  max-width: 40rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-panel {
  margin-top: 2rem;
  background: var(--white);
  border: 1px solid rgba(16, 56, 60, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.5rem;
  max-width: 36rem;
}

.hero-panel strong {
  color: var(--teal);
}

/* Sections */
section {
  padding: 2.75rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.band-mint {
  background: var(--mint);
}

.band-teal {
  background: var(--teal);
  color: var(--cream);
}

.band-teal a {
  color: var(--gold);
}

.band-teal h2,
.band-teal p {
  color: inherit;
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.15rem;
  border: 1px solid rgba(16, 56, 60, 0.1);
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.callout {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0 0;
}

/* Cards / matrix */
.grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid rgba(16, 56, 60, 0.1);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card.pro {
  border-color: var(--gold);
  box-shadow: 0 0.5rem 1.5rem rgba(237, 189, 130, 0.25);
}

.price {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--teal);
  margin: 0.35rem 0 0.75rem;
}

.price span {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--text-muted);
}

.checklist {
  margin: 0;
  padding-left: 1.15rem;
}

.checklist li {
  margin-bottom: 0.4rem;
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(16, 56, 60, 0.12);
  font-size: 0.98rem;
}

.matrix th,
.matrix td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(16, 56, 60, 0.1);
}

.matrix th {
  background: var(--teal);
  color: var(--cream);
  font-weight: 650;
}

.matrix tr:last-child td {
  border-bottom: none;
}

.matrix caption {
  text-align: left;
  font-weight: 650;
  padding: 0 0 0.75rem;
  color: var(--teal);
}

/* Banners */
.draft-banner {
  background: var(--danger-bg);
  border: 2px solid var(--danger-border);
  color: var(--teal);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-weight: 650;
}

.proposed-banner {
  background: var(--mint);
  border: 2px solid rgba(16, 56, 60, 0.2);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-weight: 650;
}

.placeholder {
  background: repeating-linear-gradient(
    -45deg,
    rgba(16, 56, 60, 0.04),
    rgba(16, 56, 60, 0.04) 8px,
    rgba(16, 56, 60, 0.08) 8px,
    rgba(16, 56, 60, 0.08) 16px
  );
  border: 1px dashed rgba(16, 56, 60, 0.35);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-family: ui-monospace, monospace;
  font-size: 0.95rem;
}

/* Page title */
.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.2rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  background: var(--teal);
  color: var(--cream);
}

.site-footer a {
  color: var(--gold);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h2 {
  font-size: 1rem;
  margin: 0 0 0.65rem;
  color: var(--mint);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.fine-print {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(222, 235, 229, 0.25);
  font-size: 0.9rem;
  color: var(--mint);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Published-site refinement: strong download contrast and the existing journey image. */
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); }
#download { scroll-margin-top: 6rem; }
.hero { padding: 4rem 0; background: linear-gradient(90deg,rgba(8,39,46,.96),rgba(8,39,46,.82) 55%,rgba(8,39,46,.4)),url('window-journey.jpg') center/cover; color:white; }
.hero h1 { font-size:clamp(2.6rem,6vw,4.7rem); max-width:12ch; }
.hero .hero-lead,.hero .eyebrow { color:#f0f5ef; }
.hero .btn-primary { background:white; color:var(--teal); border-color:white; }
.hero .web-cta { color:white; border-color:white; }
.hero .hero-panel { color:var(--text); background:rgba(255,255,255,.95); }
.btn { min-height:48px; }
@media(max-width:700px) { .header-inner { gap:.5rem; } .nav { gap:.5rem 1rem; font-size:.9rem; } .hero {padding:2.4rem 0;} .hero .btn-row {display:grid;grid-template-columns:1fr;} .hero .btn {width:100%;} }
