/* ---------- tokens ---------- */
:root {
  --fuchsia: #C40068;
  --fuchsia-hi: #FF2E93;
  --tangerine: #FF7A1F;
  --cobalt: #2232D9;
  --cobalt-deep: #18229E;
  --lime: #C9F23D;
  --sun: #FFD43B;
  --mint: #36E3C2;
  --ink: #23082F;
  --ink-soft: #4A1D52;
  --white: #FFFFFF;
  --print: #FFFDF9;

  --f-display: "Karantina", "Assistant", sans-serif;
  --f-body: "Assistant", system-ui, sans-serif;
  --f-hand: "Playpen Sans Hebrew", "Assistant", cursive;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-snap: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --shadow-magnet: 0 2px 3px rgba(35, 8, 47, .18), 0 12px 24px -8px rgba(35, 8, 47, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--fuchsia) var(--ink); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--fuchsia);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--fuchsia-hi); border-radius: 12px; border: 3px solid var(--ink); }

.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 99; background: var(--lime); color: var(--ink); padding: .5rem 1rem; border-radius: 99px; font-weight: 700; }
.skip:focus { top: 1rem; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 2; }

/* ---------- stage lights (section colour worlds) ---------- */
section { position: relative; overflow: hidden; isolation: isolate; }
.light-fuchsia { --bg: var(--fuchsia); --fg: var(--white); --fg-soft: #FFE3F1; background: var(--bg); color: var(--fg); }
.light-tangerine { --bg: var(--tangerine); --fg: var(--ink); --fg-soft: #3E1335; background: var(--bg); color: var(--fg); }
.light-cobalt { --bg: var(--cobalt); --fg: var(--white); --fg-soft: #DDE1FF; background: var(--bg); color: var(--fg); }
.light-lime { --bg: var(--lime); --fg: var(--ink); --fg-soft: var(--ink-soft); background: var(--bg); color: var(--fg); }

/* soft spotlight pools, like gels hitting the floor */
.light-fuchsia::before, .light-cobalt::before, .light-tangerine::before, .light-lime::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vmax; height: 70vmax; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.16), transparent 70%);
}
.light-cobalt::before { inset: auto auto -30% -20%; background: radial-gradient(closest-side, rgba(54,227,194,.22), transparent 70%); }
.light-tangerine::before { background: radial-gradient(closest-side, rgba(255,212,59,.45), transparent 70%); }
.light-lime::before { inset: -30% auto auto -15%; background: radial-gradient(closest-side, rgba(255,255,255,.5), transparent 70%); }

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: .86;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
}
.display-md { font-size: clamp(3.4rem, 8vw, 6.6rem); margin-block-end: .3em; }
.display-sm { font-size: clamp(2.8rem, 6vw, 4.6rem); }
.sub { font-size: clamp(1.15rem, 1.6vw, 1.35rem); max-width: 46ch; margin: 0 0 2.2rem; color: var(--fg-soft); }
.sub-ink { color: var(--fg-soft); }
.fine { font-size: .95rem; color: var(--fg-soft); margin: .75rem 0 0; }

/* ---------- buttons: fat foam sticks ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: .7em 1.5em; border-radius: 999px; border: 0;
  font-weight: 800; font-size: 1.15rem; text-decoration: none; line-height: 1.1;
  transition: transform .35s var(--ease-snap), box-shadow .35s var(--ease-out), background-color .2s;
}
.btn .ico { transition: transform .35s var(--ease-snap); }
.btn-foam {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 10px 22px -10px rgba(35,8,47,.6);
}
.btn-foam:hover { transform: translateY(-2px) rotate(-1.5deg) scale(1.03); }
.btn-foam:hover .ico { transform: translateX(-4px); }
.btn-foam:active { transform: scale(.97); }
.btn-ghost { background: rgba(255,255,255,.14); color: var(--fg); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn-wide { width: 100%; }

/* ---------- top bar ---------- */
.topbar {
  position: absolute; inset-inline: 0; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 18px var(--gutter);
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
}
.nav ul { list-style: none; display: flex; gap: clamp(.75rem, 2.5vw, 2rem); margin: 0; padding: 0; }
.nav a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.05rem; padding: .3em 0; background: linear-gradient(var(--lime), var(--lime)) no-repeat 100% 100% / 0 3px; transition: background-size .35s var(--ease-out); }
.nav a:hover { background-size: 100% 3px; }
.nav-cta { color: var(--ink); background: var(--white); text-decoration: none; font-weight: 800; padding: .5em 1.1em; border-radius: 99px; transition: transform .3s var(--ease-snap); }
.nav-cta:hover { transform: rotate(2deg) scale(1.05); }

/* ---------- confetti & foam sticks ---------- */
.confetti { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.confetti i {
  position: absolute; display: block; width: var(--w); height: var(--h); background: var(--c);
  border-radius: var(--r); transform: rotate(var(--rot));
  animation: drift var(--dur) ease-in-out var(--delay) infinite alternate;
}
.confetti-soft i { opacity: .55; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(var(--rot)); }
  to { transform: translate3d(var(--dx), var(--dy), 0) rotate(calc(var(--rot) + 140deg)); }
}

.foam { position: absolute; z-index: 0; width: 30px; border-radius: 99px; pointer-events: none; box-shadow: 0 12px 20px -8px rgba(35,8,47,.45); }
.foam::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 26%; border-radius: 0 0 99px 99px; background: var(--ink); }
.foam-a { height: 260px; background: var(--mint); inset-inline-end: 3%; bottom: -60px; transform: rotate(-24deg); }
.foam-b { height: 200px; background: var(--sun); inset-inline-end: 8%; bottom: -90px; transform: rotate(14deg); }
.foam-c { height: 220px; background: var(--fuchsia-hi); inset-inline-start: -40px; top: 18%; transform: rotate(62deg); z-index: 1; }
.foam-d { height: 240px; background: var(--cobalt); inset-inline-start: 4%; top: -70px; transform: rotate(-18deg); }
.foam-e { height: 190px; background: var(--lime); inset-inline-start: 9%; top: -96px; transform: rotate(22deg); }

/* ---------- HERO ---------- */
.hero {
  min-height: min(100svh, 980px);
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
  padding: 110px var(--gutter) 80px;
  max-width: none;
}
.hero > .hero-copy, .hero > .board-wrap { position: relative; z-index: 2; }
.hero-copy { max-width: 640px; justify-self: end; width: 100%; }
.hero .display { font-size: clamp(4.6rem, 11.5vw, 9.4rem); }
.hero .display .line { display: block; }
.hero .display .line-2 { font-size: .5em; line-height: 1; color: var(--lime); margin-top: .18em; }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; max-width: 34em; margin: 1.6rem 0 2rem; color: var(--fg-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin: 1rem 0 0; font-size: 1rem; font-weight: 600; color: var(--fg-soft); }

/* magnet board */
.board-wrap { justify-self: start; width: 100%; max-width: 560px; perspective: 1400px; }
.board {
  position: relative;
  background: linear-gradient(160deg, #FAFAFB 0%, #ECEDF2 45%, #F6F6F8 60%, #E2E4EB 100%);
  border-radius: 14px;
  padding: 18px 18px 26px;
  box-shadow: 0 0 0 10px #2A0D33, 0 40px 70px -24px rgba(35,8,47,.75);
  transform: rotate(-2.2deg);
}
.board-head { display: flex; justify-content: space-between; align-items: center; color: var(--ink); margin-bottom: 14px; }
.board-title { font-family: var(--f-display); font-size: 2.1rem; line-height: 1; font-weight: 700; }
.board-live { display: inline-flex; align-items: center; gap: .4em; font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.board-live i { width: 9px; height: 9px; border-radius: 50%; background: #F21B5B; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.board-grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; min-height: 300px; }
.demo-tag { position: absolute; top: -40px; inset-inline-end: 6px; font-size: .95rem; font-weight: 800; color: var(--white); }
.board-wrap { position: relative; }
.mini-phone {
  position: absolute; z-index: 4; inset-inline-start: -46px; bottom: -64px; width: 128px; aspect-ratio: 9 / 17;
  background: #120416; border-radius: 22px; padding: 6px; transform: rotate(9deg);
  box-shadow: 0 24px 40px -16px rgba(35,8,47,.8);
}
.mini-screen { position: relative; height: 100%; border-radius: 17px; overflow: hidden; background: #120416; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 8px 6px; }
.mini-screen img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; border: 3px solid var(--print); }
.mini-bar { display: grid; gap: 5px; text-align: center; font-weight: 800; font-size: .72rem; line-height: 1.2; }
.mini-copies { color: #F4DDF0; }
.mini-send { background: var(--fuchsia); color: #fff; border-radius: 99px; padding: .45em 0; }
.mini-phone.sending .mini-screen img { animation: sendUp .9s var(--ease-out); }
.mini-phone.sending .mini-send { animation: tap .5s var(--ease-snap); }
@keyframes sendUp { 0% { transform: none; } 45% { transform: translate(-6px, -40px) scale(.8) rotate(-8deg); opacity: 0; } 46% { transform: none; opacity: 0; } 100% { opacity: 1; } }
@keyframes tap { 40% { transform: scale(.88); background: var(--lime); color: var(--ink); } }

.slot { position: relative; aspect-ratio: 3 / 2.55; }
.slot .magnet { position: absolute; inset: 0 0 auto; transform: rotate(var(--tilt, 0deg)); }
.slot-tall { grid-row: span 2; aspect-ratio: auto; }
.slot-tall .magnet { inset: 1% 2% auto; width: 96%; }
.slot .magnet.is-dropping { animation: snap .9s var(--ease-out) both; }
@keyframes snap {
  0% { transform: translate3d(0, -140%, 0) rotate(calc(var(--tilt, 0deg) - 18deg)) scale(1.25); opacity: 0; filter: blur(4px); }
  55% { opacity: 1; filter: blur(0); }
  70% { transform: translate3d(0, 4%, 0) rotate(calc(var(--tilt, 0deg) + 3deg)) scale(.97); }
  85% { transform: translate3d(0, -1.5%, 0) rotate(var(--tilt, 0deg)) scale(1.01); }
  100% { transform: translate3d(0, 0, 0) rotate(var(--tilt, 0deg)) scale(1); }
}
.slot .magnet.is-leaving { animation: peel .5s var(--ease-out) both; }
@keyframes peel { to { transform: translate3d(-20%, -30%, 0) rotate(-24deg) scale(.9); opacity: 0; } }
.stamp {
  position: absolute; inset-inline-end: -6px; top: -8px; z-index: 3;
  font-weight: 800; font-size: .7rem; line-height: 1; padding: .35em .55em; border-radius: 4px;
  border: 2px solid currentColor; background: rgba(255,255,255,.92); transform: rotate(7deg);
  transition: color .3s, transform .4s var(--ease-snap);
}
.stamp[data-s="0"] { color: #8A6A00; }
.stamp[data-s="1"] { color: var(--cobalt); }
.stamp[data-s="2"] { color: #C2410C; }
.stamp[data-s="3"] { color: #0B7A4B; transform: rotate(-5deg) scale(1.08); }

/* ---------- MAGNET (the system's one unit) ---------- */
.magnet {
  container-type: inline-size;
  position: relative; display: block; width: 100%;
  background: var(--print);
  padding: 5.5% 5.5% 0;
  box-shadow: var(--shadow-magnet);
  border-radius: 3px;
}
.magnet img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1px; }
.magnet[data-orient="portrait"] img { aspect-ratio: 2 / 3; }
.mag-text {
  display: flex; align-items: baseline; justify-content: space-between; gap: 4cqi;
  padding: 3.4cqi 1cqi 4cqi;
  font-family: var(--f-hand); color: var(--ink); line-height: 1.1;
}
.mag-text b { font-weight: 700; font-size: 8.2cqi; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mag-text i { font-style: normal; font-weight: 500; font-size: 5.4cqi; opacity: .8; white-space: nowrap; }

@container (max-width: 220px) {
  .mag-text i { display: none; }
  .mag-text { justify-content: center; }
  .mag-text b { font-size: 10.5cqi; }
}
.magnet[data-frame="none"] { padding: 0; background: transparent; }
.magnet[data-frame="none"] .mag-text { display: none; }
.magnet[data-frame="none"] img { border-radius: 3px; }

.magnet[data-frame="confetti"] {
  background:
    radial-gradient(circle closest-side, var(--fuchsia-hi) 0 92%, transparent 100%) 1.5% 2.5% / 4% 4.6% no-repeat,
    radial-gradient(circle closest-side, var(--sun) 0 92%, transparent 100%) 97% 1.5% / 4.6% 5.3% no-repeat,
    radial-gradient(circle closest-side, var(--mint) 0 92%, transparent 100%) 98.6% 62% / 3.6% 4.2% no-repeat,
    radial-gradient(circle closest-side, var(--cobalt) 0 92%, transparent 100%) 1.2% 74% / 3.4% 4% no-repeat,
    radial-gradient(circle closest-side, var(--tangerine) 0 92%, transparent 100%) 50% 97% / 3.4% 4% no-repeat,
    var(--print);
}
.magnet[data-frame="confetti"] .mag-text b { color: var(--fuchsia); }

.magnet[data-frame="classic"] { padding: 7% 7% 0; background: #FFFFFF; }
.magnet[data-frame="classic"] .mag-text { justify-content: center; flex-direction: column; align-items: center; gap: .6cqi; padding: 3cqi 0 5cqi; }
.magnet[data-frame="classic"] .mag-text b { font-weight: 500; }

.magnet[data-frame="neon"] { background: var(--ink); }
.magnet[data-frame="neon"] img { outline: 1.2cqi solid var(--fuchsia-hi); outline-offset: 0; }
.magnet[data-frame="neon"] .mag-text b { color: var(--lime); }
.magnet[data-frame="neon"] .mag-text i { color: var(--mint); opacity: 1; }

/* candy stripes, like the ribbon on a props box */
.magnet[data-frame="stripes"] { background: repeating-linear-gradient(135deg, var(--fuchsia-hi) 0 14px, var(--sun) 14px 28px); }
.magnet[data-frame="stripes"] .mag-text { background: var(--print); border-radius: 99px; margin: 3.5cqi 2cqi 4.5cqi; padding: 2cqi 5cqi; }

/* the hall after midnight: cobalt with a sun-yellow date */
.magnet[data-frame="night"] { background: var(--cobalt); }
.magnet[data-frame="night"] img { outline: .9cqi solid var(--print); }
.magnet[data-frame="night"] .mag-text b { color: var(--white); }
.magnet[data-frame="night"] .mag-text i { color: var(--sun); opacity: 1; }

/* party-sign lettering instead of handwriting */
.magnet[data-frame="sign"] { background: var(--sun); }
.magnet[data-frame="sign"] .mag-text { font-family: var(--f-display); justify-content: center; align-items: center; gap: 3cqi; padding: 2.4cqi 0 3.2cqi; }
.magnet[data-frame="sign"] .mag-text b { font-size: 11cqi; line-height: .9; }
.magnet[data-frame="sign"] .mag-text i { font-size: 7cqi; font-weight: 700; opacity: 1; }

/* ---------- QUEUE ---------- */
.queue { padding: clamp(80px, 10vw, 140px) 0; }
.queue .display { max-width: 15ch; }
.queue-compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2.5rem); margin: 2.5rem 0 3.5rem; }
.qpanel { margin: 0; border-radius: 28px; padding: clamp(1rem, 2.5vw, 1.8rem); }
.qpanel-old { background: rgba(35, 8, 47, .1); }
.qpanel-new { background: var(--ink); color: var(--white); }
.qart { width: 100%; height: auto; display: block; }
.qpanel figcaption { font-size: 1.08rem; line-height: 1.5; margin-top: 1rem; }
.qpanel figcaption strong { display: block; font-family: var(--f-display); font-size: 2.3rem; line-height: 1; margin-bottom: .3rem; }
.qpanel-old figcaption { color: var(--fg-soft); }
.qpanel-old figcaption strong { color: var(--ink); }
.qpanel-new figcaption { color: #E7D9EB; }
.qpanel-new figcaption strong { color: var(--lime); }

.qcam rect { fill: var(--ink); }
.qcam .lens { fill: var(--sun); }
.qperson { fill: var(--ink); opacity: .78; }
.qperson.bob { animation: bob 1.8s ease-in-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: bottom center; }
.qperson.giveup { fill: rgba(35,8,47,.32); }
@keyframes bob { 50% { transform: translateY(-3px) rotate(var(--lean, 0deg)); } }
.crowd-p { fill: #FFD9EC; }
.crowd-p.c2 { fill: var(--mint); }
.crowd-p.c3 { fill: var(--sun); }
.crowd-phone { fill: #fff; }
.crowd-flash { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; }
.crowd-flash.pop { animation: flash .6s ease-out; }
@keyframes flash { 0% { opacity: .95; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }

.truths { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem); }
.truths li { padding: 1.4rem 0 0; font-size: 1.1rem; color: var(--fg-soft); border-top: 3px solid var(--ink); }
.truth-big { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 4.5vw, 3.6rem); line-height: .95; color: var(--ink); margin-bottom: .35rem; }

/* ---------- HOW ---------- */
.how { padding: clamp(80px, 10vw, 140px) 0; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.how-steps { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.step {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start;
  padding: 1rem 1.1rem; border-radius: 20px;
  transition: background-color .4s var(--ease-out), transform .45s var(--ease-snap);
  cursor: pointer;
}
.step b { display: block; font-family: var(--f-display); font-size: 2.2rem; line-height: 1; margin-bottom: .2rem; }
.step span { color: var(--fg-soft); font-size: 1.05rem; line-height: 1.5; }
.step-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: var(--white); transition: background-color .3s, color .3s, transform .45s var(--ease-snap); }
.step-ico svg { width: 26px; height: 26px; }
.step:hover { background: rgba(255,255,255,.06); }
.step.is-active { background: rgba(255,255,255,.12); transform: translateX(-6px); }
.step.is-active .step-ico { background: var(--sun); color: var(--ink); transform: rotate(-8deg) scale(1.06); }
.step.is-active b { color: var(--sun); }

.step-arrow { position: absolute; width: 30px; height: 36px; inset-inline-start: 30px; bottom: -22px; z-index: 2; overflow: visible; pointer-events: none; }
.step-arrow path { fill: none; stroke: var(--sun); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-motion .step-arrow path { stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease-out) .5s; }
.js-motion .step.in .step-arrow path { stroke-dashoffset: 0; }
.marker-arrow { position: absolute; width: 190px; inset-inline-end: -150px; bottom: -40px; overflow: visible; pointer-events: none; }
.marker-arrow path { fill: none; stroke: var(--sun); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-motion .marker-arrow path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) .3s; }
.js-motion .marker-arrow.drawn path { stroke-dashoffset: 0; }

/* phone */
.phone-stage { display: grid; justify-items: center; gap: 1rem; }
.phone {
  position: relative; width: min(330px, 86vw); aspect-ratio: 9 / 18.6;
  background: #120416; border-radius: 48px; padding: 12px;
  box-shadow: inset 0 0 0 2px #3B1B44, 0 50px 80px -30px rgba(5, 6, 60, .8);
  transform: rotate(3deg);
}
.phone-notch { position: absolute; top: 20px; left: 50%; width: 96px; height: 26px; background: #120416; border-radius: 99px; transform: translateX(-50%); z-index: 5; }
.phone-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #FFF4FA; color: var(--ink); }
.phone-caption { margin: 0; font-size: 1rem; font-weight: 700; color: var(--white); }

.ps { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 58px 18px 22px; gap: 14px;
  opacity: 0; visibility: hidden; transform: translateX(-30px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s .5s; }
.ps.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s; }
.ps-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1rem; min-height: 32px; }
.ps-back { background: none; border: 0; padding: .3em 0; font-weight: 700; font-size: .92rem; color: var(--fuchsia); }
.ps-next { margin-top: auto; min-height: 54px; border: 0; border-radius: 99px; background: var(--fuchsia); color: #fff; font-weight: 800; font-size: 1.1rem; transition: transform .3s var(--ease-snap), background-color .2s; }
.ps-next:hover { background: #B8005F; transform: scale(1.02); }
.ps-next:active { transform: scale(.97); }

.ps-cam { background: #120416; color: #fff; }
.ps-cam .ps-top { color: #fff; font-size: .95rem; justify-content: center; }
.viewfinder { position: relative; flex: 1; border-radius: 18px; overflow: hidden; display: grid; place-items: center; }
.viewfinder img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transform: scale(1.04); }
.vf-corner { position: absolute; width: 28px; height: 28px; border: 4px solid #fff; z-index: 2; }
.vf-corner.c1 { top: 22%; right: 8%; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.vf-corner.c2 { top: 22%; left: 8%; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.vf-corner.c3 { bottom: 22%; right: 8%; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.vf-corner.c4 { bottom: 22%; left: 8%; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.vf-hint { position: absolute; bottom: 8%; z-index: 2; background: rgba(18,4,22,.66); padding: .3em .8em; border-radius: 99px; font-size: .82rem; font-weight: 700; }
.cam-controls { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px 2px; }
.cam-flip { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; }
.cam-flip svg { width: 22px; height: 22px; }
.cam-gallery { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; border: 2px solid #fff; }
.cam-gallery img { width: 100%; height: 100%; object-fit: cover; }
.shutter { width: 76px; height: 76px; border-radius: 50%; border: 5px solid #fff; background: transparent; padding: 5px; }
.shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--fuchsia-hi); transition: transform .2s var(--ease-snap); }
.shutter:hover span { transform: scale(.92); }
.shutter:active span { transform: scale(.8); }
.phone.flash::after { content: ""; position: absolute; inset: 12px; border-radius: 38px; background: #fff; z-index: 9; animation: camflash .45s ease-out forwards; pointer-events: none; }
@keyframes camflash { from { opacity: 1; } to { opacity: 0; } }

.ps-magnet-slot { padding: 10px 6px 0; }
.magnet-phone { transform: rotate(-2deg); }
.magnet-phone[data-orient="portrait"] { width: 64%; margin-inline: auto; }
.frame-chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.frame-chips button { min-height: 44px; padding: 0; border-radius: 12px; border: 2px solid #EBC6DA; background: #fff; font-weight: 700; font-size: .8rem; transition: all .25s var(--ease-out); }
.frame-chips button[aria-checked="true"] { border-color: var(--fuchsia); background: var(--fuchsia); color: #fff; transform: translateY(-2px); }

.copies { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; }
.step-btn { width: 56px; height: 56px; border-radius: 50%; border: 0; background: #FFD7EA; color: var(--fuchsia); display: grid; place-items: center; transition: transform .25s var(--ease-snap); }
.step-btn svg { width: 24px; height: 24px; }
.step-btn:active { transform: scale(.88); }
.step-btn:disabled { opacity: .35; cursor: not-allowed; }
.copies-num { font-family: var(--f-display); font-weight: 700; font-size: 6.4rem; line-height: .8; min-width: 1ch; text-align: center; color: var(--fuchsia); }
.copies-num.bump { animation: bump .35s var(--ease-snap); }
@keyframes bump { 40% { transform: scale(1.25) rotate(-6deg); } }
.copies-people { display: flex; justify-content: center; gap: 4px; min-height: 30px; color: var(--ink); }
.copies-people svg { width: 28px; height: 28px; animation: pop .35s var(--ease-snap) both; }
@keyframes pop { from { transform: scale(0); } }
.copies-hint { text-align: center; margin: 0; font-weight: 700; color: var(--ink-soft); }
.consent { display: flex; align-items: center; gap: .55em; font-weight: 700; font-size: .95rem; margin-top: 8px; cursor: pointer; }
.consent input { width: 22px; height: 22px; accent-color: var(--fuchsia); }
.consent-fine { margin: -6px 0 0; font-size: .8rem; color: #6E4F76; line-height: 1.4; }

.ticket { margin-top: 6px; background: var(--ink); color: #fff; border-radius: 22px; padding: 14px; display: flex; align-items: center; gap: 14px; }
.ticket-thumb { width: 64px; aspect-ratio: 2 / 3; object-fit: cover; border: 3px solid var(--print); border-radius: 4px; transform: rotate(-4deg); flex: none; }
.ticket-text { display: grid; gap: 4px; }
.ticket-text b { font-family: var(--f-display); font-size: 2rem; line-height: .95; color: var(--lime); }
.ticket-text span { font-size: .9rem; color: #E2C5E8; }
.status { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.status li { display: flex; align-items: center; gap: .6em; font-weight: 700; font-size: 1rem; color: #7A5A80; transition: color .3s; }
.status li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 3px solid currentColor; flex: none; transition: all .3s var(--ease-snap); }
.status li.done { color: var(--ink); }
.status li.done::before { background: var(--fuchsia); border-color: var(--fuchsia); }
.status li.now { color: var(--fuchsia); }
.status li.now::before { animation: ring 1s ease-in-out infinite; }
.status li[data-s="3"].done { color: #0B7A4B; }
.status li[data-s="3"].done::before { background: #0FA968; border-color: #0FA968; transform: scale(1.2); }
@keyframes ring { 50% { transform: scale(1.35); } }
.ps-again { background: var(--ink); }
.ps-again:hover { background: #3B1146; }

/* ---------- COUPLE ---------- */
.couple { padding: clamp(80px, 10vw, 140px) 0; }
.couple .display { color: var(--ink); }
.designer { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.designer-controls { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 800; font-size: 1rem; padding: 0; }
.field input {
  width: 100%; min-height: 56px; padding: .6em 1em; border-radius: 16px;
  border: 3px solid var(--ink); background: #fff; color: var(--ink); font-size: 1.15rem; font-weight: 600;
  transition: box-shadow .25s var(--ease-out), border-color .2s;
}
.field input::placeholder { color: #7D6582; opacity: 1; }
.field input:focus { outline: none; box-shadow: 0 0 0 5px rgba(196, 0, 104, .35); border-color: var(--fuchsia); }
.field input[aria-invalid="true"] { border-color: #B00020; box-shadow: 0 0 0 4px rgba(176, 0, 32, .2); }
.swatches { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.swatches input { position: absolute; opacity: 0; pointer-events: none; }
.sw {
  display: inline-flex; align-items: center; min-height: 48px; padding: .4em 1.1em; border-radius: 99px; font-weight: 800; cursor: pointer;
  border: 3px solid var(--ink); background: #fff; transition: transform .3s var(--ease-snap), background-color .2s, color .2s;
}
.swatches input:checked + .sw { background: var(--ink); color: var(--lime); transform: rotate(-3deg) scale(1.05); }
.swatches input:focus-visible + .sw { outline: 3px solid var(--fuchsia); outline-offset: 3px; }
.sw-stripes { background: repeating-linear-gradient(135deg, #FFD7EA 0 8px, #FFF3C4 8px 16px); }
.sw-confetti { background: radial-gradient(circle at 20% 30%, var(--fuchsia-hi) 0 3px, transparent 4px), radial-gradient(circle at 85% 70%, var(--cobalt) 0 3px, transparent 4px), #fff; }
.designer-preview { display: grid; justify-items: center; gap: 1rem; }
.magnet-xl { max-width: 560px; transform: rotate(2.5deg); transition: transform .5s var(--ease-snap), max-width .5s var(--ease-out); }
.magnet-xl[data-orient="portrait"] { max-width: 340px; transform: rotate(-2deg); }
.magnet-xl[data-size="standard"] { max-width: 460px; }
.magnet-xl[data-size="standard"][data-orient="portrait"] { max-width: 290px; }
.magnet-xl[data-size="standard"] img { aspect-ratio: 4 / 3; }
.magnet-xl[data-size="standard"][data-orient="portrait"] img { aspect-ratio: 3 / 4; }
.magnet-xl.wiggle { animation: wiggle .5s var(--ease-snap); }
@keyframes wiggle { 30% { transform: rotate(-1.5deg) scale(1.02); } 100% { transform: rotate(2.5deg); } }
.size-note { font-weight: 700; color: var(--ink-soft); font-size: .98rem; text-align: center; }

.album { margin-top: clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.album-copy p { font-size: 1.2rem; max-width: 36ch; color: var(--fg-soft); }
.album-copy .display { margin-bottom: .4em; }
.album-fan { position: relative; height: clamp(260px, 30vw, 380px); }
.album-fan img {
  position: absolute; width: 46%; aspect-ratio: 3/2; object-fit: cover; border: 7px solid #fff; border-radius: 4px;
  box-shadow: var(--shadow-magnet); transition: transform .6s var(--ease-snap);
}
.album-fan img.tall { width: 27%; aspect-ratio: 2 / 3; }
.album-fan img:nth-child(1) { top: 4%; right: 0; transform: rotate(-7deg); }
.album-fan img:nth-child(2) { top: -4%; right: 33%; transform: rotate(5deg); z-index: 1; }
.album-fan img:nth-child(3) { top: 6%; left: 0; transform: rotate(-3deg); }
.album-fan img:nth-child(4) { bottom: 0; right: 4%; transform: rotate(4deg); z-index: 2; }
.album-fan img:nth-child(5) { bottom: -6%; right: 50%; transform: rotate(-6deg); z-index: 3; }
.album-fan img:nth-child(6) { bottom: 2%; left: 0; transform: rotate(8deg); }
.album-fan:hover img:nth-child(odd) { transform: rotate(-12deg) translateY(-6px); }
.album-fan:hover img:nth-child(even) { transform: rotate(10deg) translateY(4px); }

/* ---------- INCLUDED ---------- */
.included { padding: clamp(80px, 10vw, 140px) 0; }
.kit { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(1.5rem, 4vw, 3.5rem); row-gap: 2.4rem; counter-reset: kit; }
.kit li { font-size: 1.08rem; color: var(--fg-soft); padding-top: 1.1rem; border-top: 3px solid rgba(255,255,255,.5); position: relative; }
.kit li::before {
  content: ""; position: absolute; top: -10px; inset-inline-start: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 2px 4px rgba(35,8,47,.3);
}
.kit li:nth-child(3n+2)::before { background: var(--sun); }
.kit li:nth-child(3n)::before { background: var(--mint); }
.kit b { display: block; font-family: var(--f-display); font-size: 2.3rem; line-height: 1; color: var(--white); margin-bottom: .35rem; }
.included-foot { margin: 3rem 0 0; font-family: var(--f-hand); font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--lime); max-width: 44ch; line-height: 1.5; transform: rotate(-1deg); }

/* ---------- WHAT IF ---------- */
.whatif { padding: clamp(80px, 10vw, 140px) 0; background: var(--cobalt-deep); }
.whatif-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.whatif .display { font-size: clamp(4rem, 11vw, 9rem); color: var(--sun); position: sticky; top: 40px; }
.faq details { border-bottom: 2px solid rgba(255,255,255,.22); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14);
  background-image: linear-gradient(var(--sun), var(--sun)), linear-gradient(var(--sun), var(--sun));
  background-size: 14px 3px, 3px 14px; background-position: center; background-repeat: no-repeat;
  transition: transform .4s var(--ease-snap), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(255,212,59,.18); }
.faq summary:hover { color: var(--sun); }
.faq details p { margin: 0 0 1.4rem; color: var(--fg-soft); font-size: 1.12rem; max-width: 60ch; }
.faq details[open] p { animation: fadeUp .45s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- BOOK ---------- */
.book { padding: clamp(80px, 10vw, 140px) 0 clamp(90px, 10vw, 150px); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.book .display { font-size: clamp(3.8rem, 9vw, 7.4rem); }
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; counter-reset: p; }
.path li { counter-increment: p; display: grid; grid-template-columns: 34px 1fr; gap: .8rem; align-items: start; font-size: 1.12rem; color: var(--fg-soft); }
.path li::before { content: counter(p); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--sun); font-weight: 800; font-size: 1rem; }
.path li > span { padding-top: .1rem; }
.path b { color: var(--ink); }
.book-form {
  background: #FFF6EC; border-radius: 30px; padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.1rem;
  box-shadow: 0 30px 60px -30px rgba(35,8,47,.65); transform: rotate(-1deg);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { margin: 0; color: #9B001C; font-weight: 700; }
.book-form .fine { color: #6B4A55; text-align: center; margin: 0; }

/* ---------- footer ---------- */
.footer { background: var(--cobalt-deep); color: #DDE1FF; padding: 2.4rem var(--gutter) 6rem; text-align: center; font-size: .95rem; }
.footer p { margin: 0 0 .6rem; }
.credits summary { cursor: pointer; color: #fff; font-weight: 700; display: inline-block; }
.credits p { max-width: 70ch; margin: 1rem auto 0; line-height: 1.7; }
.credits a { color: var(--lime); text-underline-offset: 3px; }

/* ---------- sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; bottom: max(14px, env(safe-area-inset-bottom)); inset-inline: 16px; z-index: 50;
  display: none; align-items: center; justify-content: center; gap: .5em; min-height: 56px; border-radius: 99px;
  background: var(--lime); color: var(--ink); font-weight: 800; font-size: 1.15rem; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(35,8,47,.7);
  transform: translateY(150%); transition: transform .5s var(--ease-snap);
}
.sticky-cta.show { transform: none; }

/* ---------- entrance (only when JS + motion allowed) ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.js-motion .reveal.in { opacity: 1; transform: none; }
.js-motion .hero .line { animation: rise 1s var(--ease-out) both; }
.js-motion .hero .line-2 { animation-delay: .15s; }
.js-motion .hero .lede { animation: rise 1s var(--ease-out) .28s both; }
.js-motion .hero-actions, .js-motion .hero-note { animation: rise 1s var(--ease-out) .4s both; }
.js-motion .board { animation: boardIn 1.2s var(--ease-out) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
@keyframes boardIn { from { opacity: 0; transform: translateY(40px) rotate(-8deg); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; min-height: 0; }
  .hero-copy { justify-self: stretch; max-width: none; }
  .board-wrap { justify-self: center; max-width: 520px; }
  .how-grid, .designer, .album, .book-grid, .whatif-grid { grid-template-columns: 1fr; }
  .whatif .display { position: static; }
  .marker-arrow { display: none; }
  .kit { grid-template-columns: repeat(2, 1fr); }
  .album-fan { height: 320px; }
  .designer-preview { order: -1; }
  .magnet-xl { max-width: 420px; }
}
@media (max-width: 720px) {
  body { font-size: 1.06rem; }
  .nav { display: none; }
  .topbar { justify-content: flex-end; }
  .queue-compare { grid-template-columns: 1fr; }
  .truths { grid-template-columns: 1fr; }
  .truths li { padding: 1.2rem 0; }
  .kit { grid-template-columns: 1fr; row-gap: 2rem; }
  .field-row { grid-template-columns: 1fr; }
  .board { padding: 14px 12px 24px; box-shadow: 0 0 0 7px #2A0D33, 0 30px 50px -20px rgba(35,8,47,.75); }
  .board-grid { gap: 12px 10px; min-height: 0; }
  .board-title { font-size: 1.8rem; }
    .stamp { font-size: .6rem; }
  .foam-a { height: 180px; } .foam-b { height: 140px; }
  .phone { transform: none; }
  .mini-phone { width: 92px; inset-inline-start: -30px; bottom: -40px; border-radius: 18px; padding: 5px; }
  .mini-screen { border-radius: 14px; gap: 5px; padding: 6px 4px; }
  .mini-bar { font-size: .6rem; }
  .board-wrap { margin-bottom: 24px; }
  .foam-c { height: 150px; }
  .foam-d, .foam-e { inset-inline-start: auto; top: auto; bottom: -70px; height: 150px; }
  .foam-d { inset-inline-end: 6%; }
  .foam-e { inset-inline-end: 16%; bottom: -96px; }
  .album-fan { height: 260px; }
  .album-fan img { border-width: 5px; }
  .sticky-cta { display: flex; }
  .book-form { transform: none; }
  .step { grid-template-columns: 48px 1fr; padding: .9rem .6rem; }
  .step-ico { width: 48px; height: 48px; }
  .step.is-active { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
