/* Hallmark · shape: Sticker sheet (poster lockup hero, ticker, the group chat, four rule cards, the split you can try, two beliefs, the request, night footer under a giant lockup) · genre: playful · theme: custom · job: join · idea: "Cells is one word made of different talents: every letter of the wordmark is set by a different hand, and the page keeps putting different pieces together" · vibe: "playful, sticker-sheet, pastel, young, collage, loud wordmark"
 * paper: oklch(98.5% 0.008 95) on oklch(95.5% 0.022 205) · accent: oklch(64% 0.2 2) · display: Rethink Sans · body: Hanken Grotesk · hero: centred poster, the mixed-letter lockup with a talent tag on four letters, one line, two actions, the multicolour signet as a sticker · nav: brand left, three links, one pill · footer: night band, three short columns over the giant lockup · imagery: none, type, the signet and a built group chat carry it · signature: the mixed-letter "cells." lockup, one face per talent
 * axes: light/grotesk-heavy/chromatic-pink · posture: Full palette (paper cream, sheet aqua, four pastel fields butter pink sky sage, signal hot pink, night footer) · contrast: pass · fold: pass · inspiration: a user-supplied pastel collage newsletter page · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V5 · weakest: R, the inspiration is busy; kept stickers to four stars and one signet, and no cut-out collage without real photographs */
/* Hallmark · waive 37 · four families, Bagel and Pixelify only set letters of the lockup and the brand · the Cells idea is one word made of different talents, so each letter of the lockup gets its own hand */
/* Hallmark · waive 59 · the 97px gap is the hero foot meeting the ticker strip that belongs to it · the Cells ticker is the hero's own edge, every section below it sits 120px or more apart */
/* Hallmark · dismissed 58 · the 93-word window spans the chat, a dashed seam and the four short rule cards, counted across two sections */
/* Hallmark · dismissed F20 · the 1440 render shows the cell as four over three, the rotated tiles confuse the row count */
/* Hallmark · dismissed 25 · the beliefs are display statements at 44px, not running prose, and hold at 22ch */
/* Hallmark · answered F15 · the column gaps differ because the chat, the split and the beliefs are different compositions, not one grid */
/* Hallmark · waive 47c · grid paper sits under the split demo where tiles are placed on it · the Cells split board is a play surface and the grid is what the tiles sit on */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- page ---------- */
body { background: var(--color-paper); font-size: var(--text-md); }
h1, h2, h3 { font-weight: 800; letter-spacing: var(--tracking-display); line-height: 1.02; }
h2 { font-size: clamp(2.5rem, 4vw + 1rem, 4.75rem); max-width: 16ch; }
h3 { font-size: var(--text-title); line-height: 1.1; letter-spacing: -0.02em; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sheet { max-width: 1440px; margin: var(--space-md) auto 0; background: var(--color-paper-2); border: 1.5px solid var(--color-ink); border-radius: 28px 28px 0 0; border-bottom: 0; overflow: clip; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper-2); }
.skip:focus-visible { top: var(--space-md); }

.signet--multi { --c1: var(--color-butter); --c2: var(--color-pink); --c3: var(--color-sky); --c4: var(--color-accent); --c5: var(--color-sage); --c6: var(--color-star); stroke: var(--color-ink); stroke-width: 16; stroke-linejoin: round; overflow: visible; }

/* ---------- controls ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: 1.5px solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.pill:hover { background: var(--color-accent-2); }
.pill:active { transform: translateY(1px); }
.pill:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.pill:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.pill[aria-busy="true"] { cursor: progress; }
.pill--ghost { background: var(--color-paper-2); }
.pill--ghost:hover { background: var(--color-butter); }
.pill--ghost:disabled:hover { background: var(--color-paper-2); }
.pill--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.pill--big { min-height: 52px; padding: 0 var(--space-xl); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.text-link:hover { color: var(--color-accent-2); }
.text-link:active { opacity: 0.8; }
.text-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; gap: var(--space-xl); min-height: 76px; padding-inline: var(--space-xl); }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); text-decoration: none; }
.brand__signet { width: 38px; height: auto; }
.brand__word { font-family: var(--font-outlier); font-size: 1.75rem; line-height: 1; }
.brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.nav__links { display: flex; gap: var(--space-lg); margin-left: auto; }
.nav__links a { color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.nav__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; justify-items: center; align-content: center; text-align: center; min-height: calc(100svh - 76px - var(--space-md) - 58px); max-height: 940px; padding: var(--space-2xl) var(--space-xl) var(--space-3xl); }
.lockup { font-size: clamp(5.5rem, 18vw, 16.5rem); line-height: 1; margin-top: var(--space-xl); }
.hero__title { margin-top: var(--space-lg); font-size: clamp(1.75rem, 1.6vw + 1rem, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 24ch; }
.lockup__word { display: inline-flex; align-items: baseline; }
.lt { position: relative; display: inline-block; font-weight: 400; color: var(--color-ink); -webkit-text-stroke: 0.03em var(--color-ink); paint-order: stroke fill; }
.lt--c { font-family: var(--font-outlier); color: var(--color-butter); margin-right: 0.02em; }
.lt--e { font-family: var(--font-pixel); font-weight: 700; -webkit-text-stroke: 0; font-size: 0.92em; margin-right: 0.04em; }
.lt--l1 { font-family: var(--font-display); font-weight: 800; color: var(--color-paper-2); -webkit-text-stroke-width: 0.025em; }
.lt--l2 { font-family: var(--font-outlier); color: var(--color-pink); margin: 0 0.03em; transform: rotate(8deg); }
.lt--s { font-family: var(--font-display); font-weight: 800; color: var(--color-sky); letter-spacing: -0.03em; }
.lt--dot { font-family: var(--font-display); font-weight: 800; color: var(--color-accent); }
.tag { position: absolute; left: 50%; top: 26%; translate: -50% -100%; padding: var(--space-2xs) var(--space-sm); border: 1.5px solid var(--color-ink); border-radius: var(--radius-pill); font: 600 var(--text-sm)/1.1 var(--font-body); letter-spacing: 0; color: var(--color-ink); -webkit-text-stroke: 0; white-space: nowrap; rotate: -6deg; }
.lt--e .tag { rotate: 5deg; top: 30%; }
.lt--l2 .tag { rotate: -5deg; top: 8%; translate: -85% -100%; }
.lt--s .tag { rotate: 8deg; top: 40%; translate: -20% -100%; }
.tag--pink { background: var(--color-pink); }
.tag--sky { background: var(--color-sky); }
.tag--sage { background: var(--color-sage); }
.tag--butter { background: var(--color-butter); }
.hero__lede { max-width: 34ch; margin-top: var(--space-sm); font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-sm) var(--space-xl); margin-top: var(--space-xl); }
.hero__signet { position: absolute; right: 5%; bottom: var(--space-xl); width: clamp(110px, 13vw, 200px); height: auto; rotate: 12deg; }
.sticker-star { position: absolute; width: 44px; height: 44px; }
.sticker-star--a { left: 8%; top: 18%; width: 64px; height: 64px; rotate: -14deg; }
.sticker-star--b { right: 14%; top: 14%; width: 34px; height: 34px; rotate: 10deg; }
.sticker-star--c { left: 16%; bottom: 16%; width: 28px; height: 28px; }
.js .lt { animation: pop 0.5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.lt--e { --i: 1; } .lt--l1 { --i: 2; } .lt--l2 { --i: 3; } .lt--s { --i: 4; } .lt--dot { --i: 5; }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .js .lt { animation: none; } }

/* ---------- ticker ---------- */
.ticker { position: relative; overflow: hidden; border-block: 1.5px dashed var(--color-ink); background: var(--color-paper-2); }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker__run { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker__run li { display: flex; align-items: center; gap: var(--space-lg); padding: var(--space-md) 0 var(--space-md) var(--space-lg); font-weight: 600; white-space: nowrap; }
.ticker__run li::after { content: "✦"; color: var(--color-accent); }
@keyframes ticker { to { transform: translateX(-50%); } }
[data-loop]:not(.is-running) .ticker__track { animation-play-state: paused; }
.ticker__toggle { position: absolute; right: var(--space-sm); top: 50%; translate: 0 -50%; min-height: 32px; padding: 0 var(--space-sm); border: 1.5px solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font: 600 var(--text-xs)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.ticker__toggle::before { content: ""; position: absolute; inset: -8px; }
.ticker__toggle:hover { background: var(--color-butter); }
.ticker__toggle:active { opacity: 0.8; }
.ticker__toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
html:not(.js) .ticker__toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } .ticker__toggle { display: none; } }
.ticker--night { background: var(--color-night-2); color: var(--color-night-ink); border-color: var(--color-night-ink-2); }
.ticker--night .ticker__toggle { background: var(--color-night-2); color: var(--color-night-ink); border-color: var(--color-night-ink-2); }
.ticker--night .ticker__toggle:hover { background: var(--color-night); }
.ticker--night .ticker__toggle:focus-visible { outline-color: var(--color-focus-night); }
.ticker--night .ticker__run li::after { color: var(--color-pink); }

/* ---------- the group chat ---------- */
.chat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; padding: var(--section-gap-l) var(--space-3xl) var(--section-gap); }
.chat__phone { justify-self: center; width: 100%; max-width: 380px; margin: 0; padding: var(--space-lg); border: 1.5px solid var(--color-ink); border-radius: 36px; background: var(--color-paper); rotate: -3deg; }
.chat__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: var(--space-sm); margin-bottom: var(--space-md); border-bottom: 1.5px dashed var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.chat__top b { color: var(--color-ink); font-size: var(--text-md); }
.chat__log { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.msg { justify-self: start; max-width: 80%; padding: var(--space-xs) var(--space-md); border-radius: 18px 18px 18px 4px; background: var(--color-paper-2); border: 1px solid var(--color-rule); font-size: var(--text-sm); line-height: 1.35; }
.msg b { display: block; font-size: var(--text-xs); color: var(--color-ink-2); }
.msg--me { justify-self: end; border-radius: 18px 18px 4px 18px; background: var(--color-pink); border-color: var(--color-pink); }
.chat__day { justify-self: center; margin-top: var(--space-md); font-size: var(--text-xs); color: var(--color-muted); }
.chat__seen { margin-top: var(--space-sm); text-align: right; font-size: var(--text-xs); color: var(--color-muted); }
.chat__text { display: grid; gap: var(--space-lg); }
.chat__lead { font-size: var(--text-xl); font-weight: 600; line-height: 1.3; max-width: 28ch; }
.chat__text p:last-child { max-width: 44ch; color: var(--color-ink-2); }

/* ---------- how it works ---------- */
.how { padding: var(--section-gap-s) var(--space-xl) var(--section-gap); border-top: 1.5px dashed var(--color-ink); }
.how h2 { margin: 0 0 var(--space-2xl) var(--space-xl); }
.how__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.card { display: grid; align-content: start; gap: var(--space-md); min-height: 320px; padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-card); }
.card h3 { padding-bottom: var(--space-md); border-bottom: 1.5px dashed color-mix(in oklch, var(--color-ink) 35%, transparent); font-size: clamp(1.5rem, 1vw + 1rem, 2rem); }
.card p { color: var(--color-ink); }
.card--butter { background: var(--color-butter); }
.card--pink { background: var(--color-pink); }
.card--sky { background: var(--color-sky); }
.card--sage { background: var(--color-sage); }

/* ---------- the split ---------- */
.split { padding: var(--section-gap-s) var(--space-3xl); background-color: var(--color-paper); background-image: linear-gradient(var(--color-grid) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid) 1px, transparent 1px); background-size: 32px 32px; border-block: 1.5px solid var(--color-ink); }
.split__head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.split__head p { max-width: 40ch; font-size: var(--text-lead); color: var(--color-ink-2); }
.split__stage { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-2xl); align-items: center; }
.split__cells { display: flex; flex-wrap: wrap; gap: var(--space-2xl); justify-content: center; align-items: center; min-height: 460px; }
.split__cells.is-split { justify-content: space-evenly; }
.cell { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: var(--space-2xs); width: 100%; max-width: 580px; }
.is-split .cell { flex: 0 1 380px; min-width: 0; }
.cell li { display: grid; place-items: center; width: 132px; aspect-ratio: 1.05; padding: var(--space-md); border: 1.5px solid var(--color-ink); border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; background: var(--color-butter); color: var(--color-ink); font-weight: 600; line-height: 1.1; text-align: center; }
.cell li:nth-child(4n+2) { border-radius: 44% 56% 40% 60% / 58% 44% 56% 42%; transform: rotate(-6deg); background: var(--color-sky); }
.cell li:nth-child(4n+3) { border-radius: 52% 48% 60% 40% / 42% 58% 42% 58%; transform: rotate(5deg); background: var(--color-pink); }
.cell li:nth-child(4n) { border-radius: 40% 60% 48% 52% / 54% 40% 60% 46%; background: var(--color-sage); }
.cell li:first-child { background: var(--color-accent); }
.cell li.is-new { background: var(--color-paper-2); border-style: dashed; animation: arrive 0.42s var(--ease-out) both; }
@keyframes arrive { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
.is-split .cell { animation: part 0.6s var(--ease-out) both; }
.is-split .cell:last-child { --dir: 1; }
@keyframes part { from { opacity: 0.4; transform: translateX(calc(var(--dir, -1) * -40px)); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cell li.is-new, .is-split .cell { animation: none; } }
.split__controls { display: grid; gap: var(--space-lg); align-content: center; }
.split__count { font-size: var(--text-lead); font-weight: 600; }
.split__n { display: block; font-family: var(--font-outlier); font-weight: 400; font-size: clamp(5rem, 8vw, 8rem); line-height: 1; color: var(--color-butter); -webkit-text-stroke: 0.03em var(--color-ink); paint-order: stroke fill; font-variant-numeric: tabular-nums; }
.split__buttons { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* ---------- beliefs ---------- */
.believe { padding: var(--section-gap) var(--space-3xl); }
.believe h2 { margin-bottom: var(--space-2xl); }
.believe__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3xl); }
.believe__list li { display: grid; gap: var(--space-lg); align-content: start; }
.believe__n { font-family: var(--font-outlier); font-size: clamp(5rem, 9vw, 9rem); line-height: 0.9; -webkit-text-stroke: 0.03em var(--color-ink); paint-order: stroke fill; color: var(--color-sky); }
.believe__list li:nth-child(2) .believe__n { color: var(--color-pink); }
.believe__list p { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.8vw + 1rem, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; max-width: 22ch; }

/* ---------- request an invite ---------- */
.invite { position: relative; display: grid; justify-items: center; text-align: center; padding: var(--section-gap-s) var(--space-xl) var(--section-gap); border-top: 1.5px dashed var(--color-ink); }
.invite h2 { max-width: none; font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -0.04em; text-shadow: 0.045em 0.045em 0 var(--color-pink); }
.invite__lede { max-width: 46ch; margin-top: var(--space-lg); color: var(--color-ink-2); font-size: var(--text-lead); }
.sticker-star--d { right: 12%; top: var(--space-3xl); width: 56px; height: 56px; rotate: 16deg; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); width: 100%; max-width: 760px; margin-top: var(--space-2xl); text-align: left; }
.field { display: grid; gap: var(--space-xs); min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { padding: 0 0 0 var(--space-md); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.field__opt { font-weight: 400; color: var(--color-muted); }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; height: 50px; padding: 0 var(--space-lg); border: 1.5px solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: 2px; transition: background-color var(--dur-short) var(--ease-out); }
.field textarea { height: auto; min-height: 120px; padding-block: var(--space-sm); border-radius: var(--radius-card); resize: vertical; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-muted); }
.field input:hover, .field textarea:hover { background: var(--color-paper-2); }
.field input:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }
.field [aria-invalid] { border-color: var(--color-error); }
.field input:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.lang__opts { display: flex; gap: var(--space-xs); }
.lang__opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lang__opts label { display: inline-flex; align-items: center; min-height: 50px; padding: 0 var(--space-lg); border: 1.5px solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-paper); cursor: pointer; font-weight: 400; font-size: var(--text-md); transition: background-color var(--dur-short) var(--ease-out); }
.lang__opts label:hover { background: var(--color-butter); }
.lang__opts input:checked + label { background: var(--color-sky); font-weight: 600; }
.lang__opts input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__send { display: grid; justify-items: center; gap: var(--space-sm); margin-top: var(--space-sm); }
.form__help { min-height: 1lh; max-width: 48ch; text-align: center; font-size: var(--text-sm); color: var(--color-ink-2); }
.form__help.is-error { color: var(--color-error); }

/* ---------- footer ---------- */
.foot { background: var(--color-night); color: var(--color-night-ink); padding: var(--space-2xl) var(--space-xl) var(--space-lg); }
.foot__cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: var(--space-xl); align-items: start; }
.foot__about { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); line-height: 1.3; letter-spacing: -0.02em; max-width: 22ch; }
.foot__nav { display: grid; justify-items: start; }
.foot a { color: var(--color-night-ink); text-decoration-color: var(--color-pink); text-underline-offset: 0.2em; transition: color var(--dur-short) var(--ease-out); }
.foot__nav a { min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; }
.foot a:hover { color: var(--color-pink); }
.foot a:focus-visible { outline: 2px solid var(--color-focus-night); outline-offset: 2px; }
.foot__by { color: var(--color-night-ink-2); font-size: var(--text-sm); }
.foot__lockup { margin-top: var(--space-2xl); padding-bottom: var(--space-md); font-size: clamp(5rem, 21.5vw, 19.5rem); line-height: 1; text-align: center; white-space: nowrap; }
.foot__lockup .lt { -webkit-text-stroke-color: var(--color-night); }
.foot__lockup .lt--e { color: var(--color-night-ink); }
.foot__lockup .lt--l1 { color: var(--color-night); -webkit-text-stroke-color: var(--color-night-ink); }
.js .foot__lockup .lt { animation: none; }


/* ---------- language switch, legal, consent ---------- */
.nav__lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border: 1.5px solid var(--color-ink); border-radius: var(--radius-pill); color: var(--color-ink); font-size: var(--text-sm); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out); }
.nav__links + .nav__lang { margin-left: 0; }
.nav__lang:hover { background: var(--color-sky); }
.nav__lang:active { opacity: 0.8; }
.nav__lang:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.form__note { max-width: 52ch; text-align: center; font-size: var(--text-xs); color: var(--color-muted); }
.form__note a { color: var(--color-ink-2); }
.form__note a:hover { color: var(--color-ink); }
.form__note a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__legal { display: grid; gap: var(--space-sm); }
.foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-md); font-size: var(--text-sm); }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--color-night-ink); font: inherit; text-decoration: underline; text-decoration-color: var(--color-pink); text-underline-offset: 0.2em; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.foot__btn:hover { color: var(--color-pink); }
.foot__btn:active { opacity: 0.8; }
.foot__btn:focus-visible { outline: 2px solid var(--color-focus-night); outline-offset: 2px; }
.consent { position: fixed; left: var(--space-md); bottom: var(--space-md); z-index: var(--z-toast); display: grid; gap: var(--space-sm); width: min(420px, calc(100% - 2 * var(--space-md))); padding: var(--space-lg); border: 1.5px solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); box-shadow: 5px 5px 0 var(--color-ink); animation: consent-in var(--dur-long) var(--ease-out) both; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
.consent__title { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); letter-spacing: -0.02em; line-height: 1.15; }
.consent__body { font-size: var(--text-sm); line-height: 1.5; color: var(--color-ink-2); }
.consent__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); margin-top: var(--space-2xs); }
.consent__row .pill { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.consent__more { font-size: var(--text-sm); color: var(--color-ink-2); }
.consent__more:hover { color: var(--color-ink); }
.consent__more:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }


/* ---------- legal pages ---------- */
.legal { display: grid; gap: var(--space-3xl); max-width: 760px; margin: 0 auto; padding: var(--space-2xl) var(--space-xl) var(--section-gap-s); }
.legal article { display: grid; gap: var(--space-md); scroll-margin-top: var(--space-xl); }
.legal article + article { padding-top: var(--space-3xl); border-top: 1.5px dashed var(--color-ink); }
.legal h1 { font-size: clamp(2.5rem, 4vw + 1rem, 4rem); margin-bottom: var(--space-sm); }
.legal h2 { font-size: var(--text-xl); max-width: none; margin-top: var(--space-lg); letter-spacing: -0.02em; }
.legal p { max-width: 68ch; line-height: 1.6; color: var(--color-ink-2); }
.legal a { color: var(--color-ink); text-decoration-color: var(--color-accent); text-underline-offset: 0.18em; }
.legal a:hover { color: var(--color-accent-2); }
.legal a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.legal code { font-size: 0.9em; }
.legal__date { font-size: var(--text-sm); color: var(--color-muted); }
.legal__more { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-lg); }
.foot--legal { padding-block: var(--space-xl); }
img.brand__signet { width: 38px; height: auto; }

/* ---------- smaller screens ---------- */
@media (max-width: 60rem) {
  .nav__links { display: none; }
  .nav__lang { margin-left: auto; }
  .nav { justify-content: space-between; padding-inline: var(--space-lg); }
  .hero { min-height: 0; max-height: none; padding: var(--space-3xl) var(--space-lg) var(--space-3xl); }
  .hero__signet { width: 90px; right: var(--space-lg); bottom: var(--space-md); }
  .chat, .split__stage { grid-template-columns: minmax(0, 1fr); }
  .chat { padding: var(--section-gap-s) var(--space-lg); gap: var(--space-2xl); }
  .how { padding-inline: var(--space-md); }
  .how h2 { margin-left: var(--space-sm); }
  .how__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .believe { padding-inline: var(--space-lg); }
  .believe__list { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .split__cells.is-split { flex-direction: column; }
  .is-split .cell { flex-basis: auto; width: 100%; }
  .foot__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__about { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .sheet { margin-top: var(--space-xs); border-radius: 20px 20px 0 0; }
  .nav { padding-inline: var(--space-md); min-height: 64px; }
  .nav .pill--small { display: none; }
  .legal { padding-inline: var(--space-md); }
  .consent { left: var(--space-sm); bottom: var(--space-sm); width: calc(100% - 2 * var(--space-sm)); }
  .hero { padding: var(--space-3xl) var(--space-md) var(--space-2xl); }
  .lockup { font-size: clamp(4.25rem, 22vw, 6rem); }
  .tag { font-size: var(--text-xs); padding: var(--space-3xs) var(--space-xs); }
  .sticker-star--a { width: 40px; height: 40px; left: 4%; top: 8%; }
  .sticker-star--b { right: 6%; top: 6%; }
  .sticker-star--c, .sticker-star--d { display: none; }
  .hero__signet { position: static; justify-self: center; margin-top: var(--space-xl); }
  .chat, .split, .believe { padding-inline: var(--space-md); }
  .how__cards { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .cell li { width: 96px; padding: var(--space-xs); font-size: var(--text-sm); }
  .split__cells { min-height: 0; gap: var(--space-xl); }
  .invite { padding-inline: var(--space-md); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .field--wide { grid-column: auto; }
  .foot { padding-inline: var(--space-md); }
  .foot__cols { grid-template-columns: minmax(0, 1fr); }
}
