@font-face { font-family: Geist; src: url("assets/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #18151f; --paper: #fbfbfa; --lav: #f4f1fa; --purple: #641ff0; --purple-dark: #4b12bc; --lilac: #c9b0ff;
  --line: #e2e0e6; --muted: #57535e; --green: #13a05f;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  font-family: Geist, Arial, sans-serif; color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
section[id] { scroll-margin-top: 4.5rem; }
body, p, h1, h2, h3, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
body { line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .24em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #8555fb; outline-offset: 4px; }
.sprite { position: absolute; }
.frame { width: min(calc(100% - 8vw), 74rem); margin-inline: auto; }
.skip { position: fixed; top: -10rem; left: 1rem; z-index: 9; background: white; padding: 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 8; background: #fbfbfae6; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #0000000d; }
.top-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.logo { display: block; }
.top nav { display: flex; gap: 1.6rem; margin-left: auto; }
.top nav a { font-size: .93rem; font-weight: 560; text-decoration: none; }
.top nav a:hover { color: var(--purple); }

/* ---------- Type & buttons ---------- */
h1, h2, h3 { font-weight: 620; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: .96; letter-spacing: -.07em; }
h1 .line { display: inline-block; }
h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.03; letter-spacing: -.055em; }
h3 { font-size: 1.28rem; letter-spacing: -.03em; line-height: 1.25; }
.accent { color: var(--purple); }
.soft { color: #9a95a1; }
.eyebrow, .label { font-size: .8rem; font-weight: 680; letter-spacing: .09em; text-transform: uppercase; color: var(--purple); margin-bottom: .9rem; }
.label.light { color: var(--lilac); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .8rem 1.45rem; border: 0; border-radius: 99px; background: var(--purple); color: white; font-weight: 640; font-size: 1.02rem; text-decoration: none; box-shadow: 0 10px 26px -12px #641ff0bb; transition: background .2s, transform .25s var(--ease-out), box-shadow .25s; }
.button:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 14px 30px -12px #641ff0dd; }
.button:active { transform: translateY(0) scale(.97); }
.button.small { min-height: 2.6rem; padding: .5rem 1.1rem; font-size: .92rem; }
.button.light { background: white; color: var(--purple); box-shadow: 0 14px 30px -14px #0006; }
.button.light:hover { background: #f1eaff; }
.under { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 620; }
.under span { transition: transform .3s var(--ease-out); }
.under:hover span { transform: translateY(3px); }
a.inline { color: var(--purple); font-weight: 600; }

/* ---------- Moving backgrounds ---------- */
.section { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(4rem, 8vw, 7.5rem); }
.bg-white-motion { background: var(--paper); }
.bg-white-motion.alt { background: var(--lav); }
/* Codex's light sweep and contour rings, reused and made a little stronger */
.bg-lines { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; mask-image: linear-gradient(transparent, #000 12%, #000 85%, transparent); }
.bg-lines::before, .bg-lines::after { content: ""; position: absolute; inset: -25% -15%; transform-origin: 68% 68%; }
.bg-lines::before { background: linear-gradient(122deg, transparent 28%, #7434f40d 38%, #7434f430 45%, transparent 50%, transparent 52%, #7434f418 56%, transparent 62%); }
.bg-lines::after { background: repeating-radial-gradient(ellipse at var(--rx, 88%) var(--ry, 90%), transparent 0 3.1rem, #641ff021 3.13rem, transparent 3.25rem 4.1rem); mask-image: linear-gradient(34deg, transparent 10%, #000 42%, transparent 78%); }
.alt .bg-lines::after { --rx: 8%; --ry: 12%; }
#prezzi .bg-lines::after { --rx: 50%; --ry: 110%; }

.bg-purple-motion { background: #5517dc; color: white; }
.bg-purple-motion.deep { background: #160f22; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: .85; }
.aurora i:nth-child(1) { left: -20vmax; top: -30vmax; background: radial-gradient(closest-side, #8f5cff, transparent 70%); }
.aurora i:nth-child(2) { right: -25vmax; bottom: -35vmax; background: radial-gradient(closest-side, #2f0b8f, transparent 70%); }
.aurora i:nth-child(3) { left: 30%; top: 20%; width: 45vmax; height: 45vmax; background: radial-gradient(closest-side, #b68dff66, transparent 70%); }
.deep .aurora i:nth-child(1) { background: radial-gradient(closest-side, #4a1eb0, transparent 70%); }
.deep .aurora i:nth-child(2) { background: radial-gradient(closest-side, #2a0f6b, transparent 70%); }
.deep .aurora i:nth-child(3) { background: radial-gradient(closest-side, #641ff055, transparent 70%); }
.aurora::after { content: ""; position: absolute; inset: -30%; background: repeating-radial-gradient(circle at 15% 85%, transparent 0 3.6rem, #ffffff12 3.64rem, transparent 3.78rem 4.8rem); mask-image: linear-gradient(40deg, #000 10%, transparent 60%); }

/* ---------- Marquee ---------- */
.marquee { background: var(--purple); color: white; overflow: hidden; padding-block: 1rem; border-block: 1px solid #ffffff22; }
.marquee-track { display: flex; gap: 1.6rem; width: max-content; align-items: center; font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.25rem); letter-spacing: -.01em; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--lilac); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5.5vw, 5.5rem); }
.strike-line { margin-top: 1.4rem; font-size: clamp(1.2rem, 1.9vw, 1.55rem); font-weight: 560; letter-spacing: -.02em; }
.strike { text-decoration: none; position: relative; color: #8f8a96; }
.strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: .12em; background: var(--purple); border-radius: 2px; transform-origin: left; }
.strike-line em { font-style: normal; color: var(--purple); font-weight: 680; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); max-width: 30em; margin-top: 1rem; color: var(--muted); }
.lead strong { color: var(--ink); font-weight: 620; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.4rem; }
.chips li { padding: .38rem .8rem .38rem 1.9rem; border-radius: 99px; background: white; border: 1px solid var(--line); font-size: .9rem; font-weight: 550; position: relative; }
.chips li::before { content: "✓"; position: absolute; left: .75rem; color: var(--green); font-weight: 800; }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1.3rem; margin-top: 1.9rem; }
.fine { margin-top: .8rem; font-size: .9rem; color: #7c7783; }
.hero-device { position: relative; justify-self: center; }
.sticker { position: absolute; right: -3.2rem; top: 4%; transform: rotate(8deg); background: #ffd84d; color: var(--ink); font-weight: 700; font-size: .9rem; line-height: 1.2; padding: .6rem .85rem; border-radius: .7rem; box-shadow: 0 10px 24px -10px #0005; }

/* ---------- iPhone mockup (CSS, no image) ---------- */
.iphone { --w: 19rem; position: relative; width: var(--w); aspect-ratio: 393 / 852; padding: calc(var(--w) * .028); border-radius: calc(var(--w) * .17);
  background: linear-gradient(150deg, #5d5c63 0%, #2a2a2f 18%, #1c1c20 50%, #3b3a40 82%, #66656c 100%);
  box-shadow: inset 0 0 0 calc(var(--w) * .006) #8a8991, inset 0 0 0 calc(var(--w) * .012) #1a1a1d, 0 2px 4px #0003, 0 50px 90px -40px #2a0f6bb0, 0 30px 60px -45px #000c; }
.iphone::before { content: ""; position: absolute; left: calc(var(--w) * -.009); top: 17%; width: calc(var(--w) * .011); height: 5.5%; border-radius: 3px 0 0 3px; background: #3a393f;
  box-shadow: 0 calc(var(--w) * .13) 0 #3a393f, 0 calc(var(--w) * .26) 0 #3a393f; }
.iphone::after { content: ""; position: absolute; right: calc(var(--w) * -.009); top: 27%; width: calc(var(--w) * .011); height: 11%; border-radius: 0 3px 3px 0; background: #3a393f; }
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .145); overflow: hidden; background: #fbfbfa; font-size: calc(var(--w) * .042); color: var(--ink); }
.screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, #ffffff22, transparent 30%); }
.island { position: absolute; z-index: 4; top: calc(var(--w) * .03); left: 50%; transform: translateX(-50%); width: 33%; height: calc(var(--w) * .088); background: #000; border-radius: 99px; }
.status { position: relative; z-index: 3; height: calc(var(--w) * .145); display: flex; justify-content: space-between; align-items: center; padding: calc(var(--w) * .012) 8.5% 0; font-size: 1.05em; }
.status span { display: flex; align-items: center; gap: .3em; }
.status svg { width: 1.1em; height: .8em; fill: currentColor; }
.status svg.bat { width: 1.75em; }
.tilt { transform: rotate(-4deg); }

/* App UI inside the phone */
.app { position: absolute; inset: calc(var(--w) * .145) 0 0; padding: .4em 1.25em 1.2em; }
.app-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9em; }
.app-bar img { width: 4.6em; height: auto; }
.avatar { width: 1.9em; height: 1.9em; border-radius: 50%; background: linear-gradient(135deg, #c9b0ff, #641ff0); }
.app-kicker { color: #8a8590; font-size: .85em; margin-bottom: .5em; }
.app-title { font-size: 1.75em; font-weight: 650; letter-spacing: -.04em; line-height: 1.05; margin: .3em 0 .8em; }
.app-title.small { font-size: 1.45em; margin-bottom: .6em; }
.meal-card { background: white; border: 1px solid #ecebef; border-radius: 1em; padding: .9em 1em; box-shadow: 0 8px 22px -16px #2a0f6b55; }
.meal-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .35em; }
.meal-top b { font-size: 1.2em; letter-spacing: -.02em; }
.meal-top span { color: #8a8590; font-size: .88em; font-variant-numeric: tabular-nums; }
.meal li { display: grid; grid-template-columns: 1fr auto 1.2em; align-items: center; gap: .6em; padding: .55em .5em; margin-inline: -.5em; border-top: 1px solid #f0eff3; border-radius: .5em; transition: background .5s; }
.meal li:first-child { border-top: 0; }
.meal li b { font-variant-numeric: tabular-nums; font-weight: 640; }
.meal i { font-style: normal; }
.pin { width: 1em; height: 1em; fill: #c3bfca; }
.pin.on { fill: var(--purple); }
.meal li.changed { background: #efe7ff; }
.meal li.swapped .food { animation: swap-in .55s var(--ease-out); }
.meal li.adjusted b { color: var(--purple); }
@keyframes swap-in { from { transform: translateY(80%); opacity: 0; filter: blur(2px); } to { transform: none; opacity: 1; filter: none; } }
.app-toast { display: flex; align-items: center; gap: .5em; margin-top: .7em; padding: .55em .7em; border-radius: .6em; background: #e8f6ee; color: #0d6e41; font-weight: 620; font-size: .9em; }
.app-toast svg { width: 1.3em; height: 1.3em; padding: .2em; border-radius: 50%; background: var(--green); fill: white; flex-shrink: 0; }
.app-toast.pop { animation: pop .5s var(--ease-out); }
@keyframes pop { from { transform: scale(.92); opacity: .2; } to { transform: none; opacity: 1; } }
.macro-mini { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .9em; font-size: .85em; }
.macro-mini span { padding: .3em .6em; border-radius: 99px; background: #f1eef7; }
.macro-mini .ok { background: #e8f6ee; color: #0d6e41; font-weight: 620; }

/* Step screens */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .3em; padding: .25em; background: #f1eef7; border-radius: .7em; font-size: .82em; font-weight: 600; text-align: center; }
.seg span { padding: .55em .3em; border-radius: .5em; }
.seg .on { background: white; color: var(--purple); box-shadow: 0 2px 8px -4px #0003; }
.form-rows { margin-top: .8em; }
.form-rows p { display: flex; justify-content: space-between; padding: .5em 0; border-bottom: 1px solid #efedf2; font-size: .92em; }
.form-rows span { color: #8a8590; }
.form-rows .hl { color: var(--purple); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; margin-top: .9em; }
.tiles p { background: #f4f0ff; border-radius: .7em; padding: .55em .5em; display: grid; }
.tiles span { font-size: .7em; color: #6e6876; }
.tiles b { font-size: 1.15em; font-variant-numeric: tabular-nums; }
.tiles i, .kcal-total i { font-style: normal; }
.kcal-total { margin-top: .7em; text-align: center; font-weight: 650; color: var(--purple); font-variant-numeric: tabular-nums; }
.mini-label { font-size: .75em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a8590; margin: .9em 0 .45em; }
.radio { display: grid; gap: .3em; }
.radio span { display: flex; align-items: center; gap: .6em; padding: .5em .7em; border: 1px solid #ecebef; border-radius: .6em; font-size: .92em; background: white; }
.radio span::before { content: ""; width: 1em; height: 1em; border-radius: 50%; border: 2px solid #cfcbd6; flex-shrink: 0; box-sizing: border-box; }
.radio .on { border-color: var(--purple); background: #f6f1ff; font-weight: 620; }
.radio .on::before { border: .3em solid var(--purple); }
.tags { display: flex; flex-wrap: wrap; gap: .35em; }
.tags span { padding: .35em .7em; border-radius: 99px; background: var(--purple); color: white; font-size: .85em; font-weight: 600; }
.tags.no span { background: #f1eef3; color: #6e6876; text-decoration: line-through; text-decoration-color: #d0284a; text-decoration-thickness: 2px; }
.count-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4em; margin-bottom: 1em; }
.count-pick span { text-align: center; padding: .6em 0; border-radius: .7em; background: #f1eef7; font-weight: 700; font-size: 1.1em; }
.count-pick .on { background: var(--purple); color: white; }
.bars li { display: grid; grid-template-columns: 5.2em 1fr 2.6em; align-items: center; gap: .5em; margin-block: .55em; font-size: .9em; }
.bars i { height: .6em; border-radius: 99px; background: #ece8f3; overflow: hidden; }
.bars i::before { content: ""; display: block; height: 100%; width: 100%; background: var(--purple); border-radius: inherit; transform: scaleX(calc(var(--v) * 2.4)); transform-origin: left; }
.bars b { text-align: right; font-variant-numeric: tabular-nums; }
.note-mini { margin-top: .8em; font-size: .85em; color: #8a8590; }
.gen-btn { margin: .6em 0 .9em; text-align: center; padding: .8em; border-radius: 99px; background: var(--purple); color: white; font-weight: 650; }
.day { display: grid; gap: .45em; }
.day-meal { background: white; border: 1px solid #ecebef; border-radius: .8em; padding: .55em .8em; }
.day-meal b { display: block; font-size: .95em; margin-bottom: .15em; }
.day-meal p { display: flex; justify-content: space-between; font-size: .82em; color: #4c4852; }
.day-meal i { font-style: normal; font-weight: 640; color: var(--ink); }
.ok-line { margin-top: .6em; text-align: center; font-weight: 650; color: #0d6e41; font-size: .9em; }
.legend { margin-top: .9em; font-size: .78em; color: #8a8590; display: flex; align-items: center; gap: .3em; flex-wrap: wrap; }
.legend svg { width: 1em; height: 1em; fill: var(--purple); }
.diary-row { display: flex; justify-content: space-between; align-items: center; padding: .7em .9em; background: white; border: 1px solid #ecebef; border-radius: .8em; }
.rec { padding: .4em .8em; border-radius: 99px; background: var(--purple); color: white; font-size: .82em; font-weight: 650; }
.diary-sum { margin-top: .9em; background: white; border: 1px solid #ecebef; border-radius: .8em; padding: .7em .9em; }
.diary-sum p { display: flex; justify-content: space-between; font-size: .88em; }
.diary-sum span { color: #8a8590; }
.diary-sum i { display: block; height: .5em; margin: .4em 0 .6em; border-radius: 99px; background: #ece8f3; overflow: hidden; }
.diary-sum i::before { content: ""; display: block; height: 100%; background: var(--purple); transform: scaleX(var(--v)); transform-origin: left; }
.pdf-btn { margin-top: .9em; text-align: center; padding: .7em; border-radius: 99px; border: 2px solid var(--purple); color: var(--purple); font-weight: 650; }
.pdf-sheet { margin: .8em auto 0; width: 70%; background: white; border-radius: .4em; padding: .7em; box-shadow: 0 12px 26px -12px #0004; display: grid; gap: .35em; font-size: .75em; }
.pdf-sheet span { height: .45em; border-radius: 3px; background: #e9e6ee; }
.pdf-sheet .short { width: 60%; }

/* ---------- Problem ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.4rem; }
.pain-grid article { position: relative; padding: 1.7rem 1.5rem 1.6rem; border-radius: 1.2rem; background: white; border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s; }
.pain-grid article:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 22px 44px -28px #2a0f6b66; }
.pain-num { font-size: .85rem; font-weight: 750; color: var(--purple); }
.quote { margin: .6rem 0 .7rem; font-size: 1.25rem; font-weight: 640; letter-spacing: -.025em; line-height: 1.28; }
.pain-grid p:not(.quote) { color: var(--muted); }

/* ---------- Versus ---------- */
.glow { color: #ffe36e; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2.4rem; }
.vs-col { border-radius: 1.2rem; padding: 1.6rem; background: #ffffff14; border: 1px solid #ffffff26; }
.vs-col.kcalo { background: white; color: var(--ink); border-color: white; box-shadow: 0 30px 60px -30px #0007; }
.vs-head { font-size: .82rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; color: #e3d8ff; }
.kcalo .vs-head { color: var(--purple); }
.vs-col li { position: relative; padding: .75rem 0 .75rem 2rem; border-top: 1px solid #ffffff22; color: #e8e1f7; }
.kcalo li { border-top-color: var(--line); color: var(--ink); }
.vs-col li::before { content: "×"; position: absolute; left: .2rem; top: .7rem; font-weight: 800; color: #ffffff88; }
.kcalo li::before { content: "✓"; color: var(--purple); }

/* ---------- Story (scrollytelling) ---------- */
.story { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem, 6vw, 6rem); margin-top: 1rem; }
.story-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; opacity: .32; transition: opacity .5s var(--ease-out); }
.story-step.active { opacity: 1; }
.step-num { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--purple); color: white; font-weight: 750; font-size: 1.15rem; margin-bottom: 1.1rem; transition: transform .45s var(--ease-out), background .45s; }
.story-step:not(.active) .step-num { transform: scale(.8); background: #c9c3d3; }
.story-step h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.045em; line-height: 1.08; }
.story-step > p { margin-top: .8rem; font-size: 1.12rem; color: var(--muted); }
.story-step > p b { color: var(--ink); }
.story-device { --pw: min(19rem, calc((100vh - 8rem) * .4613)); position: sticky; top: calc(4.25rem + (100vh - 4.25rem - var(--pw) / .4613) / 2); align-self: start; }
.story-device .iphone { --w: var(--pw) !important; }
.shot { opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); pointer-events: none; }
.shot.active { opacity: 1; transform: none; }
.mini-device { display: none; }

/* ---------- Video ---------- */
.film { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.demo-points { margin-top: 1.7rem; display: grid; gap: 1.05rem; counter-reset: d; }
.demo-points li { position: relative; padding-left: 2.7rem; color: #d9d3e4; font-size: 1.1rem; }
.demo-points li::before { counter-increment: d; content: counter(d); position: absolute; left: 0; top: .05rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--purple); color: white; font-weight: 750; font-size: .9rem; }
.demo-points b { display: block; color: white; }
.video-frame { padding: .55rem; border-radius: 1.6rem; background: linear-gradient(150deg, #ffffff30, #ffffff08); border: 1px solid #ffffff26; box-shadow: 0 40px 80px -40px #000; }
.video-frame video { display: block; width: min(22rem, 78vw); height: auto; border-radius: 1.15rem; background: #000; }

/* ---------- Extras ---------- */
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.4rem; }
.extras li { padding: 1.5rem; border-radius: 1.2rem; background: white; border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s; }
.extras li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -28px #2a0f6b66; }
.ico { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .9rem; background: #f1eaff; margin-bottom: .9rem; }
.ico svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: var(--purple); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.extras p { margin-top: .4rem; color: var(--muted); }

/* ---------- Fit ---------- */
.fit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.1rem; margin-top: 2.4rem; }
.fit-col { border-radius: 1.2rem; padding: 1.6rem; background: #ffffff14; border: 1px solid #ffffff26; }
.fit-col.yes { background: white; color: var(--ink); }
.fit-head { font-weight: 720; font-size: 1.2rem; margin-bottom: .8rem; }
.fit-col li { position: relative; padding: .7rem 0 .7rem 2rem; border-top: 1px solid #ffffff22; color: #e8e1f7; }
.fit-col.yes li { border-top-color: var(--line); color: var(--ink); }
.fit-col li::before { content: "–"; position: absolute; left: .3rem; top: .65rem; font-weight: 800; color: #ffffffaa; }
.fit-col.yes li::before { content: "✓"; color: var(--purple); }

/* ---------- Prices ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2.4rem; max-width: 50rem; }
.plans article { position: relative; padding: 1.9rem; border-radius: 1.2rem; background: white; border: 2px solid var(--line); }
.plans .best { border-color: var(--purple); box-shadow: 0 30px 60px -36px #641ff0aa; }
.badge { position: absolute; top: -.85rem; right: 1.2rem; padding: .25rem .75rem; border-radius: 99px; background: var(--purple); color: white; font-size: .78rem; font-weight: 750; }
.amount { margin-block: .4rem .6rem; font-size: clamp(2.4rem, 3.8vw, 3.3rem); letter-spacing: -.06em; font-weight: 660; }
.amount small { font-size: 1rem; letter-spacing: 0; color: var(--muted); font-weight: 450; }
.plans p:not(.amount):not(.badge) { color: var(--muted); }
.price-foot { display: grid; gap: .6rem; margin-top: 1.6rem; max-width: 50rem; justify-items: start; }
.price-foot p { color: var(--muted); }
.price-foot b { color: var(--ink); }
.price-foot .button { margin-top: .8rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; cursor: pointer; font-weight: 620; font-size: 1.06rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--purple); font-size: 1.5rem; line-height: 1; transition: transform .3s var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 1.2rem; max-width: 58ch; color: var(--muted); }

/* ---------- Final + footer ---------- */
.final { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(5rem, 10vw, 8rem); text-align: center; }
.final-inner { display: grid; justify-items: center; gap: 1rem; }
.final h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.final p { font-size: 1.25rem; color: #e9e0ff; }
footer { background: var(--ink); color: white; }
.bottom { display: flex; align-items: center; gap: 2rem; padding-block: 2rem; font-size: .9rem; }
.bottom p { color: #cfcad6; }
.bottom a { margin-left: auto; color: #cfcad6; }
.motion-pause { position: fixed; right: 1rem; bottom: 1rem; z-index: 9; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border: 1px solid #ffffff40; border-radius: 99px; background: #18151fd9; color: white; font-size: .8rem; backdrop-filter: blur(6px); }
.motion-pause .play-mark, .paused-all .motion-pause .pause-mark { display: none; }
.paused-all .motion-pause .play-mark { display: block; }

/* ================= MOTION (only when the visitor accepts motion) ================= */
@media (prefers-reduced-motion: no-preference) {
  .motion .bg-lines::before { animation: sweep 6s ease-in-out infinite alternate; }
  .motion .bg-lines::after { animation: contour 9s ease-in-out infinite alternate; }
  @keyframes sweep { from { transform: translateX(-22%) rotate(-7deg); } to { transform: translateX(20%) rotate(5deg); } }
  @keyframes contour { from { transform: translateX(-5%) rotate(-7deg) scale(1); } to { transform: translateX(6%) rotate(4deg) scale(1.06); } }
  .motion .aurora i:nth-child(1) { animation: blob-a 14s ease-in-out infinite alternate; }
  .motion .aurora i:nth-child(2) { animation: blob-b 17s ease-in-out infinite alternate; }
  .motion .aurora i:nth-child(3) { animation: blob-c 11s ease-in-out infinite alternate; }
  .motion .aurora::after { animation: contour 12s ease-in-out infinite alternate; }
  @keyframes blob-a { to { transform: translate(18vw, 14vh) scale(1.15); } }
  @keyframes blob-b { to { transform: translate(-16vw, -10vh) scale(1.2); } }
  @keyframes blob-c { from { transform: translate(-10vw, 4vh); } to { transform: translate(12vw, -8vh) scale(1.25); } }
  .motion .marquee-track { animation: marquee 32s linear infinite; }
  @keyframes marquee { to { transform: translateX(-50%); } }

  .motion .hero .line, .motion .eyebrow, .motion .strike-line, .motion .lead, .motion .chips, .motion .hero-links, .motion .fine { animation: rise .8s var(--ease-out) backwards; }
  .motion .hero .line.accent { animation-delay: .1s; }
  .motion .strike-line { animation-delay: .2s; } .motion .lead { animation-delay: .3s; } .motion .chips { animation-delay: .38s; }
  .motion .hero-links { animation-delay: .46s; } .motion .fine { animation-delay: .52s; }
  .motion .strike::after { animation: strike .6s var(--ease-out) .9s backwards; }
  .motion .strike-line em { display: inline-block; animation: rise .6s var(--ease-out) 1.3s backwards; }
  .motion .hero-device .iphone { animation: phone-in 1.1s var(--ease-out) .15s backwards, float 6s ease-in-out 1.3s infinite; }
  .motion .sticker { animation: sticker-in .6s var(--ease-out) 1.4s backwards, wobble 4s ease-in-out 2s infinite; }
  @keyframes rise { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes phone-in { from { transform: translateY(60px) rotate(4deg); opacity: 0; } to { transform: rotate(-4deg); opacity: 1; } }
  @keyframes float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }
  @keyframes sticker-in { from { transform: rotate(30deg) scale(.3); opacity: 0; } to { transform: rotate(8deg) scale(1); opacity: 1; } }
  @keyframes wobble { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(4deg) scale(1.04); } }

  .motion .reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .motion .reveal.in { opacity: 1; transform: none; }
  .motion .section h2 { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .motion .section h2.pending { opacity: 0; transform: translateY(24px); }

  /* Animations inside the phone screens replay each time a step becomes active */
  .motion .play .seg .on { animation: seg-on .5s var(--ease-out) .2s backwards; }
  .motion .play .form-rows p { animation: rise .5s var(--ease-out) backwards; }
  .motion .play .form-rows p:nth-child(2) { animation-delay: .1s; } .motion .play .form-rows p:nth-child(3) { animation-delay: .2s; } .motion .play .form-rows p:nth-child(4) { animation-delay: .3s; }
  .motion .play .tiles p { animation: pop .5s var(--ease-out) .5s backwards; }
  .motion .play .radio span { animation: rise .45s var(--ease-out) backwards; }
  .motion .play .radio span:nth-child(2) { animation-delay: .08s; } .motion .play .radio span:nth-child(3) { animation-delay: .16s; } .motion .play .radio span:nth-child(4) { animation-delay: .24s; }
  .motion .play .radio .on { animation: rise .45s var(--ease-out) .08s backwards, choose .5s var(--ease-out) .6s backwards; }
  .motion .play .tags span { animation: chip .45s var(--ease-out) backwards; }
  .motion .play .t1 { animation-delay: .8s; } .motion .play .t2 { animation-delay: 1s; } .motion .play .t3 { animation-delay: 1.3s; } .motion .play .t4 { animation-delay: 1.5s; } .motion .play .t5 { animation-delay: 1.7s; }
  .motion .play .count-pick span:nth-child(1) { animation: count-off 1.4s var(--ease-out) backwards; }
  .motion .play .count-pick .on { animation: count-on 1.4s var(--ease-out) backwards; }
  .motion .play .bars i::before { animation: grow .8s var(--ease-out) backwards; }
  .motion .play .bars li:nth-child(2) i::before { animation-delay: .1s; } .motion .play .bars li:nth-child(3) i::before { animation-delay: .2s; } .motion .play .bars li:nth-child(4) i::before { animation-delay: .3s; }
  .motion .play .gen-btn { animation: press .6s var(--ease-out) .2s backwards; }
  .motion .play .day-meal { animation: rise .55s var(--ease-out) backwards; }
  .motion .play .m1 { animation-delay: .7s; } .motion .play .m2 { animation-delay: .9s; } .motion .play .m3 { animation-delay: 1.1s; }
  .motion .play .ok-line { animation: pop .5s var(--ease-out) 1.5s backwards; }
  .motion .play .rec { animation: press .6s var(--ease-out) .3s backwards; }
  .motion .play .d-toast { animation: pop .5s var(--ease-out) .8s backwards; }
  .motion .play .diary-sum i::before { animation: grow 1s var(--ease-out) .9s backwards; }
  .motion .play .pdf-btn { animation: press .6s var(--ease-out) 1.4s backwards; }
  .motion .play .pdf-sheet { animation: sheet .8s var(--ease-out) 1.8s backwards; }
  @keyframes seg-on { from { background: transparent; color: inherit; box-shadow: none; } }
  @keyframes choose { from { border-color: #ecebef; background: white; } }
  @keyframes chip { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes count-off { 0%, 45% { background: var(--purple); color: white; } 100% { background: #f1eef7; color: inherit; } }
  @keyframes count-on { 0%, 45% { background: #f1eef7; color: inherit; } 100% { background: var(--purple); color: white; } }
  @keyframes grow { from { transform: scaleX(0); } }
  @keyframes press { 0% { transform: scale(1); } 40% { transform: scale(.94); filter: brightness(1.15); } 100% { transform: scale(1); } }
  @keyframes sheet { from { transform: translateY(40%) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }

  .paused-all *, .paused-all *::before, .paused-all *::after, .offscreen *, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }
}
@media (prefers-reduced-motion: reduce) { .motion-pause { display: none !important; } html { scroll-behavior: auto; } }

/* ---------- Tablet & phone ---------- */
@media (max-width: 900px) {
  .frame { width: min(calc(100% - 2.5rem), 40rem); }
  .top nav { display: none; }
  .top .button { margin-left: auto; }
  .top .logo { width: 92px; height: auto; }
  .hero-grid, .film, .faq-grid, .versus, .fit { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 2rem; gap: 3rem; }
  .hero-device { margin-bottom: 1rem; }
  .sticker { right: -.6rem; }
  .pain-grid, .extras, .plans { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story-device { display: none; }
  .story-step { min-height: 0; opacity: 1; padding-block: 1.6rem; border-top: 1px solid var(--line); max-width: none; }
  .story-step:first-child { border-top: 0; }
  .story-step:not(.active) .step-num { transform: none; background: var(--purple); }
  .mini-device { display: block; margin: 1.4rem auto 0; width: min(15.5rem, 70vw); height: calc(min(15.5rem, 70vw) / .4613 * .64); overflow: hidden; mask-image: linear-gradient(#000 78%, transparent); }
  .mini-device .shot { opacity: 1; transform: none; }
  .film .video-frame { justify-self: center; }
  .bottom { flex-wrap: wrap; gap: .75rem 1.25rem; }
  .bottom a { margin-left: 0; }
}
