/* ─── CUSTOM FONTS ───────────────────────────────────────────────── */
@font-face {
  font-family: 'FixelDisplay';
  src: url('./assets/FixelDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: 'FixelDisplay';
  src: url('./assets/FixelDisplay-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: 'FixelDisplay';
  src: url('./assets/FixelDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

/* ─── TOKENS ─────────────────────────────────────────────────────── */
:root {
  --bg:            #1a1c23;
  --bg-deep:       #13141a;
  --card:          #252833;
  --card-soft:     rgba(37, 40, 51, 0.72);
  --accent:        #ff801f;
  --accent-soft:   rgba(255, 128, 31, 0.14);
  --accent-glow:   rgba(255, 128, 31, 0.22);
  --text:          #f0ece4;
  --text-soft:     rgba(240, 236, 228, 0.68);
  --muted:         #7a8494;
  --sand:          #dbd8d3;
  --stone:         #c0bbb7;
  --border:        rgba(255, 255, 255, 0.07);
  --border-accent: rgba(255, 128, 31, 0.28);
  --shadow-sm:     0 4px 24px rgba(0, 0, 0, 0.28);
  --shadow:        0 18px 80px rgba(0, 0, 0, 0.42);
  --radius-xl:     40px;
  --radius-lg:     32px;
  --radius-md:     24px;
  --radius-sm:     16px;
  --container:     1180px;
  --container-narrow: 820px;
  --t:             260ms ease;
  --t-spring:      700ms cubic-bezier(0.22, 1, 0.36, 1);
  --font:          'Space Grotesk', Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading:  'FixelDisplay', 'Space Grotesk', Inter, "SF Pro Display", sans-serif;
  --font-mono:     'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(255, 128, 31, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(26, 28, 35, 0.8) 0%, transparent 70%);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
p { margin: 0; }

/* ─── UTILITY ────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── SHELL + GRAIN ──────────────────────────────────────────────── */
.site-shell {
  position: relative;
  overflow: clip;
}

/* Ambient glow orbs */
.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.site-shell::before {
  top: 8%; right: -14%;
  background: rgba(255, 128, 31, 0.14);
  animation: orbDrift 18s ease-in-out infinite;
}

.site-shell::after {
  bottom: 10%; left: -16%;
  background: rgba(255, 255, 255, 0.05);
  animation: orbDrift 22s ease-in-out infinite reverse;
}

/* ─── LAYOUT ─────────────────────────────────────────────────────── */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 40px), var(--container-narrow));
}

.section {
  padding: 100px 0;
}

.section-tight {
  padding-top: 56px;
}

.page-hero {
  padding-top: 148px;
  padding-bottom: 48px;
}

/* ─── HEADER ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  background: rgba(19, 20, 26, 0.68);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(13, 14, 18, 0.88);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

/* ─── LOGO ───────────────────────────────────────────────────────── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff801f, #ffb06e);
  color: #15161c;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(255, 128, 31, 0.3);
}

/* ─── NAV ────────────────────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.site-nav a {
  transition: color var(--t);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

/* Hamburger icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--t), opacity var(--t);
}

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #ffa84d 100%);
  color: #14151b;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  box-shadow:
    0 8px 28px rgba(255, 128, 31, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform var(--t),
    box-shadow var(--t),
    filter var(--t);
  white-space: nowrap;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(255, 128, 31, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: brightness(1.05);
}

.button:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.button-small {
  padding: 10px 18px;
  font-size: 0.9rem;
}

/* ─── EYEBROW ────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 24px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 128, 31, 0.22);
  background: rgba(255, 128, 31, 0.07);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ─── SECTION LABEL ──────────────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

/* ─── HEADING FONT ───────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-heading);
}

/* ─── SECTION HEADING ────────────────────────────────────────────── */
.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading.compact {
  max-width: 580px;
}

.section-heading h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 0.97;
  font-weight: 700;
}

.section-heading h1,
.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.section-heading p {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero-section {
  padding-top: 120px;
  padding-bottom: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

/* Staggered entrance */
.hero-copy h1,
.hero-copy .hero-text,
.hero-copy .waitlist-form,
.hero-copy .hero-points {
  opacity: 0;
  will-change: opacity, transform;
}

.hero-copy h1 {
  transition: opacity 600ms ease;
}

.hero-copy .hero-text,
.hero-copy .waitlist-form,
.hero-copy .hero-points {
  transform: translateY(22px);
  transition: opacity 700ms ease, transform var(--t-spring);
}

body.is-ready .hero-copy h1 {
  opacity: 1;
}

body.is-ready .hero-copy .hero-text {
  opacity: 1; transform: translateY(0);
  transition-delay: 80ms;
}

body.is-ready .hero-copy .waitlist-form {
  opacity: 1; transform: translateY(0);
  transition-delay: 160ms;
}

body.is-ready .hero-copy .hero-points {
  opacity: 1; transform: translateY(0);
  transition-delay: 240ms;
}

.hero-text {
  max-width: 480px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-soft);
  line-height: 1.6;
}

/* ─── FORM ───────────────────────────────────────────────────────── */
.waitlist-form {
  margin-top: 36px;
}

.waitlist-form-wide {
  width: 100%;
  max-width: 580px;
}

.form-row {
  display: flex;
  gap: 10px;
  padding: 8px 8px 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  transition: border-color var(--t), box-shadow var(--t);
}

.form-row:focus-within {
  border-color: rgba(255, 128, 31, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 128, 31, 0.1);
}

.waitlist-form input {
  width: 100%;
  min-width: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
  font-size: 0.98rem;
}

.waitlist-form input::placeholder {
  color: var(--muted);
}

.form-note,
.form-feedback {
  margin: 14px 0 0;
  padding-left: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.form-feedback.is-error  { color: #ffb089; }
.form-feedback.is-success { color: #88d9a8; }

/* ─── HERO TRUST BADGES ──────────────────────────────────────────── */
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  transition: transform var(--t), border-color var(--t), background var(--t);
}

.hero-points span:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 128, 31, 0.28);
  background: rgba(255, 128, 31, 0.06);
}

/* ─── HERO VISUAL ────────────────────────────────────────────────── */
.hero-visual {
  position: relative;
}

body:not(.is-ready) .hero-visual .device-hero {
  opacity: 0;
  transform: translateY(72px) scale(0.93);
  filter: blur(4px);
}

.hero-visual .device-hero {
  transition:
    opacity 1000ms ease,
    transform 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms ease;
  transition-delay: 300ms;
}

body.is-ready .hero-visual .device-hero {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ─── FLOATING STAT CARDS ────────────────────────────────────────── */
.hero-float {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(30, 32, 42, 0.9);
  backdrop-filter: blur(24px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  animation: floatCard 5s ease-in-out infinite;
  pointer-events: none;
}

.hero-float-1 { top: 16%;  left: -6%;  animation-delay: 0s; }
.hero-float-2 { top: 50%;  right: -8%; animation-delay: -1.8s; }
.hero-float-3 { bottom: 20%; left: -10%; animation-delay: -3.4s; }

.float-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.float-value {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ─── DEVICE ─────────────────────────────────────────────────────── */
.device {
  position: relative;
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(175deg, rgba(255,255,255,0.09), rgba(0,0,0,0.3));
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 0 1px rgba(255,255,255,0.06);
}

.device::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 32%;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: rgba(10, 11, 16, 0.96);
  z-index: 2;
}

.device-hero {
  width: min(100%, 360px);
}

.device-frame {
  overflow: hidden;
  border-radius: 32px;
  background: #0d0e13;
}

.device-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── SURFACE CARD ───────────────────────────────────────────────── */
.surface-card {
  position: relative;
  background:
    linear-gradient(175deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 100%),
    var(--card-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px);
}

.surface-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color var(--t), box-shadow var(--t);
}

.surface-card:hover::after,
.surface-card:focus-within::after {
  border-color: var(--border-accent);
  box-shadow: inset 0 0 0 0 transparent, 0 0 40px rgba(255,128,31,0.06);
}

/* ─── BANKS ──────────────────────────────────────────────────────── */
.section-banks {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}

.bank-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bank-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sand);
  cursor: default;
  transition:
    transform var(--t),
    border-color var(--t),
    background var(--t),
    box-shadow var(--t);
}

.bank-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 128, 31, 0.3);
  background: rgba(255, 128, 31, 0.07);
  box-shadow: 0 0 24px rgba(255, 128, 31, 0.12);
}

.bank-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ─── CHAT SCENE (SCENARIOS) ─────────────────────────────────────── */
.chat-scene {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(255, 128, 31, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    rgba(30, 33, 44, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.chat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  align-items: start;
}

.chat-bubble {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  width: min(100%, 420px);
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(16, 18, 26, 0.82);
  backdrop-filter: blur(20px);
  color: var(--text);
  animation: bubbleFloat 8s ease-in-out infinite;
}

.chat-bubble p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.48;
  letter-spacing: -0.02em;
}

.chat-bubble-left  { justify-self: start; }
.chat-bubble-right {
  justify-self: end;
  background: rgba(255, 128, 31, 0.13);
  border-color: rgba(255, 128, 31, 0.18);
}

.chat-bubble:nth-child(2) { animation-delay: -1.2s; }
.chat-bubble:nth-child(3) { animation-delay: -2.8s; }
.chat-bubble:nth-child(4) { animation-delay: -3.6s; }
.chat-bubble:nth-child(5) { animation-delay: -4.8s; }
.chat-bubble:nth-child(6) { animation-delay: -5.6s; }

.chat-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  font-size: 1rem;
  flex-shrink: 0;
}

.message-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.message-cloud span {
  position: absolute;
  display: block;
  height: 48px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  animation: cloudDrift 16s ease-in-out infinite;
}

.cloud-left span:nth-child(1) { top: 10%; left: 6%;  width: 160px; }
.cloud-left span:nth-child(2) { top: 52%; left: 12%; width: 130px; animation-delay: -4s; }
.cloud-left span:nth-child(3) { bottom: 12%; left: 20%; width: 150px; animation-delay: -9s; }
.cloud-right span:nth-child(1) { top: 18%; right: 8%;  width: 140px; animation-delay: -2s; }
.cloud-right span:nth-child(2) { top: 46%; right: 14%; width: 180px; animation-delay: -6s; }
.cloud-right span:nth-child(3) { bottom: 16%; right: 6%; width: 120px; animation-delay: -11s; }

/* ─── FEATURE CAROUSEL ───────────────────────────────────────────── */
.feature-carousel-block {
  display: grid;
  gap: 20px;
}

.feature-carousel-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.feature-carousel-actions {
  display: flex;
  gap: 10px;
}

.carousel-button {
  width: 46px; height: 46px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1rem;
  transition: transform var(--t), border-color var(--t), background var(--t);
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 128, 31, 0.3);
  background: rgba(255, 128, 31, 0.1);
}

.feature-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 16px;
  overflow: hidden;
  padding: 4px 2px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.feature-carousel::-webkit-scrollbar { display: none; }

.feature-slide {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
  padding: 28px;
  background:
    linear-gradient(175deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%),
    rgba(38, 41, 54, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2);
  transition: transform var(--t), border-color var(--t);
}

.feature-slide:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 128, 31, 0.22);
}

/* Visual area at top of each feature card */
.feature-slide-visual {
  flex: 0 0 auto;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.fv-glyph {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(255, 128, 31, 0.6);
  line-height: 1;
  user-select: none;
}

.feature-slide-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
}

.feature-slide h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.feature-slide p {
  max-width: 26ch;
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.52;
}

.feature-line {
  width: 56px; height: 3px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 128, 31, 0.15));
}

/* ─── FEATURE STACK ─────────────────────────────────────────────── */
.feature-stack {
  position: relative;
  /* height = card height + stacking depth of 4 visible rear cards */
  height: calc(600px + 4 * 14px);
  width: min(100%, 400px);
  margin: 0 auto;
  cursor: default;
  user-select: none;
}

.feature-stack-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;          /* portrait / phone aspect */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 36px 36px;
  overflow: hidden;
  border-radius: 32px;
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity   400ms ease,
    box-shadow 420ms ease;
  transform: translateY(calc(var(--i) * 14px)) scale(calc(1 - var(--i) * 0.028));
  z-index: calc(20 - var(--i));
  opacity: calc(1 - var(--i) * 0.16);
  will-change: transform, opacity;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%),
    rgba(30, 33, 44, 0.98);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Cards deeper than 4 are invisible at rest */
.feature-stack-card:nth-child(n+5) {
  opacity: 0;
  pointer-events: none;
}

/* Active card */
.feature-stack-card.is-stack-active {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
  z-index: 30;
  border-color: rgba(255, 128, 31, 0.26);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 128, 31, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  pointer-events: auto !important;
}

/* Past cards — fly off upward */
.feature-stack-card.is-stack-past {
  transform: translateY(-60px) scale(1.02) !important;
  opacity: 0 !important;
  z-index: 31;
  pointer-events: none;
}

/* Large bg glyph — top half of card */
.fsc-bg-glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -68%);
  font-family: var(--font-mono);
  font-size: 9rem;
  line-height: 1;
  color: rgba(255, 128, 31, 0.1);
  pointer-events: none;
  user-select: none;
  transition: color 400ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-stack-card.is-stack-active .fsc-bg-glyph {
  color: rgba(255, 128, 31, 0.2);
  transform: translate(-50%, -72%);
}

/* Index tag */
.fsc-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Bottom content area */
.fsc-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.fsc-body h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.fsc-body p {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.58;
}

/* Hint below stack */
.fsc-hint {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.45;
  pointer-events: none;
  transition: opacity var(--t);
}

.feature-stack:hover .fsc-hint {
  opacity: 0;
}

/* ─── HOW IT WORKS ───────────────────────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.how-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform var(--t);
}

.how-card:hover {
  transform: translateY(-4px);
}

.how-number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0.9;
}

.how-body h3 {
  margin: 0 0 14px;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
  font-weight: 600;
}

.how-body p {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ─── PRIVACY ────────────────────────────────────────────────────── */
.privacy-panel {
  display: grid;
  gap: 32px;
  padding: 40px;
  border-color: rgba(255, 128, 31, 0.2);
  background:
    radial-gradient(ellipse at top right, rgba(255, 128, 31, 0.15), transparent 40%),
    linear-gradient(175deg, rgba(255, 128, 31, 0.04), rgba(255,255,255,0.01)),
    rgba(32, 35, 46, 0.96);
}

.privacy-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.privacy-heading h2 {
  white-space: nowrap;
  font-size: clamp(1.3rem, 3.2vw, 3rem);
}

.privacy-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px; height: 120px;
  border-radius: 28px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.07), rgba(255,128,31,0.12));
  border: 1px solid rgba(255, 128, 31, 0.18);
  color: var(--accent);
}

.privacy-lock svg {
  width: 78px; height: 78px;
}

.privacy-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}

.privacy-strip::-webkit-scrollbar {
  height: 6px;
}

.privacy-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.privacy-tile {
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background: rgba(14, 15, 20, 0.5);
  scroll-snap-align: start;
  transition: border-color var(--t);
}

.privacy-tile:hover {
  border-color: rgba(255, 128, 31, 0.2);
}

.privacy-tile h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.privacy-tile p {
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.58;
}

/* ─── APP SHOWCASE ───────────────────────────────────────────────── */
.showcase-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.showcase-strip::-webkit-scrollbar {
  height: 6px;
}

.showcase-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.showcase-card {
  min-width: 0;
  scroll-snap-align: start;
}

.showcase-card h3 {
  margin: 16px 0 0;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
}

/* ─── FAQ ────────────────────────────────────────────────────────── */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq-item[open] {
  border-color: rgba(255, 128, 31, 0.22);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

.faq-arrow {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--t);
}

details[open] .faq-arrow {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.62;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  font-size: 0.94rem;
  color: var(--muted);
  transition: color var(--t);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

/* ─── CTA PANEL ──────────────────────────────────────────────────── */
.cta-panel {
  display: grid;
  gap: 36px;
  align-items: center;
  padding: 48px;
  border-color: rgba(255, 128, 31, 0.18);
  background:
    radial-gradient(ellipse at left top, rgba(255, 128, 31, 0.18), transparent 40%),
    radial-gradient(ellipse at right bottom, rgba(255, 128, 31, 0.08), transparent 40%),
    linear-gradient(175deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    rgba(28, 31, 42, 0.97);
}

.cta-copy {
  display: flex;
  flex-direction: column;
}

.cta-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 0;
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  gap: 32px;
}

.footer-brand {}

.footer-logo {
  margin-bottom: 14px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 380px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a {
  transition: color var(--t);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-mail {
  font-size: 0.94rem;
  color: var(--stone);
  transition: color var(--t);
}

.footer-mail:hover {
  color: var(--accent);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.5;
}

/* ─── ARTICLE CARDS (ACADEMY) ───────────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  transition: transform var(--t), border-color var(--t);
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card .eyebrow {
  margin-bottom: 16px;
}

.article-card h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.article-card p {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.6;
  flex: 1;
}

.article-card .text-link {
  margin-top: 24px;
}

/* ─── LEGAL PAGES ────────────────────────────────────────────────── */
.legal-content {
  display: grid;
  gap: 18px;
}

.legal-section {
  padding: 28px;
}

.legal-section h2 {
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.legal-section p {
  color: var(--text-soft);
  margin-top: 16px;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

@keyframes cloudDrift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.3; }
  50%       { transform: translate3d(0, -10px, 0); opacity: 0.55; }
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  33%       { transform: translate(-4%, 3%) scale(1.06); opacity: 0.85; }
  66%       { transform: translate(3%, -4%) scale(0.96); opacity: 0.95; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ─── RESPONSIVE: 768px ──────────────────────────────────────────── */
@media (min-width: 768px) {
  .cta-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1.3fr 1fr auto;
    align-items: end;
  }
}

/* ─── RESPONSIVE: ≤1020px ────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 14ch;
    font-size: clamp(2.8rem, 8vw, 4.4rem);
  }

  .hero-text {
    max-width: 560px;
  }

  .hero-visual {
    display: none;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .chat-grid {
    grid-template-columns: 1fr;
  }

  .chat-bubble,
  .chat-bubble-left,
  .chat-bubble-right {
    justify-self: stretch;
    width: 100%;
  }

  .chat-scene {
    padding: 24px;
  }
}

/* ─── RESPONSIVE: ≤760px ─────────────────────────────────────────── */
@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .hero-section {
    padding-top: 96px;
    padding-bottom: 72px;
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(18, 19, 26, 0.98);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity var(--t),
      transform var(--t),
      visibility var(--t);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .form-row {
    flex-direction: column;
    border-radius: 28px;
    padding: 12px;
  }

  .form-row .button {
    width: 100%;
    min-height: 52px;
  }

  .waitlist-form input {
    padding: 6px 8px;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .feature-carousel-head {
    justify-content: flex-start;
  }

  .feature-slide {
    padding: 24px;
  }

  .privacy-panel {
    padding: 28px;
  }

  .privacy-top {
    grid-template-columns: 1fr;
  }

  .privacy-heading h2 {
    white-space: normal;
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .privacy-lock {
    width: 96px; height: 96px;
  }

  .cta-panel {
    padding: 32px 28px;
  }

  .showcase-strip {
    grid-auto-columns: minmax(200px, 76%);
  }

  .faq-item summary {
    padding: 18px 20px;
  }

  .faq-item p {
    padding: 0 20px 18px;
  }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
