/* HeroForm landing page. Tokens mirror the app's Figma variables (Color · Dark mode). */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Barlow-Regular.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("/assets/fonts/Barlow-Medium.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Barlow-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Barlow-Bold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 900; font-style: italic; font-display: swap; src: url("/assets/fonts/BarlowCondensed-BlackItalic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url("/assets/fonts/BarlowCondensed-ExtraBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: italic; font-display: swap; src: url("/assets/fonts/BarlowCondensed-BoldItalic.woff2") format("woff2"); }

:root {
  --canvas: #000;
  --surface: #121412;
  --raised: #1a1d1a;
  --border: #232723;
  --border-strong: #3a403a;
  --lime: #ccff00;
  --lime-subtle: rgba(204, 255, 0, 0.14);
  --text: #fff;
  --text-2: #959c95;
  --text-3: #6b726b;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(24px, calc((100vw - 1200px) / 2));
  --zebra: url("/assets/img/zebra-tile-lime.svg");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--lime); color: #000; }

/* ---------- Type ---------- */
.eyebrow { font: 700 14px/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.eyebrow.muted { color: var(--text-3); }
h2 {
  font: italic 900 clamp(46px, 6.2vw, 88px)/0.92 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  max-width: 920px;
  text-wrap: balance;
}
h2 em, h1 em { font-style: inherit; color: var(--lime); }
.sub { font-size: clamp(18px, 1.5vw, 21px); color: var(--text-2); max-width: 720px; }
.text-link { color: var(--lime); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font: 600 17px/1 var(--body); white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  will-change: transform;
}
.btn-lg { height: 60px; padding: 0 30px; font-size: 18px; }
.btn-sm { height: 44px; padding: 0 22px; font-size: 15px; }
.btn-primary { background: var(--lime); color: #000; }
.btn-primary:hover { background: #dbff4d; }
.btn-secondary { background: var(--raised); color: var(--text); border: 1px solid var(--border-strong); }
.btn-secondary:hover { border-color: var(--lime); }

.tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: var(--lime); color: #000; border-radius: 6px; padding: 6px 10px;
  font: 700 12px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase;
}
.tag::after { content: ""; border-left: 6px solid #000; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.tag i { display: none; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; pointer-events: none; clip-path: circle(150% at 50% 50%); }
.intro-flood { position: absolute; left: 50%; top: 50%; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; background: var(--lime); transform: scale(0); }
.intro-mark { position: relative; width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 0 0 8px #000; }
.no-js .intro, .reduced .intro { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--border); }
.nav.hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img:first-child { width: 40px; height: 40px; border-radius: 10px; }
.brand-word { width: 126px; height: auto; }
.nav-links { display: flex; gap: 36px; font: 600 15px/1 var(--body); color: var(--text-2); }
.nav-links a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px;
  min-height: 100svh; padding: 140px var(--gutter) 80px;
}
.hero-copy { display: flex; flex-direction: column; gap: 30px; }
.hero-title {
  font: italic 900 clamp(60px, 8.6vw, 132px)/0.88 var(--display);
  text-transform: uppercase; letter-spacing: -0.01em; max-width: 640px;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--text-2); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.meta { font: 600 14px/1.4 var(--body); color: var(--text-3); }

.hero-visual { position: relative; width: 100%; max-width: 620px; aspect-ratio: 620 / 760; justify-self: end; }
/* Slots are fixed in the 620×760 artboard (percentages), so the composition never reflows. */
.layer { position: absolute; }
.tilt, .tilt > * { width: 100%; }
.layer-disc { left: 3%; top: 11%; width: 94%; }
.layer-back { left: 11%; top: 17%; width: 40%; }
.layer-front { left: 45%; top: 8%; width: 44%; }
.layer-banner { left: 16%; top: 81%; width: 58%; }
.layer-badge { left: 1%; top: 3%; width: 17%; }

.zebra-disc { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--lime); box-shadow: 0 0 0 4px var(--lime); }
.zebra-fill { position: absolute; inset: 0; background: var(--zebra) 38% 50% / auto 104% no-repeat; }
.phone {
  background: #0d0e0d; border: 2px solid var(--border-strong); border-radius: 13% / 6.2%;
  padding: 2.6%; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}
.phone img { width: 100%; border-radius: 11% / 5.2%; }
.phone-back { rotate: -6deg; }
.phone-front { rotate: 4deg; }
.float-banner { filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.55)); }
.float-badge { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.5)); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0 var(--gutter) 120px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.stat strong { font: italic 900 88px/0.95 var(--display); color: var(--lime); }
.stat span { font: 700 22px/1.2 var(--body); }
.stat p { color: var(--text-2); }

/* ---------- Zebra band + marquee ---------- */
.zebra-band { position: relative; height: 150px; overflow: hidden; }
.zebra-track { position: absolute; inset: 0; background: var(--zebra) 0 -205px / 2880px 560px repeat-x; }
.marquee {
  position: absolute; left: -5%; right: -5%; top: 50%; translate: 0 -50%; rotate: -2deg;
  background: #000; border-block: 3px solid var(--lime); padding: 14px 0; overflow: hidden;
}
.marquee-inner { display: flex; gap: 36px; width: max-content; font: italic 900 38px/1 var(--display); text-transform: uppercase; color: var(--text); }
.marquee-inner b { color: var(--lime); font-weight: 900; }

/* ---------- Sections ---------- */
.section { padding: 120px var(--gutter); }
.section.tight { padding-top: 40px; padding-bottom: 120px; }
.surface { background: var(--surface); }
.heading { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.heading.center { align-items: center; text-align: center; }
.heading.center h2, .heading.center .sub { margin-inline: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--raised); border: 1px solid var(--border); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.step-photo { aspect-ratio: 384 / 260; overflow: hidden; }
.step-photo img { width: 100%; height: 130%; object-fit: cover; }
.step-body { padding: 28px 32px 36px; display: flex; flex-direction: column; gap: 12px; }
.step-num { font: italic 700 64px/1 var(--display); color: var(--lime); }
.step h3 { font: italic 800 40px/1 var(--display); text-transform: uppercase; }
.step p { color: var(--text-2); }

/* ---------- Action strip ---------- */
.action { position: relative; padding: 140px 0; overflow: hidden; }
.action-row { display: flex; gap: 24px; width: max-content; padding-left: var(--gutter); }
.action-row img { width: min(44vw, 620px); aspect-ratio: 1376 / 768; object-fit: cover; border-radius: 32px; }
.action-word {
  position: absolute; z-index: 2; pointer-events: none; white-space: nowrap;
  font: italic 900 clamp(90px, 17vw, 260px)/0.8 var(--display); text-transform: uppercase;
}
.action-word-1 { top: 40px; left: var(--gutter); color: transparent; -webkit-text-stroke: 2px var(--lime); }
.action-word-2 { bottom: 30px; right: var(--gutter); color: var(--lime); }

/* ---------- Features ---------- */
.feature { display: grid; grid-template-columns: 1fr 520px; align-items: center; gap: 96px; padding: 120px var(--gutter) 40px; }
.feature.flip { grid-template-columns: 520px 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: flex; flex-direction: column; gap: 24px; }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 14px;
  background: var(--lime-subtle) url("/assets/img/icons/check.svg") center / 16px no-repeat;
}
.feature-art { position: relative; aspect-ratio: 520 / 640; border-radius: 40px; overflow: hidden; display: grid; place-items: center; }
.feature-art.lime { background: var(--lime); }
.feature-art.zebra { background: #000; }
.feature-art .phone { position: relative; width: 60%; z-index: 1; }
.zebra-drift { position: absolute; inset: 0; background: var(--zebra) 0 0 / auto 115% repeat-x; }

/* ---------- Film ---------- */
.film { padding-left: 0; padding-right: 0; }
.film .heading { padding-inline: var(--gutter); }
/* Full bleed: edge to edge, no frame. Capped at the viewport height so it never needs scrolling to see whole. */
.film-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 100svh; overflow: hidden; background: #000; }
.film-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-sound {
  position: absolute; right: var(--gutter); bottom: 24px; height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(0, 0, 0, 0.7); color: var(--text);
  font: 600 15px/1 var(--body); cursor: pointer; backdrop-filter: blur(8px);
}
.film-sound[aria-pressed="true"] { background: var(--lime); color: #000; border-color: var(--lime); }

/* ---------- Badges ---------- */
.badge-shelf { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px; perspective: 900px; }
.badge-shelf img { height: 130px; width: auto; }
.badge-shelf img.locked { opacity: 0.55; }

/* ---------- Privacy ---------- */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.privacy .heading { margin: 0; }
.points { display: grid; gap: 16px; }
.point { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 22px 24px; }
.point h3 { font: 700 20px/1.3 var(--body); margin-bottom: 4px; }
.point p { color: var(--text-2); }
.point-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--lime-subtle) center / 24px no-repeat; }
.point-icon[data-icon="lock"] { background-image: url("/assets/img/icons/lock.svg"); }
.point-icon[data-icon="scan"] { background-image: url("/assets/img/icons/scan.svg"); }
.point-icon[data-icon="heart"] { background-image: url("/assets/img/icons/heart.svg"); }
.point-icon[data-icon="shield"] { background-image: url("/assets/img/icons/shield.svg"); }

/* ---------- HeroFrame ---------- */
.heroframe {
  display: flex; align-items: center; gap: 32px; padding: 36px 40px; border-radius: 32px;
  background: var(--raised); border: 1px solid var(--border); transition: border-color 0.25s, transform 0.25s;
}
.heroframe:hover { border-color: #ff5e00; transform: translateY(-3px); }
.heroframe img { width: 80px; height: 80px; border-radius: 20px; flex: none; }
.heroframe div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.heroframe h3 { font: 700 22px/1.25 var(--body); }
.heroframe p { color: var(--text-2); }

/* ---------- Final CTA ---------- */
.final { padding-top: 0; }
.final-card { position: relative; border-radius: 48px; overflow: hidden; padding: clamp(24px, 6vw, 96px); background: #000; }
.final-card .zebra-drift { background-size: auto 140%; background-position: 0 30%; }
.final-panel {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
  background: #000; border: 3px solid var(--lime); border-radius: 40px; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
}
.final-title { font: italic 900 clamp(64px, 9vw, 132px)/0.88 var(--display); text-transform: uppercase; max-width: none; }
.final-panel p { color: var(--text-2); font-size: clamp(18px, 1.5vw, 21px); max-width: 760px; }
.small-link { font: 600 14px/1 var(--body); color: var(--lime); }

/* ---------- Footer ---------- */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px var(--gutter) 56px; border-top: 1px solid var(--border); }
.footer nav { display: flex; flex-wrap: wrap; gap: 32px; font: 600 14px/1.4 var(--body); color: var(--text-3); }
.footer a:hover { color: var(--text); }

/* ---------- JS-driven initial states (content stays visible without JS) ---------- */
.js .reveal-up, .js .reveal-card { opacity: 0; }
.js .reveal-panel { clip-path: inset(100% 0 0 0 round 40px); }
.reduced .reveal-up, .reduced .reveal-card { opacity: 1; }
.reduced .reveal-panel { clip-path: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; min-height: 0; }
  .hero-visual { justify-self: center; max-width: 520px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 48px; }
  .feature.flip .feature-copy { order: 0; }
  .feature-art { max-width: 520px; width: 100%; justify-self: center; }
  .privacy { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .heroframe { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { padding: 14px 16px; }
  .brand-word { display: none; }
  .hero { padding: 104px 16px 56px; gap: 24px; }
  .cta-row .btn { width: 100%; }
  .stats { padding: 0 16px 80px; gap: 12px; }
  .stat { padding: 20px; }
  .stat strong { font-size: 60px; }
  .stat span { font-size: 18px; }
  .section, .feature { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .feature { padding-top: 80px; }
  .marquee-inner { font-size: 28px; }
  .zebra-band { height: 110px; }
  .action { padding: 100px 0; }
  .action-row img { width: 78vw; }
  .badge-shelf { gap: 20px; }
  .badge-shelf img { height: 104px; }
  .footer { padding: 32px 16px 48px; }
  .footer nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .js .reveal-up, .js .reveal-card { opacity: 1; }
  .js .reveal-panel { clip-path: none; }
  * { scroll-behavior: auto !important; }
}

/* 404 */
.notfound-main { min-height: 100svh; justify-content: center; margin: 0; }
