/* Assembra marketing site. Colours follow the approved app: navy header,
   silver line work, gold from the logo coins. No external fonts. */
:root {
  --navy: #142136;
  --navy-2: #1c2d48;
  --navy-3: #26395a;
  --ink: #17263d;
  --muted: #4f6078;
  --canvas: #f1f4f9;
  --surface: #ffffff;
  --line: #d5deea;
  --silver: #c9d2df;
  --silver-text: #c6cfdc;
  --gold: #f6b23e;
  --gold-deep: #8a5a00;
  --gold-soft: #fff6e6;
  --blue: #225dc0;
  --green: #17734a;
  --red: #b42318;
  --amber: #9a5b00;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(20 33 54 / 6%), 0 10px 30px -12px rgb(20 33 54 / 25%);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible, main :focus-visible { outline-color: var(--blue); }
.on-navy :focus-visible { outline-color: var(--gold); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: var(--navy); font-weight: 700;
  padding: .7rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.brand-name { display: block; font-weight: 800; font-size: 1.08rem; line-height: 1.1; letter-spacing: -0.01em; }
.brand-tag { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-text); font-weight: 600; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block; color: #e3e8f0; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .5rem .75rem; border-radius: 8px;
}
.site-nav a:hover { background: rgb(255 255 255 / 8%); color: #fff; }
.site-nav .nav-cta { background: var(--gold); color: var(--navy); margin-left: .5rem; }
.site-nav .nav-cta:hover { background: #ffc35c; color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  padding: .95rem 1.35rem; border-radius: 10px; border: 2px solid transparent;
  transition: background-color .15s ease, transform .15s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffc35c; transform: translateY(-1px); }
.btn-ghost { border-color: rgb(255 255 255 / 35%); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / 6%); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ---------- Hero: copy beside a large crop of the real app ---------- */
.hero {
  background: #fff;
  color: var(--ink);
  padding: clamp(2rem, 4.5vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.hero-wrap, .site-header .wrap { --wrap: 1320px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.hero .eyebrow { color: var(--muted); letter-spacing: .12em; margin-bottom: 1.1rem; padding-left: .85rem; border-left: 3px solid var(--gold); line-height: 1.2; }
.hero h1 { color: var(--navy); font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: .45em; }
.hero .h1-q { display: block; margin-top: .12em; color: var(--navy-3); }
.hero .h1-q::after { content: ""; display: block; width: 3.2rem; height: 5px; border-radius: 3px; background: var(--gold); margin-top: .38em; }
.hero .subhead { font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 700; color: var(--ink); letter-spacing: -0.01em; line-height: 1.3; margin-bottom: .7em; }
.hero .lead { font-size: clamp(1.02rem, 1.25vw, 1.1rem); color: var(--muted); max-width: 52ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.hero .btn-gold { box-shadow: 0 8px 22px -10px rgb(138 90 0 / 55%); }
.hero-note { font-size: .9rem; color: var(--muted); margin: 0; }
.hero-note a { font-weight: 600; white-space: nowrap; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 4vw, 4rem); }
}
/* Result visual: an abstract two-card price comparison, HTML/CSS only (no app screenshots) */
.result { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 1px 2px rgb(20 33 54 / 8%), 0 28px 60px -28px rgb(20 33 54 / 45%); }
.result-label { margin: 0 0 1rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-text); }
.result-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.result-card { background: #fff; color: var(--ink); border-radius: 10px; padding: 1rem 1.1rem; display: grid; gap: .1rem; border-top: 4px solid var(--silver); min-width: 0; }
.result-card.is-low { border-top-color: var(--gold); }
.result-name { font-size: .85rem; font-weight: 700; color: var(--muted); }
.result-price { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--navy); }
.result-unit { font-size: .82rem; color: var(--muted); }
.result-belt { margin-top: .45rem; font-size: .8rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.result-diff { margin: 1rem 0 0; font-size: 1.05rem; color: #dfe5ee; }
.result-diff strong { color: var(--gold); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-right: .35rem; }
.result figcaption { color: var(--silver-text); font-size: .82rem; margin-top: .6rem; }
/* Belt-drive drawings in the design cards: same pulleys, the belt is the part that differs */
.drive { display: block; width: 100%; max-width: 220px; height: auto; margin: .7rem 0 .15rem; }
.belt { fill: none; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.belt-unverified { stroke: #e39a12; stroke-dasharray: 7 5; }
.belt-checked { stroke: var(--navy); }
.belt-flag circle { stroke: #fff; stroke-width: 2; }
.flag-unverified circle { fill: #e39a12; }
.flag-unverified text { fill: var(--navy); font: 800 12px/1 var(--font); }
.flag-checked circle { fill: var(--navy); }
.flag-checked path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.result-belt { display: flex; gap: .45rem; align-items: flex-start; }
.result-belt::before { content: ""; flex: 0 0 1.1rem; height: 0; margin-top: .55em; border-top: 3px solid var(--navy); }
.belt-key-unverified::before { border-top: 3px dashed #e39a12; }

/* Line art symbols (styles reach the <use> copies; colour via --art-* custom properties) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
#art-pulley-pair .cl { fill: none; stroke: #9aa8bc; stroke-width: .8; stroke-dasharray: 8 2.5 1.5 2.5; }
#art-pulley-pair .teeth { fill: none; stroke: var(--navy-3); stroke-width: 3; stroke-dasharray: 1.6 1.6; }
#art-pulley-pair .body { fill: #e9eef5; stroke: var(--navy-3); stroke-width: 1.2; }
#art-pulley-pair .web { fill: #f6f8fb; stroke: #b7c3d4; stroke-width: 1; }
#art-pulley-pair .hole { fill: #dfe5ee; stroke: #9aa8bc; stroke-width: .8; }
#art-pulley-pair .hub { fill: #fff; stroke: var(--navy-3); stroke-width: 1.2; }
#art-pulley-pair .bore { fill: var(--navy-3); }
#art-belt-drive *, #art-shaft * { fill: none; stroke: var(--art-line, var(--navy-3)); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
#art-belt-drive .thick { stroke-width: 2.6; }
#art-belt-drive .thin, #art-shaft .thin { stroke-width: .9; }
#art-belt-drive .cl *, #art-shaft .cl * { stroke: var(--art-cl, #9aa8bc); stroke-width: .9; stroke-dasharray: 14 4 2 4; }
#art-belt-drive .cl, #art-shaft .cl { stroke: none; }

/* Faint engineering grid used behind the hero, estimator and CTA */
.hero, .estimator-section, .pilot { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .estimator-section::before, .pilot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
.hero { --grid-major: rgb(34 93 192 / 7%); --grid-minor: rgb(34 93 192 / 3.5%); }
.hero::before { -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%); mask-image: linear-gradient(100deg, transparent 20%, #000 75%); }
.estimator-section { --grid-major: rgb(34 93 192 / 6%); --grid-minor: rgb(34 93 192 / 3%); }
.pilot { --grid-major: rgb(255 255 255 / 5%); --grid-minor: rgb(255 255 255 / 2.2%); }

.art-divider { display: block; width: min(100%, 380px); height: auto; margin: 1.4rem auto 0; opacity: .55; --art-line: var(--navy-3); }
.art-corner { display: none; }
@media (min-width: 1100px) {
  .art-corner { display: block; position: absolute; z-index: -1; width: 520px; height: auto; right: -70px; bottom: -60px; opacity: .14; --art-line: #fff; --art-cl: #fff; }
}

.limits-line { margin: 0; max-width: 70ch; color: var(--muted); font-size: .98rem; border-left: 3px solid var(--gold); padding-left: .9rem; }
.limits-line strong { color: var(--ink); }

/* Browser-style frame around app screenshots */
.frame {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #e9eef5; border-bottom: 1px solid var(--line); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--silver); }
.on-navy .frame { border-color: rgb(255 255 255 / 14%); box-shadow: 0 30px 80px -30px rgb(0 0 0 / 60%); }
.on-navy .frame-bar { background: #dfe5ee; }

figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .85rem; }
figcaption a { white-space: nowrap; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .6rem; display: block; }

/* Four pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 2px rgb(20 33 54 / 4%); }
.pillar .icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 1rem; }
.pillar .icon svg { width: 24px; height: 24px; }
.pillar p { color: var(--muted); font-size: .98rem; margin: 0; }
.pillar a { font-weight: 600; font-size: .95rem; display: inline-block; margin-top: .75rem; }

/* Problem cards */
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.pain { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 2px rgb(20 33 54 / 4%); }
.pain .icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 1rem; }
.pain .icon svg { width: 24px; height: 24px; }
.pain-text { color: var(--muted); font-size: .98rem; }
.fix { margin: auto 0 0; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: .95rem; color: var(--ink); }
.fix span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .2rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0 0 3rem; counter-reset: step; }
.steps li { position: relative; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.4rem 4.4rem; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1.4rem; top: 1.45rem; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  background: var(--navy); color: var(--gold);
}
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }

.two-up { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.two-up h3 { font-size: 1.05rem; margin: 1rem 0 .25rem; }
.two-up p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Feature rows */
.stack { display: grid; gap: 1.5rem; }
.feature { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.feature + .feature { margin-top: clamp(3.5rem, 8vw, 6rem); }
.feature-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.feature-copy > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23f6b23e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") center/70% no-repeat;
}

.status-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; border: 1px solid; }
.chip::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.chip-pass { color: var(--green); background: #e8f5ee; border-color: #b7dfc8; }
.chip-fail { color: var(--red); background: #fdecea; border-color: #f4c4be; }
.chip-unknown { color: #475569; background: #eef1f5; border-color: #cfd7e2; }

.example {
  border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 10px 10px 0;
  padding: 1rem 1.2rem; margin: 1.25rem 0; font-size: .97rem;
}
.example .tag { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .3rem; }
.example p:last-child { margin: 0; }

.caveat {
  display: flex; gap: .8rem; align-items: flex-start;
  border: 1px solid var(--line); background: #f7f9fc; border-radius: 10px; padding: .9rem 1rem; font-size: .93rem; color: var(--ink);
}
.caveat svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .15rem; color: var(--navy-3); }
.caveat p { margin: 0; }

.full-link { font-size: .9rem; }

.honest { border: 1px solid rgb(255 255 255 / 22%); border-radius: 10px; padding: .9rem 1.1rem; margin-top: 1rem; color: #e6ebf2; font-size: .95rem; }
.honest strong { color: #fff; }

/* Scope / honesty */
.scope { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.scope-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.scope-card h3 { display: flex; align-items: center; gap: .6rem; }
.scope-card ul { margin: 1rem 0 0; padding-left: 1.2rem; display: grid; gap: .6rem; }
.scope-card li { color: var(--ink); font-size: .98rem; }
.scope-card li::marker { color: var(--muted); }
.scope-card.limits { background: var(--navy); color: #e6ebf2; border-color: var(--navy); }
.scope-card.limits h3 { color: #fff; }
.scope-card.limits li { color: #e6ebf2; }
.scope-card.limits li::marker { color: var(--gold); }
.scope-card.limits strong { color: #fff; }
.dot { width: .8rem; height: .8rem; border-radius: 50%; display: inline-block; }
.dot-gold { background: var(--gold); }
.dot-navy { background: var(--navy); }

/* Video placeholder */
.video-slot {
  position: relative; isolation: isolate; aspect-ratio: 16 / 9; width: 100%; max-width: 960px; margin-inline: auto;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--navy-3); box-shadow: var(--shadow);
  display: grid; place-items: center; text-align: center; color: #fff; padding: 1.5rem;
}
.video-slot::before {
  content: ""; position: absolute; inset: -20px; z-index: -1;
  filter: blur(6px) saturate(.8); opacity: .22;
}
.video-slot::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgb(20 33 54 / 55%) 0%, rgb(38 57 90 / 75%) 100%);
}
.video-slot .play { width: 72px; height: 72px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 40%); display: grid; place-items: center; margin: 0 auto 1rem; }
.video-slot .play svg { width: 28px; height: 28px; color: var(--gold); margin-left: 4px; }
.video-slot .badge { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; margin-bottom: .8rem; }
.video-slot p { color: #dfe5ee; margin: 0 auto; max-width: 46ch; font-size: .98rem; }
.video-slot iframe, .video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Savings estimator ---------- */
.estimator-section { background-color: var(--canvas); border-top: 1px solid var(--line); }
.est-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem 3rem; align-items: start; }
.est-intro h2 { margin-bottom: .35em; }
.est-caveat { margin: 0; color: var(--muted); font-size: .95rem; border-left: 3px solid var(--gold); padding-left: .8rem; max-width: 34ch; }
.est-caveat strong { color: var(--ink); font-weight: 600; }
.art-drive { display: none; }
.est-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.1rem, 2.5vw, 1.5rem); min-width: 0; }
.est-groups { display: grid; grid-template-columns: 1fr; gap: 1.1rem 1.75rem; }
.est-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: .8rem; align-content: start; }
.est-group legend { padding: 0; margin-bottom: .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.legend-note { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); font-size: .8rem; }
.est-field { display: grid; gap: .2rem; min-width: 0; }
.est-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.est-row label { font-weight: 600; font-size: .88rem; color: var(--ink); line-height: 1.25; min-width: 0; }
.est-pair { display: flex; align-items: center; gap: .3rem; flex-shrink: 0; }
.affix { font-weight: 700; color: var(--muted); font-size: .9rem; }
.est-num {
  font: inherit; font-size: .95rem; font-weight: 700; color: var(--navy); width: 4.6rem; min-width: 0; padding: .3rem .45rem;
  border: 1px solid #b9c5d6; border-radius: 7px; background: #fff; text-align: right; font-variant-numeric: tabular-nums;
}
.est-num-wide { width: 7.6rem; }
.est-primary .est-num { width: 5.4rem; font-size: 1.15rem; padding: .45rem .55rem; border: 2px solid var(--navy-3); }
.est-primary .est-row label { font-weight: 700; }
.est-primary .affix { font-size: 1.05rem; color: var(--navy); }
.est-hint { font-size: .75rem; color: var(--muted); text-align: right; }
.est-num:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.est-num:disabled, .est-range:disabled { opacity: 1; color: var(--navy); background-color: #f7f9fc; cursor: default; }
.est-range { width: 100%; height: 1.2rem; margin: 0; accent-color: var(--gold-deep); cursor: pointer; }
.est-scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-top: -.25rem; }
.est-result { margin-top: 1.25rem; background: var(--navy); color: #fff; border-radius: 12px; padding: 1.1rem 1.3rem; display: grid; gap: .75rem 1.5rem; align-items: center;
  box-shadow: inset 0 0 0 1px rgb(246 178 62 / 25%); border-top: 4px solid var(--gold); }
.est-total { display: grid; gap: .1rem; min-width: 0; }
.est-result-label { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--silver-text); line-height: 1.35; }
.est-result-value { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.est-result-value .per { font-size: 1rem; font-weight: 700; color: #dfe5ee; letter-spacing: 0; }
.est-breakdown { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; font-size: .88rem; color: #dfe5ee; }
.est-breakdown output { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.est-ng { color: var(--silver-text); font-size: .8rem; margin-top: .15rem; }
.est-static { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); }
output { font: inherit; }
@media (min-width: 720px) {
  .est-groups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .est-result { grid-template-columns: minmax(0, 1fr) auto; }
  .est-breakdown { border-left: 1px solid rgb(255 255 255 / 18%); padding-left: 1.25rem; }
}
@media (min-width: 1000px) {
  .est-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 1.25rem 2.5rem; }
  .art-drive { display: block; width: 100%; max-width: 320px; height: auto; margin-top: 2rem; opacity: .32; --art-line: var(--navy-3); }
}

/* Pilot CTA */
.pilot { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.pilot-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.pilot h2 { color: #fff; }
.pilot .lead { color: #dfe5ee; font-size: 1.15rem; }
.pilot-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 30px 80px -30px rgb(0 0 0 / 55%); }
.pilot-card h3 { font-size: 1.3rem; }
.pilot-card ol { padding-left: 1.2rem; margin: 0 0 1.5rem; color: var(--muted); display: grid; gap: .45rem; }
.pilot-card .btn { width: 100%; font-size: 1.05rem; }
.pilot .send-head { color: #fff; font-size: 1.1rem; margin-top: 1.75rem; }
.dont { border-left: 4px solid var(--gold); background: rgb(255 255 255 / 7%); border-radius: 0 10px 10px 0; padding: .9rem 1.1rem; color: #e6ebf2; font-size: .97rem; }
.dont strong { color: var(--gold); }
.small-print { font-size: .9rem; color: var(--silver-text); margin: 1.25rem 0 0; }
.pilot-card .alt { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; overflow-wrap: anywhere; }
.privacy { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.privacy strong { color: var(--ink); }
.pilot .ticks li { color: #e6ebf2; }
.pilot .ticks li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23142136' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E"); }

/* Footer */
.site-footer { background: #0e1828; color: var(--silver-text); padding: 2.5rem 0; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; }
.site-footer .brand img { width: 32px; height: 32px; }
.footer-note { flex-basis: 100%; margin: 0; color: #aeb9c9; font-size: .86rem; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound p { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 3.5rem; }
  .feature.flip { grid-template-columns: 7fr 5fr; }
  .feature.flip .feature-copy { order: 2; }
  .feature.wide { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr 1fr; }
  .pilot-grid { grid-template-columns: 6fr 5fr; gap: 4rem; }
  .two-up { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .site-nav li:not(.keep) { display: none; }
}
@media (min-width: 861px) and (max-width: 1060px) {
  .site-nav a { padding: .5rem .5rem; font-size: .9rem; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .brand-tag { display: none; }
  .site-header .wrap { min-height: 60px; gap: .75rem; }
  .site-nav .nav-cta { padding: .55rem .8rem; font-size: .9rem; margin-left: 0; white-space: nowrap; }
  .hero h1 { font-size: 2rem; }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .1em; }
  .pain { padding: 1.2rem 1.25rem; }
  .pain .icon { width: 36px; height: 36px; margin-bottom: .7rem; }
  .pain .icon svg { width: 20px; height: 20px; }
  .pain-text { margin-bottom: .8rem; }
  .fix { padding-top: .8rem; }
  .hero .lead { font-size: 1.02rem; }
  .hero-actions .btn-gold { width: 100%; }
  .result-belt::before { display: none; }
  .result-card { padding: .9rem .85rem; }
  .steps li { padding: 1.25rem 1.1rem 1.2rem 3.8rem; }
  .steps li::before { left: 1rem; top: 1.2rem; }
  .frame-bar { height: 22px; }
  .video-slot { aspect-ratio: auto; min-height: 300px; padding: 2.5rem 1.25rem; }
  .pilot-card .btn { text-align: center; }
  .frame-bar span { width: 8px; height: 8px; }
}

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

@media print {
  .site-header, .skip-link, .video-slot { display: none; }
  .hero, .pilot { background: #fff; color: #000; }
}

/* Focus rings on white cards inside navy sections, and the skip-link target */
.on-navy .pilot-card :focus-visible, .on-navy .scope-card:not(.limits) :focus-visible { outline-color: var(--blue); }
main:focus { outline: none; }
.video-slot a { color: #fff; }

/* ---------- Tap targets (WCAG 2.2 SC 2.5.8: at least 24 x 24 px) ---------- */
.site-footer nav a, .hero-note a { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 0; }
.est-range { height: 1.5rem; }
.est-ng strong { color: #fff; font-weight: 700; }
.est-result-value { white-space: nowrap; overflow-wrap: normal; }
