/* =========================================================
   Kyte — design system
   Palette derived from the Kyte logo (sky → deep blue) on a warm
   paper background. Light, calm, "bank-grade" trust. No neon, no
   purple, no black-void backgrounds.
   ========================================================= */
:root {
  --bg: #f6f8fb;
  --paper: #ffffff;
  --paper-2: #eef3f9;
  --ink: #0b1f3a;
  --ink-2: #2e4560;
  --ink-3: #66788f;
  --line: #dfe6ef;
  --line-2: #cbd6e3;
  --brand: #1d5fd1;
  --brand-2: #2f8cf5;
  --brand-soft: #e6f0fd;
  --navy: #0b1f3a;
  --navy-2: #10294d;
  --mint: #0fa97a;
  --mint-soft: #e3f7ef;
  --amber: #d98a05;
  --amber-soft: #fff4de;
  --danger: #d64545;

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 2px 8px rgba(11, 31, 58, 0.05);
  --shadow-md: 0 8px 24px -12px rgba(11, 31, 58, 0.22), 0 2px 6px rgba(11, 31, 58, 0.05);
  --shadow-lg: 0 30px 60px -30px rgba(11, 31, 58, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
  --nav-shadow: 0 6px 20px -8px rgba(11, 31, 58, 0.28), 0 1px 3px rgba(11, 31, 58, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(47, 140, 245, 0.45); outline-offset: 3px; border-radius: 6px; }
::selection { background: #cfe2ff; color: var(--ink); }

.wrap { width: min(var(--max), 100% - 40px); margin: 0 auto; }
@media (max-width: 640px) { .wrap { width: min(var(--max), 100% - 32px); } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand); font-weight: 500;
}
.eyebrow .num { color: var(--ink-3); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px var(--mint-soft); } 50% { box-shadow: 0 0 0 8px rgba(15, 169, 122, 0.12); } }

.h-display { font-size: clamp(40px, 6vw, 76px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.h-section { font-size: clamp(32px, 4.4vw, 54px); }
.h-card { font-size: 22px; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--ink-3); }
.accent { color: var(--brand); }
.soft { color: var(--ink-3); font-weight: 500; }
.mono { font-family: var(--font-mono); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap; position: relative; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(11, 31, 58, 0.6); }
.btn-primary:hover { background: var(--brand); box-shadow: 0 14px 30px -12px rgba(29, 95, 209, 0.6); transform: translateY(-2px); }
.btn-brand { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 12px 28px -12px rgba(29, 95, 209, 0.7); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(29, 95, 209, 0.8); }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 14.5px; }
.btn-lg { padding: 18px 30px; font-size: 17px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; padding-top: 14px;
}
.site-header .bar { animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
.site-header.scrolled .brand, .site-header.scrolled .nav-links, .site-header.scrolled .menu-btn { box-shadow: 0 10px 30px -12px rgba(11, 31, 58, 0.35); }
.site-header .bar { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 2vw, 22px); max-width: 860px; }
.brand { display: grid; place-items: center; width: clamp(44px, 4.4vw, 50px); height: clamp(44px, 4.4vw, 50px); border-radius: 50%; background: #fff; box-shadow: var(--nav-shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s; flex: none; }
.brand img { width: 62%; height: 62%; object-fit: contain; }
.brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.brand:hover { transform: scale(1.05); }
.nav-links { display: flex; align-items: center; justify-content: space-around; flex: 1; max-width: 440px; height: clamp(44px, 5.2vw, 50px); padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: var(--nav-shadow); transition: box-shadow 0.3s; }
.nav-links a { font-weight: 500; font-size: clamp(13px, 1.4vw, 15px); letter-spacing: -0.01em; color: #2e2e2e; opacity: 0.55; position: relative; padding: 8px 12px; transition: opacity 0.25s; }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 3px; height: 3px; border-radius: 50%; background: var(--ink); transform: translateX(-50%) scale(0); box-shadow: -5px 0 0 var(--ink), 5px 0 0 var(--ink); transition: transform 0.3s var(--ease); }
.nav-links a:hover { opacity: 0.85; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after { transform: translateX(-50%) scale(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn-sm { height: clamp(44px, 5.2vw, 50px); padding: 0 22px; border-radius: 999px; background: #0b1f3a; color: #fff; box-shadow: var(--nav-shadow); }
.nav-actions .btn-sm:hover { background: var(--brand); transform: translateY(-1px); }
.menu-btn { display: none; width: clamp(44px, 4.4vw, 50px); height: clamp(44px, 4.4vw, 50px); border-radius: 50%; border: 0; background: #fff; box-shadow: var(--nav-shadow); align-items: center; justify-content: center; color: var(--ink); }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { position: fixed; inset: 0; z-index: 55; background: rgba(246, 248, 251, 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; pointer-events: none; transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1); display: flex; align-items: center; }
.mobile-nav .wrap { transform: translateY(24px); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; }
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.site-header.menu-open .brand, .site-header.menu-open .menu-btn { position: relative; z-index: 61; }
.mobile-nav.open .wrap { transform: none; }
.mobile-nav a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.mobile-nav a:last-child { margin-top: 18px; display: inline-flex; font-family: var(--font-body); font-size: 17px; font-weight: 600; background: var(--ink); color: #fff !important; border-radius: 999px; padding: 14px 28px; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .bar { justify-content: space-between; }
}

/* ---------- hero (cinematic video background) ---------- */
.hero { position: relative; padding: 140px 0 80px; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: #0b1f3a; color: #fff; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-bg video, .hero-bg img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transform: scale(1.04); will-change: transform; }
.hero-bg .scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(4, 12, 26, 0.35) 0%, rgba(4, 12, 26, 0.05) 30%, rgba(4, 12, 26, 0) 55%, rgba(246, 248, 251, 0.0) 80%, var(--bg) 100%),
  linear-gradient(90deg, rgba(4, 12, 26, 0.45) 0%, rgba(4, 12, 26, 0.15) 45%, rgba(4, 12, 26, 0) 70%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.85); }
.hero .eyebrow .num { color: rgba(255, 255, 255, 0.6); }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero h1 .accent { color: #9cc9ff; }
.hero .lead { color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25); }
.hero .btn-brand { background: #fff; color: var(--ink); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.5); }
.hero .btn-brand:hover { background: #f0f5ff; transform: translateY(-2px) scale(1.02); }
.hero .btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.hero .trust-row { color: rgba(255, 255, 255, 0.8); }
.hero .trust-row svg { color: #9cc9ff; }
.hero .scroll-cue { color: rgba(255, 255, 255, 0.75); }
.hero .phone-hint { background: rgba(11, 31, 58, 0.55); color: #fff; border-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); }
.hero-copy { max-width: 640px; }
.hero h1 { margin-top: 26px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }
.hero h1 .ch { display: inline-block; opacity: 0; transform: translateX(-18px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: var(--d, 0s); will-change: transform, opacity; }
.hero h1.in .ch { opacity: 1; transform: none; }
.hero h1:not(.split) .line > span { opacity: 1; }
.hero .lead { margin-top: 28px; max-width: 540px; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.trust-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; color: var(--ink-3); font-size: 14.5px; font-weight: 500; }
.trust-row li { display: inline-flex; align-items: center; gap: 9px; }
.trust-row svg { width: 17px; height: 17px; color: var(--brand); }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 640px; }
.d-0 { animation: fadeUp 0.9s var(--ease) both; }
.d-1 { animation: fadeUp 1s var(--ease) 0.8s both; }
.d-2 { animation: fadeUp 1s var(--ease) 1.2s both; }
.d-3 { animation: fadeUp 1s var(--ease) 1.4s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* 3D phone stage */
.phone-stage { position: relative; width: 100%; max-width: 520px; height: 680px; }
.phone-stage canvas, .phone-stage .css3d { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.phone-stage .css3d { pointer-events: none; }
.phone-stage .css3d .screen-el { pointer-events: auto; }
.phone-stage .webgl { touch-action: pan-y; cursor: grab; }
.phone-stage.dragging .webgl { cursor: grabbing; }
.phone-shadow { position: absolute; left: 50%; bottom: 8px; width: 260px; height: 40px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), transparent 70%); filter: blur(8px); pointer-events: none; }
.phone-controls { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-md); backdrop-filter: blur(10px); z-index: 5; }
.phone-controls button { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.phone-controls button svg { width: 15px; height: 15px; }
.phone-controls button:hover { background: var(--paper-2); color: var(--ink); }
.phone-controls button.on { background: var(--ink); color: #fff; }
.phone-hint { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-weight: 500; color: var(--ink-3); background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; display: inline-flex; gap: 7px; align-items: center; pointer-events: none; transition: opacity 0.5s; z-index: 5; }
.phone-hint svg { width: 14px; height: 14px; }
.phone-hint.hide { opacity: 0; }
.phone-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; }
.phone-fallback img { width: 300px; filter: drop-shadow(0 40px 50px rgba(11, 31, 58, 0.35)); }
.phone-stage.fallback .webgl, .phone-stage.fallback .css3d, .phone-stage.fallback .phone-controls, .phone-stage.fallback .phone-hint { display: none; }
.phone-stage.fallback .phone-fallback { display: flex; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); z-index: 2; }
.scroll-cue svg { width: 14px; height: 14px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .hero { padding-top: 110px; min-height: 0; }
  .hero-bg .scrim { background: linear-gradient(180deg, rgba(4, 12, 26, 0.55) 0%, rgba(4, 12, 26, 0.25) 40%, rgba(4, 12, 26, 0.1) 70%, var(--bg) 100%); }
  .hero-visual { min-height: 0; order: 2; margin-top: 10px; }
  .phone-stage { height: 600px; max-width: 420px; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  .phone-stage { height: 560px; margin: 0 auto; }
  .phone-controls { bottom: -10px; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- issuers strip ---------- */
.issuers { padding: 18px 0 10px; }
.issuers .label { text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.issuers .row-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.issuers .row { display: flex; width: max-content; color: var(--ink-3); font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em; animation: ticker 36s linear infinite; }
.issuers .row:hover { animation-play-state: paused; }
.issuers .set { display: flex; flex-shrink: 0; }
.issuers .row span { padding: 0 28px; opacity: 0.7; transition: opacity 0.3s, color 0.3s; white-space: nowrap; position: relative; }
.issuers .row span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--line-2); }
.issuers .row span:hover { opacity: 1; color: var(--ink); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* soft ambient light behind light sections (no purple — brand blue + mint only) */
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.aurora::before { width: 46vw; height: 46vw; right: -12vw; top: -10vw; background: radial-gradient(circle, rgba(47, 140, 245, 0.28), transparent 65%); animation: auroraA 18s ease-in-out infinite alternate; }
.aurora::after { width: 36vw; height: 36vw; left: -10vw; bottom: -8vw; background: radial-gradient(circle, rgba(15, 169, 122, 0.22), transparent 65%); animation: auroraB 22s ease-in-out infinite alternate; }
.aurora.flip::before { right: auto; left: -12vw; } .aurora.flip::after { left: auto; right: -10vw; }
.section > .wrap { position: relative; z-index: 1; }
@keyframes auroraA { to { transform: translate(-8vw, 10vw) scale(1.15); } }
@keyframes auroraB { to { transform: translate(8vw, -8vw) scale(1.1); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; }
.section-head h2 { margin-top: 22px; }
.section-head .lead { max-width: 480px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

/* problem */
.problem .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.problem h2 { margin-top: 22px; }
.problem .lead { margin-top: 26px; max-width: 520px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 30px 28px; position: relative; overflow: hidden; }
.stat.wide { grid-column: span 2; }
.stat .value { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 5vw, 64px); letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.stat .value .u { font-size: 0.55em; color: var(--brand); margin-left: 2px; }
.stat .label { margin-top: 16px; font-weight: 600; color: var(--ink); font-size: 16px; }
.stat .src { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--brand-soft), transparent 70%); opacity: 0; transition: opacity 0.5s; }
.stat:hover::after { opacity: 1; }
@media (max-width: 900px) { .problem .grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat.wide { grid-column: auto; } }

/* how it works */
.how .steps-grid { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.steps { display: flex; flex-direction: column; }
.step { padding: 40px 0 40px 36px; border-left: 2px solid var(--line); position: relative; transition: border-color 0.5s; }
.step::before { content: ""; position: absolute; left: -7px; top: 52px; width: 12px; height: 12px; border-radius: 50%; background: var(--line-2); transition: background 0.4s, box-shadow 0.4s; }
.step.active { border-color: var(--brand); }
.step.active::before { background: var(--brand); box-shadow: 0 0 0 6px var(--brand-soft); }
.step .n { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--ink-3); transition: color 0.4s; }
.step.active .n { color: var(--brand); }
.step h3 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 34px); }
.step p { margin-top: 14px; max-width: 460px; font-size: 17px; color: var(--ink-2); }
.step .step-img { display: none; margin-top: 26px; justify-content: center; }
.step .step-img img { width: 230px; filter: drop-shadow(0 30px 40px rgba(11, 31, 58, 0.3)); }
.step h3, .step p, .step .n { transform: translateX(0); transition: transform 0.5s var(--ease), color 0.4s; }
.step.active h3 { transform: translateX(6px); }
.sticky-shot { position: sticky; top: 14vh; height: 72vh; display: flex; align-items: center; justify-content: center; }
.sticky-shot .halo { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #d6e7ff, transparent 70%); filter: blur(30px); }
.sticky-shot img { position: absolute; height: 100%; max-height: 66vh; width: auto; filter: drop-shadow(0 40px 60px rgba(11, 31, 58, 0.35)); opacity: 0; transform: translateY(20px) scale(0.98); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.sticky-shot img.show { opacity: 1; transform: none; }
@media (min-width: 1025px) { .step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; } }
@media (max-width: 1024px) {
  .how .steps-grid { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .sticky-shot { display: none; }
  .step .step-img { display: flex; }
  .step { padding: 32px 0 32px 28px; }
}

/* features */
.features .grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.feature.wide { grid-column: span 2; }
.feature .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; transition: transform 0.4s var(--ease); }
.feature .icon svg { width: 22px; height: 22px; }
.feature:hover .icon { transform: scale(1.08) rotate(-4deg); }
.feature { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11, 31, 58, 0.35); }
.feature h3 { margin-top: 24px; font-size: 22px; }
.feature p { margin-top: 10px; font-size: 16px; color: var(--ink-2); max-width: 460px; }
.feature .top { display: flex; justify-content: space-between; align-items: flex-start; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--amber); color: var(--amber); background: var(--amber-soft); }
.timeline { margin-top: auto; padding-top: 34px; position: relative; height: 92px; }
.timeline .track { position: absolute; left: 6%; right: 6%; top: 52%; height: 2px; background: var(--line); }
.timeline .pt { position: absolute; top: 52%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; white-space: nowrap; }
.timeline .pt .date { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.timeline .pt .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline .pt.soon .dot { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.timeline .pt.paid .dot { background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.timeline .pt .name { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
@media (max-width: 900px) { .features .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features .grid { grid-template-columns: 1fr; } .feature.wide { grid-column: auto; } }

/* security (navy band) */
.security .band {
  background: linear-gradient(160deg, var(--navy-2), var(--navy) 60%); color: #dbe6f5; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.security .band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent); }
.security .band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 31, 58, 0.92) 0%, rgba(11, 31, 58, 0.75) 45%, rgba(11, 31, 58, 0.35) 100%); }
.security .band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: 0.9; }
.security .band::before { z-index: 1; }
.security .band::after { z-index: 1; }
.security .grid { z-index: 2; }
.security .grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.security h2 { color: #fff; margin-top: 22px; }
.security .eyebrow { color: #8fc0ff; }
.security .lead { color: #b8c9e0; margin-top: 24px; max-width: 440px; }
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.badge { border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); border-radius: var(--radius); padding: 24px; transition: background 0.3s, transform 0.4s var(--ease); }
.badge:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }
.badge svg { width: 22px; height: 22px; color: #8fc0ff; }
.badge h3 { color: #fff; font-size: 18px; margin-top: 16px; }
.badge p { margin-top: 8px; font-size: 15px; color: #a9bdd6; line-height: 1.55; }
@media (max-width: 900px) { .security .grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .badges { grid-template-columns: 1fr; } }

/* gallery marquee */
.gallery { overflow: hidden; }
.marquee { position: relative; margin-top: 56px; user-select: none; -webkit-user-select: none; cursor: grab; touch-action: pan-y; }
.marquee.dragging { cursor: grabbing; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 12vw, 160px); z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee .track { display: flex; gap: 32px; padding: 10px 16px; will-change: transform; }
.shot { flex: 0 0 auto; width: 240px; }
.shot img { width: 100%; height: auto; filter: drop-shadow(0 24px 34px rgba(11, 31, 58, 0.28)); transition: transform 0.5s var(--ease); pointer-events: none; }
.shot:hover img { transform: translateY(-8px); }
.shot figcaption { margin-top: 12px; text-align: center; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 640px) { .shot { width: 200px; } .marquee .track { gap: 22px; } }

/* faq */
.faq .grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.faq h2 { margin-top: 22px; }
.faq .lead { margin-top: 22px; max-width: 380px; font-size: 17px; }
.faq .lead a { color: var(--brand); font-weight: 600; }
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink); transition: color 0.25s; }
.acc-btn:hover { color: var(--brand); }
.acc-btn svg { width: 22px; height: 22px; color: var(--brand); flex: 0 0 auto; transition: transform 0.4s var(--ease); }
.acc-item.open .acc-btn svg { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 40px 26px 0; font-size: 17px; color: var(--ink-2); }
@media (max-width: 900px) { .faq .grid { grid-template-columns: 1fr; gap: 24px; } }

/* waitlist */
.waitlist .panel {
  border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 80px); position: relative; overflow: hidden;
  background: radial-gradient(90% 120% at 0% 0%, #dbe9ff, transparent 55%), radial-gradient(60% 80% at 100% 100%, #e1f6ee, transparent 60%), var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.waitlist .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; }
.waitlist h2 { margin-top: 22px; }
.waitlist .lead { margin-top: 22px; max-width: 480px; }
.waitlist .perks { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.waitlist .perks li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-2); }
.waitlist .perks svg { width: 20px; height: 20px; color: var(--mint); background: var(--mint-soft); border-radius: 50%; padding: 3px; flex: 0 0 auto; }
.form { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366788f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(47, 140, 245, 0.16); }
.field .err { color: var(--danger); font-size: 13.5px; display: none; }
.field.invalid input { border-color: var(--danger); }
.field.invalid .err { display: block; }
.form .fine { margin-top: 14px; font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.form .btn { width: 100%; margin-top: 6px; }
.form .btn.busy { pointer-events: none; opacity: 0.8; }
.success { display: none; align-items: flex-start; gap: 16px; }
.success .ok { width: 44px; height: 44px; border-radius: 50%; background: var(--mint-soft); color: var(--mint); display: grid; place-items: center; flex: 0 0 auto; }
.success .ok svg { width: 22px; height: 22px; }
.success h3 { font-size: 22px; }
.success p { margin-top: 6px; color: var(--ink-3); }
.form.done form { display: none; }
.form.done .success { display: flex; animation: fadeUp 0.5s var(--ease); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
@media (max-width: 900px) { .waitlist .grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--paper); }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .about { margin-top: 18px; font-size: 15.5px; color: var(--ink-3); max-width: 340px; }
.site-footer .col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.site-footer .col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.site-footer .col a { font-size: 15.5px; color: var(--ink-2); font-weight: 500; transition: color 0.2s; }
.site-footer .col a:hover { color: var(--brand); }
.site-footer .legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .grid { grid-template-columns: 1fr; gap: 28px; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; font-weight: 500; font-size: 15px; box-shadow: var(--shadow-lg); z-index: 100; display: flex; gap: 10px; align-items: center; transition: opacity 0.35s, transform 0.35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: #7ee2b8; }

/* card glow accents */
.feature, .stat-card, .faq-item, .badge { position: relative; }
.feature::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(47, 140, 245, 0.55), rgba(15, 169, 122, 0.25) 50%, transparent 80%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.feature:hover::before { opacity: 1; }

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

/* legal pages */
.legal-page { padding: 130px 0 90px; max-width: 760px; }
.legal-page h1 { font-size: clamp(34px, 5vw, 52px); }
.legal-page h2 { font-size: 24px; margin-top: 40px; }
.legal-page p, .legal-page li { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page .updated { margin-top: 12px; color: var(--ink-3); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}

/* =====================================================================
   LEDGER — dark premium band with card fan (from the Credence concept)
   ===================================================================== */
.serif { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.ledger { background: #07101c; color: #fff; overflow: hidden; }
.ledger::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(115deg, transparent 38%, rgba(47, 140, 245, 0.10) 50%, transparent 62%),
  radial-gradient(60% 80% at 80% 20%, rgba(47, 140, 245, 0.16), transparent 60%),
  radial-gradient(40% 50% at 10% 90%, rgba(15, 169, 122, 0.10), transparent 60%); }
.ledger .grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.ledger .eyebrow { color: #8fc0ff; } .ledger .eyebrow .num { color: #5f7ea6; }
.ledger h2 { margin-top: 22px; color: #fff; }
.ledger h2 .serif { color: #e6c98d; }
.ledger .lead { margin-top: 24px; color: #b8c9e0; max-width: 480px; }
.ticks { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: #dce6f3; }
.ticks li b { color: #fff; }
.ticks svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--mint); margin-top: 2px; }
.fan-wrap { position: relative; height: 420px; display: grid; place-items: center; perspective: 1400px; }
.fan { position: relative; width: 300px; height: 190px; transform-style: preserve-3d; transform: rotateX(8deg); transition: transform 0.4s ease-out; }
.pcard {
  position: absolute; inset: 0; border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column;
  color: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  --spread: 0; --r: 0deg; --tx: 0px; --ty: 0px;
  transform: translate(calc(var(--tx) * var(--spread)), calc(var(--ty) * var(--spread))) rotate(calc(var(--r) * var(--spread))) translateZ(calc(var(--i) * 6px));
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.pcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.10) 48%, transparent 60%); background-size: 250% 100%; background-position: 100% 0; transition: background-position 1.6s ease; }
.fan-wrap.in .pcard::after { background-position: 0 0; }
.pcard { --tx: calc(var(--i) * 92px); --ty: calc(var(--i) * var(--i) * 10px); --r: calc(var(--i) * 9deg); }
.fan-wrap.in .pcard { --spread: 1; }
.pcard .chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f1d9a3, #c8a765); opacity: 0.9; }
.pcard .pname { margin-top: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; }
.pcard .pnum { margin-top: 6px; font-family: var(--font-mono); font-size: 17px; letter-spacing: 0.12em; }
.pcard .pfoot { margin-top: 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.55; }
.pcard.onyx { background: linear-gradient(135deg, #1a1f27, #0b0e13); }
.pcard.slate { background: linear-gradient(135deg, #3a4656, #1e2732); }
.pcard.sand { background: linear-gradient(135deg, #d8c6a3, #a48d62); color: #1c1a16; } .pcard.sand .pfoot, .pcard.sand .pname { opacity: 0.7; }
.pcard.sterling { background: linear-gradient(135deg, #b9c2cc, #7f8a97); color: #0f1720; }
.pcard.midnight { background: linear-gradient(135deg, #1d5fd1, #0b1f3a); }
.fan-wrap .hint { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #6f8db3; }
@media (max-width: 900px) {
  .ledger .grid { grid-template-columns: 1fr; gap: 24px; }
  .fan-wrap { height: 260px; margin-top: 8px; }
  .fan { width: 210px; height: 132px; }
  .pcard { --tx: calc(var(--i) * 30px); --ty: calc(var(--i) * var(--i) * 6px); --r: calc(var(--i) * 7deg); padding: 14px 16px; border-radius: 14px; }
  .pcard .chip { width: 30px; height: 22px; }
  .fan-wrap .hint { font-size: 10px; letter-spacing: 0.14em; bottom: 0; }
  .pcard .pnum { font-size: 14px; }
}

/* =====================================================================
   REWARDS — full-bleed jet video (light, airy; overlapping two-line title)
   ===================================================================== */
.rewards { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: #202a36; padding: 120px 0; }
.rewards-bg { position: absolute; inset: 0; }
.rewards-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.rewards-bg .scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, var(--bg) 0%, rgba(246, 248, 251, 0.35) 18%, rgba(246, 248, 251, 0.15) 55%, rgba(246, 248, 251, 0.6) 85%, var(--bg) 100%),
  radial-gradient(60% 55% at 50% 45%, rgba(246, 248, 251, 0.55), transparent 70%); }
.rewards .inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.rewards .kicker { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #5a6675; }
.stack-title { margin-top: 18px; display: flex; flex-direction: column; align-items: center; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.045em; line-height: 0.92; font-size: clamp(56px, 9.5vw, 128px); }
.stack-title .l1 { color: #6b7684; font-weight: 400; }
.stack-title .l2 { color: #202a36; margin-top: -0.12em; }
.rewards .sub { margin-top: 28px; max-width: 620px; font-size: clamp(17px, 1.4vw, 20px); color: #4a5563; }
.rewards .ctas { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.pill { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px; transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.pill.soft { background: #dfe3e8; color: #1f2933; } .pill.soft:hover { background: #cfd5dc; transform: translateY(-2px); }
.pill.dark { background: #202a36; color: #fff; } .pill.dark:hover { background: #1a2229; transform: translateY(-2px); }
.rewards .perks { margin-top: 44px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.rewards .perks li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(32, 42, 54, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14.5px; font-weight: 500; color: #202a36; }
.rewards .perks svg { width: 17px; height: 17px; color: var(--brand); }
@media (max-width: 720px) { .rewards { min-height: 88svh; padding: 100px 0 80px; } .rewards .perks { gap: 8px; } .rewards .perks li { font-size: 13px; padding: 8px 12px; } }

/* footer ghost wordmark (Credence-style) */
.site-footer { position: relative; overflow: hidden; }
.site-footer .ghost { position: absolute; left: 50%; bottom: -0.32em; transform: translateX(-50%); font-family: var(--font-display); font-weight: 700; font-size: clamp(120px, 22vw, 340px); letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(11, 31, 58, 0.12); pointer-events: none; user-select: none; white-space: nowrap; }
.site-footer .grid, .site-footer .legal { position: relative; z-index: 1; }
.site-footer { padding-bottom: clamp(90px, 14vw, 200px); }
