:root{
  
  --lav-50:  #F6F4FD;
  --lav-100: #EEEBFB;
  --lav-200: #E3DFF8;
  --lav-300: #D4CFF2; 
  --lav-400: #BBB3E8;
  --lav-500: #9D93D9;
  --lav-600: #7F73C4;
  --lav-700: #6457A6;
  --lav-800: #463C7C;
  --lav-900: #2C2652;
  --lav-950: #1C1838;

  --bg: var(--lav-50);
  --surface: #FFFFFF;
  --ink: var(--lav-900);
  --ink-2: #554D78;
  --muted: #8981A6;
  --line: #E6E2F6;
  --line-2: #D7D1F0;

  --blush: #F9DCE8;
  --blush-ink: #C04F83;
  --butter: #FFF1C9;

  --grad-title: linear-gradient(100deg, var(--lav-700) 0%, var(--lav-500) 55%, #C79BD8 100%);

  --radius: 26px;
  --shadow-sm: 0 1px 2px rgba(44,38,82,.04), 0 6px 16px -6px rgba(44,38,82,.08);
  --shadow: 0 2px 6px rgba(44,38,82,.04), 0 24px 48px -18px rgba(100,87,166,.30);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after{ box-sizing: border-box; }

html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.noScroll{ overflow: hidden; }

[hidden]{ display: none !important; }
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; }
code{ font-family: var(--font-mono); }

:focus-visible{ outline: 2px solid var(--lav-600); outline-offset: 3px; border-radius: 10px; }

.container{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}


.kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lav-200);
  color: var(--lav-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker::before{ content: "\2726"; font-size: 10px; }

.h2,
.heroTitle,
.ctaCard h2{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
}
.h2{ font-size: clamp(32px, 4.4vw, 50px); line-height: 1.02; }

.serif{
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--lav-600);
}


.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(1px); }

.btnDark{
  background: var(--lav-900);
  color: #fff;
  box-shadow: 0 4px 0 var(--lav-950), 0 14px 24px -12px rgba(28,24,56,.6);
}
.btnDark:hover{ background: var(--lav-800); }

.btnLight{
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: 0 4px 0 var(--lav-200);
}
.btnLight:hover{ border-color: var(--lav-400); }

.btnBlock{ width: 100%; }

.pillBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s var(--ease), background-color .2s ease;
}
.pillBtn:hover{ transform: translateY(-1px); }
.pillDark{ background: var(--lav-900); color: #fff; }
.pillSoft{ background: var(--lav-100); color: var(--ink); }


.topbar{
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 0 16px;
}
.topbarInner{
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1080px;
  height: 62px;
  margin: 12px auto 0;
  padding: 0 10px 0 12px;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
}
.brand{ display: inline-flex; align-items: center; gap: 9px; }
.brandMark{
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--lav-300);
}
.brandMark img{ width: 26px; height: 26px; filter: brightness(.55) saturate(1.4); }
.brandText{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.04em;
}

.nav{ display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav a{
  padding: 8px 13px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color .2s ease, color .2s ease;
}
.nav a:hover{ color: var(--ink); background: var(--lav-100); }
.nav a.active{ color: var(--lav-800); background: var(--lav-200); }

.topbarActions{ display: flex; align-items: center; gap: 8px; }


.topbarActions .auth-user-chip{
  background: var(--lav-100);
  color: var(--ink);
  padding: 0 14px 0 5px;
}
.auth-user-chip .auth-avatar{ border-color: var(--line) !important; background: var(--lav-200) !important; }
.admin-panel-link::after{ color: var(--lav-700); }


.auth-profile-card,
.global-welcome-toast-card,
.welcome-toast-card{
  background: rgba(255,255,255,.98) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
  box-shadow: var(--shadow) !important;
}
.auth-profile-username{ color: var(--muted) !important; }
.auth-profile-avatar{ border-color: var(--line) !important; background: var(--lav-200) !important; }
.auth-profile-action{ color: var(--ink) !important; background: var(--bg) !important; border-color: var(--line) !important; }
.auth-profile-action.danger{ background: var(--blush) !important; color: var(--blush-ink) !important; }


.menuBtn{
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menuBtn span{
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.menuBtn.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.menuBtn.is-open span:nth-child(2){ opacity: 0; }
.menuBtn.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.mobileMenu{ position: fixed; inset: 0; z-index: 80; }
.mobileMenuOverlay{
  position: absolute;
  inset: 0;
  background: rgba(44,38,82,.24);
  opacity: 0;
  transition: opacity .25s ease;
}
.mobileMenuPanel{
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  max-width: 420px;
  margin-left: auto;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(-12px) scale(.98);
  transform-origin: top right;
  opacity: 0;
  transition: transform .3s var(--ease), opacity .25s ease;
}
.mobileMenu.is-open .mobileMenuOverlay{ opacity: 1; }
.mobileMenu.is-open .mobileMenuPanel{ transform: none; opacity: 1; }
.mobileMenuTop{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mobileMenuTitle{ font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.menuClose{
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
}
.mobileNav{ display: grid; gap: 2px; margin-bottom: 14px; }
.mobileNav a{ padding: 12px 14px; border-radius: 14px; font-weight: 600; color: var(--ink-2); }
.mobileNav a:hover,
.mobileNav a.active{ background: var(--lav-100); color: var(--ink); }
.mobileMenuCtas{ display: grid; gap: 8px; }
.mobileMenuCtas .pillBtn{ min-height: 48px; }


.hero{
  position: relative;
  margin-top: -74px;
  padding: 140px 0 64px;
  background:
    radial-gradient(closest-side, rgba(212,207,242,.95), rgba(212,207,242,0)) 85% 60% / 800px 640px no-repeat,
    radial-gradient(rgba(127,115,196,.16) 1.2px, transparent 1.3px) 0 0 / 22px 22px,
    var(--bg);
  overflow: hidden;
}
.heroBadgeRow{ display: flex; justify-content: center; }
.heroGrid{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 0;
  margin-top: 28px;
}
.heroCopy{ position: relative; z-index: 2; }

.newBadge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color .2s ease, transform .2s var(--ease);
}
.newBadge:hover{ border-color: var(--lav-400); transform: translateY(-1px); }
.newBadge i{ font-size: 12px; color: var(--lav-600); }
.newBadgeTag{
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lav-300);
  color: var(--lav-900);
  font-size: 12px;
  font-weight: 700;
}

.heroTitle{
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: .92;
  letter-spacing: -.045em;
}
.heroTitle .serif{ font-size: 1.04em; }
.heroTitle .line{ display: block; white-space: nowrap; }
@media (max-width: 520px){ .heroTitle .line{ white-space: normal; } }
.hl{
  position: relative;
  display: inline-block;
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.heroLead{
  max-width: 500px;
  margin: 16px 0 20px;
  color: var(--ink-2);
  font-size: 18px;
}


.cmdBar{
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(420px, 100%);
  padding: 8px 8px 8px 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.cmdBarBot{
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--lav-300);
}
.cmdBarBot img{ width: 20px; height: 20px; filter: brightness(.55) saturate(1.4); }
.cmdBarText{ flex: 1; font-family: var(--font-mono); font-size: 16px; }
.heroWord{ color: var(--lav-700); font-weight: 700; }
.caret{
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 3px;
  vertical-align: -3px;
  background: var(--lav-600);
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink{ 50%{ opacity: 0; } }
.cmdBarSend{
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--lav-900);
  color: #fff;
  font-size: 13px;
}

.heroCtas{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }


.boxStage{
  --u: 1;
  position: relative;
  height: calc(560px * var(--u));
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.boxGlow{
  position: absolute;
  left: 50%;
  bottom: calc(70px * var(--u));
  width: calc(420px * var(--u));
  height: calc(420px * var(--u));
  margin-left: calc(-210px * var(--u));
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(212,207,242,0));
}
.roxibox{
  position: absolute;
  left: 50%;
  bottom: calc(50% - 108px * var(--u));
  z-index: 6;
  width: calc(200px * var(--u));
  margin-left: calc(-100px * var(--u));
  transform-origin: 50% 60%;
  filter: drop-shadow(0 18px 22px rgba(70,60,124,.28));
  transition: opacity .3s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}

.boxStage[data-state="open"] .roxibox,
.boxStage[data-state="stacked"] .roxibox,
.boxStage:not([data-state]) .roxibox{
  opacity: 0;
  transform: scale(1.4);
  transition: opacity .28s ease, transform .3s ease-out;
  pointer-events: none;
}
.boxStage[data-state="closed"] .roxibox{ animation: boxIdle 1.4s ease-in-out infinite; }
.boxStage[data-state="shake"] .roxibox{ animation: boxShake .62s linear; }
@keyframes boxIdle{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}
@keyframes boxShake{
  0%{ transform: rotate(0) }
  10%{ transform: rotate(-7deg) translateX(-4px) }
  20%{ transform: rotate(6deg) translateX(4px) }
  30%{ transform: rotate(-8deg) translateX(-5px) scale(1.02) }
  40%{ transform: rotate(7deg) translateX(5px) }
  50%{ transform: rotate(-9deg) translateX(-6px) scale(1.04) }
  60%{ transform: rotate(9deg) translateX(6px) }
  70%{ transform: rotate(-10deg) translateX(-6px) scale(1.06) }
  80%{ transform: rotate(10deg) translateX(6px) }
  90%{ transform: rotate(-6deg) scale(1.08, .94) }
  100%{ transform: rotate(0) scale(1.1, .9) }
}
@keyframes boxPop{
  0%{ transform: scale(1.12, .88); }
  60%{ transform: scale(.94, 1.08) translateY(-6px); }
  100%{ transform: none; }
}

.boxCards{ position: absolute; inset: 0; z-index: 5; }
.bCard{
  --tx: 0px; --ty: 0px; --r: 0deg; --sc: 1;
  position: absolute;
  left: 50%;
  bottom: calc(150px * var(--u));
  width: calc(286px * var(--u));
  margin-left: calc(-143px * var(--u));
  transform: translate(calc(var(--tx) * var(--u)), calc(var(--ty) * var(--u))) rotate(var(--r)) scale(var(--sc));
  transform-origin: 50% 120%;
  filter: drop-shadow(0 14px 18px rgba(70,60,124,.28));
  transition:
    transform .9s cubic-bezier(.34, 1.4, .64, 1) calc(var(--k, 0) * 90ms),
    opacity .4s ease calc(var(--k, 0) * 90ms);
}
.bCard[data-pos="0"]{ --k: 0; z-index: 1; }
.bCard[data-pos="1"]{ --k: 1; z-index: 2; }
.bCard[data-pos="2"]{ --k: 2; z-index: 4; }
.bCard[data-pos="3"]{ --k: 3; z-index: 2; }
.bCard[data-pos="4"]{ --k: 4; z-index: 1; }


.boxStage[data-state="open"] .bCard[data-pos="0"],
.boxStage:not([data-state]) .bCard[data-pos="0"]{ --tx: 0px;    --ty: 16px;  --r: -22deg; }
.boxStage[data-state="open"] .bCard[data-pos="1"],
.boxStage:not([data-state]) .bCard[data-pos="1"]{ --tx: 0px;    --ty: 0px;   --r: -11deg; }
.boxStage[data-state="open"] .bCard[data-pos="2"],
.boxStage:not([data-state]) .bCard[data-pos="2"]{ --tx: 0px;    --ty: -14px; --r: 0deg; --sc: 1.05; }
.boxStage[data-state="open"] .bCard[data-pos="3"],
.boxStage:not([data-state]) .bCard[data-pos="3"]{ --tx: 0px;    --ty: 0px;   --r: 11deg; }
.boxStage[data-state="open"] .bCard[data-pos="4"],
.boxStage:not([data-state]) .bCard[data-pos="4"]{ --tx: 0px;    --ty: 16px;  --r: 22deg; }


.boxStage[data-state="stacked"] .bCard{ transition-delay: 0s; }
.boxStage[data-state="stacked"] .bCard[data-pos="0"]{ --tx: -10px; --ty: 6px;  --r: -6deg; }
.boxStage[data-state="stacked"] .bCard[data-pos="1"]{ --tx: -5px;  --ty: 2px;  --r: -3deg; }
.boxStage[data-state="stacked"] .bCard[data-pos="2"]{ --tx: 0px;   --ty: -6px; --r: 0deg; --sc: 1.04; }
.boxStage[data-state="stacked"] .bCard[data-pos="3"]{ --tx: 5px;   --ty: 2px;  --r: 3deg; }
.boxStage[data-state="stacked"] .bCard[data-pos="4"]{ --tx: 10px;  --ty: 6px;  --r: 6deg; }


.boxStage[data-state="closed"] .bCard,
.boxStage[data-state="shake"] .bCard{
  --ty: -140px; --sc: .28;
  opacity: 0;
  transition: transform .6s cubic-bezier(.5, 0, .75, 0), opacity .45s ease .15s;
}


.burst{
  position: absolute;
  left: 50%;
  bottom: 50%;
  z-index: 7;
  width: 0;
  height: 0;
}
.burst i{
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 3px;
  background: var(--lav-500);
  opacity: 0;
}
.burst i:nth-child(3n){ background: #F2B84B; }
.burst i:nth-child(3n+1){ background: #F09AC0; }
.boxStage.is-burst .burst i{ animation: spark .7s cubic-bezier(.2, .8, .3, 1) forwards; }
.burst i:nth-child(1){ --a: -80deg; }
.burst i:nth-child(2){ --a: -55deg; }
.burst i:nth-child(3){ --a: -30deg; }
.burst i:nth-child(4){ --a: -5deg; }
.burst i:nth-child(5){ --a: -105deg; }
.burst i:nth-child(6){ --a: -130deg; }
.burst i:nth-child(7){ --a: -155deg; }
.burst i:nth-child(8){ --a: -180deg; }
@keyframes spark{
  0%{ opacity: 1; transform: rotate(var(--a)) translateX(0) scale(1); }
  100%{ opacity: 0; transform: rotate(var(--a)) translateX(150px) scale(.3) rotate(90deg); }
}

.sticker{
  position: absolute;
  z-index: 4;
  padding: 7px 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.02em;
  box-shadow: 0 6px 14px -6px rgba(44,38,82,.35);
  animation: bob 4s ease-in-out infinite;
}
.st1{ top: 30px; left: 0; background: var(--butter); color: #8A5A00; rotate: -8deg; }
.st2{ top: 90px; right: 0; background: var(--blush); color: var(--blush-ink); rotate: 7deg; animation-delay: 1.2s; }
@keyframes bob{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}


.statsRow{
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  margin: 28px auto 0;
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.kpi{ padding: 20px 12px; text-align: center; }
.kpi + .kpi{ border-left: 1px dashed var(--line-2); }
.kpiNum{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -.04em;
  line-height: 1.1;
  color: var(--lav-700);
  font-variant-numeric: tabular-nums;
}
.kpiLabel{ margin-top: 2px; color: var(--muted); font-weight: 600; font-size: 14px; }


.ribbons{
  position: relative;
  height: 130px;
  margin: 10px 0;
  overflow: hidden;
}
.ribbon{
  position: absolute;
  left: -5%;
  right: -5%;
  top: 50%;
  padding: 13px 0;
  overflow: hidden;
}
.ribbonFront{
  z-index: 2;
  background: var(--lav-300);
  color: var(--lav-900);
  transform: translateY(-50%) rotate(-2.5deg);
  box-shadow: 0 10px 24px -14px rgba(70,60,124,.5);
}
.ribbonBack{
  z-index: 1;
  background: var(--lav-900);
  color: var(--lav-200);
  transform: translateY(-50%) rotate(2deg);
}
.ribbonTrack{
  display: flex;
  width: max-content;
  animation: slide 40s linear infinite;
}
.ribbonTrack.rev{ animation-direction: reverse; animation-duration: 46s; }
.ribbonGroup{
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.ribbonBack .ribbonGroup{ font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 22px; letter-spacing: 0; }
.ribbonGroup i{ font-style: normal; opacity: .7; }
@keyframes slide{ to{ transform: translateX(-50%); } }


.section{ padding: 96px 0; }
.sectionTight{ padding: 48px 0 96px; }
.sectionTint{ background: linear-gradient(180deg, var(--lav-100) 0%, var(--lav-50) 100%); }
.sectionHead{
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.sectionHeadRow{
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  margin-bottom: 24px;
}
.sectionLead{ margin: 14px 0 0; color: var(--muted); font-size: 16px; }


.story{
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.story::before{
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 46px;
  border-top: 2px dashed var(--lav-400);
  z-index: 0;
}
.chapter{
  position: relative;
  z-index: 1;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.chapter:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lav-300); }
.chapterTop{ display: flex; align-items: center; justify-content: space-between; }
.chapterNum{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--lav-600);
}
.chapterIcon{
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--lav-300);
  color: var(--lav-800);
  font-size: 18px;
}
.chapter:nth-child(2) .chapterIcon{ background: var(--blush); color: var(--blush-ink); }
.chapter:nth-child(3) .chapterIcon{ background: #DDF1EA; color: #2C8A69; }
.chapter:nth-child(4) .chapterIcon{ background: var(--butter); color: #A06A00; }
.chapterCmd{
  display: inline-block;
  margin-top: 20px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--lav-900);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.chapter h3{
  margin: 14px 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.03em;
}
.chapter p{ margin: 0; color: var(--ink-2); font-size: 15px; }


.deck{ margin-top: 8px; }
.deckSlots{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  padding: 20px 0 6px;
  perspective: 1400px;
}
.slot{
  --tilt: 0deg;
  transform: rotate(var(--tilt));
  transition: transform .4s var(--ease);
}
.slot:nth-child(even){ margin-top: 34px; }
.slot:hover{ transform: rotate(0deg) translateY(-6px); }
.slot.is-flipping{ animation: hop .7s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes hop{
  0%{ transform: rotate(var(--tilt)) translateY(0) scale(1); }
  45%{ transform: rotate(0deg) translateY(-18px) scale(1.07); }
  100%{ transform: rotate(var(--tilt)) translateY(0) scale(1); }
}

.flip{
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  aspect-ratio: 560 / 797;
  perspective: 1200px;
  -webkit-tap-highlight-color: transparent;
}
.flipInner{
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.3, 1.25, .5, 1);
}
.face{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: drop-shadow(0 16px 20px rgba(70,60,124,.25));
}
.faceBack{ transform: rotateY(180deg); }

.shine{
  position: absolute;
  inset: 4% 3%;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.75) 48%, rgba(212,207,242,.6) 52%, transparent 70%) -200% 0 / 250% 100% no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0;
}
.slot.is-flipping .shine{ animation: shine .7s ease .2s; }
@keyframes shine{
  0%{ opacity: 0; background-position: -200% 0; }
  30%{ opacity: 1; }
  100%{ opacity: 0; background-position: 200% 0; }
}

.slotCap{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 14px 0 0;
  min-height: 44px;
  transition: opacity .2s ease, transform .2s ease;
}
.slotCap.is-out{ opacity: 0; transform: translateY(4px); }
.capName{ font-weight: 700; font-size: 15px; }
.capGroup{
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag{
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--lav-200);
  color: var(--lav-700);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.tagChrome{ background: linear-gradient(120deg, #EEF0F5, #D9DCE6 50%, #F5F6FA); color: #4C5266; }
.tagGreen{ background: #DDF1EA; color: #2C8A69; }
.tagRainbow{ background: linear-gradient(90deg, #FFD9D9, #FFF0C2, #D9F5DF, #D6E9FF, #EADCFF); color: #6D4E9C; }

.tagBooster{
  background: #FF4FB3; color: #fff;
  box-shadow: 0 0 6px #FF4FB3, 0 0 14px rgba(255,79,179,.6);
  animation: neonPulse 1.8s ease-in-out infinite;
}
.tagDaydream{ background: #FFF1A8; color: #7D6300; }
.tagHalloween{ background: linear-gradient(120deg, #111, #2B2B2B 55%, #111); color: #F5A524; }
.tagHbd{ background: #FFD3E4; color: #B8467A; }
.tagCup{ background: linear-gradient(120deg, #2FD8C8, #12B3A6); color: #fff; }
.tagGold{ background: linear-gradient(120deg, #FFE38A, #E6B422 50%, #FFE38A); color: #5C3D00; }
.tagDiamond{
  background: linear-gradient(110deg, #7FF3E8, #3FD6D0, #B9E8FF, #9FE6D8, #4FC9E8, #7FF3E8);
  background-size: 300% 100%; color: #0B5F59;
  animation: tagFlow 4s linear infinite;
}
.tagKofi{
  background: linear-gradient(110deg, #FF5E5B, #FF8A6B, #E8364F, #FF5E5B);
  background-size: 250% 100%; color: #fff;
  animation: tagFlow 2.4s linear infinite;
}
.tagLimited{
  background: linear-gradient(110deg, #8A2BE2, #C15CFF, #5B3BFF, #E06BFF, #8A2BE2);
  background-size: 300% 100%; color: #fff;
  box-shadow: 0 0 6px rgba(160,70,255,.7), 0 0 14px rgba(160,70,255,.45);
  animation: tagFlow 3s linear infinite;
}
.tagNight{ background: #8FA3BF; color: #fff; }
.tagPink{ background: #F0436B; color: #fff; }
.tagSpecial{
  background: linear-gradient(110deg, #B9A7F5, #E3B8FF, #9D93D9, #C9B6FF, #B9A7F5);
  background-size: 300% 100%; color: #3A2A7A;
  animation: tagFlow 4s linear infinite;
}
.tagGarden{ background: #CFEBC2; color: #3E7A2E; }
.tagXmas{ background: linear-gradient(90deg, #D7263D 50%, #1F8A4C 50%); color: #fff; }
.tagSnow{ background: #E3F2FF; color: #3D72D6; }
@keyframes tagFlow{ to{ background-position: 250% 0; } }
@keyframes neonPulse{
  0%, 100%{ box-shadow: 0 0 6px #FF4FB3, 0 0 14px rgba(255,79,179,.6); }
  50%{ box-shadow: 0 0 2px #FF4FB3, 0 0 6px rgba(255,79,179,.35); }
}

.deckBar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
}
.deckHint{ margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.deckHint i{ margin-right: 6px; color: var(--lav-500); }
.deckShuffle i{ transition: transform .4s var(--ease); }
.deckShuffle:hover i{ transform: rotate(180deg); }


.duo{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.duo .h2{ font-size: clamp(30px, 3.4vw, 40px); }
.duo > :first-child{ position: sticky; top: 100px; }

.chat{
  margin-top: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.chatTop{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink-2);
}
.chatHash{ color: var(--muted); font-size: 18px; }
.miniTag{
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--butter);
  color: #A06A00;
  font-size: 12px;
  font-weight: 700;
}
.testiCard{
  min-height: 210px;
  padding: 20px 20px 4px;
  transition: opacity .22s ease, transform .22s ease;
}
.testiCard.fadeOut{ opacity: 0; transform: translateY(4px); }
.testiWho{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.testiName{ display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.testiName a{ font-weight: 700; color: var(--lav-700); }
.testiName a:hover{ text-decoration: underline; }
.testiWhen{ font-size: 12px; color: var(--muted); }
.testiStars{ color: #F2B84B; font-size: 12px; white-space: nowrap; }
.testiQuote{
  margin: 10px 0 0;
  padding: 14px 16px;
  border-radius: 4px 18px 18px 18px;
  background: var(--lav-100);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}
.testiDots{ display: flex; gap: 6px; padding: 14px 20px 18px; }
.testiDots span{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--line-2);
  transition: width .3s var(--ease), background-color .3s ease;
}
.testiDots span.on{ width: 22px; background: var(--lav-600); }

.keys{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.key{
  padding: 11px 16px;
  border-radius: 13px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: 0 4px 0 var(--lav-200);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--lav-800);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .2s ease, color .2s ease;
}
.key:hover{ background: var(--lav-50); }
.key:active{ transform: translateY(4px); box-shadow: 0 0 0 var(--lav-200); }
.key.is-active{
  background: var(--lav-900);
  border-color: var(--lav-900);
  color: #fff;
  box-shadow: 0 4px 0 var(--lav-950);
}
.cmdPanel{
  position: relative;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--lav-400);
  box-shadow: var(--shadow-sm);
  transform-origin: top center;
}
.cmdPanel::before{
  content: "";
  position: absolute;
  top: -7px;
  left: var(--arrow, 28px);
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--lav-400);
  border-top: 1px solid var(--lav-400);
  transform: rotate(45deg);
}
.cmdPanel.is-open{ animation: panelIn .28s cubic-bezier(.34, 1.4, .64, 1); }
@keyframes panelIn{ from{ opacity: 0; transform: translateY(-8px) scaleY(.9); } }
.cmdPanelHead{ display: flex; align-items: center; gap: 10px; }
.cmdPanelHead code{ font-size: 16px; font-weight: 700; color: var(--lav-800); }
.cmdPanel p{ margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.cmdCat{
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--lav-100);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.cmdCopy{
  margin-left: auto;
  padding: 6px 11px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--lav-50);
  color: var(--lav-700);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.cmdCopy:hover{ background: var(--lav-200); }
.textLink{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-weight: 700;
  color: var(--lav-700);
}
.textLink i{ font-size: 12px; transition: transform .2s var(--ease); }
.textLink:hover i{ transform: translateX(4px); }

.copyToast{
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--lav-900);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.copyToast.is-visible{ transform: translate(-50%, 0); opacity: 1; }


.pricingGrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.priceCard{
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.priceCard:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.priceCard.featured{
  background: linear-gradient(180deg, var(--lav-300) 0%, #FFFFFF 46%);
  border: 2px solid var(--lav-400);
  box-shadow: var(--shadow);
}
.featuredRibbon{
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lav-900);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.tierBanner{
  width: calc(100% - 20px);
  margin: 10px 10px 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  background: var(--lav-200);
}
.priceBody{ display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }
.priceBody h3{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.03em;
}
.priceLine{ display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.money{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -.05em;
  line-height: 1.05;
  color: var(--ink);
}
.featured .money{ background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.per{ color: var(--muted); font-weight: 600; }
.tierDesc{ margin: 6px 0 16px; color: var(--ink-2); font-size: 15px; }
.benefits{
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 9px;
  flex: 1;
  align-content: start;
}
.benefits li{ position: relative; padding-left: 28px; font-size: 14px; color: var(--ink-2); }
.benefits li::before{
  content: "\2726";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--lav-200);
  color: var(--lav-700);
  font-size: 9px;
}
.benefits b{ color: var(--ink); }
.firstBuy{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -6px 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  background: linear-gradient(115deg, #3FD6D0, #7F73C4, #B9A7F5, #4FB6E8, #9C7BE8, #3FD6D0);
  background-size: 300% 300%;
  animation: iridescent 6s ease-in-out infinite;
  box-shadow: 0 6px 16px -8px rgba(79,182,232,.7);
  text-shadow: 0 1px 2px rgba(44,38,82,.3);
}
.firstBuy::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%) -150% 0 / 200% 100% no-repeat;
  animation: shineSweep 3.2s ease-in-out infinite;
  pointer-events: none;
}
.firstBuy i{ font-size: 16px; color: #fff; }
.firstBuy b{ color: #fff; }
@keyframes iridescent{
  0%, 100%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
}
@keyframes shineSweep{
  0%, 40%{ background-position: -150% 0; }
  100%{ background-position: 150% 0; }
}

.payments{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.payPill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
}


.bigCarousel{
  position: relative;
  border-radius: 32px;
  background: var(--lav-100);
  overflow: hidden;
}
.carBigViewport{ overflow: hidden; }
.carBigTrack{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  will-change: transform;
}
.carBigSlide{
  position: relative;
  flex: 0 0 min(760px, 80vw);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: var(--lav-200);
  transform: scale(.9);
  opacity: .5;
  transition: transform .45s ease, opacity .45s ease;
}
.carBigSlide img{ width: 100%; height: 100%; object-fit: cover; }
.carBigSlide.is-center{ transform: scale(1); opacity: 1; box-shadow: 0 20px 40px -18px rgba(70,60,124,.45); }
.carBigBtn{
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 0 var(--lav-200);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .15s ease;
}
.carBigBtn:active{ transform: translateY(calc(-50% + 3px)); }
.carBigBtn.prev{ left: 14px; }
.carBigBtn.next{ right: 14px; }


.finale{
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 20px;
}
.soonCard{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 32px;
  border-radius: 32px;
  border: 2px dashed var(--lav-400);
  background:
    radial-gradient(rgba(127,115,196,.18) 1.2px, transparent 1.3px) 0 0 / 18px 18px,
    var(--surface);
}
.soonTag{
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--blush-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.soonTitle{
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(54px, 7vw, 84px);
  line-height: .95;
  color: var(--lav-700);
}
.soonCard p{ margin: 10px 0 0; color: var(--ink-2); }

.ctaCard{
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  padding: 40px;
  border-radius: 32px;
  background:
    radial-gradient(70% 120% at 100% 0%, #F4D9EC 0%, rgba(244,217,236,0) 60%),
    var(--lav-300);
  overflow: hidden;
}
.ctaCopy{ position: relative; z-index: 2; max-width: 440px; }
.ctaCard h2{ font-size: clamp(30px, 3.6vw, 44px); line-height: 1; }
.ctaCard .serif{ color: var(--lav-800); }
.ctaCard p{ margin: 12px 0 22px; color: var(--lav-800); font-weight: 500; }
.ctaBtns{ display: flex; flex-wrap: wrap; gap: 10px; }
.ctaCards{
  position: absolute;
  right: 0;
  bottom: -70px;
  width: 300px;
  height: 320px;
}
.ctaCards img{
  position: absolute;
  width: 160px;
  filter: drop-shadow(0 14px 18px rgba(44,38,82,.3));
}
.ctaCards img:first-child{ right: 120px; bottom: 30px; transform: rotate(-12deg); }
.ctaCards img:last-child{ right: 20px; bottom: 50px; transform: rotate(9deg); }


.footer{ padding: 60px 0 26px; background: var(--surface); border-top: 1px solid var(--line); }
.footerGrid{ display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footBrand p{ margin: 14px 0 10px; max-width: 300px; color: var(--muted); font-size: 15px; }
.footMail{ font-weight: 700; color: var(--lav-700); font-size: 14px; }
.footCol{ display: flex; flex-direction: column; gap: 8px; }
.footCol h4{
  margin: 6px 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.02em;
}
.footCol a{ color: var(--muted); font-weight: 600; font-size: 15px; width: fit-content; }
.footCol a:hover{ color: var(--lav-700); }
.footMini{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.footMini i{ color: var(--blush-ink); }


.kofiModal{
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  transition: opacity .25s ease;
}
.kofiModal.is-open{ opacity: 1; }
.kofiModalBackdrop{ position: absolute; inset: 0; background: rgba(44,38,82,.35); }
.kofiModalDialog{
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 26px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(12px) scale(.98);
  transition: transform .3s var(--ease);
}
.kofiModal.is-open .kofiModalDialog{ transform: none; }
.kofiModalClose{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 20px;
  cursor: pointer;
}
.kofiModalHead{ margin-bottom: 16px; padding-right: 40px; }
.kofiModalHead .kicker{ margin-bottom: 8px; }
.kofiModalHead h3{ margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.03em; }
.kofiModalText{ margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.kofiWidgetShell{
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.kofiWidgetState{ position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.kofiWidgetMount{ min-height: 380px; }
.kofiWidgetMount iframe{ width: 100%; min-height: 380px; border: 0; }


.reveal.reveal-ready{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease var(--d, 0s), transform .7s var(--ease) var(--d, 0s);
}
.reveal.reveal-ready.is-in{ opacity: 1; transform: none; }


@media (max-width: 1080px){
  .story{ grid-template-columns: repeat(2, 1fr); }
  .story::before{ display: none; }
  .deckSlots{ grid-template-columns: repeat(4, 1fr); }
  .slot:nth-child(5){ display: none; }
  .duo > :first-child{ position: static; }
  .duo{ grid-template-columns: 1fr; gap: 64px; }
  .finale{ grid-template-columns: 1fr; }
}

@media (max-width: 980px){
  .heroGrid{ grid-template-columns: 1fr; gap: 8px; }
  .heroCopy{ text-align: center; }
  .heroLead{ margin-left: auto; margin-right: auto; }
  .cmdBar{ margin: 0 auto; }
  .heroCtas{ justify-content: center; }
  .nav{ display: none; }
  .menuBtn{ display: inline-flex; }
  .topbarActions{ margin-left: auto; }

  .pricingGrid{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .priceCard.featured{ order: -1; }
  .footerGrid{ grid-template-columns: 1fr 1fr; }
  .footBrand{ grid-column: 1 / -1; }
}

@media (max-width: 720px){
  .boxStage{ --u: .66; }
  .st1{ top: 0; }
  .st2{ top: 40px; }

  .sectionHeadRow{ flex-direction: column; align-items: flex-start; }
  .ctaCards{ display: none; }
  .ctaCard{ min-height: 0; }
  .ctaCopy{ max-width: none; }
}

@media (max-width: 640px){
  .container{ padding: 0 16px; }
  .topbar{ top: 8px; padding: 0 10px; }
  .topbarInner{ margin-top: 8px; height: 58px; }
  .loginTop{ display: none; }
  .topbarActions .loginTop.auth-user-chip{ display: inline-flex; }

  .hero{ padding: 116px 0 48px; }
  .heroTitle{ margin-top: 20px; }
  .heroLead{ font-size: 16px; }
  .heroCtas{ width: 100%; }
  .heroCtas .btn{ width: 100%; }

  .statsRow{ margin-top: 8px; }
  .kpi{ padding: 16px 6px; }
  .kpiLabel{ font-size: 12px; }

  .ribbons{ height: 110px; }
  .ribbonGroup{ font-size: 16px; gap: 20px; padding-right: 20px; }
  .ribbonBack .ribbonGroup{ font-size: 18px; }

  .section{ padding: 68px 0; }
  .sectionHead{ margin-bottom: 32px; }
  .story{ grid-template-columns: 1fr; }
  .deckSlots{ grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .slot:nth-child(4){ display: none; }
  .slot:nth-child(even){ margin-top: 18px; }
  .capName{ font-size: 13px; }
  .slotCap .tag{ font-size: 10px; padding: 2px 7px; }
  .deckBar{ flex-direction: column; align-items: stretch; text-align: center; }

  .carBigTrack{ padding: 14px; gap: 10px; }
  .carBigSlide{ flex-basis: 86vw; border-radius: 16px; }
  .carBigBtn{ width: 38px; height: 38px; }
  .carBigBtn.prev{ left: 8px; }
  .carBigBtn.next{ right: 8px; }

  .soonCard, .ctaCard{ padding: 30px 22px; border-radius: 26px; }
  .ctaBtns .btn{ flex: 1 1 100%; }
}

@media (max-width: 420px){
  .boxStage{ --u: .56; }
}



.pageHero{
  position: relative;
  margin-top: -74px;
  padding: 150px 0 70px;
  text-align: center;
  background:
    radial-gradient(closest-side, rgba(212,207,242,.9), rgba(212,207,242,0)) 50% 100% / 1000px 420px no-repeat,
    radial-gradient(rgba(127,115,196,.16) 1.2px, transparent 1.3px) 0 0 / 22px 22px,
    var(--bg);
  overflow: hidden;
}
.pageHero .container{ position: relative; z-index: 2; }
.pageTitle{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 6.4vw, 80px);
  line-height: .98;
  letter-spacing: -.04em;
}
.pageLead{
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--ink-2);
  font-size: 18px;
}
.pageHeroCard{
  position: absolute;
  z-index: 1;
  width: 170px;
  filter: drop-shadow(0 16px 20px rgba(70,60,124,.25));
  animation: floatCard 6s ease-in-out infinite;
}
.pageHeroCard.left{ left: max(24px, calc(50% - 560px)); top: 150px; rotate: -10deg; }
.pageHeroCard.right{ right: max(24px, calc(50% - 560px)); top: 190px; rotate: 9deg; animation-delay: -3s; }
@keyframes floatCard{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-12px); }
}

.howBuy{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.howBuy li{
  position: relative;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.howNum{
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lav-900);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}
.howBuy h3{
  margin: 16px 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.03em;
}
.howBuy p{ margin: 0; color: var(--ink-2); font-size: 15px; }

.helpCard{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 38px;
  border-radius: 32px;
  background:
    radial-gradient(70% 140% at 100% 0%, #F4D9EC 0%, rgba(244,217,236,0) 60%),
    var(--lav-300);
}
.helpCard h2{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.035em;
  line-height: 1.05;
}
.helpCard .serif{ color: var(--lav-800); }
.helpCard p{ margin: 8px 0 0; color: var(--lav-800); }
.helpCard .ctaBtns{ flex-shrink: 0; }

@media (max-width: 980px){
  .pageHeroCard{ display: none; }
  .howBuy{ grid-template-columns: 1fr; }
  .helpCard{ flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px){
  .pageHero{ padding: 120px 0 52px; }
  .pageLead{ font-size: 16px; }
  .helpCard{ padding: 28px 22px; border-radius: 26px; }
  .helpCard .ctaBtns{ width: 100%; }
}


.legalHero{ padding-bottom: 50px; }
.legalDate{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.legalLayout{ display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.legalToc{
  position: sticky;
  top: 96px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.legalTocTitle{
  margin: 0 0 8px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.legalToc nav{ display: grid; gap: 2px; }
.legalToc nav a{
  display: flex;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.legalToc nav a span{ min-width: 18px; color: var(--lav-500); font-weight: 800; }
.legalToc nav a:hover{ background: var(--lav-100); color: var(--ink); }
.legalOther{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--lav-900);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.legalBody{ display: grid; gap: 16px; }
.legalSection{
  scroll-margin-top: 100px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.legalSection h2{
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -.03em;
}
.legalSection h2 span{ color: var(--lav-500); }
.legalSection p, .legalSection li{ color: var(--ink-2); line-height: 1.7; }
.legalSection p{ margin: 0 0 10px; }
.legalSection p:last-child{ margin-bottom: 0; }
.legalSection ul{ margin: 0 0 10px; padding-left: 20px; }
.legalSection li{ margin-bottom: 6px; }
.legalSection li::marker{ color: var(--lav-500); }
.legalSection b{ color: var(--ink); }
.legalSection a{ color: var(--lav-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legalSection code{ padding: 1px 6px; border-radius: 6px; background: var(--lav-100); color: var(--lav-800); }
@media (max-width: 900px){
  .legalLayout{ grid-template-columns: 1fr; }
  .legalToc{ position: static; }
}
@media (max-width: 640px){
  .legalSection{ padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal.reveal-ready{ opacity: 1; transform: none; }
}
