/* Judgy Tenant — prelaunch website */

:root {
  --bg: #0b131a;
  --bg-2: #101a22;
  --surface: #17242e;
  --surface-2: #1d2d38;
  --border: #2a3a46;
  --text: #ffffff;
  --muted: #aab7c2;
  --green: #58b95c;
  --green-bright: #27de2f;
  --green-soft: #a7ecaa;
  --indigo: #5e6aee;
  --gold: #f4bd1d;
  --radius: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar { display: none; width: 0; height: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--green-soft); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: #06110a; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Shared pieces ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 0 rgba(39, 222, 47, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(39, 222, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(39, 222, 47, 0); } }

.title { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.fine { font-size: 13px; line-height: 1.5; color: #8496a3; }
.fine a { color: var(--muted); }

.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section-head { display: grid; gap: 18px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border: 0; border-radius: 14px;
  background: linear-gradient(135deg, #63c768, #3f9f55);
  color: #05130a; font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(88, 185, 92, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(88, 185, 92, .9), inset 0 1px 0 rgba(255, 255, 255, .35); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 17px 26px; font-size: 17px; width: 100%; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; border-color: var(--muted); }

.text-link { color: var(--green-soft); font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translate(3px, 0); }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: #dbe3e9; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(88, 185, 92, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%2358b95c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Cards with a pointer-following glow */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(88, 185, 92, .16), transparent 60%);
  transition: opacity .35s;
}
.glow:hover::before { opacity: 1; }

/* Scroll reveal (only hides content when JavaScript is running) */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Phone frame ---------- */

.phone {
  --w: 280px;
  position: relative; width: var(--w); flex: none;
  padding: calc(var(--w) * .03);
  border-radius: calc(var(--w) * .155);
  background: linear-gradient(145deg, #e3e8ec, #7f8b95 38%, #c8d0d6 70%, #6e7a84);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 2px rgba(0, 0, 0, .35);
}
.phone-screen {
  position: relative; overflow: hidden; aspect-ratio: 388 / 842;
  border-radius: calc(var(--w) * .125); background: var(--bg-2);
  box-shadow: 0 0 0 2px #05090c;
}
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Nav ---------- */

.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(11, 19, 26, .78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: rgba(255, 255, 255, .06); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; text-decoration: none; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.is-current { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-progress { height: 2px; background: linear-gradient(90deg, var(--green), var(--green-bright)); transform-origin: 0 50%; transform: scaleX(var(--page, 0)); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 130px 0 70px; overflow: clip; --p: 0; --mx: 0; --my: 0; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb-a { width: 620px; height: 620px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(88, 185, 92, .55), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.orb-b { width: 520px; height: 520px; left: -180px; top: 240px; background: radial-gradient(circle, rgba(94, 106, 238, .5), transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.orb-c { width: 700px; height: 700px; right: -260px; top: 10%; background: radial-gradient(circle, rgba(88, 185, 92, .32), transparent 70%); animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(60px, 50px, 0) scale(1.12); } }
.grid-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}

.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: min(760px, 88vh); }
.hero-copy { position: relative; z-index: 5; display: grid; gap: 22px; justify-items: start; }
.hero-title { font-size: clamp(2.3rem, 4.5vw, 4rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; white-space: nowrap; }
.hero-title .line > span { display: block; }
.js .hero-title .line > span { transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .1s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.hero-title em { font-style: normal; background: linear-gradient(100deg, var(--green-bright), var(--green-soft) 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 50ch; }
.hero-lead strong { color: var(--text); font-weight: 700; }
.js .hero-copy > :not(.hero-title) { opacity: 0; animation: fade-up .9s var(--ease) .45s forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.inline-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; width: min(520px, 100%); padding: 8px; border-radius: 18px; background: rgba(23, 36, 46, .8); border: 1px solid var(--border); backdrop-filter: blur(10px); transition: border-color .25s, box-shadow .25s; }
.inline-form:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(88, 185, 92, .16); }
.inline-form input[type="email"] { min-width: 0; padding: 0 14px; background: transparent; border: 0; outline: 0; font-size: 16px; }
.inline-form input::placeholder, .field::placeholder { color: #7d8e9b; }
.form-status { grid-column: 1 / -1; font-size: 14px; font-weight: 600; line-height: 1.45; }
.form-status:empty { display: none; }
.inline-form .form-status { padding: 4px 8px 6px; }
.form-status[data-kind="error"] { color: #ff9c8f; }
.form-status[data-kind="ok"] { color: var(--green-soft); }
.form-status[data-kind="info"] { color: var(--gold); }

/* Hero phones */
.hero-stage { position: relative; height: clamp(520px, 62vw, 700px); perspective: 1500px; }
.float { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.js .float { opacity: 0; animation: float-in 1.3s var(--ease) forwards; }
.float-center { z-index: 3; margin: -310px 0 0 -110px; animation-delay: .25s !important; }
.float-left { z-index: 1; margin: -260px 0 0 -250px; animation-delay: .45s !important; }
.float-right { z-index: 2; margin: -250px 0 0 90px; animation-delay: .55s !important; }
@keyframes float-in { from { opacity: 0; transform: translate3d(0, 90px, -200px) rotateX(18deg); } to { opacity: 1; transform: none; } }

.hero-stage .phone { transition: transform .25s linear; will-change: transform; }
.phone-center { --w: 300px; transform: translate3d(calc(var(--mx) * -12px), calc(var(--my) * -10px + var(--p) * -70px), 0) rotateY(calc(var(--mx) * 7deg)) rotateX(calc(var(--my) * -6deg)); }
.phone-left { --w: 250px; transform: translate3d(calc(var(--mx) * -30px + var(--p) * -90px), calc(var(--my) * -18px + var(--p) * 30px), -80px) rotateY(calc(26deg + var(--mx) * 9deg)) rotateZ(calc(-5deg - var(--p) * 8deg)) rotateX(calc(var(--my) * -6deg)); }
.phone-right { --w: 250px; transform: translate3d(calc(var(--mx) * -30px + var(--p) * 90px), calc(var(--my) * -18px + var(--p) * 30px), -80px) rotateY(calc(-26deg + var(--mx) * 9deg)) rotateZ(calc(5deg + var(--p) * 8deg)) rotateX(calc(var(--my) * -6deg)); }
.phone-left .phone-screen::after, .phone-right .phone-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 19, 26, .1), rgba(11, 19, 26, .5)); }

.hero-pin { position: absolute; width: 46px; z-index: 4; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .55)); animation: bob 5s ease-in-out infinite; }
.hero-pin svg { display: block; width: 100%; height: auto; transform: translate3d(calc(var(--mx) * var(--depth, 20px)), calc(var(--my) * var(--depth, 20px) + var(--p) * var(--lift, -80px)), 0); transition: transform .25s linear; }
.hp-1 { left: 4%; top: 12%; width: 56px; --depth: 34px; --lift: -140px; }
.hp-2 { right: 3%; top: 6%; width: 50px; --depth: -26px; --lift: -90px; animation-delay: -1.5s; }
.hp-3 { right: 9%; bottom: 8%; width: 42px; --depth: 22px; --lift: -180px; animation-delay: -2.6s; }
.hp-4 { left: 12%; bottom: 4%; width: 40px; --depth: -18px; --lift: -120px; animation-delay: -3.4s; }
@keyframes bob { 50% { translate: 0 -14px; } }

/* "What it is" cards */
.what { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.what-card { padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(29, 45, 56, .75), rgba(23, 36, 46, .55)); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.what-num { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--green); }
.what-card h2 { margin: 10px 0 8px; font-size: 1.3rem; letter-spacing: -.02em; }
.what-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Ticker ---------- */

.ticker { overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .06); background: rgba(16, 26, 34, .7); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 28px; padding-left: 28px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6f8291; white-space: nowrap; }
.ticker-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); opacity: .7; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Trust ---------- */

.trust-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 28px; margin-top: 56px; align-items: stretch; }
.score-card { padding: 28px; border-radius: 26px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); transition: border-color .4s, box-shadow .4s; }
.score-card.is-sponsored { border-color: rgba(244, 189, 29, .7); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 4px rgba(244, 189, 29, .12); }
.score-card-top { display: flex; gap: 8px; min-height: 26px; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); background: rgba(88, 185, 92, .12); }
.tag-gold { color: var(--gold); background: rgba(244, 189, 29, .12); animation: pop .5s var(--ease); }
.tag[hidden] { display: none; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.score-card h3 { margin-top: 12px; font-size: 1.6rem; letter-spacing: -.02em; }
.score-main { display: flex; align-items: center; gap: 18px; margin: 14px 0 20px; }
.score-pin { width: 58px; flex: none; }
.score-pin svg { width: 100%; height: auto; display: block; }
.score-num { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--green-bright); font-variant-numeric: tabular-nums; }
.score-card.is-holding .score-num { animation: hold .6s var(--ease); }
@keyframes hold { 30% { transform: scale(1.08); text-shadow: 0 0 30px rgba(39, 222, 47, .7); } }
.score-band { font-weight: 800; }
.score-sub { font-size: 14px; color: var(--muted); }
.bars { display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14.5px; font-weight: 700; }
.bars b { font-variant-numeric: tabular-nums; }
.bars i { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .09); overflow: hidden; position: relative; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, #dfe7ec, #fff); transform-origin: 0 50%; transition: transform 1.3s var(--ease) .2s; }
.js .reveal:not(.is-in) .bars i::after { transform: scaleX(0); }
.score-foot { margin-top: 14px; font-size: 13px; color: #8496a3; }
.outside { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--border); }
.outside-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8496a3; }
.outside-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.outside-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 10px; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--muted); }
.outside-chips i { width: 12px; height: 12px; border-radius: 3px; background: #aab7c2; }
.sponsor-test { margin-top: 20px; padding: 16px; border-radius: 16px; background: rgba(11, 19, 26, .55); border: 1px solid var(--border); }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; font-size: 15px; }
.switch input { position: absolute; opacity: 0; }
.switch-track { position: relative; width: 46px; height: 26px; border-radius: 99px; background: #33434f; transition: background .25s; flex: none; }
.switch-thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.switch input:checked + .switch-track { background: var(--gold); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--green-soft); outline-offset: 3px; }
.sponsor-result { margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 2.9em; }
.score-card.is-sponsored .sponsor-result { color: var(--text); }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.principle { display: grid; align-content: center; justify-items: start; padding: 30px; border-radius: var(--radius); background: rgba(23, 36, 46, .6); border: 1px solid var(--border); }
.principle-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(88, 185, 92, .14); color: var(--green); font-weight: 800; font-size: 15px; }
.principle h3 { margin: 14px 0 8px; font-size: 1.18rem; letter-spacing: -.015em; }
.principle p { color: var(--muted); font-size: 15.5px; }

/* Foundation graphic */
.foundation { margin-top: clamp(70px, 9vw, 120px); text-align: center; }
.foundation-intro { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 34px; }
.columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: end; padding: 0 clamp(8px, 4vw, 60px); }
.column { position: relative; isolation: isolate; display: grid; gap: 4px; justify-items: center; align-content: start; height: 230px; padding: 26px 12px 20px; text-decoration: none; }
.column:nth-child(2) { height: 250px; }
.column:nth-child(3) { height: 250px; }
.shaft {
  position: absolute; inset: 0; border-radius: 16px 16px 0 0; z-index: -1;
  background: linear-gradient(180deg, rgba(88, 185, 92, .22), rgba(29, 45, 56, .9) 40%, rgba(23, 36, 46, .9));
  border: 1px solid var(--border); border-bottom: 0;
  transform-origin: 50% 100%; transition: transform 1.1s var(--ease) calc(.15s + var(--i) * .12s), border-color .3s, filter .3s;
}
.shaft::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 255, 255, .035) 22px 24px); }
.js .foundation:not(.is-in) .shaft { transform: scaleY(0); }
.column > :not(.shaft) { transition: opacity .7s var(--ease) calc(.7s + var(--i) * .12s), transform .7s var(--ease) calc(.7s + var(--i) * .12s); }
.js .foundation:not(.is-in) .column > :not(.shaft) { opacity: 0; transform: translateY(14px); }
.column b { font-size: 12px; letter-spacing: .16em; color: var(--green); }
.column strong { font-size: clamp(1.05rem, 2vw, 1.5rem); letter-spacing: -.02em; }
.column em { font-style: normal; font-size: 14px; color: var(--muted); }
.column:hover .shaft { border-color: var(--green); filter: brightness(1.2); }
.slab {
  position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 28px; border-radius: 16px;
  background: linear-gradient(135deg, #63c768, #3a9750); color: #05130a;
  font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 14px;
  box-shadow: 0 30px 60px -24px rgba(88, 185, 92, .6);
}

/* ---------- Pillars (sticky scroll showcase) ---------- */

.pillars { position: relative; background: linear-gradient(180deg, var(--bg), var(--bg-2) 18%, var(--bg-2) 82%, var(--bg)); }
.pillars-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.step { min-height: 100vh; display: grid; align-content: center; gap: 22px; padding: 60px 0; }
.step-num { font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--green); display: flex; align-items: center; gap: 12px; }
.step-num::after { content: ""; flex: 0 0 60px; height: 1px; background: var(--green); opacity: .5; }
.step-num span { color: var(--text); }
.step .title { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.js .step > :not(.step-phone) { opacity: .28; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .step.is-active > :not(.step-phone) { opacity: 1; transform: none; }
.step-phone { display: none; }

.stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; perspective: 1600px; }
.stage-scene { position: relative; transform-style: preserve-3d; --w: min(300px, calc((100vh - 150px) * .455)); }
.stage .phone { --w: inherit; width: var(--w); transition: transform 1s var(--ease); }
.stage-front { position: relative; z-index: 2; }
.stage-back { position: absolute; top: 6%; left: 0; z-index: 1; opacity: .55; filter: saturate(.8); }
.stage .phone-screen > img { position: absolute; inset: 0; opacity: 0; transform: translateY(5%) scale(1.05); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.stage[data-active="0"] .phone-screen > img:nth-child(1),
.stage[data-active="1"] .phone-screen > img:nth-child(2),
.stage[data-active="2"] .phone-screen > img:nth-child(3),
.stage[data-active="3"] .phone-screen > img:nth-child(4) { opacity: 1; transform: none; }

.stage[data-active="0"] .stage-front { transform: rotateY(-16deg) rotateX(5deg) rotateZ(1deg); }
.stage[data-active="1"] .stage-front { transform: rotateY(14deg) rotateX(4deg) rotateZ(-1deg); }
.stage[data-active="2"] .stage-front { transform: rotateY(-12deg) rotateX(-3deg) rotateZ(1.5deg); }
.stage[data-active="3"] .stage-front { transform: rotateY(12deg) rotateX(3deg) rotateZ(-1.5deg); }
.stage[data-active="0"] .stage-back { transform: translate3d(58%, 0, -160px) rotateY(-26deg) rotateZ(4deg) scale(.88); }
.stage[data-active="1"] .stage-back { transform: translate3d(-58%, 0, -160px) rotateY(26deg) rotateZ(-4deg) scale(.88); }
.stage[data-active="2"] .stage-back { transform: translate3d(60%, 4%, -160px) rotateY(-22deg) rotateZ(6deg) scale(.86); }
.stage[data-active="3"] .stage-back { transform: translate3d(-60%, 4%, -160px) rotateY(22deg) rotateZ(-6deg) scale(.86); }

.stage-num { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-size: min(38vw, 30rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .1); pointer-events: none; user-select: none; }
.stage-num b { position: absolute; left: 50%; top: 50%; translate: -50% -50%; opacity: 0; transition: opacity .7s, transform .9s var(--ease); transform: translateY(40px); font-weight: inherit; }
.stage[data-active="0"] .stage-num b:nth-child(1),
.stage[data-active="1"] .stage-num b:nth-child(2),
.stage[data-active="2"] .stage-num b:nth-child(3),
.stage[data-active="3"] .stage-num b:nth-child(4) { opacity: 1; transform: none; }

.callout { position: absolute; z-index: 3; padding: 9px 14px; border-radius: 999px; background: rgba(11, 19, 26, .86); border: 1px solid rgba(88, 185, 92, .55); font-size: 13.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .8); backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s, transform .8s var(--ease); }
.callout::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); margin-right: 8px; vertical-align: 1px; }
.callouts { position: absolute; inset: 0; z-index: 3; transform-style: preserve-3d; pointer-events: none; }
/* translateZ keeps the callouts in front of the tilted phones inside the 3D scene */
.c-a { left: -36%; top: 22%; transform: translate3d(-24px, 0, 170px); }
.c-b { right: -34%; bottom: 24%; transform: translate3d(24px, 0, 170px); transition-delay: .12s; }
.stage[data-active="0"] .callout[data-for="0"],
.stage[data-active="1"] .callout[data-for="1"],
.stage[data-active="2"] .callout[data-for="2"],
.stage[data-active="3"] .callout[data-for="3"] { opacity: 1; transform: translate3d(0, 0, 170px); }

.stage-dots { position: absolute; left: 0; top: 50%; translate: 0 -50%; display: grid; gap: 10px; }
.stage-dots i { width: 4px; height: 26px; border-radius: 4px; background: rgba(255, 255, 255, .14); transition: background .4s, height .4s var(--ease); }
.stage[data-active="0"] .stage-dots i:nth-child(1),
.stage[data-active="1"] .stage-dots i:nth-child(2),
.stage[data-active="2"] .stage-dots i:nth-child(3),
.stage[data-active="3"] .stage-dots i:nth-child(4) { background: var(--green-bright); height: 46px; }

/* ---------- Demo ---------- */

.demo { background: radial-gradient(900px 500px at 50% 0, rgba(94, 106, 238, .14), transparent 70%); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: 56px; }
.demo-rail { display: grid; gap: 10px; }
.demo-rail button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left; border-radius: 16px; background: transparent; border: 1px solid transparent; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.demo-rail button:hover { background: rgba(255, 255, 255, .04); transform: translateX(4px); }
.demo-rail button.is-current { background: rgba(29, 45, 56, .8); border-color: var(--green); }
.demo-rail b { display: block; font-size: 16px; }
.demo-rail em { display: block; font-style: normal; font-size: 14px; color: var(--muted); }
.rail-n { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--border); font-weight: 800; font-size: 14px; color: var(--muted); transition: background .3s, color .3s, border-color .3s; }
.demo-rail button.is-done .rail-n { background: var(--green); border-color: var(--green); color: #05130a; font-size: 0; }
.demo-rail button.is-done .rail-n::after { content: "✓"; font-size: 15px; }

.phone-demo { --w: min(350px, calc(100vw - 48px)); }
.demo-coach { display: grid; gap: 14px; justify-items: start; }
.coach-step { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.demo-coach h3 { font-size: 1.7rem; letter-spacing: -.025em; line-height: 1.15; }
.demo-coach > p:not(.fine):not(.coach-step):not(.coach-progress) { color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--muted); font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.coach-progress { font-weight: 700; font-size: 14px; }
.coach-progress span { color: var(--green-bright); }

/* Mini app inside the demo phone */
.app { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg-2); font-size: 13px; line-height: 1.4; }
.app-view { flex: 1; min-height: 0; display: flex; flex-direction: column; animation: view-in .45s var(--ease); }
@keyframes view-in { from { opacity: 0; transform: translateX(16px); } }
.app-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: grid; gap: 12px; align-content: start; scrollbar-width: none; }
.app-scroll::-webkit-scrollbar { display: none; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 14px 8px; }
.app-back { background: none; border: 0; padding: 4px 0; font-weight: 700; font-size: 13px; }
.app-kicker { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.app h4 { margin: 0; font-size: 20px; line-height: 1.15; letter-spacing: -.02em; }
.app-muted { color: var(--muted); }
.app-search { margin: 12px 12px 8px; padding: 10px 14px; border-radius: 999px; background: var(--surface); color: #8a9aa6; font-size: 12.5px; }
.app-chips { display: flex; gap: 6px; padding: 0 12px 10px; overflow: hidden; }
.app-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; font-size: 12px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.app-chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #05130a; }

.app-map { position: relative; flex: 1; min-height: 0; background: #152632; overflow: hidden; }
.app-map svg.roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-pin { position: absolute; width: 34px; padding: 0; border: 0; background: none; translate: -50% -100%; transition: transform .3s var(--ease), opacity .3s, filter .3s; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .5)); animation: pin-drop .6s var(--ease) backwards; animation-delay: calc(var(--i) * .07s); }
.app-pin svg { display: block; width: 100%; height: auto; }
.app-pin:hover { transform: scale(1.12); }
.app-pin.is-selected { transform: scale(1.3); z-index: 2; }
.app-pin.is-dim { opacity: .18; pointer-events: none; }
.app-pin.is-hint::after { content: ""; position: absolute; left: 50%; top: 40%; width: 44px; height: 44px; translate: -50% -50%; border-radius: 50%; border: 2px solid var(--green-bright); animation: ring 1.6s ease-out infinite; }
@keyframes ring { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@keyframes pin-drop { from { opacity: 0; transform: translateY(-30px); } }

.app-card { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 18px 30px -10px rgba(0, 0, 0, .7); display: grid; gap: 8px; animation: card-up .45s var(--ease); }
@keyframes card-up { from { opacity: 0; transform: translateY(30px); } }
.app-card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; font-size: 15px; }
.app-icons { display: flex; gap: 4px; }
.app-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 0; background: none; color: #fff; }
.app-icon svg { width: 17px; height: 17px; }
.app-icon[aria-pressed="true"] { color: var(--green-bright); background: rgba(88, 185, 92, .14); }
.app-card-main { display: grid; grid-template-columns: 104px 1fr; gap: 10px; }
.app-photo { border-radius: 8px; background: #22323d center / cover; aspect-ratio: 3 / 2; }
.app-card-copy { display: grid; align-content: space-between; font-size: 12px; color: var(--muted); }
.app-card-copy b { color: var(--text); font-size: 13px; }
.app-scoreline { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 700; }
.app-scoreline > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.app-scoreline i.band { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.app-ext { display: inline-flex; gap: 8px; color: var(--muted); font-weight: 600; font-size: 10.5px; }
.app-ext span { display: inline-flex; align-items: center; gap: 4px; }
.app-ext i { width: 9px; height: 9px; border-radius: 2px; background: #aab7c2; }

.app-btn { display: block; width: 100%; padding: 12px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #3fae6a, #2b8658); color: #fff; font-weight: 800; font-size: 14px; transition: filter .2s, transform .2s var(--ease); }
.app-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.app-btn[disabled] { opacity: .4; pointer-events: none; }
.app-btn.alt { background: var(--surface); border: 1px solid var(--border); }
.app-foot { padding: 10px 14px 14px; display: grid; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .06); }

.app-hero-photo { height: 120px; margin: -14px -14px 0; background: #22323d center / cover; }
.app-score { display: flex; align-items: center; gap: 12px; }
.app-score .pin { width: 40px; flex: none; }
.app-score .pin svg { width: 100%; height: auto; display: block; }
.app-score-num { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--c); }
.app-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface); }
.app-seg button { padding: 8px 6px; border: 0; border-radius: 9px; background: none; font-weight: 700; font-size: 12px; color: var(--muted); transition: background .2s, color .2s; }
.app-seg button[aria-pressed="true"] { background: var(--surface-2); color: #fff; box-shadow: inset 0 0 0 1px var(--green); }
.app-panel { padding: 12px; border-radius: 14px; background: var(--surface); display: grid; gap: 10px; }
.app-bar { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font-weight: 700; font-size: 12.5px; }
.app-bar i { grid-column: 1 / -1; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.app-bar i::after { content: ""; display: block; height: 100%; width: var(--v); border-radius: inherit; background: #eef3f6; animation: grow .9s var(--ease) backwards; transform-origin: 0 50%; }
@keyframes grow { from { transform: scaleX(0); } }

.app-row { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); text-align: left; width: 100%; transition: border-color .2s, background .2s; }
.app-row[aria-pressed="true"] { border-color: var(--green); background: rgba(88, 185, 92, .08); }
.app-row .thumb { width: 44px; height: 44px; border-radius: 8px; background: #22323d center / cover; flex: none; }
.app-row b { display: block; font-size: 13px; }
.app-row small { color: var(--muted); font-size: 11.5px; }
.app-row .check { margin-left: auto; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border); display: grid; place-items: center; font-size: 12px; color: transparent; flex: none; }
.app-row[aria-pressed="true"] .check { background: var(--green); border-color: var(--green); color: #05130a; }

.app-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.app-table th, .app-table td { padding: 8px 6px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .07); vertical-align: top; }
.app-table thead th { font-size: 12.5px; }
.app-table tbody th { color: var(--muted); font-weight: 600; width: 34%; }
.app-table td { font-weight: 700; }
.app-table td.win { color: var(--green-bright); }

.app-q { font-weight: 800; font-size: 15px; line-height: 1.3; }
.app-opt { display: flex; justify-content: space-between; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; font-size: 12.5px; text-align: left; transition: border-color .2s, background .2s; }
.app-opt:hover { border-color: var(--muted); }
.app-opt[aria-pressed="true"] { border-color: var(--green); background: rgba(88, 185, 92, .1); }
.app-opt small { color: var(--muted); font-variant-numeric: tabular-nums; }
.app-meter { height: 8px; border-radius: 9px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.app-meter i { display: block; height: 100%; width: var(--v, 0%); background: var(--c, var(--green)); border-radius: inherit; transition: width .6s var(--ease), background .4s; }
.app-progress { height: 4px; margin: 0 14px; border-radius: 9px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.app-progress i { display: block; height: 100%; width: var(--v, 0%); background: var(--green); transition: width .5s var(--ease); }
.app-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.app-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; width: 100%; text-align: left; }
.app-toggle i { width: 34px; height: 20px; border-radius: 99px; background: #33434f; position: relative; flex: none; transition: background .2s; }
.app-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.app-toggle[aria-pressed="true"] i { background: var(--green); }
.app-toggle[aria-pressed="true"] i::after { transform: translateX(14px); }
.app-summary { border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.app-summary div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: var(--muted); }
.app-summary div:last-child { border-bottom: 0; }
.app-summary b { color: #fff; text-align: right; }
.app-check { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #3fae6a, #2b8658); display: grid; place-items: center; font-size: 22px; font-weight: 800; animation: pop .5s var(--ease); }
.app-note { font-size: 11.5px; color: #8a9aa6; }
.app-empty { padding: 18px; border-radius: 12px; border: 1px dashed var(--border); color: var(--muted); text-align: center; }
/* Small state changes re-render the view; don't replay entrance animations for those */
.app.is-static .app-view, .app.is-static .app-pin, .app.is-static .app-bar i::after, .app.is-static .app-check, .app-card.is-still { animation: none; }

/* ---------- Licensed help ---------- */

.help { --p: .5; overflow: clip; background: linear-gradient(180deg, var(--bg), #0e1b20 40%, var(--bg)); }
.help-bg { position: absolute; inset: 0; pointer-events: none; }
.help-top { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.help-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 8px; }
.handoff { position: relative; height: 620px; perspective: 1500px; }
.handoff .phone { position: absolute; top: 50%; --w: 250px; will-change: transform; }
.handoff-a { left: 4%; margin-top: -290px; transform: translateY(calc((.5 - var(--p)) * 140px)) rotateY(18deg) rotateZ(-4deg); z-index: 1; }
.handoff-b { right: 2%; margin-top: -250px; transform: translateY(calc((var(--p) - .5) * 140px)) rotateY(-16deg) rotateZ(4deg); z-index: 2; }
.packet { position: absolute; left: 30%; top: 30%; width: 40%; height: 40%; z-index: 3; pointer-events: none; }
.packet span { position: absolute; left: 0; top: calc(var(--n) * 25%); padding: 7px 12px; border-radius: 999px; background: rgba(11, 19, 26, .9); border: 1px solid rgba(88, 185, 92, .6); font-size: 12.5px; font-weight: 700; white-space: nowrap; opacity: 0; animation: send 5.2s var(--ease) infinite; animation-delay: calc(var(--n) * .55s); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8); }
@keyframes send { 0% { opacity: 0; transform: translateX(-70%) scale(.8); } 14% { opacity: 1; transform: translateX(0) scale(1); } 46% { opacity: 1; transform: translateX(60%) scale(1); } 60%, 100% { opacity: 0; transform: translateX(150%) scale(.8); } }

.direct { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.direct-card { padding: 24px; border-radius: var(--radius); background: rgba(23, 36, 46, .7); border: 1px solid var(--border); }
.direct-card h3 { font-size: 1.12rem; letter-spacing: -.015em; margin-bottom: 8px; }
.direct-card p { color: var(--muted); font-size: 15px; }

.path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; counter-reset: s; }
.path::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, var(--green), rgba(88, 185, 92, .15)); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .2s; }
.js .path:not(.is-in)::before { transform: scaleX(0); }
.path li { position: relative; display: grid; gap: 14px; align-content: start; }
.path li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 2px solid var(--green); color: var(--green); font-weight: 800; }
.path b { font-size: 1.05rem; }
.path p { color: var(--muted); font-size: 15px; margin-top: 4px; }

.help-notes { margin-top: 48px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--border); background: rgba(11, 19, 26, .5); display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.help-notes a { color: #d6dfe5; }

/* ---------- Signup ---------- */

.signup { background: radial-gradient(800px 420px at 20% 20%, rgba(88, 185, 92, .16), transparent 70%); }
.signup-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.signup-copy { display: grid; gap: 22px; }
.signup-form { display: grid; gap: 12px; padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.field-label, .roles legend { font-weight: 700; font-size: 14.5px; margin-top: 6px; }
.field-label span, .roles legend span { font-weight: 600; color: #8496a3; font-size: 12.5px; margin-left: 6px; }
.field { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: rgba(11, 19, 26, .6); outline: 0; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(88, 185, 92, .16); }
.field[aria-invalid="true"], .inline-form.is-invalid { border-color: #ff7a69; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.roles legend { margin-bottom: 8px; }
.roles label { position: relative; cursor: pointer; }
.roles input { position: absolute; opacity: 0; }
.roles label span { display: block; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(11, 19, 26, .4); font-size: 14px; font-weight: 700; text-align: center; transition: border-color .2s, background .2s; }
.roles label:hover span { border-color: var(--muted); }
.roles input:checked + span { border-color: var(--green); background: rgba(88, 185, 92, .12); }
.roles input:focus-visible + span { outline: 2px solid var(--green-soft); outline-offset: 2px; }
.signup-form .btn { margin-top: 10px; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid rgba(255, 255, 255, .07); padding: 56px 0 44px; background: #080e13; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px 60px; }
.footer-brand p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.footer-links { display: grid; gap: 10px; justify-items: start; font-size: 14.5px; }
.footer-links a { color: #cfd9e0; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; display: grid; gap: 8px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13px; color: #8496a3; }
.footer-legal a { color: var(--muted); }

/* ---------- Legal pages ---------- */

.legal { padding: 130px 0 90px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); letter-spacing: -.035em; line-height: 1.08; }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal h2 { margin: 44px 0 12px; font-size: 1.35rem; letter-spacing: -.02em; }
.legal p, .legal li { color: #d3dce3; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-top: 12px; }
.legal a { color: var(--green-soft); }
.legal address { font-style: normal; color: #d3dce3; margin-top: 10px; }
.draft-note {
  margin: 56px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.draft-note b { color: var(--muted); font-weight: 600; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-inner > .btn { margin-left: auto; }
  .hero { padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-title { font-size: clamp(2.05rem, 8.6vw, 3.6rem); }
  .hero-stage { height: 560px; margin-top: 10px; }
  .float-center { margin-left: -150px; }
  .float-left { margin-left: -330px; }
  .float-right { margin-left: 60px; }
  .what { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .score-card { max-width: 520px; }
  .pillars-inner { grid-template-columns: 1fr; }
  .stage { display: none; }
  .step { min-height: 0; padding: 70px 0; }
  .js .step > :not(.step-phone) { opacity: 1; transform: none; }
  .step-phone { display: grid; place-items: center; padding: 20px 0 0; perspective: 1200px; }
  .step-phone .phone { --w: min(280px, 72vw); transform: rotateY(calc((var(--p, .5) - .5) * -28deg)) rotateX(calc((var(--p, .5) - .5) * 14deg)); }
  .demo-grid { grid-template-columns: 1fr; justify-items: center; }
  .demo-rail { grid-template-columns: repeat(5, 1fr); width: 100%; max-width: 520px; gap: 6px; }
  .demo-rail button { flex-direction: column; gap: 6px; padding: 10px 4px; text-align: center; }
  .demo-rail button:hover { transform: none; }
  .demo-rail em { display: none; }
  .demo-rail b { font-size: 12px; }
  .demo-coach { max-width: 520px; }
  .help-top { grid-template-columns: 1fr; }
  .handoff { height: 560px; max-width: 520px; margin-inline: auto; width: 100%; }
  .direct, .path { grid-template-columns: 1fr 1fr; }
  .path::before { display: none; }
  .signup-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 36px); }
  .inline-form { grid-template-columns: 1fr; }
  .inline-form input[type="email"] { padding: 12px 10px; }
  .hero-stage { height: 480px; }
  .float-center { margin: -250px 0 0 -120px; }
  .float-left { margin: -210px 0 0 -210px; }
  .float-right { margin: -200px 0 0 20px; }
  .phone-center { --w: 240px; }
  .phone-left, .phone-right { --w: 190px; }
  .hero-pin { scale: .8; }
  .principles { grid-template-columns: 1fr; }
  .columns { gap: 8px; padding: 0; }
  .column, .column:nth-child(2), .column:nth-child(3) { height: 170px; padding: 18px 2px; }
  .column:nth-child(2), .column:nth-child(3) { height: 186px; }
  .column strong { font-size: 13px; letter-spacing: -.01em; }
  .column em { display: none; }
  .slab { justify-content: center; text-align: center; font-size: 12px; }
  .direct, .path { grid-template-columns: 1fr; }
  .handoff { height: 470px; }
  .handoff .phone { --w: 190px; }
  .handoff-a { margin-top: -220px; left: 0; }
  .handoff-b { margin-top: -190px; right: 0; }
  .roles { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .float, .js .hero-copy > :not(.hero-title), .js .step > :not(.step-phone) { opacity: 1 !important; transform: none !important; }
  .js .hero-title .line > span { transform: none !important; }
  .hero-stage .phone, .hero-pin svg, .handoff .phone, .step-phone .phone { transition: none; }
  .packet span { opacity: 1; position: static; display: inline-block; margin: 0 6px 6px 0; }
  .packet { position: absolute; left: 20%; top: 44%; width: 60%; height: auto; }
  .ticker-track { animation: none; }
}
