:root {
  color-scheme: light;
  --bg: #f7f4ed;
  --surface: #ffffff;
  --surface-strong: #fffaf0;
  --ink: #17201f;
  --muted: #5a6763;
  --teal: #0b8793;
  --teal-dark: #0b4f5c;
  --green: #4a8f5b;
  --amber: #b87a22;
  --coral: #c85c44;
  --line: #d8ded8;
  --shadow: 0 18px 48px rgba(23, 32, 31, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(11, 135, 147, 0.09), transparent 31rem),
    linear-gradient(180deg, #fbf8f1 0%, var(--bg) 38%, #eef4f0 100%);
  color: var(--ink);
  font-family: "Assistant", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(11, 135, 147, 0.45);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

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

.skip-link:focus {
  z-index: 200;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(247, 244, 237, 0.84);
  backdrop-filter: blur(18px);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(23, 32, 31, 0.08);
  box-shadow: 0 8px 22px rgba(23, 32, 31, 0.06);
}

.nav {
  width: min(100% - 2rem, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(11, 79, 92, 0.22);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  border-radius: var(--radius);
  color: #33413d;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.58rem 0.78rem;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(11, 135, 147, 0.1);
  color: var(--teal-dark);
}

.nav-links .nav-cta {
  background: var(--ink);
  color: #fff;
  margin-left: 0.2rem;
}

.nav-links .nav-cta:hover {
  background: var(--teal-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: currentColor;
  border-radius: 999px;
}

.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5.25rem 0;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding-top: 3.5rem;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

h1 {
  max-width: 16ch;
  font-size: 3.55rem;
  line-height: 1;
  margin-bottom: 1.35rem;
}

h2 {
  color: var(--ink);
  font-size: 2.55rem;
  line-height: 1.06;
  margin-bottom: 1rem;
}

h3 {
  color: var(--ink);
  font-size: 1.13rem;
  line-height: 1.18;
  margin-bottom: 0.5rem;
}

.hero-lede {
  max-width: 38rem;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.4rem;
}

.button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  padding: 0.78rem 1rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 79, 92, 0.22);
}

.button.primary:hover {
  background: var(--teal);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.credibility-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.credibility-strip span {
  border: 1px solid rgba(11, 135, 147, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #2f4642;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.26rem 0.5rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(23, 32, 31, 0.08);
  border-radius: var(--radius);
  background: #e8efe8;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(23, 32, 31, 0.54) 100%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  z-index: 1;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.89);
  padding: 1rem;
  box-shadow: 0 16px 34px rgba(23, 32, 31, 0.18);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note span {
  color: var(--muted);
  margin-top: 0.2rem;
}

.section-heading {
  max-width: 710px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  max-width: 760px;
  text-align: center;
  margin: 0 auto 2.2rem;
}

.section-heading p {
  font-size: 1.08rem;
}

.stat-grid,
.feature-grid,
.flow-grid,
.metric-band {
  display: grid;
  gap: 1rem;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.feature-grid article,
.flow-grid article,
.metric-band article,
.ask-card {
  border: 1px solid rgba(23, 32, 31, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  padding: 1.25rem;
}

.stat-value,
.metric {
  color: var(--teal-dark);
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.9rem;
}

.stat-card:nth-child(2) .stat-value {
  color: var(--coral);
}

.stat-card:nth-child(3) .stat-value {
  color: var(--green);
}

.stat-card p,
.feature-grid p,
.flow-grid p,
.why-grid p,
.metric-band p,
.status-list p {
  margin-bottom: 0;
}

.source-note {
  max-width: 760px;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(184, 122, 34, 0.09);
  color: #5f4822;
  font-size: 0.96rem;
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  align-items: center;
  gap: 3rem;
}

.split.reverse {
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
}

.product-panel {
  border: 1px solid rgba(11, 135, 147, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 135, 147, 0.09), rgba(74, 143, 91, 0.1)),
    var(--surface);
  padding: 1.35rem;
  box-shadow: 0 14px 38px rgba(23, 32, 31, 0.08);
}

.audiogram {
  border-radius: var(--radius);
  background: #fff;
  padding: 1.25rem;
}

.audiogram svg {
  width: 100%;
  height: auto;
}

.audiogram .grid-lines path {
  stroke: #dfe6df;
  stroke-width: 1;
}

.audiogram .curve-shadow {
  fill: none;
  stroke: rgba(11, 135, 147, 0.12);
  stroke-linecap: round;
  stroke-width: 18;
}

.audiogram .curve {
  fill: none;
  stroke: url("#lineGradient");
  stroke-linecap: round;
  stroke-width: 8;
}

.audiogram circle {
  fill: #fff;
  stroke: var(--teal-dark);
  stroke-width: 5;
}

.audiogram strong,
.audiogram span {
  display: block;
}

.audiogram span {
  color: var(--muted);
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.flow-grid article {
  min-height: 208px;
}

.flow-grid span,
.timeline span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(11, 135, 147, 0.12);
  color: var(--teal-dark);
  font-weight: 800;
  margin-bottom: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article {
  background: rgba(255, 250, 240, 0.78);
}

.feature-grid article:nth-child(2),
.feature-grid article:nth-child(4) {
  background: rgba(255, 255, 255, 0.78);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.why-grid article {
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 1.25rem;
}

.why-grid article:nth-child(2) {
  border-top-color: var(--green);
}

.why-grid article:nth-child(3) {
  border-top-color: var(--coral);
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: 3rem;
  align-items: start;
}

.status-list {
  display: grid;
  gap: 0.85rem;
}

.status-list article {
  border-left: 4px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem;
}

.status-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  margin-top: 0.32rem;
}

.status-dot.green {
  background: var(--green);
}

.status-dot.blue {
  background: var(--teal);
}

.status-dot.amber {
  background: var(--amber);
}

.metric-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.metric-band article {
  background: var(--surface);
}

.market-map {
  min-height: 390px;
  border: 1px solid rgba(23, 32, 31, 0.1);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
  background:
    linear-gradient(90deg, rgba(11, 135, 147, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(11, 135, 147, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.68);
  background-size: 42px 42px;
  padding: 1.25rem;
}

.map-node {
  min-height: 86px;
  border: 1px solid rgba(23, 32, 31, 0.12);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.primary-node {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #fff;
  font-size: 1.35rem;
}

.placeholder-note {
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(184, 122, 34, 0.1);
  color: #4b3b22;
  margin-top: 1.4rem;
  padding: 1rem;
}

.placeholder-note strong {
  color: #4b3b22;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline li {
  position: relative;
  min-height: 246px;
  border: 1px solid rgba(23, 32, 31, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  padding: 1.25rem;
}

.ask {
  width: 100%;
  max-width: none;
  background: linear-gradient(135deg, #123735 0%, #0b4f5c 48%, #25533a 100%);
  color: #fff;
  padding: 0;
}

.ask-panel {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
  gap: 3rem;
  align-items: center;
}

.ask .eyebrow,
.ask h2,
.ask p {
  color: #fff;
}

.ask p {
  opacity: 0.84;
}

.ask-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.ask-card ul {
  color: var(--muted);
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
}

.ask-card li + li {
  margin-top: 0.35rem;
}

.footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer p,
.footer span,
.footer a {
  color: var(--muted);
  margin: 0;
}

.footer a {
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
  text-align: right;
}

@media (max-width: 1060px) {
  .hero-grid,
  .split,
  .split.reverse,
  .evidence-layout,
  .ask-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 15ch;
    font-size: 3.15rem;
  }

  .feature-grid,
  .flow-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual,
  .hero-visual img {
    min-height: 440px;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.2rem;
    border: 1px solid rgba(23, 32, 31, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    padding: 0.65rem;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.82rem;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .section {
    padding: 3.7rem 0;
  }

  h1 {
    max-width: 14ch;
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .stat-grid,
  .why-grid,
  .metric-band {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 340px;
  }

  .footer,
  .footer-links {
    display: grid;
    text-align: left;
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .section,
  .nav,
  .ask-panel,
  .footer {
    width: min(100% - 1.2rem, var(--max));
  }

  .brand small {
    display: none;
  }

  h1 {
    max-width: 13ch;
    font-size: 2.28rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .feature-grid,
  .flow-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .flow-grid article,
  .timeline li {
    min-height: auto;
  }

  .market-map {
    min-height: 320px;
    grid-template-columns: repeat(2, 1fr);
  }

  .primary-node {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .hero-note {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.8rem;
  }
}

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