/* Carrierly — landing page. Built on the app's design tokens (tokens.css). */
:root { --spring: cubic-bezier(.32, .72, 0, 1); --pop: cubic-bezier(.34, 1.4, .64, 1); --wrap: 1200px; }
[data-theme="light"] { --accent: #ff6b1a; }
[data-theme="dark"] { --accent: #ff7a2e; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; overflow-x: clip; }
body { font-family: var(--font-sans); font-optical-sizing: auto; background: var(--bg-page); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-size: 16px; line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -.01em; }
.mono { font-family: var(--font-mono); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border-radius: 999px; background: var(--card-fill); border: 1.5px solid var(--card-stroke); box-shadow: var(--shadow-card); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); backdrop-filter: blur(16px); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sq { corner-shape: superellipse(1.8); }

/* page glows */
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(120px); pointer-events: none; }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 1.5px solid var(--card-stroke); background: var(--card-fill); color: var(--ink); box-shadow: var(--shadow-card); backdrop-filter: blur(16px); transition: transform .5s var(--spring), box-shadow .3s; will-change: transform; white-space: nowrap; }
.btn:hover { box-shadow: var(--shadow-lift); }
.btn:active { transform: scale(.96) !important; transition-duration: .15s; }
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--spring); }
.btn:hover svg.go { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); box-shadow: 0 12px 28px rgba(17,17,19,.2); }
.btn-ink::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%); transform: translateX(-100%); }
.btn-ink:hover::after { animation: sheen 1.1s var(--spring); }
@keyframes sheen { to { transform: translateX(100%); } }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-wa svg { color: #25d366; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(1220px, calc(100% - 24px)); display: flex; align-items: center; gap: 18px; height: 64px; padding: 0 10px 0 16px; border-radius: 24px; border: 1.5px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s; }
.nav.scrolled { background: var(--card-fill); border-color: var(--card-stroke); box-shadow: var(--shadow-card); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 500; letter-spacing: -.03em; }
.brand-mark { width: 38px; height: 38px; border-radius: 13px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.brand-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-muted); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--tile-fill); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--card-fill); border: 1.5px solid var(--card-stroke); color: var(--ink); cursor: pointer; transition: transform .4s var(--spring); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 17px; height: 17px; }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: 150px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: .98; font-weight: 400; letter-spacing: -.055em; margin: 22px auto 0; max-width: 980px; }
.hero h1 .serif { font-size: 1.04em; }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-muted); max-width: 620px; margin: 22px auto 0; letter-spacing: -.01em; }
.hero-ctas { display: flex; justify-content: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--ink-faint); display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--green); }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; }
.split-line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--spring) forwards; }
.split-line:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { to { transform: none; } }
.fade-in { opacity: 0; animation: fadeUp 1s var(--spring) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* product shot */
.shot-wrap { perspective: 1800px; margin-top: 64px; }
.shot { position: relative; margin: 0 auto; width: min(1180px, 100%); border-radius: 34px; padding: 14px; background: var(--card-fill); border: 1.5px solid var(--card-stroke); box-shadow: 0 50px 120px rgba(17,17,19,.16), var(--shadow-card); backdrop-filter: blur(24px); transform: rotateX(18deg) scale(.94); transform-origin: 50% 30%; text-align: left; will-change: transform; }
.app { display: grid; grid-template-columns: 64px 1fr; gap: 14px; border-radius: 24px; background: var(--bg-page); padding: 16px; overflow: hidden; }
.app-rail { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.app-rail i { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: var(--rail-icon); }
.app-rail i svg { width: 17px; height: 17px; }
.app-rail i.on { background: var(--rail-active); color: var(--ink); box-shadow: 0 6px 16px rgba(17,17,19,.06); }
.app-rail i.logo { background: var(--ink); color: var(--on-ink); margin-bottom: 14px; }
.app-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.app-greet { font-size: 30px; line-height: 36px; font-weight: 400; letter-spacing: -.035em; padding: 4px 4px 0; }
.app-greet small { display: block; font-size: 12px; color: var(--ink-muted); letter-spacing: 0; line-height: 18px; }
.app-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.card { background: var(--card-fill); border: 1.5px solid var(--card-stroke); border-radius: 26px; box-shadow: var(--shadow-card); padding: 18px; backdrop-filter: blur(20px); }
.scan-mini b { font-size: 14px; font-weight: 500; display: block; }
.scan-mini small { font-size: 12px; color: var(--ink-muted); }
.scan-mini .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 12px; }
.scan-mini .fields span { height: 38px; border-radius: 999px; background: var(--tile-fill); border: 1.5px solid var(--card-stroke); display: flex; align-items: center; padding: 0 14px; font-family: var(--font-mono); font-size: 12px; }
.bar { height: 8px; border-radius: 999px; background: var(--bg-strong); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--lime), var(--green)); transition: width 1.2s var(--spring); }
.metric { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 16px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; min-height: 170px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.metric.green { background: linear-gradient(135deg, var(--grad-green-a), var(--grad-green-b) 50%, var(--grad-green-c)); }
.metric.orange { background: linear-gradient(135deg, var(--grad-orange-a), var(--grad-orange-b) 50%, var(--grad-orange-c)); }
.metric .orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(26px); animation: float 10s ease-in-out infinite; }
.metric.green .o1 { width: 150px; height: 150px; left: -40px; top: -50px; background: #f2fbb5; opacity: .8; }
.metric.green .o2 { width: 130px; height: 130px; right: -30px; bottom: -40px; background: #1f9a40; opacity: .7; animation-delay: -4s; }
.metric.orange .o1 { width: 150px; height: 150px; left: -40px; top: -50px; background: #f3effa; opacity: .45; }
.metric.orange .o2 { width: 130px; height: 130px; right: -30px; bottom: -40px; background: #ff4d00; opacity: .7; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-12px, 10px) scale(1.08); } }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: rgba(255,255,255,.9); color: #161618; font-size: 12px; align-self: flex-start; }
.dots { font-family: var(--font-pixel); font-variation-settings: "ROND" 0; font-weight: 900; font-size: 64px; line-height: 64px; text-align: center; letter-spacing: .02em; }
.ruler { height: 12px; opacity: .75; background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 1px, transparent 1px 7px) bottom / 100% 6px no-repeat, repeating-linear-gradient(90deg, rgba(255,255,255,.95) 0 1.5px, transparent 1.5px 56px) bottom / 100% 12px no-repeat; }
.app-table { padding: 0; overflow: hidden; }
.app-table .head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; }
.app-table .head b { font-weight: 500; font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1.6fr 1fr .5fr 1fr .9fr; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 13px; animation: rowIn .7s var(--spring) both; }
.row:last-child { border-bottom: none; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-10px); background: var(--lime-soft); } to { opacity: 1; transform: none; } }
.row .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.row .who em { width: 30px; height: 30px; border-radius: 10px; flex: none; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 500; color: #161618; }
.row .who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.row .m { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; justify-self: start; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.p-q { background: var(--purple-soft); color: var(--purple-ink); }
.p-a { background: var(--green-soft); color: var(--green-ink); }
.p-n { background: var(--lime); color: #161618; }
.p-n::before { background: #161618; }
.p-r { background: var(--orange-soft); color: var(--orange-ink); }
.p-e { background: var(--red-soft); color: var(--red-ink); }
.p-s { background: var(--blue-soft); color: var(--blue-ink); }

/* floating callouts around the product shot */
.callout { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 20px; background: var(--bg-card); border: 1.5px solid var(--card-stroke); box-shadow: var(--shadow-lift); font-size: 13.5px; animation: bob 6s ease-in-out infinite; }
.callout b { font-weight: 500; }
.callout small { display: block; color: var(--ink-muted); font-size: 12px; }
.callout i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.callout i svg { width: 17px; height: 17px; }
.c1 { left: -64px; top: 12%; }
.c2 { right: -36px; top: 88%; animation-delay: -3s; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ---------- strip ---------- */
.strip { padding: 70px 0 30px; text-align: center; }
.strip p { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; background: var(--card-fill); border: 1.5px solid var(--card-stroke); box-shadow: var(--shadow-card); font-size: 14.5px; white-space: nowrap; }
.chip b { font-weight: 500; font-variant-numeric: tabular-nums; }
.chip > span b { margin: 0 .25em; }
.chip i { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- sections ---------- */
section { position: relative; overflow-x: clip; }
.sec { padding: 120px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; font-weight: 400; letter-spacing: -.05em; margin: 18px 0 0; }
.sec-head p { font-size: 18px; line-height: 1.6; color: var(--ink-muted); margin: 18px auto 0; max-width: 600px; }
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--spring), transform 1.1s var(--spring), filter 1s var(--spring); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- morning (dark) ---------- */
.dark-band { background: #121213; color: #f2f2ef; border-radius: 48px; margin: 0 12px; overflow: hidden; isolation: isolate; }
[data-theme="dark"] .dark-band { background: #1a1a1b; }
.dark-band .eyebrow { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #a1a1a7; box-shadow: none; }
.dark-band .sec-head p { color: #a1a1a7; }
.verdict { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.verdict div { padding: 18px 24px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-align: center; min-width: 200px; }
.verdict b { display: block; font-size: 40px; font-weight: 400; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.verdict small { color: #a1a1a7; font-size: 13px; }

/* ---------- how it works ---------- */
/* ---------- demo ---------- */
.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.demo-ctrl { padding: 30px; display: flex; flex-direction: column; }
.demo-ctrl h3 { font-size: 30px; line-height: 1.1; font-weight: 400; letter-spacing: -.04em; margin: 16px 0 10px; }
.demo-ctrl p { color: var(--ink-muted); margin: 0 0 22px; font-size: 15px; }
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inputs label { display: block; font-size: 13px; color: var(--ink-muted); margin: 0 0 7px 6px; }
.inputs input { width: 100%; height: 52px; border-radius: 999px; border: 1.5px solid var(--card-stroke); background: var(--tile-fill); padding: 0 20px; font-family: var(--font-mono); font-size: 15px; color: var(--ink); outline: none; transition: box-shadow .3s, transform .4s var(--spring); }
.inputs input:focus { box-shadow: 0 0 0 4px var(--orange-soft); transform: translateY(-1px); background: var(--bg-card); }
.demo-ctrl .btn { margin-top: 16px; width: 100%; }
.demo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; padding-top: 22px; }
.demo-stats div { border-radius: 20px; background: var(--tile-fill); border: 1.5px solid var(--card-stroke); padding: 14px 16px; }
.demo-stats small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.demo-stats b { display: block; font-size: 26px; font-weight: 400; letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.demo-out { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 520px; }
.demo-out .head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; }
.demo-out .head b { font-weight: 500; font-size: 16px; }
.demo-out .rows { flex: 1; overflow: hidden; }
.demo-empty { height: 100%; display: grid; place-items: center; text-align: center; color: var(--ink-muted); font-size: 14px; padding: 40px; }
.demo-empty i { width: 54px; height: 54px; border-radius: 18px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--tile-fill); border: 1.5px solid var(--card-stroke); color: var(--ink); }
.demo-empty i svg { width: 22px; height: 22px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 240px; gap: 20px; }
.b { position: relative; overflow: hidden; padding: 26px; display: flex; flex-direction: column; transition: transform .6s var(--spring), box-shadow .4s; }
.b:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.b::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(214,242,92,.22), transparent 60%); opacity: 0; transition: opacity .4s; }
.b:hover::after { opacity: 1; }
.b h3 { font-size: 22px; line-height: 1.2; font-weight: 400; letter-spacing: -.03em; margin: auto 0 6px; }
.b p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-muted); max-width: 420px; }
.b .ic { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: var(--tile-fill); border: 1.5px solid var(--card-stroke); }
.b .ic svg { width: 20px; height: 20px; }
.b-1 { grid-column: span 4; grid-row: span 2; }
.b-2 { grid-column: span 2; grid-row: span 2; color: #fff; background: linear-gradient(150deg, var(--grad-green-a), var(--grad-green-b) 50%, var(--grad-green-c)); border-color: rgba(255,255,255,.4); }
.b-2 p { color: rgba(255,255,255,.88); }
.b-3, .b-4, .b-5 { grid-column: span 2; }
.b-6 { grid-column: span 3; }
.b-7 { grid-column: span 3; color: #fff; background: linear-gradient(150deg, var(--grad-orange-a), var(--grad-orange-b) 50%, var(--grad-orange-c)); border-color: rgba(255,255,255,.4); }
.b-7 p { color: rgba(255,255,255,.88); }
.mini-table { margin-top: 18px; border-radius: 20px; background: var(--tile-fill); border: 1.5px solid var(--card-stroke); overflow: hidden; }
.mini-table .row { animation: none; font-size: 12.5px; padding: 10px 14px; }
.cargo { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.status3 { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-subtle); margin-top: 16px; align-self: flex-start; }
.status3 i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.status3 i::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: .35; }
.status3 i.on { background: var(--bg-card); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.status3 i.on::before { opacity: 1; }
.quote-card { margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: var(--tile-fill); border: 1.5px solid var(--card-stroke); font-size: 15px; line-height: 1.45; letter-spacing: -.01em; }
.quote-card::before { content: "\201C"; font-family: var(--font-serif); font-style: italic; color: var(--accent); font-size: 28px; line-height: 0; vertical-align: -9px; margin-right: 3px; }

/* ---------- ROI ---------- */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.roi-in { padding: 32px; }
.slider { margin-top: 26px; }
.slider label { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 14px; }
.slider label b { font-weight: 500; font-variant-numeric: tabular-nums; font-family: var(--font-mono); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--ink) var(--p, 30%), var(--bg-strong) var(--p, 30%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 2px 6px rgba(0,0,0,.2), 0 0 0 6px rgba(255,255,255,.5); cursor: grab; transition: transform .3s var(--pop); }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: none; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.roi-out { position: relative; overflow: hidden; isolation: isolate; border-radius: 34px; padding: 32px; color: #fff; background: #161618; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; }
.roi-out .orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); }
.roi-out small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.roi-big { font-family: var(--font-pixel); font-variation-settings: "ROND" 0; font-weight: 900; font-size: clamp(72px, 9vw, 120px); line-height: 1; margin: 10px 0 4px; letter-spacing: .02em; }
.roi-out p { color: rgba(255,255,255,.75); margin: 0; font-size: 15px; }
.roi-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.roi-pair div { border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 16px 18px; backdrop-filter: blur(10px); }
.roi-pair b { display: block; font-size: 30px; font-weight: 400; letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }

/* ---------- build vs buy ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.vs-col { padding: 32px; }
.vs-col h3 { font-size: 24px; font-weight: 400; letter-spacing: -.03em; margin: 14px 0 22px; }
.vs-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.vs-col li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.vs-col li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.vs-col.bad li svg { color: var(--red); }
.vs-col.good { background: #161618; color: #f2f2ef; border-color: #161618; }
[data-theme="dark"] .vs-col.good { background: #f2f2ef; color: #161618; border-color: #f2f2ef; }
.vs-col.good li svg { color: #3ddc6a; }
.vs-col.good .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.7); box-shadow: none; }
[data-theme="dark"] .vs-col.good .eyebrow { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.1); color: rgba(0,0,0,.6); }
.vs-col .price-line { margin-top: 26px; padding-top: 20px; border-top: 1px solid currentColor; border-color: rgba(127,127,127,.25); font-size: 14px; color: inherit; opacity: .85; }
.vs-col .price-line b { font-size: 28px; font-weight: 400; letter-spacing: -.03em; display: block; opacity: 1; }

/* ---------- pricing ---------- */
.toggle { display: inline-grid; grid-template-columns: 1fr 1fr; position: relative; padding: 4px; border-radius: 999px; background: var(--bg-strong); margin-top: 28px; }
.toggle i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--bg-card); box-shadow: 0 4px 12px rgba(0,0,0,.08); transition: transform .55s var(--spring); }
.toggle.yearly i { transform: translateX(100%); }
.toggle button { position: relative; z-index: 1; height: 40px; padding: 0 22px; border: none; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink-muted); cursor: pointer; }
.toggle button.on { color: var(--ink); }
.toggle .save { margin-left: 6px; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--lime); color: #161618; }
.white-label { margin-top: 20px; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.white-label h3 { margin: 0; font-size: 22px; font-weight: 400; letter-spacing: -.03em; }
.white-label p { margin: 4px 0 0; color: var(--ink-muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.qa { border-radius: 24px; background: var(--card-fill); border: 1.5px solid var(--card-stroke); box-shadow: var(--shadow-card); overflow: hidden; }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: none; background: none; font: inherit; font-size: 17px; font-weight: 500; letter-spacing: -.015em; color: var(--ink); text-align: left; cursor: pointer; }
.qa button i { width: 32px; height: 32px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--tile-fill); transition: transform .5s var(--spring), background .3s; }
.qa button i svg { width: 16px; height: 16px; }
.qa.open button i { transform: rotate(45deg); background: var(--ink); color: var(--on-ink); }
.qa .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--spring); }
.qa.open .a { grid-template-rows: 1fr; }
.qa .a > div { overflow: hidden; }
.qa .a p { margin: 0; padding: 0 24px 22px; color: var(--ink-muted); font-size: 15.5px; line-height: 1.65; }

/* ---------- final CTA ---------- */
.final { margin: 0 12px; border-radius: 48px; overflow: hidden; position: relative; isolation: isolate; min-height: 640px; display: flex; align-items: flex-end; color: #fff; }
.final-bg { position: absolute; inset: 0; z-index: -2; background-color: #121213; background-size: cover; background-position: 78% center; background-image: url('img/truck-wide-dark.webp'); transform: scale(1.06); transition: transform .2s linear; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,12,.85) 0%, rgba(10,10,12,.35) 55%, rgba(10,10,12,0) 80%), linear-gradient(180deg, rgba(10,10,12,0) 50%, rgba(10,10,12,.6) 100%); }

.final h2 { font-size: clamp(40px, 6vw, 84px); line-height: .98; font-weight: 400; letter-spacing: -.055em; margin: 0; max-width: 760px; }
.final h2 .serif { color: #ffb07a; }
.final p { margin: 16px 0 0; font-size: 18px; color: rgba(255,255,255,.8); max-width: 520px; }

.final .btn { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.final .btn-ink { background: #fff; color: #161618; border-color: #fff; }

/* ---------- footer ---------- */
footer { padding: 70px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.foot p { color: var(--ink-muted); font-size: 14px; line-height: 1.6; max-width: 320px; margin: 14px 0 0; }
.foot h4 { margin: 0 0 14px; font-size: 13px; font-family: var(--font-mono); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a { color: var(--ink-muted); text-decoration: none; font-size: 14.5px; }
.foot a:hover { color: var(--ink); }
.legal { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-faint); font-size: 13px; }
.wordmark { font-size: clamp(90px, 18vw, 260px); line-height: .8; font-weight: 500; letter-spacing: -.07em; text-align: center; margin-top: 50px; color: transparent; background: linear-gradient(180deg, var(--ink) 0%, transparent 95%); -webkit-background-clip: text; background-clip: text; opacity: .1; user-select: none; }

/* WhatsApp floating button */
.wa-fab { position: fixed; z-index: 60; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.4); transition: transform .5s var(--spring); }
.wa-fab:hover { transform: translateY(-3px) scale(1.04); }
.wa-fab svg { width: 28px; height: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .app-top { grid-template-columns: 1fr 1fr; }
  .app-top .scan-mini { grid-column: 1 / -1; }
  .steps3, .plans, .roi, .vs, .demo { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .b { grid-column: span 2 !important; grid-row: auto !important; min-height: 240px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .c1, .c2 { display: none; }
}
@media (max-width: 640px) {
  .sec { padding: 80px 0; }
  .nav .btn-ghost-hide { display: none; }
  .app { grid-template-columns: 1fr; padding: 10px; }
  .app-rail { display: none; }
  .app-top { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1.5fr 1fr; }
  .row > :nth-child(n+3) { display: none; }
  .inputs { grid-template-columns: 1fr; }
  .final-in { padding: 34px 26px; }
  .dark-band, .final { border-radius: 34px; margin: 0 8px; }
  .roi-pair, .demo-stats { grid-template-columns: 1fr 1fr; }
}
/* ============ v2 additions ============ */

/* hero shot: mouse tilt glare */
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4; background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.22), transparent 60%); opacity: var(--go, 0); transition: opacity .6s; mix-blend-mode: soft-light; }
.callout { transform: translate(var(--cx, 0px), var(--cy, 0px)); }

/* ---------- morning race ---------- */
.race { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.race-clock { display: flex; align-items: center; gap: 22px; padding: 14px 14px 14px 26px; border-radius: 30px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.clock-face { display: flex; align-items: baseline; gap: 10px; flex: none; }
.clock-face b { font-family: var(--font-pixel); font-variation-settings: "ROND" 0; font-weight: 900; font-size: 46px; line-height: 1; letter-spacing: .04em; color: #f2f2ef; font-variant-numeric: tabular-nums; min-width: 5ch; }
.clock-face b .colon { font-family: var(--font-mono); font-style: normal; font-weight: 500; font-size: .8em; vertical-align: .08em; margin: 0 .04em; color: #ffb07a; animation: blink 1s steps(1) infinite; }
.clock-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #77777d; }
.clock-day { flex: 1; min-width: 0; }
.clock-bar { position: relative; height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.clock-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, #c9ec3f, #ffb07a 55%, #ff7a2e); }
.clock-ticks { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: #66666b; }
.replay { width: 46px; height: 46px; border-radius: 16px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #f2f2ef; cursor: pointer; opacity: .35; transition: opacity .4s, transform .5s var(--spring), background .3s; }
.replay svg { width: 18px; height: 18px; }
.race.done .replay { opacity: 1; }
.replay:hover { background: rgba(255,255,255,.12); transform: rotate(-30deg); }
.replay:active { transform: scale(.9); }

.lane { --dot: #ff5f5f; --dot-rgb: 255,95,95; position: relative; border-radius: 34px; padding: 24px 28px 26px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); overflow: hidden; isolation: isolate; transition: border-color .8s, background .8s, opacity 1s var(--spring), transform 1.1s var(--spring), filter 1s var(--spring); }
.lane.good { --dot: #3ddc6a; --dot-rgb: 61,220,106; }
.lane::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 260px; right: -120px; top: -140px; border-radius: 50%; background: var(--dot); filter: blur(90px); opacity: 0; transition: opacity 1.2s; }
.lane.complete::before { opacity: .14; }
.lane.complete { border-color: rgba(var(--dot-rgb), .28); }
.lane-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.lane-id { display: flex; align-items: center; gap: 12px; }
.lane-id b { display: block; font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.lane-id small { color: #8a8a90; font-size: 13px; }
.lane-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 5px rgba(var(--dot-rgb), .16); animation: pulse 1.8s ease-in-out infinite; }
.lane-count { text-align: right; }
.lane-count span { display: block; font-family: var(--font-pixel); font-variation-settings: "ROND" 0; font-weight: 900; font-size: 34px; line-height: 1; color: var(--dot); font-variant-numeric: tabular-nums; }
.lane-count small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #77777d; }
.lane-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.lane-line { position: absolute; top: 10px; left: 10px; right: 0; height: 2px; margin-top: -1px; border-radius: 2px; background: rgba(255,255,255,.08); }
.lane-line i { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, rgba(var(--dot-rgb), .35), var(--dot)); }
.lane-line i::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 14px 4px rgba(var(--dot-rgb), .6); opacity: 0; transition: opacity .3s; }
.race.running .lane-line i::after { opacity: 1; }
.lstep { position: relative; padding-top: 38px; min-width: 0; }
.lstep .node { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #1d1d1f; border: 2px solid rgba(255,255,255,.16); transition: background .4s, border-color .4s, transform .6s var(--pop); }
.lstep .node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--dot); opacity: 0; }
.lstep.on .node { background: var(--dot); border-color: var(--dot); transform: scale(1.1); }
.lstep.on .node::after { animation: ripple 1s var(--spring) forwards; }
@keyframes ripple { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
.lstep time, .lstep b, .lstep span { transition: opacity .6s var(--spring), transform .6s var(--spring); opacity: .28; }
.lstep.on time, .lstep.on b, .lstep.on span { opacity: 1; }
.lstep time { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: #8a8a90; }
.lstep b { display: block; font-weight: 500; font-size: 15px; margin-top: 6px; letter-spacing: -.01em; color: #f2f2ef; }
.lstep span { display: block; font-size: 13px; line-height: 1.5; color: #a1a1a7; margin-top: 4px; }
.flag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; margin-top: 10px; border-radius: 999px; font-style: normal; font-size: 11.5px; background: rgba(var(--dot-rgb), .16); color: var(--dot); opacity: 0; transform: scale(.6) translateY(6px); transition: opacity .4s, transform .6s var(--pop); }
.lane.good .flag { background: #c9ec3f; color: #161618; }
.lstep.on .flag { opacity: 1; transform: none; }

/* ---------- how it works ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.how { position: relative; padding: 28px; display: flex; flex-direction: column; transition: transform .7s var(--spring), box-shadow .4s, opacity 1s var(--spring), filter 1s var(--spring); }
.how:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.how:not(:last-child)::after { content: ""; position: absolute; top: 49px; right: -21px; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink-faint) 0 4px, transparent 4px 8px); background-size: 16px 2px; animation: dash 1s linear infinite; opacity: .6; }
@keyframes dash { to { background-position: 16px 0; } }
.how-top { display: flex; align-items: center; justify-content: space-between; }
.how .n { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); font-family: var(--font-mono); font-size: 14px; transition: background .4s, color .4s, transform .6s var(--pop); }
.how:hover .n { background: var(--lime); color: #161618; transform: rotate(-8deg) scale(1.06); }
.how-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.how h3 { font-size: 26px; line-height: 1.15; font-weight: 400; letter-spacing: -.035em; margin: 26px 0 10px; }
.how p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.6; }
.how .vis { position: relative; margin-top: auto; height: 150px; border-radius: 22px; background: var(--tile-fill); border: 1.5px solid var(--card-stroke); overflow: hidden; }
.how p { margin-bottom: 24px; }
/* v1 typing */
.v1 { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 8px; padding: 0 14px; }
.vf small { display: block; font-size: 11px; color: var(--ink-muted); margin: 0 0 6px 4px; }
.vf { min-width: 0; }
.vf > span { white-space: nowrap; overflow: hidden; height: 42px; border-radius: 999px; background: var(--bg-card); border: 1.5px solid var(--card-stroke); display: flex; align-items: center; padding: 0 12px; font-family: var(--font-mono); font-size: 12.5px; transition: box-shadow .3s; }
.vf > span.focus { box-shadow: 0 0 0 4px var(--orange-soft); }
.vf em { font-style: normal; }
.caret { display: inline-block; width: 1.5px; height: 15px; margin-left: 1px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vgo { width: 42px; height: 42px; margin-top: 20px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); transition: transform .35s var(--pop), background .3s; }
.vgo svg { width: 17px; height: 17px; }
.vgo.press { transform: scale(.86); background: var(--green); color: #fff; }
/* v2 scanner */
.v2 { -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.scroller { display: flex; flex-direction: column; gap: 8px; padding: 0 14px; animation: scrollUp 9s linear infinite; }
@keyframes scrollUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 4px)); } }
.srow { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 8px 0 14px; border-radius: 14px; background: var(--bg-card); border: 1.5px solid var(--card-stroke); flex: none; }
.srow .m { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }
.beam { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; height: 44px; margin-top: -22px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(214,242,92,.28) 50%, transparent); border-top: 1.5px solid rgba(160,200,40,.0); }
.beam::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; background: linear-gradient(90deg, transparent, var(--green), transparent); box-shadow: 0 0 10px var(--green); animation: beamPulse 2s ease-in-out infinite; }
@keyframes beamPulse { 50% { opacity: .4; } }
/* v3 call */
.v3 { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 14px; }
.call-card { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 8px 0 10px; border-radius: 18px; background: var(--bg-card); border: 1.5px solid var(--card-stroke); }
.call-card em { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 500; color: #161618; flex: none; }
.call-card div { flex: 1; min-width: 0; }
.call-card b { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-card small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); }
.ring { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: var(--green); color: #fff; flex: none; position: relative; }
.ring svg { width: 17px; height: 17px; animation: ringing 2.4s ease-in-out infinite; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--green); animation: ringWave 2.4s ease-out infinite; }
@keyframes ringing { 0%, 40%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-14deg); } 10%, 20%, 30% { transform: rotate(14deg); } }
@keyframes ringWave { 0% { opacity: .8; transform: scale(1); } 45%, 100% { opacity: 0; transform: scale(1.6); } }
.seg3 { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; background: var(--bg-strong); }
.seg3 i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--bg-card); box-shadow: 0 2px 8px rgba(0,0,0,.08); animation: seg 6s var(--spring) infinite; }
.seg3 span { position: relative; z-index: 1; height: 30px; display: grid; place-items: center; font-size: 11.5px; color: var(--ink-muted); white-space: nowrap; }
@keyframes seg { 0%, 28% { transform: translateX(0); } 33%, 61% { transform: translateX(100%); } 66%, 94% { transform: translateX(200%); } 100% { transform: translateX(0); } }

/* ---------- build vs buy motion ---------- */
.vs { position: relative; }
.vs-col li { opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--spring), transform .7s var(--spring); transition-delay: calc(.35s + var(--i) * .12s); }
.vs-col.in li { opacity: 1; transform: none; }
.vs-col li svg path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .7s var(--spring); transition-delay: calc(.5s + var(--i) * .12s); }
.vs-col.in li svg path { stroke-dashoffset: 0; }
.vs-col.good { position: relative; isolation: isolate; overflow: hidden; }
.vs-col.good::before { content: ""; position: absolute; z-index: -2; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; margin: -80% 0 0 -80%; background: conic-gradient(from 0deg, transparent 0 62%, #c9ec3f 78%, #3ddc6a 88%, transparent 100%); animation: spin 5s linear infinite; }
.vs-col.good::after { content: ""; position: absolute; z-index: -1; inset: 2px; border-radius: 24px; corner-shape: superellipse(1.8); background: #161618; }
[data-theme="dark"] .vs-col.good::after { background: #f2f2ef; }
@keyframes spin { to { transform: rotate(1turn); } }
.vs-badge { position: absolute; z-index: 3; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-card); border: 1.5px solid var(--card-stroke); box-shadow: var(--shadow-lift); font-family: var(--font-serif); font-style: italic; font-size: 24px; color: var(--accent); transform: scale(0) rotate(-90deg); transition: transform .9s var(--pop) .4s; }
.vs.in .vs-badge { transform: none; }
.ttf { margin-top: 24px; }
.ttf-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 9px; }
.ttf-top span { opacity: .65; }
.ttf-top b { font-weight: 500; }
.ttf-bar { height: 8px; border-radius: 999px; background: rgba(127,127,127,.18); overflow: hidden; }
.ttf-bar i { display: block; height: 100%; width: 0; border-radius: inherit; }
.vs-col.bad .ttf-bar i { background: repeating-linear-gradient(-45deg, var(--red) 0 6px, #ff8a8a 6px 12px); transition: width 4.5s linear .8s; }
.vs-col.good .ttf-bar i { background: linear-gradient(90deg, #c9ec3f, #3ddc6a); transition: width .7s var(--spring) .8s; }
.vs-col.in .ttf-bar i { width: 100%; }

/* ---------- pricing v2 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; overflow: hidden; isolation: isolate; padding: 30px; border-radius: 36px; display: flex; flex-direction: column; transition: transform .6s var(--spring), box-shadow .4s, opacity 1s var(--spring), filter 1s var(--spring); }
.plan.in:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.plan::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(214,242,92,.2), transparent 60%); opacity: 0; transition: opacity .4s; }
.plan:hover::after { opacity: 1; }
.plan > * { position: relative; z-index: 1; }
.plan-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.plan-ic { width: 48px; height: 48px; border-radius: 17px; display: grid; place-items: center; background: var(--tile-fill); border: 1.5px solid var(--card-stroke); transition: transform .6s var(--pop); }
.plan:hover .plan-ic { transform: rotate(-8deg) scale(1.06); }
.plan-ic svg { width: 21px; height: 21px; }
.plan h3 { margin: 22px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.plan .for { color: var(--ink-muted); font-size: 14px; margin-top: 2px; }
.price { display: flex; align-items: flex-start; gap: 2px; margin: 22px 0 2px; }
.price .cur { font-size: 26px; line-height: 1; margin-top: 8px; font-weight: 400; }
.price b { font-size: 68px; line-height: 1; font-weight: 400; letter-spacing: -.055em; font-variant-numeric: tabular-nums; display: inline-block; }
.price .per { align-self: flex-end; color: var(--ink-muted); font-size: 15px; margin: 0 0 8px 8px; }
.billed { font-size: 13px; color: var(--ink-faint); min-height: 20px; }
.seats { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 14px 10px 10px; border-radius: 20px; background: var(--tile-fill); border: 1.5px solid var(--card-stroke); font-size: 14px; }
.avs { display: flex; }
.avs i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 500; color: #161618; border: 2px solid var(--bg-card); margin-left: -8px; opacity: 0; transform: scale(.4); transition: transform .6s var(--pop), opacity .4s; }
.avs i:first-child { margin-left: 0; }
.avs i.more { background: var(--ink); color: var(--on-ink); font-size: 10px; }
.plan.in .avs i { opacity: 1; transform: none; }
.plan.in .avs i:nth-child(2) { transition-delay: .1s; } .plan.in .avs i:nth-child(3) { transition-delay: .2s; } .plan.in .avs i:nth-child(4) { transition-delay: .3s; } .plan.in .avs i:nth-child(5) { transition-delay: .4s; }
.meter { margin-top: 12px; padding: 12px 14px 14px; border-radius: 20px; background: var(--tile-fill); border: 1.5px solid var(--card-stroke); }
.meter-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 9px; }
.meter-top span { color: var(--ink-muted); }
.meter-top b { font-weight: 500; }
.meter-bar { height: 8px; border-radius: 999px; background: var(--bg-strong); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lime), var(--green)); transition: width 1.4s var(--spring) .3s; }
.plan.in .meter-bar i { width: var(--w); }
.meter-bar.inf i { background: linear-gradient(90deg, var(--lime), var(--green), var(--lime)); background-size: 200% 100%; animation: flow 2.6s linear infinite; }
@keyframes flow { to { background-position: -200% 0; } }
.plan ul { list-style: none; padding: 22px 0 0; margin: 22px 0 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.ck { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--green-soft); color: var(--green-ink); }
.ck svg { width: 13px; height: 13px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.pop { color: #fff; border-color: rgba(255,255,255,.4); background: linear-gradient(165deg, #5fbf4c 0%, #2fa84a 42%, #1b7a35 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), 0 30px 70px rgba(31,154,64,.28); }
.plan.pop .orb { position: absolute; z-index: 0; border-radius: 50%; filter: blur(40px); pointer-events: none; animation: float 11s ease-in-out infinite; }
.plan.pop .o1 { width: 240px; height: 200px; right: -70px; top: -90px; background: #e6f78a; opacity: .55; }
.plan.pop .o2 { width: 260px; height: 260px; left: -110px; bottom: -60px; background: #0f5c26; opacity: .55; animation-delay: -4s; }
.plan.pop .o3 { width: 180px; height: 180px; left: -60px; top: 160px; background: #d6f25c; opacity: .22; animation-delay: -7s; }
.plan.pop .plan-ic { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.45); color: #fff; }
.plan.pop .for, .plan.pop .price .per, .plan.pop .billed, .plan.pop .meter-top span { color: rgba(255,255,255,.82); }
.plan.pop .seats, .plan.pop .meter { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.32); backdrop-filter: blur(10px); }
.plan.pop .avs i { border-color: rgba(255,255,255,.6); }
.plan.pop .meter-bar { background: rgba(255,255,255,.22); }
.plan.pop .meter-bar i { background: linear-gradient(90deg, rgba(255,255,255,.6), #fff, rgba(255,255,255,.6)); background-size: 200% 100%; }
.plan.pop ul { border-color: rgba(255,255,255,.28); }
.plan.pop .ck { background: rgba(255,255,255,.92); color: #1f8a3a; }
.plan.pop .btn-ink { background: #161618; color: #fff; border-color: #161618; }
.plan.pop::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 60%); }
.badge-pop { position: relative; overflow: hidden; height: 28px; padding: 0 12px; border-radius: 999px; background: #fff; color: #161618; font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; }
.badge-pop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(214,242,92,.9) 50%, transparent 70%); transform: translateX(-100%); animation: badgeSheen 3.2s ease-in-out infinite; }
@keyframes badgeSheen { 60%, 100% { transform: translateX(100%); } }
.price b.roll { animation: roll .55s var(--spring); }
@keyframes roll { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- final CTA v2 ---------- */
.final-in { padding: 72px 64px; width: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.final-eb { background: rgba(255,255,255,.1) !important; border-color: rgba(255,255,255,.2) !important; color: rgba(255,255,255,.8) !important; box-shadow: none !important; margin-bottom: 22px; }
.final .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.final-note { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.final-note span { display: inline-flex; align-items: center; gap: 6px; }
.final-note svg { width: 15px; height: 15px; color: #c9ec3f; }
.final-in > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--spring), transform 1s var(--spring); }
.final.in .final-in > * { opacity: 1; transform: none; }
.final.in .final-in > :nth-child(2) { transition-delay: .1s; } .final.in .final-in > :nth-child(3) { transition-delay: .2s; } .final.in .final-in > :nth-child(4) { transition-delay: .3s; } .final.in .final-in > :nth-child(5) { transition-delay: .4s; }

/* ---------- small life everywhere ---------- */
.roi-out .orb { animation: float 12s ease-in-out infinite; }
.roi-out .orb + .orb { animation-delay: -6s; }
.roi-big.bump { animation: bump .45s var(--pop); }
@keyframes bump { 40% { transform: scale(1.06); } }
.mini-table .row { transition: background .5s; }
.mini-table .row.hl { background: var(--lime-soft); }
.status3 i { transition: background .4s, box-shadow .4s; }
.cargo .pill { opacity: 0; transform: scale(.6); transition: opacity .4s, transform .6s var(--pop); }
.b.in .cargo .pill { opacity: 1; transform: none; }
.b.in .cargo .pill:nth-child(2) { transition-delay: .12s; } .b.in .cargo .pill:nth-child(3) { transition-delay: .24s; }
.b .ic { transition: transform .6s var(--pop); }
.b:hover .ic { transform: rotate(-8deg) scale(1.06); }
.faq .qa:nth-child(2) { transition-delay: .05s; } .faq .qa:nth-child(3) { transition-delay: .1s; } .faq .qa:nth-child(4) { transition-delay: .15s; } .faq .qa:nth-child(5) { transition-delay: .2s; } .faq .qa:nth-child(6) { transition-delay: .25s; }

@media (max-width: 1000px) {
  .lane-track { grid-template-columns: 1fr; gap: 18px; }
  .lane-line { top: 10px; bottom: 0; left: 10px; right: auto; width: 2px; height: auto; margin: 0 0 0 -1px; }
  .lane-line i { width: 100% !important; height: 0; background: linear-gradient(180deg, rgba(var(--dot-rgb), .35), var(--dot)); }
  .lane-line i::after { right: auto; left: 50%; top: auto; bottom: -5px; margin: 0 0 0 -5px; }
  .lstep { padding: 0 0 0 36px; }
  .steps3, .plans, .vs { grid-template-columns: 1fr; }
  .how:not(:last-child)::after { display: none; }
  .vs-badge { top: auto; bottom: auto; position: relative; left: auto; margin: -10px auto; display: grid; }
  .vs { gap: 20px; }
}
@media (max-width: 640px) {
  .race-clock { flex-wrap: wrap; padding: 16px 18px; gap: 14px; }
  .clock-face b { font-size: 38px; }
  .clock-day { order: 3; flex-basis: 100%; }
  .replay { margin-left: auto; }
  .lane { padding: 20px; border-radius: 28px; }
  .lane-head { align-items: flex-start; }
  .final-in { padding: 40px 26px; }
  .final h2 { font-size: 40px; }
  .final .btns { width: 100%; }
  .final .btns .btn { flex: 1 1 100%; }
  .plan { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
