/*
 * RingSight landing page.
 * Dark only, by brand: the character lives on a navy-black ground under blue rim light,
 * the same world as the app and the social channel. One accent (the rash-guard blue).
 * Shapes: interactive controls are pills, every surface is 20px.
 */

@font-face { font-family: "Bebas"; src: url("/assets/fonts/bebas.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-700.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --bg: #05080f;
  --surface: #0a111d;
  --card: #0f1928;
  --line: #1b2a42;
  --accent: #2f7bff;
  --accent-deep: #1a4fcc;
  --glow: #5aaeff;
  --text: #f2f6fc;
  --dim: #9aa9c0;
  --faint: #6b7a93;
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --display: "Bebas", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 8px; }
em { font-style: normal; color: var(--glow); }

.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ type */

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.lede { color: var(--dim); max-width: 56ch; margin: 0; font-size: clamp(17px, 1.4vw, 19px); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  font-family: var(--body); font-weight: 700; font-size: 16px; letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.25s, box-shadow 0.35s var(--ease), border-color 0.25s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 30px -10px rgba(47, 123, 255, 0.7);
}
.btn-primary:hover { background: #3d86ff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 40px -12px rgba(47, 123, 255, 0.9); }
.btn-ghost { background: rgba(242, 246, 252, 0.04); border: 1px solid rgba(90, 174, 255, 0.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--glow); background: rgba(90, 174, 255, 0.08); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }

/* ------------------------------------------------------------------ nav */

.nav {
  position: fixed; top: 12px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 24px));
  height: 64px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px;
  background: rgba(10, 17, 29, 0.62);
  border: 1px solid rgba(90, 174, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.wordmark { font-family: var(--display); font-size: 30px; letter-spacing: 0.02em; line-height: 1; }
.wordmark span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; font-weight: 600; font-size: 15px; color: var(--dim); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } .nav { padding-left: 18px; } }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  min-height: 100dvh;
  max-width: 1280px; margin: 0 auto;
  padding: 120px var(--gutter) 64px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: clamp(24px, 5vw, 80px);
}
.hero::before {
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 72% 46%, rgba(47, 123, 255, 0.22), transparent 70%),
    linear-gradient(to bottom, transparent 70%, var(--bg));
}
.hero-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(64px, 9.5vw, 148px); line-height: 0.88; letter-spacing: 0.005em;
  margin: 0 0 24px;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.04em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); animation: rise 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes rise { to { transform: none; } }
.hero-sub { color: var(--dim); font-size: clamp(18px, 1.6vw, 21px); max-width: 34ch; margin: 0 0 34px; opacity: 0; animation: fade 0.8s var(--ease) 0.55s forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade 0.8s var(--ease) 0.7s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hero-stage { perspective: 1200px; justify-self: center; width: min(400px, 100%); opacity: 0; animation: fade 1s var(--ease) 0.35s forwards; }
.phone {
  position: relative; aspect-ratio: 720 / 1260; width: 100%;
  border-radius: 44px; overflow: hidden;
  background: #02040a;
  border: 1px solid rgba(90, 174, 255, 0.28);
  box-shadow:
    inset 0 0 0 8px #0b1220,
    inset 0 0 0 9px rgba(90, 174, 255, 0.18),
    0 40px 120px -30px rgba(47, 123, 255, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.6);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}
.phone-video, .phone-skeleton { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; border-radius: 36px; }
.hud { position: absolute; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.hud-top { top: 26px; }
.hud-live { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.hud-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--glow); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.hud-bottom {
  bottom: 22px; padding: 12px 16px; border-radius: var(--radius);
  background: rgba(5, 8, 15, 0.6); border: 1px solid rgba(90, 174, 255, 0.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hud-stat { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.hud-stat b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--text); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.hud-stat small { font-size: 10.5px; letter-spacing: 0.14em; color: var(--dim); }
.hud-call {
  position: absolute; top: 34%; left: 0; right: 0; text-align: center;
  font-family: var(--display); font-size: 64px; line-height: 1; color: var(--text);
  text-shadow: 0 0 30px rgba(90, 174, 255, 0.9);
  opacity: 0; transform: scale(0.7);
  pointer-events: none;
}
.hud-call.pop { animation: call 0.9s var(--ease); }
@keyframes call { 0% { opacity: 0; transform: scale(0.6); } 18% { opacity: 1; transform: scale(1.08); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.stage-note { text-align: center; color: var(--faint); font-size: 13px; margin: 18px 0 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 108px; text-align: left; }
  .hero-stage { width: min(330px, 86%); }
  .phone { transform: none; }
}

/* ------------------------------------------------------------------ marquee */

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--display); font-size: 34px; letter-spacing: 0.04em; color: var(--faint); padding: 0 28px; text-transform: uppercase; white-space: nowrap; }
.marquee span:nth-child(3n + 1) { color: var(--text); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ try it */

.try { max-width: 1280px; margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--gutter) 40px; }
.try-intro { margin-bottom: 40px; }
.arena {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(80% 90% at 50% 100%, rgba(47, 123, 255, 0.18), transparent 70%), #03060c;
  border: 1px solid rgba(90, 174, 255, 0.22);
  box-shadow: 0 50px 140px -60px rgba(47, 123, 255, 0.6);
}
.arena-video, .arena-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.arena-video { opacity: 0.55; filter: saturate(0.4) brightness(0.8); }
.arena-panel { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.arena[data-state="idle"] .arena-idle,
.arena[data-state="loading"] .arena-loading,
.arena[data-state="error"] .arena-error,
.arena[data-state="done"] .arena-done { display: flex; }
.arena-idle { justify-content: flex-start; text-align: left; padding: 0; }
.arena-poster { position: absolute; right: 0; top: 0; height: 100%; width: 55%; object-fit: cover; object-position: 50% 20%; mask-image: linear-gradient(to right, transparent, #000 40%); -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); }
.arena-panel-body { position: relative; max-width: 440px; padding: clamp(24px, 5vw, 64px); }
.arena-panel h3 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1; margin: 0 0 12px; text-transform: uppercase; }
.arena-panel p { color: var(--dim); margin: 0 0 24px; }
.arena-loading, .arena-error { flex-direction: column; background: rgba(3, 6, 12, 0.7); }
.loader-ring { width: 56px; height: 56px; border-radius: 50%; border: 3px solid rgba(90, 174, 255, 0.15); border-top-color: var(--glow); animation: spin 0.9s linear infinite; margin-bottom: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.arena-hud {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  display: none; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: rgba(5, 8, 15, 0.65); border: 1px solid rgba(90, 174, 255, 0.2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.arena[data-state="playing"] .arena-hud, .arena[data-state="ready"] .arena-hud { display: flex; }
.arena-coach {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-size: clamp(26px, 3vw, 40px); letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--text); text-shadow: 0 0 24px rgba(47, 123, 255, 0.9); white-space: nowrap; pointer-events: none;
}
.arena-done { flex-direction: column; background: rgba(3, 6, 12, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.done-kicker { font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 13px; color: var(--glow) !important; margin: 0 0 4px !important; }
.done-score { font-family: var(--display); font-size: clamp(90px, 14vw, 180px); line-height: 0.9; margin: 0 !important; color: var(--text) !important; }
.done-line { max-width: 40ch; }
.done-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.privacy-note { color: var(--faint); font-size: 14px; margin: 16px 0 0; }
@media (max-width: 760px) {
  .arena { aspect-ratio: 3 / 4; }
  .arena-poster { width: 100%; height: 62%; mask-image: linear-gradient(to bottom, #000 50%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent); }
  .arena-idle { align-items: flex-end; }
  .arena-hud .hud-stat { min-width: 52px; }
}

/* ------------------------------------------------------------------ modes: horizontal pan */

.modes { position: relative; padding: clamp(60px, 9vw, 120px) 0 0; }
.modes-title { padding: 0 var(--gutter); max-width: 1280px; margin: 0 auto 36px; }
.modes-track { display: flex; gap: 20px; padding: 0 var(--gutter) 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.modes-track::-webkit-scrollbar { display: none; }
.mode {
  position: relative; flex: 0 0 auto; width: clamp(280px, 30vw, 420px); aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden; scroll-snap-align: start;
  background: var(--card); border: 1px solid rgba(90, 174, 255, 0.16);
}
.mode img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 0.9s var(--ease); }
.mode::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(5, 8, 15, 0.96)); }
.mode:hover img { transform: scale(1.05); }
.mode-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px; }
.mode h3 { font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1; margin: 0 0 8px; text-transform: uppercase; }
.mode p { margin: 0 0 14px; color: var(--dim); font-size: 16px; }
.mode-meta { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--glow); }

/* Where the browser can tie animation to scroll, the row pans as you scroll down. */
@supports (animation-timeline: view()) {
  @media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
    .modes.pan-on { height: 300vh; view-timeline-name: --pan; }
    .modes.pan-on .modes-sticky { position: sticky; top: 0; height: 100dvh; padding-top: 84px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
    .modes.pan-on .modes-title { margin-bottom: 28px; font-size: clamp(44px, 5vw, 76px); }
    .modes.pan-on .mode { width: min(30vw, calc((100dvh - 330px) * 0.8)); }
    .modes.pan-on .modes-track {
      overflow: visible; scroll-snap-type: none; width: max-content;
      animation: pan linear both; animation-timeline: --pan; animation-range: contain 0% contain 100%;
    }
    @keyframes pan { to { transform: translateX(calc(-1 * var(--pan-distance, 0px))); } }
  }
}

/* ------------------------------------------------------------------ basics: strips */

.basics { max-width: 1280px; margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--gutter); }
.basics-head { margin-bottom: 40px; }
.strips { display: flex; gap: 10px; height: clamp(420px, 58vh, 620px); }
.strip {
  position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: 1px solid rgba(90, 174, 255, 0.14);
  border-radius: var(--radius); overflow: hidden; background: #000;
  transition: flex-grow 0.7s var(--ease), border-color 0.3s;
}
.strip.is-open { flex-grow: 5; border-color: rgba(90, 174, 255, 0.5); }
.strip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0.55; transition: opacity 0.5s; }
.strip.is-open video { opacity: 1; }
.strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, rgba(5, 8, 15, 0.9)); pointer-events: none; }
.strip-label {
  position: absolute; z-index: 1; left: 50%; bottom: 22px; transform: translateX(-50%) rotate(-90deg); transform-origin: center;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--display); font-size: 28px; letter-spacing: 0.04em; text-transform: uppercase;
  transition: transform 0.6s var(--ease), left 0.6s var(--ease), bottom 0.6s var(--ease);
}
.strip-label b { font-weight: 400; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); font-size: 20px; }
.strip:not(.is-open) .strip-label { bottom: 90px; }
.strip.is-open .strip-label { left: 24px; transform: none; font-size: 44px; }
@media (max-width: 760px) {
  .strips { flex-direction: column; height: auto; }
  .strip { height: 64px; flex: 0 0 auto; transition: height 0.6s var(--ease); }
  .strip.is-open { height: 460px; }
  .strip-label, .strip:not(.is-open) .strip-label { left: 18px; bottom: 14px; transform: none; font-size: 26px; }
  .strip.is-open .strip-label { font-size: 36px; bottom: 20px; }
}

/* ------------------------------------------------------------------ bento */

.bento {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 11vw, 140px);
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    "points points points points device device"
    "voice voice rank rank rank rank";
}
.cell {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 340px;
  background: var(--card); border: 1px solid var(--line);
  isolation: isolate;
}
.cell::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, -100px) var(--my, -100px), rgba(90, 174, 255, 0.14), transparent 60%);
}
.cell::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1px;
  background: radial-gradient(300px circle at var(--mx, -100px) var(--my, -100px), rgba(90, 174, 255, 0.8), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.cell-body { position: relative; z-index: 1; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.cell h3 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3vw, 44px); line-height: 1; margin: 0 0 8px; text-transform: uppercase; }
.cell p { color: var(--dim); margin: 0; max-width: 40ch; }
.cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cell img + .cell-body { background: linear-gradient(to bottom, transparent 30%, rgba(5, 8, 15, 0.92)); }
.cell-points { grid-area: points; min-height: 420px; background: radial-gradient(70% 90% at 75% 40%, rgba(47, 123, 255, 0.18), transparent 70%), var(--card); }
.cell-points canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cell-points .cell-body { pointer-events: none; }
.big-num { font-family: var(--display); font-size: clamp(110px, 12vw, 180px); line-height: 0.8; color: var(--accent); margin: 0 0 10px !important; }
.cell-device { grid-area: device; }
.cell-device img { object-position: 50% 25%; }
.cell-voice { grid-area: voice; background: linear-gradient(160deg, var(--accent-deep), #0c1a3a 70%); border-color: rgba(90, 174, 255, 0.35); }
.cell-voice p { color: rgba(242, 246, 252, 0.82); }
.cell-voice .cell-body { justify-content: space-between; }
.cell-rank { grid-area: rank; }
.cell-rank img { object-position: 50% 60%; }
.wave { display: flex; align-items: center; gap: 5px; height: 70px; margin-top: 24px; }
.wave i { flex: 1; max-width: 8px; border-radius: 999px; background: rgba(242, 246, 252, 0.9); height: 20%; animation: wave 1.1s var(--ease) infinite alternate; animation-delay: calc(var(--n) * -90ms); }
@keyframes wave { to { height: 100%; } }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "points" "device" "voice" "rank"; }
  .cell { min-height: 300px; }
}

/* ------------------------------------------------------------------ report */

.report {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 11vw, 140px);
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.report-figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.report-figure img { width: 100%; height: auto; }
.marker {
  position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: rgba(90, 174, 255, 0.25); border: 2px solid var(--glow);
  transition: transform 0.4s var(--ease), background-color 0.3s, opacity 0.3s;
  opacity: 0.55;
}
.marker::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--glow); opacity: 0; }
.marker.on { opacity: 1; transform: scale(1.35); background: var(--accent); }
.marker.on::after { animation: ring 1.4s var(--ease) infinite; }
@keyframes ring { from { opacity: 0.9; transform: scale(0.6); } to { opacity: 0; transform: scale(1.6); } }
.cats { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cats button {
  width: 100%; text-align: left; display: flex; flex-direction: column; gap: 2px;
  padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.25s, background-color 0.25s, transform 0.35s var(--ease);
}
.cats button span { font-weight: 700; font-size: 17px; }
.cats button small { color: var(--faint); font-size: 14px; }
.cats button:hover, .cats button.on { border-color: var(--accent); background: rgba(47, 123, 255, 0.1); transform: translateY(-2px); }
@media (max-width: 900px) {
  .report { grid-template-columns: 1fr; }
  .report-figure { max-width: 420px; }
  .cats { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ waitlist */

.waitlist { position: relative; isolation: isolate; min-height: 86dvh; display: flex; align-items: center; overflow: hidden; border-top: 1px solid var(--line); }
.waitlist-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; z-index: -2; }
.waitlist::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 8, 15, 0.94) 25%, rgba(5, 8, 15, 0.2) 75%); }
.waitlist-inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 100px var(--gutter); }
.form { margin-top: 34px; max-width: 560px; display: grid; gap: 8px; }
.form label { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.form-row { display: flex; gap: 10px; }
.form input {
  flex: 1; min-width: 0; height: 54px; padding: 0 22px; border-radius: 999px;
  background: rgba(10, 17, 29, 0.85); border: 1px solid #2a3d5c; color: var(--text);
  font: inherit; font-size: 17px;
}
.form input::placeholder { color: #8293ad; }
.form input:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(90, 174, 255, 0.2); }
.form input[aria-invalid="true"] { border-color: #ff6b75; }
.form-help { margin: 4px 0 0; font-size: 15px; color: var(--dim); min-height: 1.5em; }
.form-help.err { color: #ff8a92; }
.form-help.ok { color: var(--glow); font-weight: 600; }
.form.done .form-row { opacity: 0.5; pointer-events: none; }
@media (max-width: 760px) {
  .waitlist::before { background: linear-gradient(to top, rgba(5, 8, 15, 0.97) 45%, rgba(5, 8, 15, 0.35)); }
  .waitlist { align-items: flex-end; }
  .form-row { flex-direction: column; }
}

/* ------------------------------------------------------------------ footer */

.footer { max-width: 1280px; margin: 0 auto; padding: 40px var(--gutter) 56px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; color: var(--faint); font-size: 14px; }
.footer p { margin: 0; }

/* ------------------------------------------------------------------ reveal on scroll */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .w > span { transform: none; }
  .phone { transform: none; }
}
