/* Public site (landing, pricing, method, legal, auth). Builds on the app.css tokens; no new colours except the
   always-dark CTA band. Every component works in light and dark mode. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
main [id] { scroll-margin-top: 84px; }
.page-public main { overflow-x: clip; }

/* app.css `.brand` (logo) also matches `.badge.brand`; keep badges badge-sized. */
.badge.brand { font-size: .78rem; font-weight: 500; letter-spacing: normal; gap: 5px; }

/* ------------------------------------------------------------ typography helpers */
.sh { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 500; letter-spacing: 0; line-height: 1.12; margin: 12px 0 12px; }
.section-head p, .sub-lead { font-size: 1.06rem; color: var(--ink-2); margin: 0; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow + .sh { margin-top: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.link-arrow .ico { width: 17px; height: 17px; transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }
.section.alt .feature, .section.alt .test-card, .section.alt .device-card, .section.alt .aud-card, .section.alt .how-step { background: var(--bg); }

/* ------------------------------------------------------------ hero */
.hero-x { position: relative; padding: 56px 0 88px; isolation: isolate; overflow: hidden; }
.hero-x::before, .hero-x::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.hero-x::before { top: -180px; right: -160px; width: 760px; height: 760px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 17%, transparent), transparent 72%); }
.hero-x::after { bottom: -80px; left: -260px; width: 560px; height: 560px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--k-long) 12%, transparent), transparent 72%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 56px; align-items: center; }
.hero-x h1 { font-size: clamp(2.25rem, 5.2vw, 3.7rem); font-weight: 500; letter-spacing: 0; line-height: 1.03; margin: 18px 0 20px; text-wrap: balance; }
.hero-x .lead { font-size: 1.17rem; line-height: 1.6; color: var(--ink-2); max-width: 590px; margin: 0; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; list-style: none; padding: 0; margin: 0; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .ico { width: 17px; height: 17px; color: var(--ok); flex: none; }
.devices-line { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .86rem; color: var(--muted); }
.devices-line .pill { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 500; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-x { padding: 36px 0 56px; }
}

/* ------------------------------------------------------------ product mock (hero) */
.mock-wrap { position: relative; }
.mock { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px 18px 16px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.mock-kicker { font-size: .72rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mock-title { font-weight: 500; font-size: 1.08rem; letter-spacing: 0; }
.mock-week { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mock-week li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; align-items: center; gap: 10px; }
.mock-week .d { font-size: .68rem; font-weight: 500; color: var(--muted); text-transform: uppercase; line-height: 1.15; text-align: center; letter-spacing: .03em; }
.mock-week .d b { display: block; font-size: .98rem; color: var(--ink); letter-spacing: 0; }
.mock-week .chip { position: relative; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; min-height: 38px;
  padding: 8px 11px 8px 15px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: .86rem; overflow: hidden; }
.mock-week .chip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--k, var(--k-other)); }
.mock-week .chip .t { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mock-week .chip .m { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .8rem; }
.mock-week li.rest .chip { background: transparent; border-style: dashed; color: var(--muted); }
.mock-week li.rest .chip::before { display: none; }
.mock-week li.today .d b { color: var(--brand-600); }
.mock-week li.today .chip { background: var(--surface); border-color: color-mix(in srgb, var(--brand) 70%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 13%, transparent); }
.mock-week .st { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.mock-week .st .ico { width: 13px; height: 13px; stroke-width: 3; }
.mock-week li.done .st { background: var(--ok-bg); color: var(--ok); }
.mock-week li.today .st { border: 2px solid var(--brand); }
.mock-chart { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.mock-chart .row { --gap: 6px 14px; font-size: .8rem; color: var(--muted); font-weight: 500; }
.mock-chart svg { display: block; width: 100%; height: 92px; margin-top: 6px; overflow: visible; }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.lg i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; background: currentColor; }
.c-fit { color: var(--k-long); } .c-fat { color: var(--brand); } .c-pace { color: var(--z2); } .c-hr { color: var(--z5); } .c-alt { color: var(--faint); }
.ln { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ln-fit { stroke: var(--k-long); stroke-width: 2.6; }
.ln-fat { stroke: var(--brand); stroke-width: 1.7; opacity: .9; }
.ar-fit { fill: color-mix(in srgb, var(--k-long) 13%, transparent); }
.grid-ln { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.today-ln { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.dot-fit { fill: var(--surface); stroke: var(--k-long); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.mock-float { position: absolute; left: -34px; bottom: -78px; display: flex; gap: 12px; align-items: center; max-width: 340px; padding: 12px 16px 12px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.mock-float .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); flex: none; }
.mock-float .ic .ico { width: 20px; height: 20px; }
.mock-float b { display: block; font-size: .92rem; line-height: 1.3; }
.mock-float small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.mock-float span:not(.ic) { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; }
@media (min-width: 981px) { .mock-wrap { margin-bottom: 64px; } }
@media (max-width: 1240px) { .mock-float { left: 12px; } }
@media (max-width: 980px) { .mock-wrap { margin-bottom: 78px; } }
@media (max-width: 560px) {
  .mock { padding: 14px 12px 12px; border-radius: 16px; }
  .mock-week li { grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 8px; }
  .mock-week .chip .m { display: none; }
  .mock-wrap { margin-bottom: 0; }
  .mock-float { position: static; margin: 12px 0 0; max-width: none; box-shadow: var(--shadow); }
}

/* ------------------------------------------------------------ how it works */
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.how-step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); }
.how-step .num { width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: var(--surface); display: grid; place-items: center;
  font-weight: 500; margin-bottom: 6px; }
.how-step h3 { font-size: 1.05rem; margin: 0; }
.how-step p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.how-step .badge { align-self: flex-start; margin-top: auto; }
.how-step:not(:last-child)::after { content: ""; position: absolute; top: 39px; right: -17px; width: 18px; height: 2px; background: var(--line-2); }
@media (max-width: 980px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } .how-step::after { display: none; } }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ features, principles */
.feature { display: flex; flex-direction: column; gap: 4px; border-radius: var(--radius-lg); padding: 22px; }
.feature h3 { font-size: 1.04rem; margin: 0 0 4px; }
.feature p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.feature .ico-wrap .ico { width: 21px; height: 21px; }

/* ------------------------------------------------------------ split layouts */
.split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks .ck { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); }
.checks .ck .ico { width: 15px; height: 15px; stroke-width: 2.6; }

/* ------------------------------------------------------------ tests */
.tests-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 620px) { .tests-grid { grid-template-columns: 1fr; } }
.test-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.test-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.test-card .dur { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.test-card .dur .ico { width: 15px; height: 15px; }
.test-card h3 { margin: 2px 0 0; font-size: 1.03rem; }
.test-card p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.test-card .out { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: .86rem; color: var(--ink-2); }
.test-card .out b { color: var(--ink); }
.safety-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; }
.safety-note .ico { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }

/* ------------------------------------------------------------ activity mock (analysis) */
.act-mock { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; }
.act-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.act-head b { display: block; font-size: 1.02rem; }
.act-head span { font-size: .84rem; color: var(--muted); }
.act-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0 12px; }
.act-kpis div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.act-kpis .l { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; }
.act-kpis .v { display: block; font-weight: 500; font-variant-numeric: tabular-nums; font-size: 1.02rem; white-space: nowrap; }
.act-kpis .v small { font-size: .72em; color: var(--muted); font-weight: 500; margin-left: 2px; }
.act-chart svg { display: block; width: 100%; height: 160px; }
.ln-pace { stroke: var(--z2); stroke-width: 2; }
.ln-hr { stroke: var(--z5); stroke-width: 1.8; }
.ar-alt { fill: color-mix(in srgb, var(--faint) 20%, transparent); }
.int-band { fill: color-mix(in srgb, var(--k-qual) 8%, transparent); }
.zones-mini { margin-top: 12px; }
.zones-mini .zone-bar { height: 10px; margin-top: 6px; }
.zones-mini .zl { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .act-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .act-chart svg { height: 130px; } }

/* ------------------------------------------------------------ devices, audience */
.device-card, .aud-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.device-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.device-card h3, .aud-card h3 { margin: 0; font-size: 1.04rem; }
.device-card p, .aud-card p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.device-card .ico-wrap, .aud-card .ico-wrap { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); }
.aud-card .ico-wrap { background: var(--brand-50); color: var(--brand-600); margin-bottom: 6px; }
.device-card .ico-wrap .ico, .aud-card .ico-wrap .ico { width: 21px; height: 21px; }
.strava-line { margin-top: 14px; }

/* ------------------------------------------------------------ pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 840px; margin-inline: auto; align-items: stretch; }
@media (max-width: 680px) { .price-grid { grid-template-columns: 1fr; } .price-grid .price-card.best { order: -1; } }
.price-card { gap: 10px; padding: 26px; }
.price-card .name { font-weight: 500; font-size: 1.02rem; color: var(--ink-2); }
.price-card .price { line-height: 1.05; }
.price-card .sub { color: var(--muted); font-size: .92rem; min-height: 2.8em; margin: 0; }
.price-card .btn { margin-top: auto; }
.price-card .save { align-self: flex-start; }
.included { max-width: 840px; margin: 26px auto 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.section.alt .included { background: var(--bg); }
.included h3 { font-size: 1rem; margin: 0 0 12px; }
.included ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.included li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .95rem; }
.included li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 13px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
@media (max-width: 620px) { .included ul { grid-template-columns: 1fr; } }
.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin: 16px auto 0; max-width: 680px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-methods span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 500; font-size: .9rem; }
.guarantee { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; }
.guarantee .seal { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.guarantee .seal .ico { width: 28px; height: 28px; }
@media (max-width: 620px) { .guarantee { grid-template-columns: 1fr; gap: 12px; } .guarantee .sh { font-size: 1.5rem; } }
.timeline { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.timeline li { position: relative; padding-left: 22px; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.timeline li b { color: var(--ink); }

/* ------------------------------------------------------------ FAQ */
.faq-list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-list details.faq { padding: 16px 2px; }
.faq-list details.faq summary { font-size: 1.02rem; align-items: center; }
.faq-list details.faq summary::-webkit-details-marker { display: none; }
.faq-list details.faq summary:focus-visible { outline-offset: 4px; }
.faq-list details.faq p { line-height: 1.65; max-width: 720px; }

/* ------------------------------------------------------------ CTA band (always dark) */
.cta-band { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 48px 44px; border-radius: 24px; background: linear-gradient(135deg, #1a2040 0%, #0f172a 62%); color: #fff; border: 1px solid #24304a; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, .42), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: 0; margin: 0 0 8px; }
.cta-band p { color: rgba(255, 255, 255, .76); margin: 0; font-size: 1.04rem; }
.cta-band .cta-row { margin: 0; }
.cta-band .btn.ghost { --c: #fff; border-color: rgba(255, 255, 255, .28); }
.cta-band .btn.ghost:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 780px) { .cta-band { grid-template-columns: 1fr; padding: 34px 24px; } }

/* ------------------------------------------------------------ inner pages */
.page-hero { position: relative; padding: 52px 0 18px; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; z-index: -1; top: -320px; right: -120px; width: 560px; height: 560px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 12%, transparent), transparent 72%); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 500; letter-spacing: 0; line-height: 1.08; margin: 14px 0 14px; text-wrap: balance; }
.page-hero .lead { font-size: 1.12rem; color: var(--ink-2); max-width: 680px; margin: 0; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-inline: auto; }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.68; }
.prose h2 { font-size: 1.45rem; letter-spacing: 0; margin: 2.2rem 0 .7rem; }
.prose h3 { font-size: 1.08rem; margin: 1.6rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.prose li + li { margin-top: .35rem; }
.prose .callout { margin: 1.2rem 0; }
.zones-tbl td:first-child { white-space: nowrap; }
.zones-tbl .zone-pill { min-width: 34px; }
.rule-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 10px; }
.rule-list li { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); margin: 0 !important; }
.rule-list li b { color: var(--ink); }
@media (max-width: 620px) { .rule-list li { grid-template-columns: 1fr; gap: 4px; } }
.method-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.method-nav a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 500; font-size: .9rem; }
.method-nav a:hover { border-color: var(--line-2); text-decoration: none; }

/* ------------------------------------------------------------ legal */
.legal-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 24px; }
.legal-toc { position: sticky; top: 88px; font-size: .88rem; max-height: calc(100vh - 110px); overflow-y: auto; }
.legal-toc summary { font-weight: 500; cursor: pointer; margin-bottom: 8px; list-style: none; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.legal-toc a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--ink-2); border-left: 2px solid var(--line); border-radius: 0 8px 8px 0; }
.legal-toc a:hover { background: var(--surface-2); text-decoration: none; }
.legal { max-width: 780px; }
.legal h2 { font-size: 1.22rem; letter-spacing: 0; margin: 2.3rem 0 .7rem; }
.legal h2:first-of-type { margin-top: 1.2rem; }
.legal h3 { font-size: 1.02rem; margin: 1.3rem 0 .4rem; }
.legal p, .legal li, .legal td { color: var(--ink-2); line-height: 1.66; }
.legal ol, .legal ul { padding-left: 1.35rem; margin: 0 0 1rem; }
.legal li + li { margin-top: .35rem; }
.legal .tbl-wrap { margin: 0 0 1rem; }
.legal .tbl td { vertical-align: top; }
.legal .callout { margin: 1rem 0; }
.legal .muted { color: var(--muted); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--muted); margin-top: 10px; }
.model-form { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 16px 18px; background: var(--surface); }
.model-form p { margin: 0 0 .5rem; }
@media (max-width: 980px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 12px; }
  .legal-toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: var(--surface); }
}

/* ------------------------------------------------------------ auth */
.auth-x { padding: 40px 0 64px; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 380px); gap: 56px; justify-content: center; align-items: start; }
.auth-grid.single { grid-template-columns: minmax(0, 440px); }
@media (max-width: 900px) { .auth-grid { grid-template-columns: minmax(0, 520px); gap: 28px; } }
.auth-card { width: 100%; }
.auth-card h1 { font-size: 1.6rem; letter-spacing: 0; margin-bottom: 6px; }
.auth-card .intro { color: var(--muted); margin-bottom: 20px; }
.auth-card .callout { margin-bottom: 16px; }
.auth-aside { padding-top: 8px; }
.auth-aside h2 { font-size: 1.15rem; margin-bottom: 14px; }
.auth-aside .checks { margin-top: 0; }
.auth-aside .price-mini { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.auth-aside .price-mini b { font-size: 1.1rem; }
.form-foot { text-align: center; color: var(--muted); font-size: .93rem; margin: 18px 0 0; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.field-row a { font-size: .88rem; font-weight: 500; }
input[aria-invalid="true"] { border-color: var(--bad); }
.check a { font-weight: 500; }
.check.err { color: var(--bad); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 82px; }
.pw-toggle { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); min-height: 32px; padding: 4px 10px; border: 0; border-radius: 8px; background: var(--surface-2);
  color: var(--ink-2); font: inherit; font-size: .82rem; font-weight: 500; cursor: pointer; }
.pw-toggle:hover { background: var(--surface-3); }
.hp-field { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.state-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px; }
.state-icon .ico { width: 28px; height: 28px; }
.state-icon.ok { background: var(--ok-bg); color: var(--ok); }
.state-icon.bad { background: var(--bad-bg); color: var(--bad); }
.state-icon.info { background: var(--info-bg); color: var(--info); }

/* Dark mode: brand-700 text on brand-50 is too dim on dark surfaces. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow, :root:not([data-theme="light"]) .badge.brand { color: #ff8a5c; } }
:root[data-theme="dark"] .eyebrow, :root[data-theme="dark"] .badge.brand { color: #ff8a5c; }

/* ================================================================ Material Design 3 pass (2026-10-11)
   Overrides the earlier styling: M3 type scale (weights 400/500, no negative tracking), M3 shape scale, flat tonal surfaces
   instead of glows/gradients, Material Icons sizing. */
.badge.brand { font: 500 12px/16px var(--font); letter-spacing: .5px; }
.sh, .section-head h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.22; font-weight: 400; letter-spacing: 0; }
.section-head p, .sub-lead { font-size: 16px; line-height: 24px; letter-spacing: .5px; color: var(--md-on-surface-variant); }
.hero-x::before, .hero-x::after, .page-hero::before, .page-hero::after, .cta-band::before, .cta-band::after { display: none !important; }
.hero-x { background: var(--md-surface); }
.hero-x h1, .page-hero h1 { font-size: clamp(36px, 5vw, 57px); line-height: 1.12; font-weight: 400; letter-spacing: 0; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 45px); }
.hero-x .lead { font-size: 18px; line-height: 28px; letter-spacing: .15px; color: var(--md-on-surface-variant); }
.link-arrow { font-weight: 500; }
.mock, .act-mock { border-radius: var(--md-shape-lg); box-shadow: var(--md-elev-2); border-color: transparent; background: var(--md-surface-container-lowest); }
.mock-kicker, .mock-float small, .act-kpis .l { font: 500 11px/16px var(--font); letter-spacing: .5px; text-transform: none; }
.mock-title { font-weight: 500; letter-spacing: 0; }
.mock-week .d { font-weight: 500; text-transform: none; letter-spacing: .5px; }
.mock-week .chip .t, .act-kpis .v { font-weight: 500; }
.mock-float { border-radius: var(--md-shape-md); box-shadow: var(--md-elev-3); border-color: transparent; background: var(--md-surface-container-high); }
.feature, .test-card, .device-card, .aud-card, .how-step { border-radius: var(--md-shape-md); border-color: transparent; background: var(--md-surface-container); box-shadow: none; }
.section.alt .feature, .section.alt .test-card, .section.alt .device-card, .section.alt .aud-card, .section.alt .how-step { background: var(--md-surface-container-lowest); }
.device-card .ico-wrap, .aud-card .ico-wrap, .feature .ico-wrap { border-radius: var(--md-shape-lg); background: var(--md-primary-container); color: var(--md-on-primary-container); }
.price-card .name { font-weight: 500; }
.pay-methods span, .method-nav a, .devices-line .pill { border-radius: var(--md-shape-sm); font-weight: 500; }
.cta-band { background: var(--md-inverse-surface) !important; color: var(--md-inverse-on-surface) !important; border: 0 !important; border-radius: var(--md-shape-xl) !important; }
.cta-band h2 { color: var(--md-inverse-on-surface) !important; font-weight: 400; letter-spacing: 0; }
.cta-band p, .cta-band .muted { color: var(--md-inverse-on-surface) !important; opacity: .85; }
.cta-band .btn:not(.primary) { --c: var(--md-inverse-primary); --bd: var(--md-inverse-primary); }
.prose h2, .legal h2 { font-size: 22px; line-height: 28px; font-weight: 400; letter-spacing: 0; }
.legal-toc summary, .check a, .field-row a { font-weight: 500; }
.auth-card h1 { font-size: 24px; line-height: 32px; font-weight: 400; letter-spacing: 0; }
/* Material Icons sizes (icons are <span class="ico mi">) */
.trust .mi { font-size: 18px; color: var(--md-success); }
.link-arrow .mi { font-size: 18px; }
.feature .ico-wrap .mi, .device-card .ico-wrap .mi, .aud-card .ico-wrap .mi { font-size: 24px; }
.mock-week .st .mi, .checks .ck .mi { font-size: 14px; }
.mock-float .ic .mi { font-size: 20px; }
.test-card .dur .mi { font-size: 16px; }
.safety-note .mi { font-size: 22px; color: var(--md-success); }
.guarantee .seal .mi, .state-icon .mi { font-size: 28px; }
