/* ═══════════════════════════════════════════
   WatchOwl — Landing
   Nocturne chaleureux · cinéma de minuit
   ═══════════════════════════════════════════ */

:root {
  --bg: #1B0F2E;
  --bg-edge: #15082A;
  --bg-mid: #2A1A47;
  --bg-soft: #3D2960;
  --cream: #FFF0DC;
  --cream-dim: rgba(255, 240, 220, 0.62);
  --cream-soft: rgba(255, 240, 220, 0.12);
  --cream-line: rgba(255, 240, 220, 0.16);
  --coral: #FF6E4A;
  --amber: #FFB547;
  --rose: #F08CA0;
  --violet: #B488FF;
  --green: #7CD9A8;

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Geist', -apple-system, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;

  --shadow-cta: 0 10px 30px rgba(255, 110, 74, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--coral); color: var(--bg); }

/* Accessibilité clavier — anneau de focus visible (uniquement au clavier) */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.mono--amber { color: var(--amber); }
.mono--rose { color: var(--rose); }

.em-coral { color: var(--coral); }
.em-amber { color: var(--amber); }
/* brand name — "Owly" is always coral + bold (wins over contextual rules) */
.brand { color: var(--coral) !important; font-weight: 700 !important; }
/* "WatchOwl" wordmark in body text — bold, "Watch" inherits (contrast w/ bg), "Owl" coral */
.wo { font-weight: 700; }
.wo .em-coral { font-weight: 700; }

/* ─── Atmosphere ─── */
#starfield {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.aurora {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
  transform: translateZ(0);
}
.aurora__blob {
  position: absolute;
  width: 52vw; height: 52vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  will-change: transform;
}
.aurora__blob--amber  { background: radial-gradient(circle, var(--amber), transparent 70%); top: -14vw; left: -8vw; animation: drift1 26s ease-in-out infinite; }
.aurora__blob--coral  { background: radial-gradient(circle, var(--coral), transparent 70%); top: 30vh; right: -16vw; animation: drift2 32s ease-in-out infinite; }
.aurora__blob--violet { background: radial-gradient(circle, var(--violet), transparent 70%); bottom: -20vw; left: 20vw; opacity: 0.24; animation: drift3 38s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw, 8vh) scale(1.15); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(-7vw, -5vh) scale(0.9); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(5vw, -8vh) scale(1.2); } }

.grain {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  transform: translateZ(0);
}

.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 1;
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,181,71,0.10), transparent 65%);
  pointer-events: none; opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}

/* keep content above atmosphere */
.nav, main, .footer { position: relative; z-index: 2; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600;
  border: none; cursor: pointer;
  border-radius: 16px;
  transition: transform 0.18s var(--ease), box-shadow 0.3s ease, background 0.3s ease;
  will-change: transform;
}
.btn--sm { padding: 11px 18px; font-size: 14.5px; }
.btn--lg { padding: 17px 28px; font-size: 17px; border-radius: 18px; }
.btn--block { display: flex; justify-content: center; width: 100%; }
.btn--primary {
  background: var(--coral); color: var(--bg);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { box-shadow: 0 14px 40px rgba(255,110,74,0.6), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn--primary:active { transform: scale(0.97); }
.btn--ghost {
  background: rgba(255,240,220,0.04); color: var(--cream);
  border: 1.5px solid var(--cream-line);
}
.btn--ghost:hover { background: rgba(255,240,220,0.09); border-color: rgba(255,240,220,0.3); }
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: padding 0.4s var(--ease), background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  padding: 12px clamp(20px, 5vw, 56px);
  background: rgba(21,8,42,0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--cream-soft);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__logo {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--bg-mid); border-radius: 12px;
  border: 1px solid var(--cream-soft);
  overflow: hidden;
}
.nav__logo img { width: 30px; }
.nav__name { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.nav__beta {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.14em; color: var(--bg);
  background: var(--amber); padding: 3px 7px; border-radius: 999px;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 14.5px; color: var(--cream-dim);
  position: relative; padding: 4px 0;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ─── Reveal ─── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.8s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .aurora__blob, .hero__owly-halo, .hero__note, .hero__chip { animation: none !important; }
  .plan__coins { display: none; }
  .plan__sparkle { animation: none; opacity: 0.85; }
  .pstar { animation: none; opacity: 0.7; }
}

/* ─── Section scaffolding ─── */
section { padding: clamp(70px, 11vh, 140px) clamp(20px, 5vw, 56px); max-width: var(--maxw); margin: 0 auto; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head--wide { max-width: 860px; }
.section-head .mono { display: block; margin-bottom: 16px; }
.section-lead { font-size: clamp(15px, 1.45vw, 17.5px); line-height: 1.65; color: var(--cream-dim); margin-top: 18px; max-width: 720px; }
.section-lead strong { color: var(--cream); font-weight: 600; }
.section-lead + .section-lead { margin-top: 12px; }
.section-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.04;
  letter-spacing: -0.035em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.16em; color: var(--cream-dim); text-transform: uppercase;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(255,240,220,0.04); border: 1px solid var(--cream-soft);
  margin-bottom: 26px;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(124,217,168,0.7); animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(124,217,168,0.6); } 70% { box-shadow: 0 0 0 8px rgba(124,217,168,0); } 100% { box-shadow: 0 0 0 0 rgba(124,217,168,0); } }

/* ═══════ HERO ═══════ */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; min-height: 100vh;
  padding-top: clamp(120px, 16vh, 180px); padding-bottom: 60px;
}
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(48px, 8.5vw, 104px); line-height: 0.92;
  letter-spacing: -0.05em; margin: 4px 0 26px;
}
.hero__title span { display: block; }
.hero__title-em { color: var(--amber); position: relative; }
.hero__title-em .q { color: var(--coral); display: inline; }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--cream-dim); max-width: 520px; }
.hero__lead strong { color: var(--cream); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 28px; }

/* Official store badges (real artwork) */
.store-link {
  display: inline-block; position: relative;
  will-change: transform;
  transition: transform 0.2s var(--ease), filter 0.3s ease;
}
.store-link img { display: block; height: 56px; width: auto; }
.store-link:hover { transform: translateY(-3px); filter: drop-shadow(0 12px 26px rgba(0,0,0,0.55)); }
.store-link:active { transform: scale(0.97); }
.store-link--soon img { opacity: 0.88; }
.store__soon {
  position: absolute; top: -8px; right: -9px;
  font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bg);
  background: var(--amber); padding: 3px 9px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255,181,71,0.45);
}

/* Rating + downloads */
.hero__stats { display: flex; align-items: center; gap: 22px; }
.hstat__top { display: flex; align-items: baseline; gap: 8px; }
.hstat b { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.hstat__stars { color: var(--amber); font-size: 18px; letter-spacing: 1.5px; }
.hstat__soon { color: var(--amber); font-size: 21px !important; }
.hstat small { display: block; font-size: 12px; color: var(--cream-dim); margin-top: 1px; }
.hstat__sep { width: 1px; height: 38px; background: var(--cream-line); }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 620px; }
/* Owly lives INSIDE .hero__fan, behind the phones (peeking over the top) */
.hero__owly { position: absolute; top: -32%; left: 50%; transform: translateX(-50%); width: 244px; z-index: 1; pointer-events: none; }
.hero__owly-halo {
  position: absolute; inset: -30%;
  background: radial-gradient(circle, rgba(255,181,71,0.35), transparent 62%);
  filter: blur(14px); z-index: -1; animation: haloPulse 5s ease-in-out infinite;
}
@keyframes haloPulse { 0%,100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.float { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1.5deg); } }

.hero__scroll {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-dim); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(var(--amber), transparent); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--cream); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* Hand-drawn "C'est moi, Owly !" annotation */
.hero__note {
  position: absolute; top: -8%; left: -12%; z-index: 7;
  display: flex; align-items: flex-start; gap: 2px;
  pointer-events: none; transform: rotate(-5deg);
  animation: noteFloat 5s ease-in-out -2.5s infinite; /* déphasé d'une demi-période : l'un monte quand l'autre descend */
}
@keyframes noteFloat { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-16px) rotate(-5deg); } }
.hero__note-txt {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: clamp(28px, 3vw, 40px); line-height: 0.92;
  color: var(--coral); white-space: nowrap; text-align: center;
  text-shadow: 0 2px 14px rgba(255,110,74,0.35);
}
.hero__note-big { font-size: 1.45em; display: inline-block; line-height: 0.85; }
.hero__note-arrow { width: clamp(52px, 6vw, 78px); height: auto; margin-top: 8px; }
.hero__note-arrow path {
  fill: none; stroke: var(--coral); stroke-width: 5.5;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 2px 8px rgba(255,110,74,0.35));
  stroke-dasharray: 100; stroke-dashoffset: 100;
}
.hero__note.in .hero__note-arrow path { animation: noteDraw 0.9s var(--ease) 0.45s forwards; }
@keyframes noteDraw { to { stroke-dashoffset: 0; } }

/* Floating info chips around the phones */
.hero__chip {
  position: absolute; z-index: 7;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(36,22,62,0.72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--cream-line);
  font-family: var(--body); font-size: 13.5px; font-weight: 500; color: var(--cream);
  box-shadow: 0 14px 34px rgba(0,0,0,0.42);
  white-space: nowrap;
  animation: chipFloat 6s ease-in-out infinite;
}
.hero__chip i { font-style: normal; font-size: 15px; line-height: 1; }
.hero__chip b { font-weight: 700; }
.hero__chip--a { top: 17%; right: -3%;  animation-delay: -1.2s; border-color: rgba(255,181,71,0.4); }
.hero__chip--a b { color: var(--amber); }
.hero__chip--b { top: 50%; left: -7%;   animation-delay: -3.6s; border-color: rgba(180,136,255,0.4); }
.hero__chip--c { bottom: 13%; right: 1%; animation-delay: -2.4s; border-color: rgba(255,110,74,0.4); }
.hero__chip--c b { color: var(--coral); }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ═══════ PHONE ═══════ */
.phone { width: 300px; max-width: 80vw; perspective: 1400px; }

/* Hero fan of 3 phones — fixed-width phones, scaled as a group so the
   screen content (calibrated for ~268px) stays crisp at every breakpoint */
.hero__fan {
  position: relative; width: 100%; height: clamp(460px, 56vw, 580px);
  display: grid; place-items: center;
  transform: scale(var(--fan, 0.9)); transform-origin: center;
}
.phone--fan { position: absolute; width: 268px; transition: transform 0.6s var(--ease), filter 0.6s var(--ease); }
.phone--center { z-index: 4; transform: translateY(-6px); }
.phone--left  { z-index: 2; transform: translate(-46%, 28px) rotate(-12deg) scale(0.86); filter: brightness(0.8); }
.phone--right { z-index: 2; transform: translate(46%, 28px) rotate(12deg) scale(0.86); filter: brightness(0.8); }
.hero__fan:hover .phone--center { transform: translateY(-18px) scale(1.03); }
.hero__fan:hover .phone--left  { transform: translate(-62%, 14px) rotate(-15deg) scale(0.88); filter: brightness(0.95); }
.hero__fan:hover .phone--right { transform: translate(62%, 14px) rotate(15deg) scale(0.88); filter: brightness(0.95); }
.phone__frame {
  position: relative; border-radius: 44px; padding: 11px;
  background: linear-gradient(150deg, #3a2a55, #15082a);
  box-shadow: 0 50px 100px rgba(0,0,0,0.55), 0 0 0 1.5px rgba(255,240,220,0.08), inset 0 1px 1px rgba(255,255,255,0.12);
  transform-style: preserve-3d;
}
.phone__glow { position: absolute; inset: -8% -8% 10%; background: radial-gradient(circle at 50% 30%, rgba(255,110,74,0.3), transparent 60%); filter: blur(40px); z-index: -1; }
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #0a0317; border-radius: 999px; z-index: 5; }
.phone__screen {
  border-radius: 34px; overflow: hidden;
  background: var(--bg); aspect-ratio: 1206/2622;
  position: relative;
}
.phone__shot { width: 100%; height: 100%; object-fit: cover; display: block; }

/* App home recreation */
.app { padding: 38px 16px 16px; font-size: 11px; display: flex; flex-direction: column; gap: 11px; height: 100%; }
.app__statusbar { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; color: var(--cream); padding: 0 6px 2px; }
.app__sb-icons { font-size: 8px; letter-spacing: 1px; }
.app__head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.app__hi { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 16px; font-weight: 700; }
.app__avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-mid); border: 1px solid var(--amber); display: grid; place-items: center; overflow: hidden; }
.app__avatar img { width: 22px; }
.app__bell { font-size: 13px; width: 30px; height: 30px; display: grid; place-items: center; background: var(--bg-mid); border-radius: 50%; }

.app__card { border-radius: 18px; position: relative; overflow: hidden; }
.app__card--day { background: linear-gradient(160deg, #2563c9, #1746a0); padding: 14px; }
.app__day-bg { position: absolute; top: -10px; right: -10px; width: 70px; height: 70px; background: radial-gradient(circle, var(--amber), transparent 60%); border-radius: 50%; }
.app__day-owl { position: absolute; top: 10px; right: 12px; width: 60px; opacity: 0.95; }
.app__suggest .mono { font-size: 8px; color: rgba(255,240,220,0.8); }
.app__count { font-family: var(--display); display: flex; align-items: baseline; gap: 4px; }
.app__count b { font-size: 30px; font-weight: 800; line-height: 1; }
.app__count span { font-size: 13px; color: rgba(255,240,220,0.7); }
.app__bar { height: 5px; border-radius: 99px; background: rgba(0,0,0,0.25); margin-top: 6px; overflow: hidden; }
.app__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--coral)); border-radius: 99px; }
.app__choice { margin-top: 12px; background: rgba(10,5,25,0.55); border-radius: 14px; padding: 11px; position: relative; }
.app__choice .mono { font-size: 7.5px; }
.app__choice strong { font-family: var(--display); font-size: 16px; font-weight: 700; display: block; margin: 2px 0 1px; letter-spacing: -0.02em; }
.app__choice p { font-size: 9px; color: var(--cream-dim); line-height: 1.3; max-width: 130px; }
.app__choice p em { color: var(--coral); font-style: normal; font-weight: 600; }
.app__launch { position: absolute; right: 11px; bottom: 11px; background: linear-gradient(90deg, var(--amber), var(--coral)); color: var(--bg); border: none; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 11px; padding: 7px 12px; display: flex; align-items: center; gap: 5px; box-shadow: 0 4px 14px rgba(255,110,74,0.4); }
.app__launch span { font-size: 8px; }

.app__card--streak { background: var(--bg-mid); border: 1px solid var(--cream-soft); padding: 13px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.app__flame { font-size: 16px; width: 34px; height: 34px; background: var(--bg-soft); border-radius: 10px; display: grid; place-items: center; }
.app__streak-txt .mono { font-size: 7.5px; }
.app__streak-txt strong { font-family: var(--display); font-size: 14px; display: block; letter-spacing: -0.02em; }
.app__streak-txt p { font-size: 8.5px; color: var(--cream-dim); }
.app__streak-num { font-family: var(--display); font-weight: 800; }
.app__streak-num b { font-size: 24px; }
.app__streak-num span { font-size: 11px; color: var(--cream-dim); }
.app__days { grid-column: 1/-1; display: flex; gap: 4px; margin-top: 2px; }
.app__days i { flex: 1; height: 6px; border-radius: 99px; background: var(--cream-soft); }
.app__days i.on { background: var(--amber); }

.app__mode { background: linear-gradient(100deg, rgba(240,140,160,0.18), rgba(180,136,255,0.1)); border: 1px solid rgba(240,140,160,0.25); border-radius: 16px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.app__mode img { width: 34px; }
.app__mode .mono { font-size: 7.5px; display: block; }
.app__mode strong { font-family: var(--display); font-size: 14px; letter-spacing: -0.02em; }
.app__mode div { flex: 1; }
.app__arrow { width: 26px; height: 26px; background: var(--rose); color: var(--bg); border-radius: 50%; display: grid; place-items: center; font-weight: 700; }

/* ═══════ MARQUEE ═══════ */
.marquee { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--cream-soft); border-bottom: 1px solid var(--cream-soft); background: rgba(21,8,42,0.4); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 3vw, 34px); letter-spacing: -0.03em; color: var(--cream-dim); white-space: nowrap; }
.marquee__track span:nth-child(3n) { color: var(--amber); }
.marquee__track span:nth-child(5n) { color: var(--rose); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ═══════ STATS — full-bleed deep band (rhythm break) ═══════ */
.stats {
  max-width: none; width: 100%; margin: 0;
  padding: clamp(72px, 12vh, 140px) clamp(20px, 5vw, 56px);
  background:
    radial-gradient(110% 90% at 82% 8%, rgba(255,110,74,0.18), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(180,136,255,0.10), transparent 60%),
    linear-gradient(180deg, #160A28 0%, #0C0417 100%);
  color: var(--cream); position: relative; overflow: hidden;
  border-top: 1px solid var(--cream-soft);
  border-bottom: 1px solid var(--cream-soft);
}
.stats__inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.stats__head {
  display: flex; align-items: center; justify-content: flex-start; gap: clamp(8px, 1.4vw, 24px);
  margin-bottom: clamp(44px, 6vw, 72px);
}
.stats__headtext { flex: 0 1 auto; min-width: 0; }
.stats__owl {
  flex: 0 0 auto; width: clamp(140px, 18vw, 240px);
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.45));
}
.stats__eyebrow { display: block; margin-bottom: 18px; color: var(--coral); letter-spacing: 0.18em; }
.stats__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 5vw, 54px); line-height: 1.03; letter-spacing: -0.035em;
  color: var(--cream); width: fit-content; max-width: 100%; margin-bottom: 0;
}
.stats__em { color: var(--coral); font-style: italic; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.stat { position: relative; padding-left: 30px; border-left: 2px solid var(--cream-soft); }
.stat:first-child { padding-left: 0; border-left: none; }
.stat__num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(54px, 7.5vw, 92px); line-height: 0.9; letter-spacing: -0.045em;
  color: var(--amber);
}
.stat p { color: var(--cream-dim); margin-top: 14px; font-size: 15px; line-height: 1.5; max-width: 250px; }
.stat p .brand { color: var(--coral) !important; font-weight: 600; }

/* ═══════ HOW ═══════ */
.how__head {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 60px);
  max-width: 1080px;
}
.how__headtext { flex: 0 1 760px; min-width: 0; }
.how__owl {
  flex: 0 0 auto; width: clamp(120px, 14vw, 184px);
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.42));
}
.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how__bridge { text-align: center; margin: clamp(50px, 7vw, 88px) 0 4px; }
.how__bridge .mono { display: block; margin-bottom: 10px; letter-spacing: 0.14em; }
.how__bridge p { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3.2vw, 32px); letter-spacing: -0.025em; color: var(--cream); }
.step { position: relative; padding: 30px 26px 32px; background: var(--bg-mid); border: 1px solid var(--cream-soft); border-radius: 24px; overflow: hidden; }
.step__line { display: none; }
.step__num { display: block; font-size: 12px; color: var(--amber); margin-bottom: 14px; }
.step__owl { width: 78px; height: 78px; margin-bottom: 18px; }
.step__owl img { filter: drop-shadow(0 8px 18px rgba(0,0,0,0.4)); }
.step h3 { font-family: var(--display); font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: var(--cream-dim); font-size: 14px; line-height: 1.5; }
.step__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.step__chips span { font-size: 11px; padding: 6px 11px; border-radius: 999px; background: var(--cream-soft); color: var(--cream-dim); }
.step__chips span.on { background: var(--amber); color: var(--bg); font-weight: 600; }
.thinking { display: flex; gap: 7px; margin-top: 18px; }
.thinking i { width: 11px; height: 11px; border-radius: 50%; background: var(--amber); animation: think 1.2s ease-in-out infinite; }
.thinking i:nth-child(2) { animation-delay: 0.15s; }
.thinking i:nth-child(3) { animation-delay: 0.3s; }
@keyframes think { 0%,80%,100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }
.step__match { display: flex; gap: 12px; margin-top: 18px; }
.ring { --p: 90; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--amber) calc(var(--p) * 1%), var(--cream-soft) 0); position: relative; }
.ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg-mid); }
.ring b { position: relative; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--amber); }
.ring b i { font-style: normal; font-size: 8px; color: var(--cream-dim); }

/* ═══════ FEATURES ═══════ */
.features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feat { padding: 30px 28px; background: var(--bg-mid); border: 1px solid var(--cream-soft); border-radius: 24px; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s; }
.feat:hover { transform: translateY(-5px); border-color: rgba(255,181,71,0.35); background: var(--bg-soft); }
.feat--wide { grid-row: span 2; display: flex; flex-direction: column; }
.feat__icon { font-size: 30px; width: 60px; height: 60px; border-radius: 16px; background: var(--bg-soft); display: grid; place-items: center; margin-bottom: 20px; }
.feat h3 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.feat p { color: var(--cream-dim); font-size: 14.5px; line-height: 1.5; }
.feat__quiz { margin-top: auto; padding-top: 24px; }
.feat__quiz .mono { font-size: 10px; display: block; margin-bottom: 10px; }
.feat__quizbar { height: 8px; border-radius: 99px; background: var(--cream-soft); overflow: hidden; }
.feat__quizbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--coral)); border-radius: 99px; transition: width 1.4s var(--ease); }
.feat.in .feat__quizbar i { width: 65%; }
.feat__pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.feat__pills span { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em; padding: 5px 10px; border-radius: 999px; background: var(--cream); color: var(--bg); }
.feat__pills span:last-child { background: var(--cream-soft); color: var(--cream-dim); }

/* ═══════ MODES — poster-header cards ═══════ */
.modes__head {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 52px); max-width: 1080px;
}
.modes__headtext { flex: 0 1 auto; min-width: 0; }
.modes__headtext .section-title { width: fit-content; max-width: 560px; }
.modes__owl {
  flex: 0 0 auto; width: clamp(108px, 13vw, 168px);
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.42));
}
.modes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mode {
  position: relative; border-radius: 26px; overflow: hidden;
  background: var(--bg-mid); border: 1px solid var(--cream-soft);
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
.mode:hover { transform: translateY(-8px); }
/* scene header — small tilted screenshot + small mascot, on a tinted glow */
.mode__scene {
  position: relative; height: 230px; overflow: hidden;
  border-bottom: 1px solid var(--cream-soft);
  background:
    radial-gradient(circle at 50% 36%, var(--tint, var(--coral)) 0%, transparent 60%),
    var(--bg-edge);
}
.mode__scene::before { /* subtle bottom fade into the card body */
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, var(--bg-mid) 100%);
}
/* the little tilted phone screen */
.mode__shot {
  position: absolute; z-index: 1; width: 134px; height: auto;
  left: 50%; top: 26px; transform: translateX(-58%) rotate(-7deg);
  border-radius: 14px; border: 1px solid rgba(255,240,220,0.12);
  box-shadow: 0 18px 36px rgba(0,0,0,0.55);
  transition: transform 0.5s var(--ease);
}
.mode:hover .mode__shot { transform: translateX(-58%) rotate(-4deg) translateY(-4px); }
.mode__num {
  position: absolute; top: 16px; left: 18px; z-index: 3;
  font-size: 12px; color: var(--cream); letter-spacing: 0.18em;
  background: rgba(12,4,23,0.55); padding: 4px 9px; border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.mode__art {
  width: 78px; position: absolute; z-index: 3;
  right: 18px; bottom: 14px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
  transition: transform 0.45s var(--ease);
}
.mode:hover .mode__art { transform: scale(1.12) translateY(-3px); }
.mode__art--wheel { transition: transform 0.7s var(--ease); }
.mode:hover .mode__art--wheel { transform: rotate(22deg) scale(1.12); }
.mode__body { padding: 24px 28px 30px; flex: 1; }
.mode__tag { display: block; margin-bottom: 12px; }
.mode h3 { font-family: var(--display); font-size: 23px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 10px; }
.mode p { color: var(--cream-dim); font-size: 14.5px; line-height: 1.55; }
.mode__quote {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--cream-soft);
  font-family: var(--body); font-style: italic; font-size: 14px;
  line-height: 1.45; color: var(--cream);
}
.mode__quote cite {
  display: block; margin-top: 6px; font-style: normal;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--tint, var(--coral));
}
/* per-mode tints */
.mode--rose   { --tint: var(--rose); }
.mode--rose .mode__tag { color: var(--rose); }
.mode--rose:hover { border-color: var(--rose); box-shadow: 0 24px 50px rgba(240,140,160,0.22); }
.mode--violet { --tint: var(--violet); }
.mode--violet .mode__tag { color: var(--violet); }
.mode--violet:hover { border-color: var(--violet); box-shadow: 0 24px 50px rgba(180,136,255,0.22); }
.mode--amber  { --tint: var(--amber); }
.mode--amber .mode__tag { color: var(--amber); }
.mode--amber:hover { border-color: var(--amber); box-shadow: 0 24px 50px rgba(255,181,71,0.22); }
.mode--coral  { --tint: var(--coral); }
.mode--coral .mode__tag { color: var(--coral); }
.mode--coral:hover { border-color: var(--coral); box-shadow: 0 24px 50px rgba(255,110,74,0.22); }

/* ═══════ PREVIEW ═══════ */
.preview { max-width: 1320px; }
.preview__hint { display: inline-block; margin-top: 16px; color: var(--cream-dim); }
.preview__viewport { position: relative; }
.preview__rail {
  display: flex; gap: 26px; align-items: flex-start;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  padding: 30px 24px 64px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(255,240,220,0.25) transparent;
}
.preview__rail::-webkit-scrollbar { height: 8px; }
.preview__rail::-webkit-scrollbar-thumb { background: rgba(255,240,220,0.22); border-radius: 99px; }
.preview__rail::-webkit-scrollbar-thumb:hover { background: rgba(255,240,220,0.4); }
.preview__rail::-webkit-scrollbar-track { background: transparent; }
.gphone {
  flex: 0 0 auto; width: 224px; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  scroll-snap-align: start;
}
.gphone .phone { width: 100%; transition: transform 0.25s var(--ease); }
.gphone__head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 17px;
  letter-spacing: -0.02em; color: var(--cream);
  width: 100%; padding-left: 4px;
}
.gphone__step {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  color: var(--bg); background: linear-gradient(135deg, var(--amber), var(--coral));
  box-shadow: 0 6px 16px rgba(255,110,74,0.4);
}
/* lighter shadow so it isn't clipped by the rail's overflow */
.gphone .phone__frame { box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1.5px rgba(255,240,220,0.08), inset 0 1px 1px rgba(255,255,255,0.12); }

/* Carousel arrows */
.preview__arrow {
  position: absolute; top: 44%; transform: translateY(-50%); z-index: 6;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: var(--coral); border: none; color: var(--bg);
  font-family: var(--display); font-size: 28px; font-weight: 600; line-height: 0; padding-bottom: 4px;
  box-shadow: 0 10px 26px rgba(255,110,74,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: background 0.25s ease, transform 0.18s var(--ease), opacity 0.3s ease, box-shadow 0.25s ease;
}
.preview__arrow:hover { background: #ff855f; transform: translateY(-50%) scale(1.07); box-shadow: 0 14px 34px rgba(255,110,74,0.65), inset 0 1px 0 rgba(255,255,255,0.4); }
.preview__arrow:active { transform: translateY(-50%) scale(0.92); }
.preview__arrow--prev { left: -8px; }
.preview__arrow--next { right: -8px; }
.preview__arrow[disabled] { opacity: 0; pointer-events: none; }

/* generic screen */
.scr { padding: 34px 16px 16px; height: 100%; display: flex; flex-direction: column; gap: 10px; }
.scr__top { display: flex; align-items: center; gap: 10px; }
.scr__back { width: 30px; height: 30px; background: var(--bg-mid); border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--cream); }
.scr__prog { flex: 1; height: 6px; border-radius: 99px; background: var(--cream-soft); overflow: hidden; }
.scr__prog i { display: block; height: 100%; background: var(--coral); border-radius: 99px; }
.scr__step { font-size: 10px; padding: 4px 9px; border: 1px solid var(--cream-soft); border-radius: 999px; }
.scr__h { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 8px; }
.scr__hint { font-size: 11px; color: var(--cream-dim); line-height: 1.4; }
.scr__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.scr__chips span { font-size: 11.5px; padding: 9px 13px; border-radius: 999px; background: var(--cream-soft); color: var(--cream); font-weight: 500; }
.scr__chips span.on { background: var(--amber); color: var(--bg); font-weight: 600; box-shadow: 0 4px 14px rgba(255,181,71,0.35); }
.scr__cta { margin-top: auto; background: var(--coral); color: var(--bg); border: none; border-radius: 16px; padding: 14px; font-family: var(--display); font-weight: 600; font-size: 15px; box-shadow: var(--shadow-cta); }

.scr--res .scr__lbl { display: block; margin-top: 4px; }
.poster { border-radius: 14px; padding: 12px; position: relative; min-height: 70px; box-shadow: 0 10px 26px rgba(0,0,0,0.4); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.poster b { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--bg); letter-spacing: -0.02em; line-height: 1; }
.poster__year { position: absolute; top: 10px; left: 12px; font-size: 8px; color: rgba(27,15,46,0.7); }
.poster__badge { position: absolute; top: 10px; right: 10px; background: var(--bg); color: var(--amber); font-size: 8px; padding: 4px 8px; border-radius: 999px; letter-spacing: 0.08em; }
.poster__m { position: absolute; top: 10px; right: 12px; font-size: 12px; font-weight: 600; color: var(--bg); }
.poster--1 { background: linear-gradient(155deg, #FF6E4A, #B23D2A); flex: 1.4; }
.poster--2 { background: linear-gradient(155deg, #FFB547, #C27317); }
.poster--3 { background: linear-gradient(155deg, #F08CA0, #A04561); }

.scr__who { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 4px; }
.who { background: var(--bg-mid); border: 1px solid var(--cream-soft); border-radius: 14px; padding: 12px 8px; text-align: center; }
.who img { width: 44px; margin: 0 auto 6px; }
.who b { font-family: var(--display); font-size: 13px; display: block; }
.who small { font-size: 8.5px; color: var(--cream-dim); }
.who--on { border-color: var(--green); background: rgba(124,217,168,0.1); }
.who--on b { color: var(--green); }

/* ═══════ PRICING ═══════ */
.pricing__head {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 52px); max-width: 1080px;
}
.pricing__headtext { flex: 0 1 auto; min-width: 0; }
.pricing__owl {
  flex: 0 0 auto; width: clamp(108px, 13vw, 168px);
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.42));
}
/* uniform height for every section-head owl (width follows each aspect ratio) */
.stats__owl, .how__owl, .modes__owl, .pricing__owl { width: auto; height: clamp(108px, 11vw, 150px); }
.pricing__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch; }
.plan { position: relative; padding: 34px 32px; border-radius: 26px; background: var(--bg-mid); border: 1px solid var(--cream-soft); overflow: hidden; display: flex; flex-direction: column; }
.plan__tag { display: block; margin-bottom: 18px; }
.plan__tag--prem { color: var(--bg); background: var(--amber); padding: 4px 10px; border-radius: 999px; width: fit-content; font-weight: 600; }
.plan__price { font-family: var(--display); display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.plan__price b { font-size: clamp(40px, 5vw, 58px); font-weight: 800; letter-spacing: -0.04em; }
.plan__price span { font-size: 13px; color: var(--cream-dim); }
.plan__sub { color: var(--cream-dim); font-size: 14.5px; margin-bottom: 22px; max-width: 320px; }
.plan__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan__list li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--cream); }
.plan__list li b { color: var(--amber); }
.plan__list li::before { content: '✓'; position: absolute; left: 0; top: -1px; width: 19px; height: 19px; background: rgba(124,217,168,0.18); color: var(--green); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
/* big Owlaf emerging from the right of the free card, clipped ~half by the edge */
.plan__gandalf {
  position: absolute; right: 0; bottom: 0; height: 80%; width: auto; max-width: none;
  transform: translateX(49%); transform-origin: bottom right;
  z-index: 0; pointer-events: none;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
}
.plan__gandalf img { display: block; height: 100%; width: auto; }
/* twinkling sparkles on the staff crystal */
.plan__sparkle {
  position: absolute; width: 26px; height: 26px; z-index: 2; pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0%, #FFE7AE 42%, rgba(255,200,90,0) 72%);
  clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
  filter: drop-shadow(0 0 7px rgba(255,228,150,0.95));
  animation: twinkle 1.9s ease-in-out infinite;
}
.plan__sparkle--b { width: 16px; animation-duration: 2.4s; animation-delay: -0.9s; }
.plan__sparkle--c { width: 20px; animation-duration: 2.1s; animation-delay: -1.4s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.12; transform: translate(-50%,-50%) scale(0.35) rotate(0deg); }
  50%      { opacity: 1;    transform: translate(-50%,-50%) scale(1) rotate(45deg); }
}
/* keep free-card content above Owlaf and on the left half */
.plan:not(.plan--premium) > :not(.plan__gandalf):not(.plan__stars) { position: relative; z-index: 1; max-width: 60%; }
/* twinkling starfield behind the free card */
.plan__stars { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.pstar {
  position: absolute; width: var(--s, 2px); height: var(--s, 2px); border-radius: 50%;
  background: var(--cream); box-shadow: 0 0 6px rgba(255,240,220,0.55);
  animation: pstarTwinkle var(--d, 3s) ease-in-out infinite;
}
.pstar--amber { background: var(--amber); box-shadow: 0 0 6px rgba(255,181,71,0.6); }
.pstar--violet { background: var(--violet); box-shadow: 0 0 6px rgba(180,136,255,0.6); }
@keyframes pstarTwinkle { 0%,100% { opacity: 0.15; transform: scale(0.6); } 50% { opacity: 1; transform: scale(1); } }
.plan__quote {
  margin-top: auto; padding-top: 22px; border-top: 1px solid var(--cream-soft);
}
.plan__quote p { font-family: var(--body); font-style: italic; font-size: 14px; line-height: 1.4; color: var(--cream); }
.plan__quote cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim); }
.plan--premium {
  border-color: rgba(255,181,71,0.7);
  background: linear-gradient(155deg, #FFCB6B 0%, #F59A1E 100%);
  color: var(--bg);
  box-shadow: 0 22px 50px rgba(245,154,30,0.3);
}
.plan--premium .plan__tag--prem { background: var(--bg); color: var(--amber); }
.plan--premium .plan__list li,
.plan--premium .plan__list li b { color: var(--bg); }
.plan--premium .plan__price b { color: var(--coral); }
.plan--premium .plan__price span,
.plan--premium .plan__sub { color: rgba(27,15,46,0.74); }
.plan--premium .plan__sub .brand { color: var(--bg) !important; }
.plan--premium .plan__list li::before { background: rgba(27,15,46,0.16); color: var(--bg); }
.plan--premium .plan__glow { background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 62%); }
/* falling coins inside the Owly+ card */
.plan__coins { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.coin {
  position: absolute; top: 0; height: auto; will-change: transform;
  animation: coinFall linear infinite;
  filter: drop-shadow(0 4px 6px rgba(120,66,8,0.4));
}
@keyframes coinFall {
  0%   { transform: translateY(-50px) rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(660px) rotate(380deg); opacity: 0; }
}
/* keep card content above the coin rain */
.plan--premium > :not(.plan__coins):not(.plan__glow) { position: relative; z-index: 1; }
.plan__glow { position: absolute; top: -30%; right: -20%; width: 70%; height: 80%; background: radial-gradient(circle, rgba(255,181,71,0.4), transparent 65%); filter: blur(50px); }
.plan__owl { position: absolute; top: 20px; right: 18px; width: 80px; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.4)); animation: floaty 6s ease-in-out infinite; }

/* ═══════ STORY ═══════ */
.story__card { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 40px; align-items: center; padding: clamp(36px, 5vw, 60px); background: linear-gradient(150deg, var(--bg-mid), var(--bg-edge)); border: 1px solid var(--cream-soft); border-radius: 30px; position: relative; overflow: hidden; }
.story__owl { display: grid; place-items: center; }
.story__owl img { width: 80%; max-width: 230px; animation: floaty 6.5s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); }
.story__txt .mono { display: block; margin-bottom: 16px; }
.story__txt .section-title { margin-bottom: 22px; }
.story__txt p { color: var(--cream-dim); font-size: 15.5px; line-height: 1.6; margin-bottom: 14px; max-width: 520px; }
.story__txt strong { color: var(--cream); font-weight: 600; }
.story__stack { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.story__stack span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; padding: 8px 14px; border-radius: 999px; background: rgba(255,240,220,0.05); border: 1px solid var(--cream-soft); color: var(--cream-dim); transition: all 0.25s ease; }
.story__stack span:hover { color: var(--amber); border-color: rgba(255,181,71,0.4); transform: translateY(-2px); }

/* ═══════ CTA ═══════ */
.cta { text-align: center; }
.cta__inner { position: relative; padding: clamp(50px, 8vw, 90px) clamp(24px, 5vw, 60px); border-radius: 34px; background: radial-gradient(circle at 50% 0%, rgba(255,110,74,0.18), transparent 60%), var(--bg-mid); border: 1px solid var(--cream-soft); overflow: hidden; }
.cta__owl { position: relative; width: clamp(150px, 18vw, 200px); margin: 0 auto 14px; }
.cta__title { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6.5vw, 76px); letter-spacing: -0.045em; line-height: 0.95; margin-bottom: 16px; }
.cta__inner > p { color: var(--cream-dim); font-size: 16px; max-width: 460px; margin: 0 auto 30px; line-height: 1.5; }
.cta__actions { display: flex; justify-content: center; }
.cta__ios { margin-top: 24px; font-size: 10px; color: var(--cream-dim); }

/* ═══════ FOOTER ═══════ */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 60px clamp(20px, 5vw, 56px) 50px; border-top: 1px solid var(--cream-soft); }
.footer__top { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; flex-wrap: wrap; }
.footer__tag { font-family: var(--display); font-style: italic; color: var(--cream-dim); font-size: 16px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 26px; margin-bottom: 34px; }
.footer__links a { font-size: 14px; color: var(--cream-dim); transition: color 0.2s; }
.footer__links a:hover { color: var(--amber); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 10px; padding-top: 24px; border-top: 1px solid var(--cream-soft); }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 30px; text-align: left; padding-top: 130px; }
  .hero__stage { min-height: 480px; margin-top: 10px; }
  .stats__grid { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 26px 0 0; border-left: none; border-top: 2px solid var(--cream-soft); }
  .stat:first-child { padding-top: 0; border-top: none; }
  .stats__head, .how__head, .modes__head, .pricing__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stats__owl, .how__owl, .modes__owl, .pricing__owl { width: auto; height: clamp(82px, 23vw, 124px); }
  .features__grid, .modes__grid { grid-template-columns: 1fr; }
  .feat--wide { grid-row: auto; }
  .pricing__grid { grid-template-columns: 1fr; }
  .story__card { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .story__owl img { max-width: 170px; }
  .story__txt p { margin-left: auto; margin-right: auto; }
  .story__stack { justify-content: center; }
  .nav__links { display: none; }
  .hero__fan { --fan: 0.96; }
  .hero__chip { display: none; } /* flourish desktop uniquement */
}
/* narrow 2-col desktop: shrink fan so it stays inside its column */
@media (max-width: 1080px) and (min-width: 981px) {
  .hero__fan { --fan: 0.76; }
}
@media (max-width: 560px) {
  section { padding-left: 18px; padding-right: 18px; }
  .hero__title { font-size: clamp(44px, 14vw, 64px); }
  /* CTA bêta = action principale du site → on la garde visible, compacte */
  .nav { gap: 12px; }
  .nav__cta { margin-left: auto; padding: 10px 14px; font-size: 13px; }
  .nav__cta svg { display: none; }
  .hero__owly { width: 78px; top: -2%; }
  .hero__stats { gap: 16px; }
  .hstat b { font-size: 22px; }
  .store { padding: 10px 16px 10px 14px; }
  .store__txt b { font-size: 16px; }
  /* tighten the fan so it fits a phone screen */
  .hero__fan { --fan: 0.66; }
  .phone--left  { transform: translate(-40%, 24px) rotate(-11deg) scale(0.84); }
  .phone--right { transform: translate(40%, 24px) rotate(11deg) scale(0.84); }
  .gphone { width: 196px; }
  .footer__legal { flex-direction: column; }
  .hero__note { display: none; } /* trop serré sur mobile */
}

/* ═══════════════════════════════════════════
   MODALE — REJOINDRE LA BÊTA
   ═══════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal.open { opacity: 1; visibility: visible; }
body.modal-open { overflow: hidden; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 4, 20, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  text-align: center;
  padding: 38px 34px 30px;
  border-radius: 28px;
  background: linear-gradient(165deg, var(--bg-mid), var(--bg-edge));
  border: 1px solid var(--cream-line);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 240, 220, 0.06);
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.modal.open .modal__dialog { transform: none; opacity: 1; }

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-soft);
  border: 1px solid var(--cream-line);
  color: var(--cream);
  font-size: 13px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.modal__close:hover { background: rgba(255, 240, 220, 0.16); transform: rotate(90deg); }

.modal__owl { width: 84px; height: auto; margin: 0 auto 14px; display: block; }
.modal__eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}
.modal__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 10px;
}
.modal__sub {
  color: var(--cream-dim);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 auto 24px;
  max-width: 34ch;
}

.modal__form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.field input {
  font-family: var(--body);
  font-size: 16px; /* 16px min : empêche le zoom auto d'iOS Safari au focus */
  color: var(--cream);
  background: rgba(255, 240, 220, 0.05);
  border: 1.5px solid var(--cream-line);
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.field input::placeholder { color: rgba(255, 240, 220, 0.34); }
.field input:focus {
  outline: none;
  border-color: var(--coral);
  background: rgba(255, 240, 220, 0.07);
}
.field input.invalid { border-color: var(--coral); background: rgba(255, 110, 74, 0.08); }
.field__hint {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--cream-dim);
}
.field__hint strong { color: var(--amber); }

.modal__error {
  margin: -4px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 110, 74, 0.12);
  border: 1px solid rgba(255, 110, 74, 0.3);
  color: #FF9477;
  font-size: 13px;
  line-height: 1.4;
}

.modal__submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  padding: 16px 24px;
  font-size: 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-cta);
}
.modal__fineprint {
  text-align: center;
  font-size: 12px;
  color: var(--cream-dim);
  margin: 16px 0 0;
}

.modal__success { text-align: center; padding: 16px 0 6px; }
.modal__success img { width: 92px; height: auto; margin: 0 auto 22px; display: block; }
.modal__success h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.modal__success p {
  color: var(--cream-dim);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 auto 22px;
  max-width: 36ch;
}
.modal__success strong { color: var(--amber); }

@media (prefers-reduced-motion: reduce) {
  .modal, .modal__dialog, .modal__close { transition: none; }
}
