/* =========================================================================
   Riverbold — design tokens & styles
   Structure mirrors the Meta DESIGN.md system (pill buttons, generous
   rounding, tight type hierarchy, photography-first cards) but reskinned
   with an electric violet -> magenta -> coral signature gradient.
   No external dependencies. All values driven by custom properties.
   ========================================================================= */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Brand / accent (the "exciting & fun" theme) */
  --brand-1: #7c3aed;   /* electric violet  */
  --brand-2: #ec4899;   /* magenta          */
  --brand-3: #ff8a4c;   /* coral            */
  --brand-blue: #3b82f6;
  --primary: var(--brand-1);
  --primary-deep: #6d28d9;
  --on-primary: #ffffff;
  --gradient: linear-gradient(120deg, var(--brand-1) 0%, var(--brand-2) 52%, var(--brand-3) 100%);
  --gradient-soft: linear-gradient(120deg, rgba(124,58,237,.14), rgba(236,72,153,.12) 60%, rgba(255,138,76,.12));

  /* Ink / surface (Meta-style neutral ramp) */
  --canvas: #ffffff;
  --surface-soft: #f5f4fb;
  --surface-soft-2: #efedf8;
  --ink-deep: #0d0a1f;
  --ink: #1c1b2e;
  --charcoal: #3c3a52;
  --slate: #555370;
  --steel: #6c6a85;
  --stone: #9a98ad;
  --hairline: #e4e1f0;
  --hairline-soft: #edeaf6;

  /* Semantic */
  --success: #18b368;

  /* Radius scale (from DESIGN.md) */
  --r-sm: 4px;  --r-md: 6px;  --r-lg: 8px;  --r-xl: 16px;
  --r-2xl: 24px; --r-3xl: 32px; --r-feature: 40px; --r-full: 100px;

  /* Spacing scale (4px base) */
  --s-xs: 8px; --s-sm: 10px; --s-md: 12px; --s-base: 16px; --s-lg: 20px;
  --s-xl: 24px; --s-2xl: 32px; --s-3xl: 40px; --s-sec-sm: 48px;
  --s-sec: 64px; --s-sec-lg: 80px; --s-hero: 120px;

  /* Type */
  --font: "Segoe UI", system-ui, -apple-system, "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .55s;

  --container: 1200px;
  --shadow-1: 0 1px 2px rgba(13,10,31,.06), 0 8px 24px rgba(13,10,31,.06);
  --shadow-2: 0 12px 40px rgba(124,58,237,.18);
  --shadow-lift: 0 24px 60px rgba(124,58,237,.22);
}

/* --------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink-deep); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-xl); }
.container--narrow { max-width: 820px; }

.visually-hidden, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--ink-deep); color: #fff; padding: 10px 18px; border-radius: var(--r-full);
  font-weight: 600;
}

/* Visible keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }

/* --------------------------------------------------------------- Buttons */
.btn {
  --bg: var(--ink-deep); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  border-radius: var(--r-full); padding: 13px 28px;
  font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease), filter .2s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { padding: 16px 34px; font-size: 15px; }

.btn--primary { --bg: var(--ink-deep); --fg: #fff; box-shadow: var(--shadow-1); }
.btn--primary:hover { box-shadow: var(--shadow-2); }

.btn--secondary { --bg: transparent; --fg: var(--ink-deep); --bd: var(--ink-deep); }
.btn--secondary:hover { background: var(--ink-deep); color: #fff; }

.btn--white { --bg: #fff; --fg: var(--ink-deep); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }

.btn__play { font-size: 10px; transform: translateX(1px); }

/* --------------------------------------------------------------- Promo banner */
.promo-banner {
  background: var(--ink-deep); color: #fff; text-align: center;
  font-size: 14px; font-weight: 600; padding: 11px var(--s-xl);
  position: relative; z-index: 60;
}
.promo-banner p { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.promo-banner a { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.promo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-3); box-shadow: 0 0 0 0 rgba(255,138,76,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,138,76,.6)} 70%{box-shadow:0 0 0 8px rgba(255,138,76,0)} 100%{box-shadow:0 0 0 0 rgba(255,138,76,0)} }

/* --------------------------------------------------------------- Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.nav.is-scrolled { border-color: var(--hairline-soft); box-shadow: 0 4px 24px rgba(13,10,31,.05); }
.nav__inner { display: flex; align-items: center; gap: var(--s-lg); height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink-deep); letter-spacing: -0.03em; }
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(124,58,237,.35)); }

.nav__tabs { display: flex; gap: 4px; margin-inline: auto; }
.pill-tab {
  padding: 8px 16px; border-radius: var(--r-full); font-size: 14px; font-weight: 600; color: var(--charcoal);
  transition: background-color .2s, color .2s;
}
.pill-tab:hover { background: var(--surface-soft-2); color: var(--ink-deep); }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.link-quiet { font-size: 14px; font-weight: 600; color: var(--charcoal); }
.link-quiet:hover { color: var(--ink-deep); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 12px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink-deep); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer { position: fixed; inset: 66px 0 auto 0; z-index: 45; background: rgba(255,255,255,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); transform-origin: top; }
.drawer[hidden] { display: none; }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; padding: var(--s-base) var(--s-xl) var(--s-2xl); }
.drawer__nav a { padding: 14px 12px; font-size: 18px; font-weight: 600; border-radius: 14px; }
.drawer__nav a:hover { background: var(--surface-soft-2); }
.drawer__cta { justify-content: center; margin-top: 8px; }
.drawer.is-open { animation: drawerIn .3s var(--ease); }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; overflow: clip; padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); }
.hero__inner { position: relative; z-index: 2; text-align: center; }

.hero__aurora { position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: 1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(52px); opacity: .5; will-change: transform; }
/* Perf: JS toggles this on regions scrolled out of view so blurred/looping
   animations stop repainting offscreen (saves battery + main-thread time). */
.is-paused, .is-paused * { animation-play-state: paused !important; }
.blob--1 { width: 46vw; height: 46vw; left: -6vw; top: -8vw; background: radial-gradient(circle at 30% 30%, var(--brand-1), transparent 70%); animation: drift1 18s ease-in-out infinite; }
.blob--2 { width: 42vw; height: 42vw; right: -4vw; top: -4vw; background: radial-gradient(circle at 60% 40%, var(--brand-2), transparent 70%); animation: drift2 22s ease-in-out infinite; }
.blob--3 { width: 38vw; height: 38vw; left: 32vw; top: 6vw; background: radial-gradient(circle at 50% 50%, var(--brand-3), transparent 70%); animation: drift3 20s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6%,4%) scale(1.08)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-5%,5%) scale(1.1)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(3%,-5%) scale(1.06)} }

.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(13,10,31,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(13,10,31,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 75%); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--slate); margin-bottom: 22px; }
.eyebrow__chip { background: var(--gradient); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .02em; text-transform: uppercase; padding: 4px 11px; border-radius: var(--r-full); }

.hero__title { font-size: clamp(40px, 8vw, 82px); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 24px; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: hue 8s ease infinite; filter: drop-shadow(0 3px 22px rgba(236, 72, 153, .22)); }
.gradient-text--2 { background: linear-gradient(120deg, var(--brand-2), var(--brand-3), var(--brand-1)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; }
@keyframes hue { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

.hero__lede { max-width: 620px; margin: 0 auto 32px; font-size: clamp(17px, 2.2vw, 21px); color: var(--slate); line-height: 1.5; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 20px; font-size: 13px; color: var(--steel); }

/* Hero floating panel — phone mockups (mobile app showcase) */
.hero__panel { position: relative; max-width: 640px; margin: clamp(40px, 6vw, 64px) auto 0; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 470px; }
.phone { width: clamp(190px, 26vw, 232px); aspect-ratio: 9 / 19.3; background: #141221; border-radius: 40px; padding: 9px; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lift); position: relative; }
.phone--front { z-index: 2; animation: floaty 7s ease-in-out infinite; }
.phone--back { position: absolute; bottom: 22px; left: 50%; transform: translateX(-88%) rotate(-9deg) scale(.92); z-index: 1; animation: floaty 9s ease-in-out infinite .5s; }
.phone__notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; background: #141221; border-radius: 0 0 14px 14px; z-index: 3; }
.phone__screen { display: block; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #fff; }
.appui { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 34px 14px 16px; }
.appui__hero { display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; min-height: 116px; padding: 14px; border-radius: 18px; background: var(--gradient); color: #fff; }
.appui__hero--tempo { background: linear-gradient(160deg, var(--brand-2), var(--brand-3)); }
.appui__hero b { font-size: 17px; font-weight: 700; }
.appui__hero span { font-size: 11px; opacity: .9; }
.appui__line { height: 11px; border-radius: 6px; background: var(--surface-soft-2); }
.appui__line--s { width: 58%; }
.appui__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.appui__tiles i { height: 50px; border-radius: 13px; background: var(--surface-soft); border: 1px solid var(--hairline-soft); }
.appui__tiles i.appui__tile--accent { background: var(--gradient-soft); border-color: transparent; }

.float-card { position: absolute; background: rgba(255,255,255,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--hairline-soft); border-radius: var(--r-xl); padding: 14px 18px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; }
.float-card__label { font-size: 12px; font-weight: 600; color: var(--steel); }
.float-card__value { font-size: 24px; font-weight: 700; color: var(--ink-deep); }
.float-card__value small { font-size: 14px; color: var(--steel); }
.float-card--rating { right: 4px; top: 16%; animation: floaty 6s ease-in-out infinite; }
.float-card--downloads { left: 4px; bottom: 16%; animation: floaty 8s ease-in-out infinite .5s; }

/* --------------------------------------------------------------- Trust marquee */
.trust { padding: var(--s-sec-sm) 0; text-align: center; }
.trust__caption { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); margin-bottom: 22px; }
.marquee { position: relative; display: flex; gap: 56px; 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); }
.marquee__track { flex: 0 0 auto; display: flex; gap: 56px; list-style: none; margin: 0; padding: 0 28px 0 0; animation: marquee 28s linear infinite; }
.marquee__track li { font-size: 22px; font-weight: 700; color: var(--stone); letter-spacing: -0.02em; white-space: nowrap; transition: color .3s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li:hover { color: var(--brand-1); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* --------------------------------------------------------------- Sections */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section__head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__title { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 16px; }
.section__lede { font-size: clamp(16px, 2vw, 19px); color: var(--slate); }

/* Product / app cards — scalable family-of-apps grid (auto-fills as apps grow) */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--s-base); }
.product-card { position: relative; display: flex; gap: 16px; background: var(--canvas); border: 1px solid var(--hairline-soft); border-radius: var(--r-2xl); padding: var(--s-xl); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; will-change: transform; }
.product-card:hover { box-shadow: var(--shadow-lift); border-color: transparent; }
.product-card__icon { flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-xl); font-size: 26px; color: #fff; box-shadow: 0 8px 20px rgba(124,58,237,.26); }
.product-card__icon--lumi { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.product-card__icon--tempo { background: linear-gradient(135deg, #ec4899, #ff8a4c); }
.product-card__icon--tally { background: linear-gradient(135deg, #18b368, #3b82f6); }
.product-card__icon--halo { background: linear-gradient(135deg, #3b82f6, #7c3aed); }
.product-card__body { display: flex; flex-direction: column; }
.product-card__cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-1); }
.product-card__status { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: var(--r-full); background: var(--surface-soft-2); color: var(--slate); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; vertical-align: middle; }
.product-card h3 { font-size: 20px; margin: 6px 0; }
.product-card p { font-size: 14px; color: var(--slate); margin-bottom: 14px; }
.product-card__more { margin-top: auto; font-size: 14px; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product-card__glow { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(124,58,237,.16), rgba(236,72,153,.06) 42%, transparent 65%); opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 0; }
.product-card:hover .product-card__glow { opacity: 1; }
.product-card__icon, .product-card__body { position: relative; z-index: 1; }
.product-card--ghost { flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; border-style: dashed; border-color: var(--hairline); background: var(--surface-soft); }
.product-card--ghost .product-card__plus { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 24px; font-weight: 700; line-height: 1; }
.product-card--ghost strong { font-size: 16px; color: var(--ink-deep); }
.product-card--ghost span { font-size: 13px; color: var(--steel); }

/* Dark promo strip */
.promo-strip { position: relative; margin-top: var(--s-3xl); border-radius: var(--r-3xl); background: var(--ink-deep); color: #fff; padding: clamp(36px, 6vw, 64px); overflow: hidden; display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-2xl); align-items: center; }
.promo-strip__aurora { position: absolute; inset: 0; background: radial-gradient(60% 120% at 85% 20%, rgba(236,72,153,.45), transparent 60%), radial-gradient(50% 90% at 10% 90%, rgba(124,58,237,.5), transparent 60%); }
.promo-strip__copy { position: relative; z-index: 2; }
.promo-strip__copy h3 { font-size: clamp(24px, 3.5vw, 36px); color: #fff; margin-bottom: 14px; }
.promo-strip__copy p { color: rgba(255,255,255,.72); margin-bottom: 26px; font-size: 16px; max-width: 46ch; }
.promo-strip__viz { position: relative; z-index: 2; display: grid; place-items: center; min-height: 180px; }
.orbit { position: relative; width: 150px; height: 150px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 60px rgba(236,72,153,.5); display: grid; place-items: center; }
.orbit::after { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: var(--ink-deep); }
.orbit i { position: absolute; inset: 0; border: 1.5px solid rgba(255,255,255,.22); border-radius: 50%; }
.orbit i:nth-child(1){ inset:-26px; animation: spin 9s linear infinite; }
.orbit i:nth-child(2){ inset:-52px; animation: spin 14s linear infinite reverse; }
.orbit i:nth-child(3){ inset:-78px; animation: spin 20s linear infinite; }
.orbit i::before { content:""; position:absolute; top:-4px; left:50%; width:8px; height:8px; border-radius:50%; background:#fff; box-shadow:0 0 12px #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-xl); text-align: center; }
.stat { padding: var(--s-xl) var(--s-base); border-radius: var(--r-2xl); background: var(--surface-soft); }
.stat__num { display: block; font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--steel); }

/* Reassurance */
.reassure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-base); }
.reassure { background: var(--canvas); border: 1px solid var(--hairline-soft); border-radius: var(--r-xl); padding: var(--s-2xl) var(--s-xl); transition: transform .25s var(--ease), box-shadow .25s; }
.reassure:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.reassure__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-xl); background: var(--gradient-soft); color: var(--brand-1); margin-bottom: 16px; }
.reassure__icon svg { width: 26px; height: 26px; }
.reassure h4 { font-size: 17px; margin-bottom: 6px; }
.reassure p { font-size: 14px; color: var(--steel); }

/* Testimonials */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-xl); }
.voice-card { background: var(--canvas); border: 1px solid var(--hairline-soft); border-radius: var(--r-xl); padding: var(--s-2xl); margin: 0; transition: transform .25s var(--ease), box-shadow .25s; }
.voice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.voice-card blockquote { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.voice-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 700; flex: 0 0 auto; }
.avatar--violet { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.avatar--coral { background: linear-gradient(135deg, #ec4899, #ff8a4c); }
.avatar--blue { background: linear-gradient(135deg, #3b82f6, #7c3aed); }
.voice-card figcaption span:not(.avatar) { display: flex; flex-direction: column; }
.voice-card figcaption strong { font-size: 14px; }
.voice-card figcaption small { font-size: 13px; color: var(--steel); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--hairline-soft); border-radius: var(--r-xl); overflow: hidden; background: var(--canvas); transition: border-color .25s, box-shadow .25s; }
.faq__item.is-open { border-color: transparent; box-shadow: var(--shadow-1); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: transparent; border: 0; padding: 22px 24px; font-size: 18px; font-weight: 600; color: var(--ink-deep); }
.faq__chevron { flex: 0 0 auto; width: 12px; height: 12px; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(45deg); transition: transform .3s var(--ease); margin-top: -4px; }
.faq__item.is-open .faq__chevron { transform: rotate(-135deg); margin-top: 4px; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 24px 22px; color: var(--slate); font-size: 16px; }

/* Final CTA */
.cta { position: relative; margin: clamp(40px,6vw,72px) auto; max-width: calc(var(--container) - 0px); }
.cta__inner { position: relative; z-index: 2; text-align: center; background: var(--ink-deep); border-radius: var(--r-feature); padding: clamp(48px, 8vw, 88px) var(--s-xl); overflow: hidden; }
.cta__aurora { position: absolute; inset: 0; z-index: 1; max-width: calc(var(--container) - 48px); margin-inline: auto; border-radius: var(--r-feature); background: radial-gradient(60% 120% at 20% 10%, rgba(124,58,237,.6), transparent 55%), radial-gradient(60% 120% at 85% 90%, rgba(255,138,76,.45), transparent 55%); filter: blur(8px); pointer-events: none; }
.cta__inner h2 { color: #fff; font-size: clamp(28px, 4.5vw, 48px); margin-bottom: 16px; }
.cta__inner p { color: rgba(255,255,255,.74); font-size: 18px; max-width: 52ch; margin: 0 auto 32px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------- Footer */
.footer { border-top: 1px solid var(--hairline-soft); padding: var(--s-sec) 0 var(--s-2xl); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.4fr; gap: var(--s-2xl); }
.footer__tag { margin-top: 14px; color: var(--steel); font-size: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-deep); margin-bottom: 4px; }
.footer__col a { font-size: 14px; color: var(--steel); transition: color .2s; }
.footer__col a:hover { color: var(--brand-1); }

.subscribe { display: flex; flex-wrap: wrap; gap: 8px; }
.subscribe input { flex: 1 1 160px; height: 44px; padding: 0 16px; border: 1px solid var(--hairline); border-radius: var(--r-lg); font-size: 15px; color: var(--ink); background: var(--canvas); transition: border-color .2s, box-shadow .2s; }
.subscribe input:focus { outline: none; border-color: var(--brand-1); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.subscribe input.is-invalid { border-color: #e11d48; box-shadow: 0 0 0 3px rgba(225,29,72,.12); }
.subscribe .btn { height: 44px; }
.subscribe__msg { flex-basis: 100%; font-size: 13px; margin-top: 2px; min-height: 18px; }
.subscribe__msg.is-ok { color: var(--success); }
.subscribe__msg.is-err { color: #e11d48; }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: var(--s-sec); padding-top: var(--s-xl); border-top: 1px solid var(--hairline-soft); }
.footer__bottom p { font-size: 13px; color: var(--stone); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 13px; color: var(--stone); }
.footer__legal a:hover { color: var(--ink-deep); }

/* --------------------------------------------------------------- Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .voice-grid { grid-template-columns: 1fr 1fr; }
  .voice-grid .voice-card:last-child { grid-column: 1 / -1; }
  .reassure-grid, .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__subscribe { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav__tabs { display: none; }
  .nav__actions .link-quiet, .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions { margin-left: auto; }
  .promo-strip { grid-template-columns: 1fr; }
  .promo-strip__viz { display: none; }
  .float-card--rating { right: -6px; }
  .float-card--downloads { left: -6px; }
}
@media (max-width: 600px) {
  .voice-grid, .reassure-grid, .footer__grid { grid-template-columns: 1fr; }
  .voice-grid .voice-card:last-child { grid-column: auto; }
  .container { padding-inline: var(--s-base); }
  .float-card { transform: scale(.82); }
  .float-card--rating { right: -4px; top: 12%; }
  .float-card--downloads { left: -4px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------- Subpages (legal + careers) */
.subhero { position: relative; overflow: clip; padding: clamp(56px, 9vw, 104px) 0 clamp(28px, 4vw, 44px); }
.subhero .container { position: relative; z-index: 2; }
.subhero__inner { max-width: 780px; }
.subhero h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -0.03em; margin: 14px 0 0; }
.subhero__lede { margin-top: 18px; font-size: clamp(17px, 2.2vw, 20px); color: var(--slate); max-width: 60ch; }
.subhero__meta { margin-top: 16px; font-size: 14px; color: var(--steel); }

.legal { padding-bottom: clamp(56px, 9vw, 96px); }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h2:first-of-type { margin-top: 8px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--slate); }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand-1); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.callout { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--hairline); background: var(--surface-soft); border-radius: var(--r-xl); padding: 18px 20px; margin: 0 0 32px; }
.callout__tag { flex: 0 0 auto; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--gradient); padding: 4px 10px; border-radius: var(--r-full); }
.callout p { margin: 0; font-size: 14px; color: var(--slate); }

.roles { display: flex; flex-direction: column; gap: 12px; }
.role { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--canvas); border: 1px solid var(--hairline-soft); border-radius: var(--r-xl); padding: 20px 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.role:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: transparent; }
.role__meta { display: flex; flex-direction: column; gap: 8px; }
.role__title { font-size: 18px; font-weight: 600; color: var(--ink-deep); }
.role__desc { font-size: 14px; color: var(--steel); max-width: 54ch; }
.role__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.role__tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); background: var(--surface-soft-2); color: var(--slate); }
.role .btn { flex: 0 0 auto; }
@media (max-width: 560px) {
  .role { flex-direction: column; align-items: flex-start; }
  .role .btn { width: 100%; }
}

/* --------------------------------------------------------------- Futuristic FX */
/* Native cross-page morph transitions (progressive enhancement) */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
.footer { view-transition-name: site-footer; }

/* Scroll-progress beam (top edge) */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; transform: scaleX(var(--sp, 0)); transform-origin: 0 50%; background: var(--gradient); box-shadow: 0 0 12px rgba(236,72,153,.55); }

/* Filmic grain overlay */
.grain { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px; animation: grainShift 6s steps(6) infinite; }
@keyframes grainShift { 0%{background-position:0 0} 100%{background-position:180px 180px} }

/* Cursor spotlight on hero / subhero */
.hero::after, .subhero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), rgba(124,58,237,.20), rgba(236,72,153,.08) 35%, transparent 60%); }
.hero.is-cursor::after, .subhero.is-cursor::after { opacity: 1; }

/* Rotating aurora ring behind the CTA (inset:0 so blur bleeds visually without
   widening layout; body overflow-x:hidden clips the soft edges) */
.cta::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: var(--r-feature);
  background: conic-gradient(from 0deg, #7c3aed, #ec4899, #ff8a4c, #7c3aed); filter: blur(22px); opacity: .5; animation: spin 9s linear infinite; }
.cta__inner { z-index: 2; }

/* --------------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .blob, .grain, .cta::before { animation: none; }
  .hero::after, .subhero::after { display: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
