:root {
  --ink: #193d33;
  --body: #4f5d55;
  --paper: #faf9f5;
  --line: #dce1d8;
  --control: #788474;
  --green: #245b46;
  --mint: #e9efe3;
  --focus: #b96b25;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, dt, summary, legend, label, strong { color: var(--ink); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -.035em; font-weight: 650; }
h1 em { font-style: normal; color: var(--green); }
h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; letter-spacing: -.025em; font-weight: 650; }
h3 { font-size: 17px; line-height: 1.4; font-weight: 600; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius);
  background: var(--green); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--ink); }
.button:disabled { opacity: .5; cursor: default; }
.small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(250 249 245 / .92); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
}
.header .wrap { display: flex; align-items: center; gap: 32px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand svg { width: 24px; fill: var(--ink); }
.house { fill: none; stroke: var(--paper); stroke-width: 2.4; }
.header nav { display: flex; gap: 20px; margin-left: auto; font-size: 15px; }
.header nav a { color: var(--body); text-decoration: none; }
.header nav a:hover { color: var(--ink); }
.header nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

/* Hero: illustration first on phones, beside the copy on wide screens. */
.hero { display: grid; gap: 32px; padding-block: 40px 72px; }
.hero h1 { margin-bottom: 20px; }
.lede { max-width: 34em; margin-bottom: 28px; font-size: 19px; }
.status { margin-top: 16px; font-size: 15px; }
.hero-note { margin-top: 12px; font-size: 14px; }
.why-link { display: block; width: fit-content; padding-block: 14px 4px; font-size: 16px; }
.hero picture { display: block; }
.hero img { border-radius: 16px; }
.hero picture { animation: art-arrive .8s ease-out both; transition: transform .3s ease; }
.hero picture:hover { transform: rotate(-1deg) translateY(-4px); }

/* Local vector illustrations; decorative motion never represents a scan. */
.art-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.draw { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-wash { fill: #e6eddf; stroke: none; }
.art-paper { fill: var(--paper); }
.art-accent, .art-knob { fill: #c0804c; }
.art-knob { transition: transform .3s ease; }
.art-spark { stroke: #a2683c; transition: transform .3s ease; }
.card-art { display: block; width: 160px; height: 110px; margin-bottom: 16px; transition: transform .3s ease; }
.grid li:hover .card-art { transform: translateY(-5px) rotate(-2deg); }
.grid li:hover .art-knob { transform: translateX(50px); }
.grid li:hover .art-spark { transform: translateY(-3px); }
.section-art { float: right; width: 136px; height: 94px; margin: 0 0 24px 24px; transition: transform .3s ease; }
.section-art:hover { transform: rotate(4deg); }
.plan-art { width: 56px; height: 40px; transition: transform .25s ease; }
.plans a:hover .plan-art, .plans a:focus-visible .plan-art { transform: translateY(-3px); }
@keyframes art-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes signal-trace { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }

/* Sections */
.section { padding-block: 72px; border-top: 1px solid var(--line); }
.section > h2 { margin-bottom: 12px; }
.section > h2 + p, .section > p { max-width: 40em; margin-bottom: 32px; }
.section > p:last-child { margin-bottom: 0; }
.section::after { content: ''; display: block; clear: both; }

.grid { display: grid; gap: 32px; padding: 0; list-style: none; }
.grid h3 { margin-bottom: 6px; }
.section > .privacy-note { margin-top: 32px; font-size: 15px; }

.rows { display: grid; gap: 4px 32px; margin-bottom: 24px; }
.rows dt { font-weight: 600; }
.rows dd + dt { margin-top: 16px; }
.rows dd strong { display: block; font-weight: 600; overflow-wrap: anywhere; }

/* Free check: observations, a guided review, then a local checklist. */
.eyebrow { color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section > .eyebrow { margin-bottom: 12px; }
.check-intro { display: grid; gap: 32px; align-items: center; }
.check-intro h2 { margin: 12px 0 16px; }
.check-intro p:not(.eyebrow) { margin-bottom: 24px; }
.check-illustration { width: min(100%, 320px); justify-self: center; }
.state-dot { fill: #c9d1c5; transition: fill .25s ease; }
[data-state="reviewed"] .state-dot { fill: #8fbbb7; }
[data-state="help"] .state-dot { fill: #e0b47e; }
.signal { stroke: #8a9c87; stroke-dasharray: 6 9; }
[data-started="true"] .signal { animation: signal-trace .9s ease-out; }
.check-steps { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-left: 24px; margin-bottom: 24px; color: var(--ink); font-weight: 600; }
.check-note { font-size: 14px; line-height: 1.6; }
#check-results { display: grid; gap: 24px; margin-top: 32px; }
.check-panel { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.check-panel > h3 { margin: 6px 0 12px; font-size: 25px; letter-spacing: -.02em; }
.check-panel > p:not(.eyebrow) { max-width: 48em; margin-bottom: 20px; }
.check-details { margin-block: 16px; }
.check-details summary { min-height: 44px; padding-block: 10px; font-weight: 600; cursor: pointer; }
.check-details ol { padding-left: 22px; font-size: 15px; }
.check-details li + li { margin-top: 10px; }
.check-details a { display: inline-block; padding-block: 12px; font-size: 15px; }
.check-details .rows { margin: 12px 0 0; }
.review-grid { display: grid; gap: 24px; }
.text-button { min-height: 48px; padding: 10px 16px; border: 0; background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

#process aside { margin-top: 48px; padding: 28px; border-radius: 16px; background: var(--mint); }
#process aside p { margin: 2px 0 24px; font-size: 15px; }
#process aside .rows { margin: 0; }

.plans { padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.plans a {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 2px 16px; align-items: center;
  padding: 18px 4px; border-top: 1px solid var(--line); color: var(--body); text-decoration: none;
}
.plans a:hover { background: var(--mint); }
.plans p { grid-column: 2 / 4; font-size: 15px; }
.plans span { grid-column: 3; grid-row: 1; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.plans .plan-art { grid-column: 1; grid-row: 1 / 3; }

#faq details { max-width: 44em; border-top: 1px solid var(--line); }
#faq details:last-child { border-bottom: 1px solid var(--line); }
#faq summary { padding: 16px 0; font-weight: 600; cursor: pointer; }
#faq details p { padding-bottom: 20px; }

#checkup fieldset { min-width: 0; margin: 0 0 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
#checkup legend { padding: 0 6px; font-size: 19px; font-weight: 650; }
#checkup label { display: flex; align-items: baseline; gap: 10px; min-height: 44px; padding-block: 9px; font-size: 15px; cursor: pointer; }
#checkup input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.account-review p { margin-bottom: 12px; font-size: 15px; }
#checkup-outcome { background: var(--mint); }
.check-help { padding-top: 24px; border-top: 1px solid #b4c4ae; }
.check-help h3 { font-size: 22px; margin-bottom: 8px; }
.check-help > p { max-width: 42em; }
.check-help .button { margin-block: 20px 12px; }

#interest-form { display: grid; gap: 6px; max-width: 480px; }
#interest-form label { margin-top: 12px; font-size: 15px; font-weight: 600; }
#interest-form input, #interest-form select {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--control); border-radius: var(--radius); background: #fff;
}
#interest-form .button { margin-top: 24px; justify-self: start; }

footer { display: grid; gap: 8px; padding-block: 40px 56px; border-top: 1px solid var(--line); font-size: 14px; }

/* Thank-you page */
main.section { border: 0; }
main.section .brand { margin-bottom: 48px; }
main.section h1 { margin-bottom: 20px; }
main.section p { max-width: 36em; margin-bottom: 32px; }

/* Why page: a connected-home illustration and distinct chapters, without scripts. */
.why-page .wrap { width: min(1160px, 100% - 40px); }
.why-hero { display: grid; align-items: center; gap: 36px; padding-block: 28px 64px; }
.back-link { display: inline-block; padding-block: 8px; margin-bottom: 24px; font-size: 14px; }
.why-hero .eyebrow { margin-bottom: 16px; font-size: 12px; }
.why-hero h1 { margin-bottom: 24px; }
.why-hero .lede { font-size: 18px; line-height: 1.65; }
.why-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.why-actions .button { gap: 18px; }
.why-actions > a:not(.button) { padding-block: 12px; font-size: 15px; }
.home-scene { min-width: 0; padding: 22px; background: #f1ede3; border: 1px solid #e2dfd3; border-radius: 28px; box-shadow: 0 24px 60px -32px #193d3340; }
.scene-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); font-size: 14px; font-weight: 600; }
.scene-heading > span:last-child { font-size: 28px; font-weight: 400; }
.room-art { display: block; width: 100%; height: auto; margin-block: 12px; }
.scene-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scene-links a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px; background: var(--paper); border: 1px solid #d9ddd0; border-radius: 9px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.scene-links a > span:first-child { font-size: 11px; color: #86613a; }
.scene-links a:hover { background: #e1e9d7; transform: translateY(-3px); }
.home-scene figcaption { margin-top: 16px; text-align: center; font-size: 12px; }
.why-page .section { padding-block: 64px; }
.device-grid { display: grid; gap: 20px; }
.device-card { min-width: 0; padding: 28px; background: #eef0e6; border: 1px solid #dce1d2; border-radius: 20px; scroll-margin-top: 100px; }
.device-card:nth-child(3) { background: #f0e9dd; border-color: #e3dac9; }
.device-card:target { outline: 3px solid var(--focus); outline-offset: 5px; }
.device-number { margin-bottom: 12px; color: #56654f; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.device-card h3 { margin-bottom: 16px; font-size: 25px; line-height: 1.2; letter-spacing: -.02em; }
.device-card a { display: inline-block; margin-top: 20px; padding-block: 6px; font-size: 14px; font-weight: 600; }
.device-icon { float: right; width: 64px; height: 64px; margin: 0 0 16px 16px; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.featured-device { display: grid; align-items: center; gap: 24px; padding: 32px; border: 0; background: var(--ink); color: #e0e8db; }
.featured-device h3 { color: var(--paper); font-size: 32px; }
.featured-device .device-number { color: #c0cfb3; }
.featured-device a { color: #f0d2a0; }
.device-art { display: block; width: min(100%, 260px); margin-top: 24px; }
.device-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; padding: 0; list-style: none; }
.device-topics li { padding: 5px 10px; border: 1px solid #587363; border-radius: 6px; color: #e0e8db; font-size: 12px; }
.facts-band { padding-block: 64px; background: #193d33; background-image: radial-gradient(ellipse at 100% 0%, #315e48, transparent 70%); color: #e0e8db; }
.facts-band .eyebrow { margin-bottom: 16px; color: #c0cfb3; }
.facts-band h2 { margin-bottom: 20px; color: var(--paper); }
.facts-band .wrap > p { max-width: 48em; }
.facts-band a { color: #f0d2a0; }
.national-numbers { display: grid; gap: 32px; margin: 40px 0 32px; }
.national-numbers > div { padding-top: 24px; border-top: 1px solid #587363; }
.national-numbers dt { margin-bottom: 16px; color: #eef1df; font-size: clamp(46px, 6vw, 76px); line-height: 1.05; letter-spacing: -.045em; font-weight: 600; }
.national-numbers dd { max-width: 29em; }
.why-page .source-note { max-width: 64em; font-size: 14px; }
.practical-note { display: grid; gap: 12px 32px; margin-top: 28px; padding: 28px; background: #eeeee5; border-left: 3px solid #b08253; border-radius: 0 14px 14px 0; font-size: 15px; }
.practical-note h3 { font-size: 17px; }
.practical-note p { max-width: 55em; }
.facts-band .practical-note { margin-top: 32px; background: #2a5142; border-color: #eac58d; }
.facts-band .practical-note h3 { color: #eef1df; }
.why-intro { display: grid; gap: 20px 56px; margin-bottom: 32px; }
.scam-example { margin-block: 36px 28px; }
.scam-example figcaption { margin-bottom: 24px; font-size: 14px; }
.scam-steps { display: grid; gap: 16px; padding: 0; list-style: none; counter-reset: scam-step; }
.scam-steps li { position: relative; padding: 84px 26px 28px; background: #f1ede3; border: 1px solid #e2dfd3; border-radius: 16px; counter-increment: scam-step; }
.scam-steps li::before { content: counter(scam-step, decimal-leading-zero); display: grid; place-items: center; position: absolute; left: 26px; top: 24px; width: 40px; height: 40px; border-radius: 50%; background: #e5cda8; color: #503c24; font-size: 15px; font-weight: 650; }
.scam-steps h3 { margin-bottom: 12px; font-size: 21px; }
.scam-steps p { font-size: 16px; }
.scam-example > p { margin-top: 24px; }
.why-disclosure { padding-inline: 22px; border: 1px solid var(--line); border-radius: 12px; background: #f4f5ef; }
.why-disclosure summary { padding-block: 18px; cursor: pointer; font-weight: 600; }
.why-disclosure > div { max-width: 51em; padding-bottom: 24px; }
.why-disclosure p + p { margin-top: 16px; }
.review-areas { display: grid; counter-reset: review-step; }
.review-areas article { display: grid; gap: 12px 32px; padding: 28px 0; border-top: 1px solid var(--line); counter-increment: review-step; }
.review-areas h3 { font-size: 22px; }
.review-areas h3::before { content: counter(review-step, decimal-leading-zero) " /"; display: block; margin-bottom: 12px; color: #806b4a; font-size: 13px; }
.review-areas a { width: fit-content; font-size: 14px; }
.review-areas + .why-disclosure { margin-top: 16px; }
.help-options { display: grid; gap: 20px; }
.help-options > div { padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.help-options > div:last-child { background: #e7eddc; border-color: #c9d5bc; }
.help-options h3 { font-size: 23px; }
.help-options ul { padding-left: 20px; margin-top: 18px; }
.help-options li + li { margin-top: 16px; }
.help-options .button { margin-top: 28px; }
.trust-section .why-intro { margin-bottom: 40px; }
.ground-rules { display: grid; gap: 16px 32px; padding: 0; margin-bottom: 32px; list-style: none; }
.ground-rules li { position: relative; padding: 20px 20px 20px 50px; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.ground-rules li::before { content: '✓'; position: absolute; top: 20px; left: 16px; color: var(--green); }
.why-next { padding: 40px 28px; margin-bottom: 64px; background: var(--ink); color: #e0e8db; border-radius: 24px; }
.why-next h2, .why-next > p { max-width: 36em; margin-bottom: 20px; }
.why-next h2 { color: var(--paper); }
.why-next .button { background: #e5cda8; color: #193d33; }
.why-next .button:hover { background: #f0ddb9; }
.why-next .status { margin-bottom: 0; }

@media (min-width: 820px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding-block: 72px 96px; }
  .hero picture { grid-column: 2; grid-row: 1; }
  .section { padding-block: 104px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .check-intro { grid-template-columns: 1.5fr 1fr; }
  .rows { grid-template-columns: 200px 1fr; }
  .rows dd + dt { margin-top: 0; }
  .rows dt, .rows dd { padding-block: 10px; }
  .plans a { grid-template-columns: 56px 220px 1fr auto; }
  .plans p { grid-column: 3; grid-row: 1; }
  .plans span { grid-column: 4; grid-row: 1; }
  .plans .plan-art { grid-row: 1; }
  .why-hero { grid-template-columns: 1fr 1.1fr; gap: 48px; padding-block: 36px 80px; }
  .why-hero h1 { font-size: clamp(40px, 4.4vw, 56px); }
  .why-page .section { padding-block: 80px; }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-device { grid-column: 1 / -1; grid-template-columns: 1fr 1.35fr; gap: 64px; padding: 40px; }
  .facts-band { padding-block: 80px; }
  .national-numbers, .help-options, .ground-rules { grid-template-columns: 1fr 1fr; }
  .national-numbers { gap: 64px; }
  .practical-note { grid-template-columns: 160px 1fr; }
  .why-intro { grid-template-columns: 1fr 1.4fr; }
  .scam-steps { grid-template-columns: repeat(3, 1fr); }
  .review-areas article { grid-template-columns: 280px 1fr; }
  .review-areas a { grid-column: 2; }
  .why-next { padding: 56px; }
}

@media (max-width: 760px) {
  .header .wrap { gap: 16px; }
  .header nav { display: none; }
  .header .button { margin-left: auto; white-space: nowrap; }
}

@media (max-width: 600px) {
  .home-scene { padding: 16px; border-radius: 20px; }
  .scene-heading { font-size: 12px; }
  .scene-links a { gap: 5px; padding: 6px 4px; font-size: 13px; }
  .scene-links a > span:last-child { display: none; }
  .device-card, .featured-device { padding: 24px; }
  .device-card h3 { font-size: 24px; }
  .device-icon { width: 48px; height: 48px; margin-left: 12px; }
  .practical-note { padding: 22px; }
  .check-panel { padding: 20px 16px; }
  #checkup fieldset { padding: 12px; }
  #checkup-show, #check-clear { width: 100%; }
  .check-steps { display: grid; gap: 8px; }
  .check-illustration { width: 200px; }
  .section-art { width: 88px; height: 61px; margin-left: 12px; }
}

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

@media print {
  .header, #browser-check, #checkup, #interest-form { display: none; }
  .section { padding-block: 24px; }
}
