/* Landing page stylesheet, generated from the approved mock.
   This page deliberately does NOT use output.css / Tailwind: the marketing
   visual language is its own and must not drift with the app design system. */

/* ============================================================
   CHAVE DEZ — Landing page · design system
   Palette derived entirely from the brand identity (logo gradient
   #0082FB -> #0064E0). No colour is borrowed from the references.
   Sections never paint a background: the PAGE changes colour on
   scroll, so the page reads as one continuous piece instead of
   stacked bands. Impact type is its own category. 6px corners.
   ============================================================ */

:root {
    color-scheme: dark;

    /* --- brand: the only source of colour --- */
    --brand: #0082FB;
    --brand-deep: #0064E0;
    --brand-bright: #5CB1FF;
    --brand-pale: #A9D4FF;
    --brand-grad: linear-gradient(135deg, #0082FB 0%, #0064E0 100%);

    /* --- blue-tinted neutrals; never a pure grey --- */
    --ink-900: #04070C;
    --ink-800: #070C14;
    --ink-700: #0C131E;
    --ink-600: #131C2A;
    --bone: #F1F4F9;
    --bone-dim: #98A3B4;
    --bone-faint: #7C899B;

    /* --- light tokens kept for reference; the page has no light tone --- */
    --paper: #F4F6FA;
    --line-ink: #DCE1EA;

    /* --- semantic colours, deliberately separate from the accent --- */
    --money: #2FD98A;
    --warn: #FFC53D;

    --display: 'Outfit', system-ui, sans-serif;
    --accent-face: 'Anton', 'Arial Narrow', sans-serif;
    --body: 'Figtree', system-ui, -apple-system, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, monospace;

    --wrap: 1240px;
    --gut: clamp(20px, 4vw, 44px);
    --r: 6px;   /* small radius, explicitly not a pill */

    /* signature easing: hard launch, long settle */
    --ease: cubic-bezier(.65, .05, 0, 1);
    --dur: .75s;
}

/* ------------------------------------------------------------
   PAGE TONE — the body changes colour, not the sections
   ------------------------------------------------------------ */
body {
    --bg: var(--ink-900);
    --fg: var(--bone);
    --dim: var(--bone-dim);
    --faint: var(--bone-faint);
    --surf: var(--ink-700);
    --surf-2: var(--ink-600);
    --hair: rgba(255, 255, 255, .085);
    --hair-strong: rgba(255, 255, 255, .17);
    --accent: var(--brand-bright);
}
/* tone 2: blue graphite, one step up from asphalt */
body[data-tone="slate"] {
    --bg: #080E18;
    --surf: #111A2A;
    --surf-2: #172337;
    --hair: rgba(255, 255, 255, .095);
    --hair-strong: rgba(255, 255, 255, .19);
}

/* tone 3: steel, the lightest tone on the page and still dark */
body[data-tone="steel"] {
    --bg: #0D1524;
    --surf: #162135;
    --surf-2: #1D2A42;
    --hair: rgba(255, 255, 255, .105);
    --hair-strong: rgba(255, 255, 255, .21);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    transition: background-color .85s var(--ease), color .85s var(--ease);
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brand); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 830px; }

/* ---------- typography ---------- */

/* impact type: its own category, separate from h1/h2 */
.impact {
    font-family: var(--display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: .86;
    letter-spacing: -.035em;
    font-size: clamp(2.8rem, 8vw, 6.2rem);
    text-wrap: balance;
}
.h-lg { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.032em; font-size: clamp(2rem, 5vw, 3.6rem); text-wrap: balance; }
.h-md { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: -.025em; font-size: clamp(1.45rem, 2.9vw, 2.1rem); text-wrap: balance; }
.h-sm { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: -.015em; font-size: 1.1rem; }

/* two-faced headline: the key word switches WEIGHT and COLOUR at the
   same time, never just one of the two */
.key {
    font-family: var(--accent-face);
    font-weight: 400;
    color: var(--accent);
    letter-spacing: -.012em;
}

.label {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.label::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: none; }

.lede { font-size: clamp(1.04rem, 1.9vw, 1.2rem); line-height: 1.6; color: var(--dim); }
.lede b, .lede strong { color: var(--fg); font-weight: 650; }

.tnum { font-family: var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

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

.hl-b { color: var(--accent); }
.hl-g { color: var(--money); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--mono); font-weight: 600; font-size: 13px;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 17px 28px; border-radius: var(--r);
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    position: relative; overflow: hidden;
    transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

/* the accent is used as a FILL with light text on top */
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: rgba(0, 100, 224, .34) 0 16px 40px; }
.btn-primary::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .38) 50%, transparent 80%);
    transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost { background: transparent; color: var(--fg); border-color: var(--hair-strong); }
.btn-ghost:hover { border-color: var(--fg); }

.btn-quiet { background: transparent; color: var(--dim); padding: 12px 14px; letter-spacing: .08em; }
.btn-quiet:hover { color: var(--fg); }

.btn-sm { padding: 14px 18px; font-size: 12px; }

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid var(--brand-bright); outline-offset: 3px; border-radius: var(--r);
}

/* ---------- surfaces ---------- */
.card { background: var(--surf); border: 1px solid var(--hair); border-radius: var(--r); }

/* viewfinder bracket: an instrument detail in the brand colour */
.bracket { position: relative; }
.bracket::before {
    content: ""; position: absolute; top: -1px; left: -1px;
    width: 16px; height: 16px;
    border-top: 2px solid var(--brand); border-left: 2px solid var(--brand);
    pointer-events: none; z-index: 2;
}

/* ---------- sections ---------- */
/* Sections never paint a background; the body does. That makes the
   page read as one continuous piece instead of stacked bands. */
section { padding: clamp(84px, 12vh, 148px) 0; position: relative; background: transparent; }

/* ---------- scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

.rise { display: block; overflow: hidden; }
.rise > span { display: block; transform: translateY(105%); transition: transform .95s var(--ease); transition-delay: var(--d, 0s); }
.rise.in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .rv, .rise > span { opacity: 1 !important; transform: none !important; }
}


/* ---------- track devices, in the brand colour ---------- */
/* run-off kerb: section divider only, never a background */
.kerb {
    height: 4px; border: 0;
    background: repeating-linear-gradient(135deg, var(--brand) 0 12px, transparent 12px 24px);
    opacity: .5;
}

/* chequered flag: a single appearance, in the closing section */
.checker {
    height: 84px; pointer-events: none;
    background: repeating-conic-gradient(var(--fg) 0 25%, transparent 0 50%) 0 0 / 8px 8px;
    opacity: .05;
    mask-image: linear-gradient(180deg, #000, transparent);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}


/* ============================================================
   CHAVE DEZ — Landing page · components
   Everything consumes the tone tokens (--fg/--dim/--surf/--hair) so
   the page colour change on scroll carries the components with it.
   ============================================================ */

/* ---------- NAV ---------- */
.nav {
    position: sticky; top: 0; z-index: 80;
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background-color .85s var(--ease);
}
.nav.stuck { border-bottom-color: var(--hair); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.nav-logo img { height: 26px; width: auto; transition: filter .85s var(--ease); }

.nav-links { display: none; gap: 34px; }
.nav-links a {
    font-family: var(--mono); font-size: 12px; letter-spacing: .13em; text-transform: uppercase;
    color: var(--dim); position: relative; padding: 6px 0; transition: color .18s var(--ease);
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
    background: var(--brand); transition: right .3s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn-quiet { display: none; }

.lapbar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--brand); box-shadow: 0 0 12px var(--brand); }

.burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; cursor: pointer;
    background: transparent; border: 1px solid var(--hair-strong); border-radius: var(--r);
}
.burger span { height: 2px; background: var(--fg); transition: transform .25s var(--ease), opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mmenu {
    position: fixed; inset: 76px 0 auto 0; z-index: 75; display: none; flex-direction: column;
    background: color-mix(in srgb, var(--bg) 98%, transparent);
    backdrop-filter: blur(18px); border-bottom: 1px solid var(--hair);
    padding: 8px var(--gut) 28px;
}
.mmenu.open { display: flex; }
.mmenu a.mm { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; line-height: 1; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.mmenu .mm-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

@media (min-width: 1000px) {
    .nav-links { display: flex; }
    .nav-cta .btn-quiet { display: inline-flex; }
    .burger, .mmenu { display: none !important; }
}

/* ---------- HERO ---------- */
.hero { position: relative; overflow: clip; padding: clamp(48px, 7vh, 92px) 0 clamp(64px, 9vh, 104px); }
.hero-bg {
    position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(56% 46% at 76% 20%, rgba(0, 130, 251, .26) 0%, transparent 70%),
        radial-gradient(40% 42% at 6% 86%, rgba(0, 100, 224, .16) 0%, transparent 72%);
}
/* telemetry grid, dissolved at the edges */
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(140, 180, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 180, 255, .055) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(66% 68% at 68% 34%, #000 0%, transparent 92%);
    -webkit-mask-image: radial-gradient(66% 68% at 68% 34%, #000 0%, transparent 92%);
}

.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.06fr .94fr; gap: 56px; } }

.hero .impact { margin: 24px 0; }
.hero .lede { max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }

.bars { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--faint); list-style: none; }
.bars li + li::before { content: "|"; margin-right: 12px; opacity: .45; }
.bars b { color: var(--dim); font-weight: 600; }

.proofline { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 13.5px; color: var(--dim); }
.proofline .ava { width: 34px; height: 34px; border-radius: 999px; background: var(--surf-2); border: 1px solid var(--hair-strong); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--faint); flex: none; }
.proofline b { color: var(--fg); }

.livechip {
    display: inline-flex; align-items: center; gap: 12px;
    border: 1px solid var(--hair-strong); border-radius: var(--r);
    padding: 9px 15px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
    text-transform: uppercase; color: var(--dim);
}
.livechip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--money); box-shadow: 0 0 10px var(--money); animation: blip 2s ease-in-out infinite; }
@keyframes blip { 50% { opacity: .35; } }
.livechip b { color: var(--fg); font-weight: 600; }

/* ---------- WORK ORDER -> INVOICE CARD (opaque on purpose) ---------- */
.tcard-stage { position: relative; perspective: 1800px; }
.tcard {
    position: relative; width: 100%; max-width: 430px; margin: 0 auto; height: 470px;
    transform-style: preserve-3d; transition: transform 1.05s cubic-bezier(.68,.04,.22,1); cursor: pointer;
}
.tcard.flip { transform: rotateY(180deg); }
.tface {
    position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
    border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08);
}
.tface-os { background: #0B121C; }
.tface-nf { background: #071120; transform: rotateY(180deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(0,130,251,.42); }
.tface-hd { display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.085); background: rgba(255,255,255,.022); }
.tface-nf .tface-hd { background: linear-gradient(90deg, rgba(0,130,251,.2), transparent); border-color: rgba(0,130,251,.28); }
.tkind { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #7C899B; }
.tno { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin-top: 5px; color: #F1F4F9; letter-spacing: -.03em; }

.placa { width: 124px; border-radius: 3px; overflow: hidden; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.5); }
.placa-top { background: #1B3C8F; color: #fff; font-family: var(--mono); font-size: 7px; letter-spacing: .1em; padding: 2px 6px; display: flex; justify-content: space-between; }
.placa-no { font-family: var(--mono); font-weight: 600; font-size: 1.06rem; color: #101319; text-align: center; padding: 3px 0 5px; letter-spacing: .07em; }

.trows { flex: 1; padding: 6px 20px; }
.trow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10.5px 0; border-bottom: 1px solid rgba(255,255,255,.055); font-size: .875rem; color: #F1F4F9; }
.trow:last-child { border-bottom: 0; }
.trow .k { color: #98A3B4; }
.trow .v { font-family: var(--mono); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.trow .v.g { color: var(--money); }
.trow .v.o { color: var(--brand-bright); }

.tface-ft { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.085); background: rgba(0,0,0,.3); }
.tface-nf .tface-ft { border-color: rgba(0,130,251,.28); }
.tstamp { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border: 1px solid currentColor; border-radius: 3px; }
.tstamp.neutral { color: #7C899B; }
.tstamp.ok { color: var(--money); background: rgba(47,217,138,.1); }
.ttotal { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1; color: #F1F4F9; letter-spacing: -.03em; }

.tcard-hint { text-align: center; margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.tcard-hint b { color: var(--accent); font-weight: 600; }

/* ---------- CAPABILITY MARQUEE ---------- */
.timestrip { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); overflow: hidden; padding: 16px 0; }
.timestrip-track { display: flex; width: max-content; animation: roll 46s linear infinite; }
.timestrip:hover .timestrip-track { animation-play-state: paused; }
.timestrip span {
    display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; white-space: nowrap;
    font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}
.timestrip span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
@keyframes roll { to { transform: translateX(-50%); } }

/* ---------- STOPWATCH DUEL ---------- */
.duel { display: grid; gap: 18px; margin-top: 44px; }
@media (min-width: 760px) { .duel { grid-template-columns: 1fr 1fr; gap: 22px; } }
.lane { position: relative; padding: 26px 24px 24px; border: 1px solid var(--hair); border-radius: var(--r); background: var(--surf); overflow: hidden; }
.lane.win { border-color: color-mix(in srgb, var(--money) 40%, transparent); }
.lane-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.lane.win .lane-tag { color: var(--money); }
.lane-time { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 6.5vw, 3.8rem); line-height: .92; margin: 12px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.lane.lose .lane-time { color: var(--dim); }
.lane.win .lane-time { color: var(--money); }
.lane-what { font-size: .88rem; color: var(--dim); }
.lane-bar { height: 4px; background: var(--hair); margin-top: 18px; overflow: hidden; }
.lane-bar i { display: block; height: 100%; width: 0; background: var(--faint); }
.lane.win .lane-bar i { background: var(--money); }
.duel-note { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: var(--faint); }

/* ---------- INTERLAGOS ---------- */
.lap-stage { position: relative; width: 100%; height: clamp(360px, 54vh, 600px); margin-top: 38px; }
.lap-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lap-svg { position: absolute; inset: 0; display: grid; place-items: center; }
.lap-svg svg { width: min(100%, 660px); height: auto; }
.lap-svg .trk { fill: none; stroke: var(--hair-strong); stroke-width: 4.5; stroke-linejoin: round; }
.lap-svg .trk-in { fill: none; stroke: var(--bg); stroke-width: 2; stroke-linejoin: round; }
.lap-svg .rl { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-dasharray: 70 940; animation: dash 8s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -1010; } }
.lap-cap { text-align: center; margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

.lap-steps { display: grid; gap: 14px; margin-top: 34px; }
@media (min-width: 900px) { .lap-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.lstep {
    position: relative; overflow: hidden; text-align: left;
    background: var(--surf); border: 1px solid var(--hair); border-left: 2px solid var(--hair-strong);
    border-radius: var(--r); padding: 24px 24px 26px; cursor: pointer;
    font-family: inherit; color: inherit;
    transition: border-color .28s var(--ease), transform .28s var(--ease);
}
.lstep:hover { transform: translateY(-3px); }
.lstep.on { border-left-color: var(--brand); }
.lstep::after {
    content: attr(data-corner);
    position: absolute; right: 18px; top: 20px;
    font-family: var(--accent-face);
    font-size: 30px; line-height: 1;
    text-transform: uppercase; letter-spacing: -.01em;
    color: color-mix(in srgb, var(--fg) 15%, transparent);
    pointer-events: none; text-align: right; max-width: 52%;
}
.lstep.on::after { color: color-mix(in srgb, var(--brand-bright) 55%, transparent); }
.lstep-n { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.lstep.on .lstep-n { color: var(--accent); }
.lstep h3 { margin: 12px 0 10px; }
.lstep p { font-size: .9rem; color: var(--dim); position: relative; }
.lstep ul { list-style: none; margin-top: 14px; display: grid; gap: 6px; position: relative; }
.lstep li { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--faint); padding-left: 16px; position: relative; }
.lstep li::before { content: "\2192"; position: absolute; left: 0; color: var(--brand-bright); }

/* ---------- DATA PANELS ---------- */
.tele-grid { display: grid; gap: 44px; align-items: start; position: relative; }
@media (min-width: 1000px) { .tele-grid { grid-template-columns: .9fr 1.1fr; gap: 58px; } }

.panel { background: var(--surf); border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; }
.panel-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--hair); }
.panel-hd .t { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.panel-hd .s { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .1em; }
.panel-bd { padding: 22px 20px; }

.big3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.big3 .k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.big3 .v { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 3.2vw, 2rem); line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.big3 .cell.pos .v { color: var(--money); }
.big3 .cell.neg .v { color: var(--dim); }
.big3 .d { font-family: var(--mono); font-size: 12px; margin-top: 7px; color: var(--faint); }

.split-rows { margin-top: 20px; border-top: 1px solid var(--hair); }
.srow { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: .86rem; }
.srow .k { color: var(--dim); }
.srow .v { font-family: var(--mono); font-weight: 600; font-size: .84rem; }
.srow .v.g { color: var(--money); }
.srow .v.b { color: var(--accent); }
.srow .v.y { color: var(--warn); }

.goal { margin-top: 20px; }
.goal-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.goal-bar { height: 26px; background: var(--hair); margin-top: 10px; position: relative; overflow: hidden; border-radius: 2px; }
.goal-bar i { position: absolute; inset: 0 auto 0 0; background: var(--brand-grad); width: 0; transition: width 1.4s var(--ease); }
.goal-bar .mark { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--fg); opacity: .5; }
.goal-bar .mark::after { content: attr(data-l); position: absolute; top: -18px; right: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--faint); white-space: nowrap; }

/* ---------- WHATSAPP MOCK ---------- */
.pitboard { background: #0B141A; border: 1px solid rgba(255,255,255,.11); border-radius: var(--r); overflow: hidden; max-width: 480px; }
.pb-hd { display: flex; align-items: center; gap: 12px; background: #1F2C34; padding: 12px 16px; }
.pb-av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-grad); display: grid; place-items: center; flex: none; }
.pb-name { font-weight: 650; font-size: .92rem; color: #E9EDEF; line-height: 1.2; }
.pb-sub { font-size: 12px; color: #8696A0; font-family: var(--mono); letter-spacing: .04em; }
.pb-bd { padding: 18px 16px 22px; display: flex; flex-direction: column; gap: 10px; }
.pb-day { align-self: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: #8696A0; background: #1F2C34; padding: 4px 12px; border-radius: 6px; }
.pb-msg { background: #1F2C34; border-radius: 8px; border-top-left-radius: 2px; padding: 12px 14px 9px; font-size: .87rem; color: #E9EDEF; line-height: 1.55; max-width: 94%; }
.pb-msg b { color: #fff; }
.pb-msg .g { color: #7BE3A2; font-weight: 650; }
.pb-msg .o { color: #8FC6FF; }
.pb-time { display: block; text-align: right; font-size: 12px; color: #8696A0; margin-top: 6px; font-family: var(--mono); }

/* ---------- FEATURE GRIDS ---------- */
.feats { display: grid; gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; }
@media (min-width: 700px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feats { grid-template-columns: repeat(3, 1fr); } }
.feat { background: var(--bg); padding: 28px 26px 30px; transition: background-color .22s var(--ease); position: relative; }
.feat:hover { background: var(--surf); }
.feat::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 2px; background: var(--brand); transition: width .32s var(--ease); }
.feat:hover::before { width: 100%; }
.feat h3 { margin-bottom: 9px; }
.feat p { font-size: .875rem; color: var(--dim); }

/* cards are smaller inside the telemetry panel */
.feats.tight .feat { padding: 20px 20px 22px; }
.feats.tight h3 { font-size: 1rem; }
.feats.tight p { font-size: 13px; }

/* ---------- COMPARISON TABLE ---------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--hair); border-radius: var(--r); }
.cmp { width: 100%; min-width: 700px; border-collapse: collapse; font-size: .88rem; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--hair); vertical-align: top; }
.cmp thead th { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.cmp thead th.us { background: var(--brand-grad); color: #fff; font-weight: 700; }
.cmp tbody th { font-weight: 500; color: var(--fg); font-size: .88rem; }
.cmp td.us { background: color-mix(in srgb, var(--brand) 8%, transparent); color: var(--fg); font-weight: 600; }
.cmp .nope { color: var(--faint); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp-hint { display: none; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
@media (max-width: 780px) { .cmp-hint { display: block; } }

/* ---------- OBJECTIONS ---------- */
.objs { display: grid; gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; margin-top: 36px; }
@media (min-width: 860px) { .objs { grid-template-columns: repeat(3, 1fr); } }
.obj { background: var(--surf); padding: 26px 24px 28px; }
.obj .q { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.02rem; line-height: 1.08; letter-spacing: -.015em; }
.obj .q::before { content: "\201C"; color: var(--accent); }
.obj .q::after { content: "\201D"; color: var(--accent); }
.obj .a { margin-top: 14px; font-size: 14.5px; color: var(--dim); line-height: 1.62; }
.obj .a b { color: var(--fg); }

/* ---------- CALCULATOR ---------- */
.calc { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; gap: 54px; } }
.calc-ctl { display: grid; gap: 28px; }
.ctl-row label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.ctl-row label b { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--fg); letter-spacing: -.03em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; background: var(--hair-strong); margin-top: 16px; cursor: pointer; border-radius: 2px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; background: var(--brand); border-radius: 2px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; background: var(--brand); border: 0; border-radius: 2px; cursor: grab; }
.calc-out { background: var(--surf); border: 1px solid var(--hair); border-left: 2px solid var(--brand); border-radius: var(--r); padding: 32px 30px; }
.calc-out .k { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.calc-out .v { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 6.5vw, 4rem); line-height: .92; margin: 10px 0; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.calc-out .v.g { color: var(--money); }
.calc-out p { font-size: .88rem; color: var(--dim); margin-top: 12px; }
.calc-disc { font-family: var(--mono); font-size: 12px; line-height: 1.65; color: var(--faint); }

/* ---------- PLANS ---------- */
.plans { display: grid; gap: 18px; }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--surf); border: 1px solid var(--hair); border-radius: var(--r); padding: 30px 26px; display: flex; flex-direction: column; position: relative; transition: border-color .22s var(--ease), transform .22s var(--ease); }
.plan:hover { transform: translateY(-4px); border-color: var(--hair-strong); }
.plan.rec { border-color: var(--brand); box-shadow: rgba(0, 100, 224, .18) 0 20px 50px; }
.plan-tag { position: absolute; top: 0; right: 20px; background: var(--brand-grad); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 0 0 3px 3px; }
.plan-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.45rem; line-height: 1; letter-spacing: -.03em; }
.plan-for { font-size: .87rem; color: var(--dim); margin-top: 12px; min-height: 48px; }
.price-3 { margin: 22px 0 4px; }
.price-3 .p-top, .price-3 .p-bot { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.price-3 .p-num { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: .95; font-variant-numeric: tabular-nums; margin: 4px 0 2px; letter-spacing: -.04em; }
.plan.rec .price-3 .p-num { color: var(--accent); }
.price-eq { margin-top: 12px; font-size: 13px; color: var(--faint); line-height: 1.5; }
.plan ul { list-style: none; margin: 22px 0 24px; flex: 1; }
.plan li { font-size: .88rem; padding: 10px 0 10px 24px; position: relative; border-top: 1px solid var(--hair); color: var(--dim); }
.plan li:first-child { border-top: 0; }
.plan li b { color: var(--fg); font-weight: 600; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 11px; height: 6px; border-left: 2px solid var(--brand-bright); border-bottom: 2px solid var(--brand-bright); transform: rotate(-45deg); }

.warranty {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
    border-left: 2px solid var(--brand); padding: 12px 0 12px 16px; margin-bottom: 30px;
    font-size: 14.5px; color: var(--dim);
}
.warranty b { color: var(--fg); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 46px 22px 0; position: relative; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1rem, 2vw, 1.28rem); line-height: 1.12; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 20px; font-family: var(--mono); font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 24px; color: var(--dim); font-size: .93rem; max-width: 72ch; }
.faq details[open] summary { color: var(--accent); }

/* ---------- CLOSING SECTION ---------- */
.final { text-align: center; position: relative; overflow: clip; }
.final::before {
    content: ""; position: absolute; bottom: -320px; left: 50%; translate: -50% 0;
    width: 900px; height: 640px; pointer-events: none;
    background: radial-gradient(ellipse, rgba(0, 130, 251, .26) 0%, transparent 66%);
}
.final .wrap { position: relative; }
.final .impact { margin: 0 auto 22px; max-width: 15ch; }
.final > .wrap > p { color: var(--dim); max-width: 52ch; margin: 0 auto; }
.final .hero-cta { justify-content: center; margin-top: 34px; }
.final .bars { justify-content: center; }

/* ---------- FOOTER ---------- */
.footer { padding: 46px 0 42px; font-size: .85rem; color: var(--faint); border-top: 1px solid var(--hair); }
.foot-in { display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: space-between; align-items: center; }
.foot-in img { height: 22px; opacity: .85; }
.footer a { color: var(--dim); }
.footer a:hover { color: var(--fg); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- STICKY MOBILE CTA ---------- */
.mcta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 10px;
    padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(14px); border-top: 1px solid var(--hair);
    transform: translateY(120%); transition: transform .34s var(--ease);
}
.mcta.show { transform: none; }
.mcta .btn { flex: 1; padding: 15px 12px; }
.mcta .btn-ghost { flex: 0 0 auto; padding: 15px 16px; }
@media (min-width: 1000px) { .mcta { display: none; } }
