:root {
  --white: #FFFFFF;
  --band: #F1F4F1;
  --band-2: #E7ECE8;
  --ink: #17191C;
  --ink-2: #3E4548;
  --ink-3: #5A6265;
  --line: #D9DED9;
  --line-2: #C8CFCA;
  --teal: #0F5C6E;
  --teal-ink: #0A4553;
  --teal-tint: #E3EEF1;
  --tan: #C89B62;
  --good: #1E6B47;
  --good-tint: #E2F0E8;
  --stop: #A63A2C;
  --stop-tint: #F6E6E2;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px -12px rgba(23,25,28,.22), 0 2px 6px -2px rgba(23,25,28,.08);
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
a { color: var(--teal); }
a:hover { color: var(--teal-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid rgba(15,92,110,.45); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.row { display: flex; align-items: center; gap: 24px; }
.lede { font-size: 1.2rem; color: var(--ink-2); line-height: 1.5; max-width: 34em; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-size: 1rem; font-family: var(--sans); line-height: 1.2; transition: background .18s var(--ease-out), border-color .18s var(--ease-out), transform .12s var(--ease-out); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn[disabled] { opacity: .55; cursor: default; }

/* announce + header */
.announce { background: var(--teal); color: #fff; font-size: .85rem; font-weight: 500; text-align: center; padding: 8px 0; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .98rem; }
.site-nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 11em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-3); font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.xsec { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 16px; box-shadow: var(--shadow); }
.xsec-svg { width: 100%; height: auto; display: block; }
.xsec figcaption { font-size: .92rem; color: var(--ink-3); margin-top: 10px; line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) {
  .xsec-web { transform-origin: 220px 210px; animation: settle 1.6s var(--ease-out) both; }
  .xsec-hot { animation: fade 1.1s .5s var(--ease-out) both; }
  @keyframes settle { from { transform: translateY(-14px); } to { transform: translateY(0); } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* bands */
.band { background: var(--band); padding: 72px 0; }

/* causes table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.causes-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .98rem; }
.causes-table th, .causes-table td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.causes-table thead th { font-size: .9rem; font-weight: 600; color: var(--ink-2); background: var(--band); border-bottom: 1px solid var(--line-2); }
.causes-table tbody th { font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; width: 20%; }
.causes-table tbody th span { display: block; font-family: var(--sans); font-weight: 400; font-size: .85rem; color: var(--ink-3); margin-top: 3px; letter-spacing: 0; }
.causes-table tbody tr:last-child th, .causes-table tbody tr:last-child td { border-bottom: 0; }
.causes-table tr.is-ours { background: var(--teal-tint); }
.causes-table td { color: var(--ink-2); }
.yes, .no { display: inline-flex; align-items: flex-start; gap: 8px; font-weight: 600; color: var(--ink); }
.yes svg { color: var(--good); flex: none; margin-top: 3px; }
.no svg { color: var(--stop); flex: none; margin-top: 3px; }

/* how */
.how { padding: 72px 0; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.how-steps li { counter-increment: step; }
.how-art { width: 180px; height: 110px; display: block; margin-bottom: 14px; }
.how-steps h3::before { content: counter(step) ". "; color: var(--teal); }
.how-steps p { color: var(--ink-2); }

/* diagnose */
.diagnose { padding: 72px 0 88px; }
.diag-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.diag-aside { position: sticky; top: 96px; }
.diag-aside p { color: var(--ink-2); }
.diag-note { font-weight: 600; color: var(--ink); }
.diag-card { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 28px; }
.diag-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.diag-progress span { flex: 1; height: 4px; border-radius: 2px; background: var(--band-2); transition: background .3s var(--ease-out); }
.diag-progress span.on { background: var(--teal); }
.diag-count { font-size: .92rem; color: var(--ink-3); margin: 0 0 8px; }
.diag-q { font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 6px; text-wrap: balance; }
.diag-help { color: var(--ink-2); margin-bottom: 18px; }
.choices { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.choice { display: block; position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: block; padding: 14px 16px 14px 46px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--white); cursor: pointer; position: relative; transition: border-color .15s var(--ease-out), background .15s var(--ease-out); }
.choice span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; transition: border-color .15s, box-shadow .15s; }
.choice span b { display: block; font-weight: 600; }
.choice span small { display: block; color: var(--ink-3); font-size: .9rem; margin-top: 2px; }
.choice span:hover { border-color: var(--ink-3); }
.choice input:checked + span { border-color: var(--teal); background: var(--teal-tint); }
.choice input:checked + span::before { border-color: var(--teal); box-shadow: inset 0 0 0 5px var(--teal); }
.choice input:focus-visible + span { outline: 3px solid rgba(15,92,110,.45); outline-offset: 2px; }
.diag-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.diag-err { color: var(--stop); font-size: .95rem; margin: 6px 0 0; flex-basis: 100%; }
.diag-err:empty { display: none; }
.price-line { margin: -4px 0 0; font-size: .95rem; color: var(--ink-2); line-height: 1.45; }
.price-line strong { color: var(--ink); }
.price-line.is-off { color: var(--ink-3); }
.form-fine { margin: 4px 0 0; }
.thanks-card { background: var(--good-tint); border-radius: var(--radius-lg); padding: 22px 24px; }
.thanks-card p { color: var(--ink-2); }
.thanks-card .thanks-line { font-family: var(--display); font-size: 1.3rem; color: var(--ink); letter-spacing: -0.01em; }
.steps { padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 8px; }

.verdict-line { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--stop); margin: 0 0 12px; }
.verdict-line.ok { color: var(--good); }
.verdict-line svg { flex: none; }
.result h3 { font-size: 1.6rem; margin-bottom: .35em; }
.result p { color: var(--ink-2); }
.result .cta-line { color: var(--ink); font-weight: 600; }
.result { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }

form.capture { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field small { color: var(--ink-3); font-size: .86rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .15s; }
.field input::placeholder, .field textarea::placeholder { color: #5A6265; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,92,110,.18); }
.field-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.hp { position: absolute; left: -9999px; }
.done { background: var(--good-tint); border-radius: var(--radius); padding: 22px; }
.done h3 { color: var(--good); font-size: 1.4rem; }
.done p { color: var(--ink-2); }

/* system */
.system-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.system-fig { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 16px; }
.system-svg { width: 100%; height: auto; display: block; }
.system-fig figcaption { font-size: .92rem; color: var(--ink-3); margin-top: 10px; line-height: 1.45; }
.system-list { margin: 0; padding-left: 1.2em; display: grid; gap: 14px; color: var(--ink-2); }
.system-list strong { color: var(--ink); }
.system-note { margin-top: 28px; max-width: 62ch; }
.diagnose.band .diag-card { background: var(--white); }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 8px; }
.measure { padding: 72px 0; }

/* measure */
.measure-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.measure-grid p { color: var(--ink-2); }
.measure-dl { margin: 24px 0 0; display: grid; gap: 14px; }
.measure-dl div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.measure-dl dt { font-weight: 700; font-family: var(--display); }
.measure-dl dd { margin: 0; color: var(--ink-2); }
.measure-fig { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.measure-svg { width: 100%; height: auto; display: block; }
.measure-fig figcaption { font-size: .92rem; color: var(--ink-3); margin-top: 10px; }

/* faq */
.faq { padding: 72px 0 88px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--ink-2); padding: 0 0 20px; max-width: 62ch; }
.faq-cta { margin-top: 36px; }

/* coverage page */
.page-head { padding: 64px 0 24px; }
.coverage { padding: 12px 0 88px; }
.cov-block { margin-top: 40px; }
.cov-block p { color: var(--ink-2); }
ul.check, ul.cross { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
ul.check li, ul.cross li { padding-left: 32px; position: relative; }
ul.check li::before, ul.cross li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 12px 12px; }
ul.check li::before { background-color: var(--good-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='%231E6B47' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
ul.cross li::before { background-color: var(--stop-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 4.5l9 9M13.5 4.5l-9 9' fill='none' stroke='%23A63A2C' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--band); }
.foot-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.6fr; gap: 40px; }
.foot-tag { color: var(--ink-2); margin-top: 12px; max-width: 24em; }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.site-footer nav a:hover { color: var(--ink); }
.foot-fine p { font-size: .85rem; color: var(--ink-3); line-height: 1.5; }

@media (max-width: 900px) {
  .hero-grid, .diag-grid, .measure-grid, .system-grid { grid-template-columns: 1fr; gap: 36px; }
  .diag-aside { position: static; }
  .how-steps { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  html { scroll-padding-top: 132px; }
  .site-header .row { flex-wrap: wrap; row-gap: 10px; }
  .site-nav { order: 3; flex-basis: 100%; margin-left: 0; gap: 18px; }
  .site-nav a { font-size: .92rem; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 48px; }
  .band, .how, .diagnose, .faq { padding: 52px 0; }
  .field-row { grid-template-columns: 1fr; }
  .diag-card { padding: 22px 18px; }
  .cta-row .btn { width: 100%; }
  .header-cta { padding: 9px 14px; }
  .announce { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .choice span, .diag-progress span { transition: none; } }
