/* CFK Nutrition — live site. Direction C, calmed down: a black-and-white photo of Kate, tilted cards,
   colour pops and a few stickers on plenty of paper.
   One family (Figtree), two weights (400, 800), four sizes (display, heading, body, small). Keep it that way.
   Motion uses transforms and opacity only. Hidden-start states live under `html.js` and only when the visitor
   has not asked for reduced motion, so the page reads complete with no script. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('/assets/figtree-latin.8330490a01.woff2') format('woff2'); }

:root {
  --paper: #FAF7F2;
  --white: #FFFFFF;
  --ink: #0E0B16;
  --ink-2: #4B4655;
  --mute: #6C6775;
  --line: #E7E1D6;
  --violet: #7141FD;
  --pink: #FE6BAD;
  --flame: #FFB547;
  --sky: #6EAEFF;
  --green: #10B981;
  --coral: #F9482A;

  --fs-display: clamp(2.5rem, 1.35rem + 4.9vw, 4.5rem);
  --fs-heading: clamp(1.625rem, 1.25rem + 1.6vw, 2.5rem);
  --fs-body: 1.125rem;
  --fs-small: .875rem;
  --regular: 400;
  --bold: 800;

  --gap: clamp(4.5rem, 2.5rem + 8vw, 9rem);
  --r: 24px;
  --lift: 0 1px 0 rgba(14, 11, 22, .05), 0 18px 40px -20px rgba(14, 11, 22, .32);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.3, 1.5, .5, 1);
  --font: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: 1.5; font-weight: var(--regular); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input { font: inherit; color: inherit; }
b, strong { font-weight: var(--bold); }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: 0; z-index: 60; transform: translateY(-200%); background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 999px; font-weight: var(--bold); }
.skip:focus { transform: translateY(16px); }
.page { overflow-x: clip; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.wrap--narrow { max-width: 760px; }
.section { padding-block: var(--gap); }
.section--tight { padding-block: calc(var(--gap) * .5); }
.section + .section--flush { padding-top: 0; }
.pagehead + main > .section--flush:first-child { padding-top: clamp(8px, 3vw, 40px); }

/* ── Type: the four sizes ── */
.display { font-size: var(--fs-display); line-height: 1; font-weight: var(--bold); letter-spacing: -0.035em; text-wrap: balance; }
.heading { font-size: var(--fs-heading); line-height: 1.08; font-weight: var(--bold); letter-spacing: -0.025em; text-wrap: balance; }
.lead { color: var(--ink-2); max-width: 32em; text-wrap: pretty; }
.small { font-size: var(--fs-small); line-height: 1.4; }
.mute { color: var(--mute); }
.eg { display: block; margin-top: 10px; font-size: var(--fs-small); line-height: 1.2; color: var(--mute); }
.stack > * + * { margin-top: 20px; }
.stack > .heading + .lead { margin-top: 14px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ── Text swap: the label rolls up and another takes its place ── */
.swap { display: inline-grid; overflow: hidden; text-align: center; }
.swap > span { grid-area: 1 / 1; align-self: center; white-space: nowrap; transition: transform .45s var(--ease), opacity .3s; }
.swap > span + span { transform: translateY(120%); opacity: 0; }
@media (hover: hover) {
  .swap:hover > span:first-child, .swap:focus-visible > span:first-child { transform: translateY(-120%); opacity: 0; }
  .swap:hover > span + span, .swap:focus-visible > span + span { transform: none; opacity: 1; }
}

/* ── Buttons and links ── */
.btn { display: inline-grid; align-items: center; justify-items: center; min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--violet); color: var(--white); font-weight: var(--bold); font-size: var(--fs-body); line-height: 1.1; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: transform .3s var(--spring), opacity .2s; }
.btn > span { line-height: 56px; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px) rotate(-1deg); } }
.btn:active { transform: scale(.95); transition-duration: .08s; }
.btn--ink { background: var(--ink); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--flame { background: var(--flame); color: var(--ink); }
.btn--sm { min-height: 46px; padding: 0 20px; }
.btn--sm > span { line-height: 46px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { display: inline-grid; min-height: 44px; font-weight: var(--bold); text-decoration: none; justify-items: start; }
.link > span { line-height: 44px; }
.link > span:first-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.prose a, .inline { font-weight: var(--bold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.actions { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; }

/* ── Cards and stickers ── */
.card { background: var(--white); border-radius: var(--r); box-shadow: var(--lift); }
.sticker { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: var(--bold); font-size: var(--fs-body); line-height: 1.15; letter-spacing: -0.01em; box-shadow: var(--lift); rotate: var(--tilt, -2deg); }
.sticker--ink { background: var(--ink); color: var(--white); }
.sticker--violet { background: var(--violet); color: var(--white); }
.sticker--pink { background: var(--pink); }
.sticker--flame { background: var(--flame); }
.sticker--sky { background: var(--sky); }
.sticker--green { background: var(--green); }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: var(--bold); font-size: var(--fs-small); }
.chip--ink { background: var(--ink); color: var(--white); }
.msg { padding: 16px 18px; max-width: 360px; rotate: var(--tilt, 0deg); }
.msg__head { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); line-height: 1.2; color: var(--mute); }
.msg__head b { color: var(--ink); }
.msg__dot { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--coral); box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .34); }
.msg__dot--violet { background: var(--violet); }
.msg__body { margin-top: 8px; line-height: 1.38; }
.msg--you { background: var(--violet); color: var(--white); }
.msg--you .msg__head, .msg--you .msg__head b { color: var(--white); }
.stamp { display: grid; place-content: center; width: 148px; height: 148px; padding: 16px; border-radius: 50%; background: var(--pink); color: var(--ink); font-weight: var(--bold); font-size: var(--fs-body); line-height: 1.05; letter-spacing: -0.02em; text-align: center; box-shadow: var(--lift); rotate: var(--tilt, 12deg); }

/* ── Nav: one floating bar, fixed, so the action stays in reach ── */
.nav { position: fixed; z-index: 40; top: 12px; left: 12px; right: 12px; max-width: 1200px; margin-inline: auto; display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 0 9px 0 12px; border-radius: 22px; background: rgba(250, 247, 242, .92); box-shadow: var(--lift); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.logo { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--violet); color: var(--white); font-weight: var(--bold); font-size: var(--fs-body); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; rotate: -2.5deg; transition: transform .4s var(--spring); }
@media (hover: hover) { .logo:hover { transform: rotate(4deg) scale(1.04); } }
.nav__links { margin-inline: auto; display: flex; gap: 2px; }
.nav__links a { min-height: 44px; padding: 0 14px; text-decoration: none; border-radius: 999px; }
.nav__links a > span { line-height: 44px; }
.nav__links a[aria-current="page"] > span:first-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 8px; border-radius: 22px; background: var(--white); box-shadow: var(--lift); }
.menu__panel a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 14px; font-weight: var(--bold); text-decoration: none; }
.menu__panel a:active { background: var(--paper); }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] .menu__panel { animation: drop .35s var(--ease) both; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ── Home hero: the photo, with the brand layered on top as cards ── */
.hero { position: relative; height: 800px; overflow: hidden; background: #CFCFCF; isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 19.5%; }
.hero__wash { position: absolute; inset: 0; background: linear-gradient(to left, rgba(250, 247, 242, .9), rgba(250, 247, 242, .62) 38%, rgba(250, 247, 242, 0) 60%); }
.hero__copy { position: absolute; z-index: 6; right: max(40px, calc((100% - 1120px) / 2)); top: 176px; width: min(580px, 46%); }
.hero__copy::before { content: ''; position: absolute; z-index: -1; inset: -48px -56px -48px -80px; background: radial-gradient(closest-side, rgba(250, 247, 242, .9), rgba(250, 247, 242, .66) 62%, rgba(250, 247, 242, 0)); pointer-events: none; }
.hero__copy .lead { margin-top: 22px; color: var(--ink); max-width: 22em; }
.hero__copy .actions { margin-top: 30px; }
.float { position: absolute; z-index: 8; translate: calc(var(--mx, 0) * var(--depth, 0) * 1px) calc(var(--my, 0) * var(--depth, 0) * 1px); transition: translate .7s var(--ease); }
.float--msg { left: 6%; top: 470px; width: 320px; --tilt: -4deg; --bob: 6.4s; --depth: 22; }
.float--stamp { left: 34%; top: 590px; --tilt: 12deg; --bob: 8.2s; --depth: 34; }
.float--led { left: 8%; top: 150px; --tilt: -6deg; --bob: 7.1s; --depth: -24; }
@media (prefers-reduced-motion: no-preference) {
  .float > * { animation: bob var(--bob, 7s) ease-in-out infinite alternate; }
}
@keyframes bob { from { transform: translateY(-5px); } to { transform: translateY(6px); } }

/* ── Page head: inner pages open on paper, with room ── */
.pagehead { padding: clamp(150px, 120px + 8vw, 220px) 0 clamp(40px, 6vw, 72px); }
.pagehead .lead { margin-top: 22px; }
.pagehead .actions { margin-top: 30px; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.tags .sticker:nth-child(even) { --tilt: 2deg; }

/* ── Split head: 1:1 coaching ── */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.duo { position: relative; padding: 0 0 56px 28px; }
.photo { position: relative; border-radius: 28px; overflow: hidden; rotate: var(--tilt, -2deg); box-shadow: var(--lift); background: #CFCFCF; }
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.duo .msg { position: absolute; left: 0; bottom: 0; width: min(300px, 86%); --tilt: -3deg; }

/* ── What we believe: four notes ── */
.notes { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.note { display: flex; align-items: flex-end; min-height: 250px; padding: 24px; border-radius: var(--r); background: var(--c); box-shadow: var(--lift); rotate: var(--tilt, 0deg); transition: rotate .45s var(--spring), translate .45s var(--spring); }
.note:nth-child(1) { --c: var(--pink); --tilt: -2deg; }
.note:nth-child(2) { --c: var(--flame); --tilt: 1.5deg; translate: 0 18px; }
.note:nth-child(3) { --c: var(--sky); --tilt: -1deg; }
.note:nth-child(4) { --c: var(--green); --tilt: 2deg; translate: 0 18px; }
@media (hover: hover) { .note:hover { rotate: 0deg; translate: 0 -8px; } }

/* ── Meet Kate, and the people on the team page ── */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.person__pic { position: relative; }
.facts .sticker { position: absolute; z-index: 2; max-width: 290px; }
.facts .sticker:nth-child(1) { right: -28px; top: 9%; --tilt: 5deg; background: var(--sky); }
.facts .sticker:nth-child(2) { left: -24px; top: 58%; --tilt: -6deg; background: var(--pink); }
.facts .sticker:nth-child(3) { right: -20px; bottom: 6%; --tilt: 3deg; background: var(--flame); border-radius: 18px; }
.quote { padding: 20px 24px 24px; border-radius: 26px 26px 26px 8px; rotate: 1deg; }
.quote p + p { margin-top: 10px; }
.namecard { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); width: fit-content; max-width: 100%; margin-inline: auto; padding: clamp(22px, 3vw, 36px) clamp(26px, 4vw, 48px) clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px); border-radius: 36px; rotate: 1deg; }
.namecard__badge { flex: none; display: grid; place-items: center; width: clamp(84px, 12vw, 132px); aspect-ratio: 1; border-radius: 50%; background: var(--flame); color: var(--ink); font-weight: var(--bold); font-size: var(--fs-heading); letter-spacing: -0.04em; rotate: -8deg; }
.namecard .sticker { margin-top: 12px; }

/* ── The CFK Method: the violet band ── */
.band { padding-block: var(--gap); background: var(--violet); color: var(--white); }
.band--ink { background: var(--ink); }
.band .lead { color: inherit; }
.steps { margin-top: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.step { padding: 24px 26px 28px; border-radius: var(--r); background: var(--white); color: var(--ink); box-shadow: 0 24px 50px -24px rgba(14, 11, 22, .55); rotate: var(--tilt, 0deg); }
.step:nth-child(1) { --tilt: -1.5deg; }
.step:nth-child(2) { --tilt: 1deg; translate: 0 -24px; }
.step:nth-child(3) { --tilt: 2deg; translate: 0 -48px; }
.step__n { display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--flame); font-weight: var(--bold); font-size: var(--fs-small); }
.step:nth-child(2) .step__n { background: var(--pink); }
.step:nth-child(3) .step__n { background: var(--green); }
.step .heading { margin-top: 28px; }
.step p { margin-top: 8px; color: var(--ink-2); }
.band__note { margin-top: 8px; max-width: 30em; }

/* ── Offers ── */
.products { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; padding: 12px; border-radius: 34px; background: var(--white); box-shadow: var(--lift); transition: translate .5s var(--spring), rotate .5s var(--spring); }
@media (hover: hover) {
  .product:hover { translate: 0 -8px; rotate: -.6deg; }
  .product:nth-child(2):hover { rotate: .6deg; }
}
.product__shot { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; display: grid; place-items: center; background: var(--c, var(--pink)); }
.product__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; }
.product__shot .chips { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; }
.product__shot .sticker { position: absolute; right: 14px; bottom: 14px; --tilt: -4deg; }
.rulebook { width: min(250px, 62%); padding: 18px 20px; border-radius: 18px; rotate: -4deg; box-shadow: 0 20px 36px -18px rgba(14, 11, 22, .5); }
.rulebook b { display: block; padding-bottom: 10px; border-bottom: 2px dashed var(--line); }
.rulebook ul { margin-top: 10px; display: grid; gap: 4px; color: var(--ink-2); }
.rulebook li { text-decoration: line-through; text-decoration-thickness: 2.5px; text-decoration-color: var(--pink); }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 22px 14px 10px; }
.product__body p { margin-top: 8px; color: var(--ink-2); }
.product__body .link { margin-top: 10px; }
.offers__note { margin-top: 28px; color: var(--ink-2); }

/* Doors: the three ways in, on How it works */
.doors { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.door { display: flex; flex-direction: column; min-height: 260px; padding: 24px; border-radius: var(--r); background: var(--c); color: var(--on, var(--ink)); box-shadow: var(--lift); rotate: var(--tilt, 0deg); }
.door:nth-child(1) { --c: var(--pink); --tilt: -1.5deg; }
.door:nth-child(2) { --c: var(--flame); --tilt: 1deg; }
.door:nth-child(3) { --c: var(--violet); --on: var(--white); --tilt: -1deg; }
.door p { margin-top: 10px; }
.door .small { margin-top: auto; padding-top: 24px; font-weight: var(--bold); }

/* Roles: who does what */
.roles { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.role { padding: 24px 24px 28px; }
.role__dot { display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--c, var(--violet)); box-shadow: inset 0 0 0 7px rgba(255, 255, 255, .34); }
.role .heading { margin-top: 28px; }
.role p { margin-top: 8px; color: var(--ink-2); }

/* Two cards side by side: who 1:1 is for */
.pair { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.who { padding: clamp(24px, 3vw, 34px); border-radius: 30px; box-shadow: var(--lift); rotate: var(--tilt, 0deg); }
.who:nth-child(1) { background: var(--white); --tilt: -1deg; }
.who:nth-child(2) { background: var(--violet); color: var(--white); --tilt: 1deg; }
.who p { margin-top: 10px; }

/* ── 1:1 and the check-in thread, on ink ── */
.one { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 88px); align-items: center; }
.one .sticker { margin-bottom: 20px; }
.one__lines { margin: 24px 0 32px; display: grid; gap: 8px; }
.one__lines li { display: grid; grid-template-columns: 22px 1fr; align-items: baseline; }
.one__lines li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--flame); transform: translateY(-2px); }
.thread { display: grid; gap: 14px; }
.thread .msg { color: var(--ink); }
.thread .msg--you { color: var(--white); justify-self: end; --tilt: 2deg; }
.thread .msg:not(.msg--you) { --tilt: -2deg; }
.thread .eg { color: rgba(255, 255, 255, .7); margin-top: 2px; }
.how { margin-top: 32px; display: grid; gap: 22px; }
.how li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.how li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--violet); color: var(--white); font-weight: var(--bold); font-size: var(--fs-small); }
.how p { margin-top: 2px; color: rgba(255, 255, 255, .8); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 320px; padding: 12px 12px 12px 18px; color: var(--ink); rotate: 1.5deg; margin-left: 32px; }
.toggle span { display: block; }
.toggle .small { color: var(--mute); }
.switch { flex: none; position: relative; width: 76px; height: 46px; padding: 0; border: 0; border-radius: 999px; background: var(--violet); cursor: pointer; }
.switch span { position: absolute; top: 5px; left: 5px; width: 36px; height: 36px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(14, 11, 22, .3); transform: translateX(30px); transition: transform .4s var(--spring); }
.switch[aria-checked="false"] { background: #8A8594; }
.switch[aria-checked="false"] span { transform: none; }

/* ── Healthly, small ── */
.solo { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 20px 20px 20px 28px; border-radius: 28px; }
.solo p { flex: 1 1 280px; font-weight: var(--bold); }

/* ── The tape: the brand line, once, on the home page ── */
.tape { overflow: hidden; padding: 28px 0; }
.tape__band { display: flex; overflow: hidden; margin-inline: -24px; background: var(--flame); color: var(--ink); rotate: -1.5deg; box-shadow: var(--lift); }
.tape__run { display: flex; flex: none; }
.tape__run span { padding: 14px 0; font-weight: var(--bold); font-size: var(--fs-heading); letter-spacing: -0.025em; white-space: nowrap; }
.tape__run span::after { content: ''; display: inline-block; width: .26em; height: .26em; margin: 0 .7em; border-radius: 50%; background: var(--ink); vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) {
  .tape__run { animation: tape 48s linear infinite; }
}
@keyframes tape { to { transform: translateX(-100%); } }

/* ── The interest form ── */
.interest__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.interest__head .sticker { margin-bottom: 20px; }
.formcard { padding: clamp(20px, 3vw, 30px); border-radius: 30px; }
.label, .form legend, .fld label { display: block; padding: 0; margin-bottom: 8px; font-size: var(--fs-small); font-weight: var(--bold); color: var(--mute); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.choices legend { margin-bottom: 10px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choices span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--paper); font-weight: var(--bold); transition: transform .3s var(--spring); }
.choices input:checked + span { background: var(--ink); color: var(--white); transform: rotate(-2deg) scale(1.03); }
.choices input:focus-visible + span { outline: 2.5px solid var(--violet); outline-offset: 3px; }
.form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fld input { display: block; width: 100%; height: 56px; padding: 0 20px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-size: var(--fs-body); }
.fld input[aria-invalid="true"] { border-color: var(--coral); }
.fld__err, .form__err { min-height: 22px; margin: 6px 0 4px; font-size: var(--fs-small); font-weight: var(--bold); line-height: 1.3; color: #B4260F; }
.form__err:empty { min-height: 0; margin: 0; }
.form__err:not(:empty) { margin-top: 12px; }
.form__fine { margin-top: 14px; color: var(--mute); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { position: relative; padding: 12px 4px 8px; }
.done:focus-visible { outline: none; }
.done__badge { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--green); color: var(--ink); }
.done__badge svg { width: 30px; height: 30px; }
.done .lead { margin-top: 12px; }
.done .small { margin-top: 10px; font-weight: var(--bold); }
.done__pop { position: absolute; left: 32px; top: 44px; width: 0; height: 0; pointer-events: none; }
.done__pop i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .done.is-in .done__badge { animation: stampin .6s var(--spring) both; }
  .js .done.is-in .heading, .js .done.is-in .lead, .js .done.is-in .small { animation: up .6s var(--ease) both; }
  .js .done.is-in .heading { animation-delay: .12s; }
  .js .done.is-in .lead { animation-delay: .2s; }
  .js .done.is-in .small { animation-delay: .28s; }
  .js .done.is-in .done__pop i { animation: burst .8s var(--ease) .1s both; }
}
@keyframes stampin { from { opacity: 0; transform: scale(.3) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes burst { 0% { opacity: 0; transform: none; } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.4); } }

/* ── FAQ ── */
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: 20px; background: var(--white); box-shadow: var(--lift); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 12px 14px 12px 24px; border-radius: 20px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h2, .faq__item h3 { font-size: var(--fs-body); line-height: 1.25; font-weight: var(--bold); }
.faq__plus { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); transition: transform .45s var(--spring); }
.faq__plus svg { width: 16px; height: 16px; }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__item > p { padding: 0 24px 22px; max-width: 36em; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] > p { animation: up .4s var(--ease) both; }
}

/* ── A receipt: what every program includes ── */
.receipt { width: min(100%, 480px); margin-inline: auto; padding: 26px 28px 30px; border-radius: 6px 6px var(--r) var(--r); rotate: 1.2deg; }
.receipt li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.receipt li + li { border-top: 2px dashed var(--line); }
.receipt li span { flex: 1; }
.receipt li b { font-size: var(--fs-small); padding: 3px 10px; border-radius: 999px; background: var(--green); }
.receipt li b.no { background: var(--ink); color: var(--white); }

/* ── A ticket: the 1:1 terms ── */
.ticket { width: min(100%, 440px); margin-inline: auto; rotate: 1.5deg; filter: drop-shadow(0 20px 22px rgba(14, 11, 22, .2)); }
.ticket__top { padding: 26px 28px 30px; border-radius: 30px 30px 0 0; background: var(--violet); color: var(--white); }
.ticket__stub { padding: 18px 28px 22px; border-radius: 0 0 30px 30px; background: var(--white); border-top: 2.5px dashed var(--line); }
.rows div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; }
.rows div + div { border-top: 2px dashed var(--line); }
.rows dt { color: var(--ink-2); }
.rows dd { font-weight: var(--bold); text-align: right; }

/* ── Prose: privacy ── */
.prose h2 { margin-top: 48px; font-size: var(--fs-body); font-weight: var(--bold); }
.prose p, .prose ul { margin-top: 12px; color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }

/* ── Closing call ── */
.close { display: grid; justify-items: center; gap: 24px; text-align: center; }

/* ── Footer ── */
.foot { margin: 0 12px 12px; padding: 44px 0 30px; border-radius: 32px; background: var(--ink); color: var(--white); }
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot__links a { min-height: 44px; text-decoration: none; }
.foot__links a > span { line-height: 44px; }
.foot__scope { margin-top: 36px; max-width: 46em; color: rgba(255, 255, 255, .76); }
.foot__meta { margin-top: 26px; display: flex; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; color: rgba(255, 255, 255, .76); }
.foot__meta a { color: var(--white); text-underline-offset: 4px; }

/* ── Motion: starts hidden only when the script is running and motion is welcome ── */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js [data-pop] { opacity: 0; scale: .5; transition: opacity .3s linear, scale .8s var(--spring), rotate .45s var(--spring), translate .45s var(--spring); transition-delay: calc(var(--i, 0) * 110ms + 80ms), calc(var(--i, 0) * 110ms + 80ms), 0s, 0s; }
  .js [data-pop].in { opacity: 1; scale: 1; }
  .js .float[data-pop] { transition: opacity .3s linear, scale .9s var(--spring), translate .7s var(--ease); transition-delay: calc(var(--i, 0) * 160ms + 450ms), calc(var(--i, 0) * 160ms + 450ms), 0s; }
  .js .hero__img { animation: settle 1.8s var(--ease) both; }
  .js .hero__copy > *, .js .pagehead .wrap > *, .js .pagehead .split > div:first-child > * { animation: up .9s var(--ease) both; }
  .js .hero__copy > :nth-child(2), .js .pagehead .wrap > :nth-child(2), .js .pagehead .split > div:first-child > :nth-child(2) { animation-delay: .1s; }
  .js .hero__copy > :nth-child(3), .js .pagehead .wrap > :nth-child(3), .js .pagehead .split > div:first-child > :nth-child(3) { animation-delay: .2s; }
  .js .hero__copy > :nth-child(4), .js .pagehead .split > div:first-child > :nth-child(4) { animation-delay: .3s; }
  .js .pagehead .split { animation: none; }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* ── Phone and tablet ── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .menu { display: block; }
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .note { min-height: 200px; }
  .note:nth-child(even) { translate: 0 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .nav { top: 8px; left: 8px; right: 8px; min-height: 60px; padding: 0 7px 0 9px; border-radius: 20px; }
  .hero { height: auto; overflow: visible; background: none; display: flex; flex-direction: column; }
  .hero__img { position: relative; inset: auto; height: 500px; object-position: 30% 24%; }
  .hero__wash { display: none; }
  .hero__copy { position: static; width: auto; padding: 72px 20px 0; }
  .hero__copy::before { display: none; }
  .float--led { left: 14px; top: 92px; }
  .float--stamp { left: auto; right: 10px; top: 236px; }
  .stamp { width: 124px; height: 124px; padding: 12px; }
  .float--msg { left: 12px; top: 396px; width: min(290px, 78%); }
  .pagehead { padding-top: 128px; }
  .split, .person, .one, .interest__grid { grid-template-columns: 1fr; }
  .split { gap: 44px; }
  .duo { padding-left: 16px; margin-right: 8px; }
  .person__pic { margin-inline: 14px; }
  .facts .sticker { max-width: 200px; }
  .facts .sticker:nth-child(1) { right: -22px; }
  .facts .sticker:nth-child(2) { left: -22px; }
  .facts .sticker:nth-child(3) { right: -18px; }
  .notes, .steps, .products, .doors, .roles, .pair { grid-template-columns: 1fr; }
  .note { min-height: 136px; padding: 22px; }
  .note:nth-child(odd) { margin-right: 20px; }
  .note:nth-child(even) { margin-left: 20px; }
  .steps { gap: 10px; }
  .step:nth-child(2), .step:nth-child(3) { translate: 0 0; }
  .step:nth-child(1) { margin-right: 24px; }
  .step:nth-child(2) { margin-inline: 12px; }
  .step:nth-child(3) { margin-left: 24px; }
  .step .heading { margin-top: 18px; }
  .door { min-height: 0; }
  .role .heading { margin-top: 18px; }
  .product { padding: 10px; border-radius: 28px; }
  .product__shot { border-radius: 20px; aspect-ratio: 5 / 4; }
  .rulebook { width: 66%; padding: 12px 14px; font-size: var(--fs-small); translate: -10% 8%; }
  .toggle { margin-left: 12px; }
  .form__pair { grid-template-columns: 1fr; gap: 0; }
  .namecard { flex-direction: column; align-items: flex-start; }
  .tape { padding: 20px 0; }
  .foot { margin: 0 8px 8px; border-radius: 26px; padding: 34px 0 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .float { translate: none; }
}
