:root {
  color-scheme: light;
  --paper: #f5f7f2;
  --surface: #ffffff;
  --surface-2: #eef4ef;
  --ink: #16201b;
  --muted: #5d6a62;
  --line: #d9e0d8;
  --teal: #126c61;
  --teal-dark: #0d4f49;
  --brick: #9b3d2f;
  --gold: #a86d12;
  --blue: #315f7b;
  --shadow: 0 18px 46px rgba(22, 32, 27, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

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

.site-header,
.site-footer,
.brand,
.nav-actions,
.button-row,
.signal-row {
  display: flex;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(16px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.brand {
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.nav-actions,
.button-row,
.signal-row {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 780;
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 108, 97, 0.45);
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
}

.button.secondary {
  background: var(--surface-2);
}

main {
  padding: 22px clamp(14px, 3vw, 42px) 44px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.hero-copy,
.hero-panel,
.workflow-card,
.proof-band,
.standards,
.page-layout > article,
.route-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  min-height: 560px;
  display: grid;
  align-content: start;
  padding: clamp(36px, 6vw, 88px) clamp(24px, 5vw, 56px);
  background: var(--surface);
}

.eyebrow {
  margin: 0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  margin: 8px 0 0;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.98;
}

h2 {
  margin: 5px 0 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: #26332c;
  font-size: clamp(18px, 1.6vw, 21px);
  overflow-wrap: break-word;
}

.hero-actions {
  margin-top: 22px;
}

.hero-panel {
  display: grid;
  grid-template-rows: auto auto 1fr;
  overflow: hidden;
}

.hero-panel > img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
  background: #dce4de;
}

.panel-header {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.panel-header p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
  padding: 15px 16px;
  border-right: 1px solid var(--line);
}

.signal-list li:last-child {
  border-right: 0;
}

.signal-list strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
}

.signal-list span,
.muted {
  color: var(--muted);
}

.signal-list li > span {
  font-size: 14px;
}

.signal-row {
  margin-top: 9px;
}

.signal-row span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcfb;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 780;
}

.workflow-grid,
.route-grid,
.standards-grid,
.stat-grid,
.triage-grid,
.choice-grid,
.quality-strip,
.offer-grid,
.fit-grid,
.sample-grid,
.receipt-flow {
  display: grid;
  gap: 14px;
}

.workflow-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  align-items: start;
  margin-top: 18px;
}

.workflow-card {
  display: grid;
  align-content: start;
  overflow: hidden;
}

.workflow-card img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
  background: #dce4de;
}

.route-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
  background: #dce4de;
}

.workflow-body,
.route-card {
  padding: 18px;
}

.workflow-body {
  display: grid;
  gap: 10px;
}

.workflow-body p {
  margin: 0;
}

.workflow-body p,
.route-card p,
.standards p,
.page-layout p {
  color: var(--muted);
}

.price-line {
  margin: 4px 0 0;
  color: var(--gold);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.checks {
  display: grid;
  gap: 8px;
  margin: 4px 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 21px;
}

.checks li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "✓";
  font-weight: 900;
}

.purchase-note {
  margin: 12px 0 0;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 14px;
}

.purchase-note strong {
  color: var(--ink);
}

.packet-sample {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sample-head {
  max-width: 760px;
}

.sample-head h3 {
  margin-top: 6px;
  font-size: 24px;
}

.sample-head p:not(.eyebrow) {
  margin: 8px 0 0;
}

.sample-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-top: 14px;
}

.sample-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.sample-grid strong {
  display: block;
  color: var(--ink);
}

.sample-grid span,
.sample-grid li {
  color: var(--muted);
  font-size: 14px;
}

.sample-grid span {
  display: block;
  margin-top: 7px;
}

.sample-grid ol {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.receipt-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 0 10px;
}

.checkout-assurance {
  display: grid;
  gap: 6px;
  margin: 13px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(17, 94, 89, 0.2);
  border-left: 4px solid var(--teal-dark);
  border-radius: 8px;
  background: #f4faf8;
}

.checkout-assurance strong {
  color: var(--ink);
  font-size: 14px;
}

.checkout-assurance span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.receipt-flow div {
  min-height: 84px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.receipt-flow strong {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--teal-dark);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
}

.receipt-flow span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.workflow-card .button-row {
  margin-top: 4px;
}

.quality-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.quality-strip div,
.offer-card,
.fit-grid div,
.source-links {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.quality-strip strong,
.offer-card strong,
.fit-grid strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.quality-strip span,
.offer-card span,
.fit-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.route-ribbon {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 6px 9px;
  border: 1px solid rgba(155, 61, 47, 0.28);
  border-radius: 999px;
  background: #fff6f0;
  color: var(--brick);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.offer-grid,
.fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

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

.offer-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.offer-card.featured {
  border-color: rgba(18, 108, 97, 0.38);
  background: #eef7f3;
}

.offer-card .price-line {
  margin: 0;
}

.offer-card p {
  margin: 0;
}

.source-links {
  margin-top: 14px;
}

.source-links a {
  color: var(--teal-dark);
  font-weight: 780;
}

.section,
.proof-band,
.standards {
  margin-top: 18px;
}

.section-title {
  max-width: 900px;
}

.section-title p:not(.eyebrow) {
  margin: 9px 0 0;
  color: var(--muted);
}

.proof-band,
.standards {
  padding: 20px;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.stat-grid div {
  min-height: 118px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.stat-grid strong {
  display: block;
  color: var(--brick);
  font-size: 32px;
  line-height: 1;
}

.stat-grid span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 720;
}

.standards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.standards article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.68fr);
  gap: 18px;
}

.page-hero .hero-copy {
  min-height: 360px;
}

.page-hero h1 {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.02;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 18px;
  margin-top: 18px;
}

.page-layout > article,
.route-card {
  padding: 20px;
}

.page-layout h2 {
  font-size: 28px;
}

.page-layout ul {
  color: var(--muted);
}

.route-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin-top: 16px;
}

.cta-panel {
  position: sticky;
  top: 96px;
}

.cta-panel .price-line {
  margin-bottom: 12px;
}

.triage-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.5fr);
  margin-top: 18px;
}

.triage-form,
.triage-result,
.preview-form,
.preview-result {
  padding: 20px;
}

.choice-group {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.choice-group legend {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
}

.choice-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  margin-top: 0;
}

.choice-card {
  min-height: 104px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card:has(input:checked) {
  border-color: var(--teal);
  background: #eef7f3;
  box-shadow: inset 0 0 0 1px rgba(18, 108, 97, 0.25);
}

.choice-card strong {
  font-size: 16px;
}

.choice-card span {
  color: var(--muted);
  font-size: 14px;
}

.triage-result {
  min-height: 420px;
}

.preview-result textarea {
  width: 100%;
  min-height: 430px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.preview-disclaimer {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.result-box {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.result-box dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.result-box dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.result-box dd {
  margin: 2px 0 0;
  color: var(--ink);
}

.result-box .checks {
  margin-bottom: 0;
}

.triage-readiness {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: #f8fbfa;
}

.triage-readiness div {
  display: grid;
  gap: 3px;
}

.triage-readiness strong {
  color: var(--ink);
  font-size: 13px;
}

.triage-readiness span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.site-footer {
  justify-content: space-between;
  gap: 22px;
  padding: 22px clamp(16px, 4vw, 46px);
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.site-footer p {
  max-width: 860px;
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .page-hero,
  .page-layout,
  .standards-grid,
  .stat-grid,
  .triage-grid,
  .quality-strip,
  .offer-grid,
  .fit-grid,
  .sample-grid,
  .receipt-flow {
    grid-template-columns: 1fr;
  }

  .offer-grid.three-up {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 420px;
  }

  .signal-list {
    grid-template-columns: 1fr;
  }

  .signal-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-list li:last-child {
    border-bottom: 0;
  }

  .cta-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .button-row {
    width: 100%;
  }

  .nav-actions {
    width: calc(100vw - 28px);
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }

  .nav-actions .button {
    width: auto;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 14px;
  }

  .nav-actions .button.primary {
    display: none;
  }

  .nav-actions .button.primary:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions .button {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .hero-copy,
  .page-hero .hero-copy {
    min-height: 0;
    padding: 20px;
    background: var(--surface);
  }

  .hero > .hero-panel {
    display: block;
  }

  .hero > .hero-panel .panel-header,
  .hero > .hero-panel .signal-list {
    display: none;
  }

  .hero-panel > img {
    aspect-ratio: 16 / 8;
    border-bottom: 0;
  }

  .page-hero .hero-panel img {
    display: none;
  }

  .page-hero > .hero-panel {
    display: none;
  }

  .page-hero h1 {
    font-size: 32px;
    line-height: 1.04;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }
}
