/* TeddySteps — generated from tokens.json */
:root, [data-theme="paper"] {
  --paper: #F2ECE1;
  --card: #FBF8F2;
  --white: #FFFFFF;
  --ink: #2D1E2F;
  --ink-muted: #5E4D5C;
  --line: #CFC4BC;
  --track-off: #CBBFCB;
  --bluebird: #3D6AE0;
  --on-bluebird: #FFFFFF;
  --plum: #7E2048;
  --rose: #FF6B8E;
  --cornflower: #7393E6;
  --cornflower-deep: #5878D0;
  --caramel: #D98E55;
  --caramel-deep: #B66C3A;
  --tangerine: #F2762E;
  --tangerine-deep: #C9561E;
  --muzzle: #F8EAD4;
  --sunshine: #FFD84D;
  --lilac: #D9CFF2;
  --pistachio: #BFD39A;
  --butter: #F7E3A3;
  --apricot: #F7A76C;
  --forest: #2F6B4F;
  --tomato: #D2402F;
  --shadow-lg: 0 5px 0 0 #2D1E2F;
  --shadow-md: 0 4px 0 0 #2D1E2F;
  --shadow-sm: 0 3px 0 0 #2D1E2F;
  --shadow-rose: 0 5px 0 0 #FF6B8E;
  --shadow-book: 12px 17px 34px -12px rgba(45, 30, 47, 0.55);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 56px;
  --radius-s: 14px;
  --radius-m: 16px;
  --radius-l: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --edge-bold: 2.5px;
  --edge: 2px;
  --edge-dash: 2.5px;
  --tap-min: 44px;
  --button-lg: 58px;
  --button-md: 48px;
  --field: 50px;
  --fab: 62px;
  --tabbar: 84px;
  --screen: 390px;
  --bob: 2.6s;
  --sway: 3.2s;
  --drift: 5s;
  --hop: 2s;
  --twinkle: 2.4s;
  --press: 0.12s;
  --font-display: "Fraunces", Georgia, serif;
  --font-sticker: "Bagel Fat One", "Nunito", system-ui, sans-serif;
  --font-sans: "Nunito", system-ui, sans-serif;
  --font-hand: "Shantell Sans", "Comic Sans MS", cursive;
}
.display-xl { font-family: var(--font-display); font-size: 76px; line-height: 76px; font-weight: 800; letter-spacing: -0.01em; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.display-l { font-family: var(--font-display); font-size: 56px; line-height: 58px; font-weight: 800; letter-spacing: -0.01em; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.display { font-family: var(--font-display); font-size: 36px; line-height: 38px; font-weight: 800; letter-spacing: -0.01em; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.title-l { font-family: var(--font-display); font-size: 30px; line-height: 32px; font-weight: 800; letter-spacing: -0.01em; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.title-m { font-family: var(--font-display); font-size: 22px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.title-s { font-family: var(--font-display); font-size: 18px; line-height: 22px; font-weight: 700; letter-spacing: -0.01em; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.logo { font-family: var(--font-sticker); font-size: 26px; line-height: 26px; font-weight: 400; }
.button-lg { font-family: var(--font-sticker); font-size: 18px; line-height: 22px; font-weight: 400; letter-spacing: 0.01em; }
.button-md { font-family: var(--font-sticker); font-size: 16px; line-height: 20px; font-weight: 400; letter-spacing: 0.01em; }
.number { font-family: var(--font-sticker); font-size: 40px; line-height: 38px; font-weight: 400; }
.body-l { font-family: var(--font-sans); font-size: 19px; line-height: 28px; font-weight: 400; }
.row-title { font-family: var(--font-sans); font-size: 16px; line-height: 22px; font-weight: 800; }
.body { font-family: var(--font-sans); font-size: 14px; line-height: 21px; font-weight: 400; }
.field-label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 800; }
.meta { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 700; }
.eyebrow { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.14em; }
.tab { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; }
.note { font-family: var(--font-hand); font-size: 19px; line-height: 23px; font-weight: 700; }
.note-s { font-family: var(--font-hand); font-size: 15px; line-height: 19px; font-weight: 500; }

1,9..144,400..900,0..100,0..1&family=Nunito:wght@400;700;800&family=Shantell+Sans:wght@500;700&display=swap");

/* TeddySteps components. Colours, sizes and radii come from tokens.css. */
body { margin: 0; padding: 16px; background: var(--paper); color: var(--ink); font-family: var(--font-sans); }
a { color: inherit; }
button { font-family: inherit; }
.ts-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ts-col { display: flex; flex-direction: column; gap: 14px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .rc:focus-visible + span, .sw:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---- Motion: the gang never stands still ---- */
@keyframes ts-bob { 0%,100% { transform: translateY(0) rotate(-3deg) } 50% { transform: translateY(-9px) rotate(3deg) } }
@keyframes ts-sway { 0%,100% { transform: rotate(-7deg) } 50% { transform: rotate(7deg) } }
@keyframes ts-hop { 0%,60%,100% { transform: translateY(0) scale(1,1) } 20% { transform: translateY(-16px) scale(.97,1.04) } 40% { transform: translateY(0) scale(1.04,.96) } }
@keyframes ts-drift { 0%,100% { transform: translate(0,0) rotate(-4deg) } 50% { transform: translate(10px,-10px) rotate(4deg) } }
@keyframes ts-tw { 0%,100% { transform: scale(1) rotate(0deg) } 50% { transform: scale(1.25) rotate(18deg) } }
.ts-bob, .ts-sway, .ts-hop, .ts-drift { transform-origin: 50% 100%; display: inline-block; }
.ts-bob { animation: ts-bob var(--bob) ease-in-out infinite; }
.ts-sway { animation: ts-sway var(--sway) ease-in-out infinite; }
.ts-hop { animation: ts-hop var(--hop) ease-in-out infinite; }
.ts-drift { animation: ts-drift var(--drift) ease-in-out infinite; }
.ts-tw-wrap { animation: ts-tw var(--twinkle) ease-in-out infinite; transform-origin: 50% 50%; }
.d1 { animation-delay: -.7s } .d2 { animation-delay: -1.4s } .d3 { animation-delay: -2.1s }
.ts-peek { pointer-events: none; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .ts-bob, .ts-sway, .ts-hop, .ts-drift, .ts-tw-wrap { animation: none } .ts-btn { transition: none } }

/* ---- Type helpers ---- */
.ts-title-l, .ts-title-s, .ts-display { font-family: var(--font-display); font-variation-settings: 'SOFT' 100, 'WONK' 1; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.ts-display { font-size: 36px; line-height: 38px; font-weight: 800; }
.ts-title-l { font-size: 30px; line-height: 32px; font-weight: 800; }
.ts-title-s { font-size: 18px; line-height: 22px; font-weight: 700; }
.ts-eyebrow { font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ts-meta { font-size: 13px; line-height: 18px; font-weight: 700; }
.ts-muted { color: var(--ink-muted); }
.ts-row-title { font-size: 16px; line-height: 22px; font-weight: 800; }
.ts-row-body { font-size: 14px; line-height: 1.35; color: var(--ink-muted); }
.ts-hand { font-family: var(--font-hand); font-weight: 700; line-height: 1.2; display: inline-block; }
.ts-textlink { min-height: var(--tap-min); display: inline-flex; align-items: center; padding: 0 4px; font-size: 14px; font-weight: 800; color: var(--ink); }

/* ---- Wordmark ---- */
.ts-wordmark { position: relative; display: inline-block; font-family: var(--font-sticker); line-height: 1; white-space: nowrap; }
.ts-wm-shadow { position: absolute; }
.ts-wm-face { position: relative; }
.ts-wm-star { position: absolute; display: block; }

/* ---- Icon ---- */
.ts-icon { display: block; flex: 0 0 auto; }

/* ---- Buttons: stickers you could peel off ---- */
.ts-btn { display: inline-flex; box-sizing: border-box; position: relative; align-items: center; justify-content: center; gap: 10px; border-radius: var(--radius-pill); border: var(--edge-bold) solid var(--ink); font-family: var(--font-sticker); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform var(--press) ease, box-shadow var(--press) ease; }
.ts-btn:hover { transform: translateY(-2px); }
.ts-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink) !important; }
.ts-btn-lg { min-height: var(--button-lg); padding: 0 28px; font-size: 18px; box-shadow: var(--shadow-lg); }
.ts-btn-md { min-height: var(--button-md); padding: 0 22px; font-size: 16px; box-shadow: var(--shadow-md); }
.ts-btn-block { display: flex; width: 100%; }
.ts-btn-primary { background: var(--bluebird); color: var(--on-bluebird); }
.ts-btn-dark { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-rose); }
.ts-btn-paper { background: var(--paper); color: var(--ink); }
.ts-btn-sunshine { background: var(--sunshine); color: var(--ink); }
.ts-btn-danger { background: var(--plum); color: var(--white); }
.ts-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.ts-iconbtn { width: var(--tap-min); height: var(--tap-min); border-radius: var(--radius-pill); background: transparent; border: 0; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--ink); cursor: pointer; padding: 0; }
.ts-iconbtn-white { background: var(--white); }
.ts-iconbtn-paper { background: var(--paper); border: var(--edge) solid var(--ink); }

/* ---- Choice chips and switches ---- */
.ts-choice { position: relative; display: inline-flex; }
.rc { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.rc + span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap-min); padding: 0 16px; box-sizing: border-box; border-radius: 22px; border: var(--edge) solid var(--ink); background: var(--card); font-weight: 800; font-size: 14px; cursor: pointer; }
.rc:checked + span { background: var(--sunshine); color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.ts-switchrow { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.sw { appearance: none; -webkit-appearance: none; width: 50px; height: 30px; border-radius: 15px; background: var(--track-off); box-shadow: inset 0 0 0 2px var(--ink); position: relative; flex: 0 0 auto; margin: 0; cursor: pointer; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 2px var(--ink); transition: left .2s; }
.sw:checked { background: var(--bluebird); }
.sw:checked::after { left: 23px; }

/* ---- Fields ---- */
.ts-field { display: flex; flex-direction: column; gap: 6px; }
.ts-field label { font-size: 14px; font-weight: 800; }
.ts-field input, .ts-field textarea { height: var(--field); box-sizing: border-box; padding: 0 16px; border-radius: var(--radius-m); border: var(--edge) solid var(--ink); background: var(--white); font-family: var(--font-sans); font-size: 16px; color: var(--ink); }
.ts-field input::placeholder { color: var(--ink-muted); }
.ts-hint { font-size: 13px; color: var(--ink-muted); font-weight: 700; }
.ts-field.is-error input { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.ts-field.is-error .ts-hint { color: var(--plum); }
.ts-code { display: flex; gap: 8px; }
.ts-code-box { width: 46px; height: 58px; box-sizing: border-box; border-radius: var(--radius-m); border: var(--edge) solid var(--ink); background: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-sticker); font-size: 26px; }
.ts-code-box.is-next { box-shadow: var(--shadow-sm); background: var(--sunshine); }

/* ---- Header band with scalloped edge ---- */
.ts-header { position: relative; z-index: 1; max-width: 390px; }
.ts-header-band { padding: 0 24px 10px; position: relative; }
.ts-header-bar { height: 56px; display: flex; align-items: center; justify-content: space-between; padding-top: 6px; }
.ts-header-sub { font-size: 14px; font-weight: 800; margin-top: 4px; }
.ts-steps { display: flex; align-items: center; gap: 10px; }
.ts-steps-bar { flex: 1; display: flex; gap: 6px; }
.ts-step { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.ts-step.is-done { background: var(--ink); }
.ts-steps-label { font-size: 13px; font-weight: 800; }

/* ---- Tab bar ---- */
.ts-tabbar { height: var(--tabbar); box-sizing: border-box; padding: 6px 12px 18px; background: var(--white); border-top: var(--edge-bold) solid var(--ink); display: flex; align-items: center; justify-content: space-around; max-width: 390px; margin-top: 40px; }
.ts-tab { min-width: 56px; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; font-size: 12px; font-weight: 700; color: var(--ink); cursor: pointer; }
.ts-tab.is-on { font-weight: 800; }
.ts-tab-pill { width: 44px; height: 30px; border-radius: 15px; background: var(--sunshine); display: flex; align-items: center; justify-content: center; }
.ts-fab { width: var(--fab); height: var(--fab); padding: 0; border-radius: 31px; background: var(--bluebird); color: var(--on-bluebird); box-shadow: var(--shadow-lg); margin-top: -30px; }

/* ---- Stickers ---- */
.ts-sticker { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: var(--radius-s); border: var(--edge) solid var(--ink); font-size: 13px; font-weight: 800; white-space: nowrap; color: var(--ink); }
.ts-sticker-sunshine { background: var(--sunshine); box-shadow: var(--shadow-sm); }
.ts-sticker-white { background: var(--white); }
.ts-sticker-lilac { background: var(--lilac); }
.ts-sticker-pistachio { background: var(--pistachio); }
.ts-sticker-butter { background: var(--butter); }

/* ---- Avatar ---- */
.ts-avatar { border-radius: var(--radius-pill); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-sticker); color: var(--ink); flex: 0 0 auto; border: var(--edge) solid var(--ink); box-sizing: border-box; }

/* ---- Moment card ---- */
.ts-moment { display: block; position: relative; text-decoration: none; color: var(--ink); background: var(--white); border: var(--edge) solid var(--ink); border-radius: var(--radius-l); box-shadow: var(--shadow-md); padding: 8px; max-width: 340px; }
.ts-moment-photo { height: 140px; border-radius: 18px; border: var(--edge) solid var(--ink); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ts-moment-foot { padding: 10px 6px 4px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ts-moment-foot .ts-meta { color: var(--ink-muted); font-size: 14px; }
.ts-moment-hugs { display: flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--radius-s); background: var(--lilac); font-size: 13px; font-weight: 800; }

/* ---- Range ---- */
.ts-range { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: var(--paper); border: var(--edge) solid var(--ink); max-width: 340px; }
.ts-range-track { position: relative; height: 16px; box-sizing: border-box; border-radius: 8px; background: var(--lilac); border: var(--edge) solid var(--ink); }
.ts-range-band { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--cornflower); }
.ts-range-now { position: absolute; top: -6px; width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px; background: var(--tangerine); border: var(--edge-bold) solid var(--ink); }
.ts-range-axis { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--ink-muted); }

/* ---- Rows ---- */
.ts-listrow { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 6px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); max-width: 342px; }
.ts-listrow.is-danger { color: var(--plum); }
.ts-personrow { display: flex; align-items: center; gap: 12px; min-height: 64px; border-bottom: 2px dashed var(--line); max-width: 342px; }

/* ---- Callout, empty slot ---- */
.ts-callout { display: flex; align-items: center; gap: 12px; border: var(--edge) solid var(--ink); border-radius: 20px; box-shadow: var(--shadow-md); padding: 12px 14px; max-width: 342px; box-sizing: border-box; }
.ts-emptyslot { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 0 14px; border-radius: 20px; border: var(--edge-dash) dashed var(--ink); background: var(--butter); text-decoration: none; color: var(--ink); max-width: 342px; box-sizing: border-box; }
.ts-emptyslot-plus { width: 38px; height: 38px; box-sizing: border-box; border-radius: 19px; background: var(--bluebird); color: var(--on-bluebird); border: var(--edge) solid var(--ink); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }

/* ---- Book cover ---- */
.ts-book { position: relative; flex: 0 0 auto; overflow: hidden; border-radius: 4px; box-shadow: var(--shadow-book); box-sizing: border-box; }
.ts-book-words { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding-bottom: 16%; }
.ts-book-name { font-family: var(--font-sticker); line-height: .95; letter-spacing: -.01em; }
.ts-book-sub { font-family: var(--font-hand); font-weight: 700; color: var(--forest); transform: rotate(-4deg); }

/* ---- Voice note ---- */
.ts-voice { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 30px; background: var(--white); border: var(--edge) solid var(--ink); max-width: 320px; }
.ts-voice-play { width: 44px; height: 44px; border-radius: 22px; background: var(--bluebird); color: var(--on-bluebird); border: var(--edge) solid var(--ink); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; cursor: pointer; padding: 0; }
.ts-voice-wave { display: flex; align-items: center; gap: 3px; height: 24px; margin-top: 2px; }
.ts-voice-wave span { width: 4px; border-radius: 2px; background: var(--ink); }

/* ---- Hug notification, banner ---- */
.ts-hugtoast { display: flex; align-items: center; gap: 12px; padding: 10px 22px 10px 8px; border-radius: 34px; background: var(--butter); border: var(--edge) solid var(--ink); box-shadow: var(--shadow-md); max-width: 342px; box-sizing: border-box; }
.ts-hugtoast-badge { width: 54px; height: 54px; box-sizing: border-box; border-radius: 27px; background: var(--paper); border: var(--edge) solid var(--ink); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; }
.ts-banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; border: var(--edge) solid var(--ink); max-width: 342px; box-sizing: border-box; }

/* ---- Leap timeline and next-up card ---- */
.ts-leaps { display: flex; flex-direction: column; gap: 10px; padding: 64px 22px 0; box-sizing: border-box; }
.ts-leaps-track { position: relative; height: 14px; border-radius: 7px; background: var(--white); border: var(--edge) solid var(--ink); }
.ts-leaps-done { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--pistachio); }
.ts-leap { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.ts-leap-dot { width: 26px; height: 26px; box-sizing: border-box; border-radius: 13px; border: var(--edge) solid var(--ink); background: var(--white); display: flex; align-items: center; justify-content: center; font: 800 12px/1 var(--font-sans); }
.ts-leap.is-past .ts-leap-dot { background: var(--pistachio); }
.ts-leap.is-next .ts-leap-dot { width: 40px; height: 40px; border-radius: 20px; border-width: 2.5px; background: var(--sunshine); box-shadow: var(--shadow-sm); }
.ts-leap-tag { position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%); white-space: nowrap; padding: 5px 12px; border-radius: var(--radius-s); border: var(--edge) solid var(--ink); background: var(--sunshine); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 800; }
.ts-leaps-now { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; box-sizing: border-box; border-radius: 11px; background: var(--tangerine); border: var(--edge-bold) solid var(--ink); }
.ts-leaps-now-tag { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 800; }
.ts-leaps-axis { display: flex; justify-content: space-between; margin-top: 30px; font-size: 12px; font-weight: 700; color: var(--ink-muted); }
.ts-nextup { border: var(--edge-bold) solid var(--ink); border-radius: var(--radius-l); box-shadow: var(--shadow-md); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; max-width: 342px; box-sizing: border-box; }
.ts-nextup-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ts-nextup-list { margin: 0; padding-left: 18px; font-size: 14px; line-height: 21px; }
.ts-nextup-list li { margin-bottom: 3px; }
@media (max-width: 520px) {
  .ts-leaps { padding: 60px 12px 0; }
  .ts-leap-dot { width: 20px; height: 20px; font-size: 10px; }
  .ts-leap.is-next .ts-leap-dot { width: 32px; height: 32px; }
  .ts-leaps-axis span:not(:first-child):not(:last-child) { display: none; }
}

/* teddysteps.nl, after design/brand/TeddySteps-landing.dc.html. Tokens only, no hex. */

@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-Italic.woff2") format("woff2"); font-weight: 600 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/Nunito.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Shantell Sans"; src: url("/fonts/ShantellSans.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Bagel Fat One"; src: url("/fonts/BagelFatOne.woff2") format("woff2"); font-weight: 400; font-display: swap; }

html { scroll-behavior: smooth; scroll-padding-top: var(--space-6); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); overflow-x: hidden; }
main { display: block; }
a { color: var(--ink); }
a:hover { color: var(--plum); }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.lp-skip { position: absolute; left: var(--space-4); top: -60px; z-index: 10; padding: var(--space-3) var(--space-4); background: var(--white); border: var(--edge) solid var(--ink); border-radius: var(--radius-m); font-weight: 800; }
.lp-skip:focus { top: var(--space-4); }

/* ---- Layout ---- */
.lp-wrap { max-width: 1200px; margin: 0 auto; padding-left: max(var(--space-6), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-6), env(safe-area-inset-right, 0px)); box-sizing: border-box; }
:root { --lp-section: calc(var(--space-8) + var(--space-6)); }
.lp-section > .lp-wrap, .lp-dark > .lp-wrap { padding-top: var(--lp-section); padding-bottom: var(--lp-section); }
.lp-stack { display: flex; flex-direction: column; gap: var(--space-7); }
.lp-split { display: flex; flex-wrap: wrap; gap: var(--space-8); align-items: center; }
.lp-split-top { align-items: flex-start; }
.lp-split-reverse { flex-wrap: wrap-reverse; }
.lp-col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-5); }
.lp-center { align-items: center; justify-content: center; }
.lp-intro { display: flex; flex-direction: column; gap: var(--space-4); max-width: 760px; }
.lp-intro-row { display: flex; flex-wrap: wrap; gap: var(--space-7); align-items: flex-end; justify-content: space-between; }
.lp-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* ---- Type ---- */
.lp-h { font-family: var(--font-display); font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
.lp-h em { font-style: italic; color: var(--plum); }
/* display-xl, display-l and title-l from tokens.json. */
.lp-h1 { font-size: 76px; line-height: 76px; }
.lp-h2 { font-size: 56px; line-height: 58px; }
.lp-h3 { font-size: 30px; line-height: 32px; display: flex; align-items: center; gap: var(--space-3); }
.lp-eyebrow { font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
/* body-l */
.lp-lead, .lp-text { font-size: 19px; line-height: 28px; max-width: 560px; }
.lp-strong { font-size: 16px; line-height: 24px; font-weight: 800; }
.lp-small { font-size: 14px; line-height: 21px; font-weight: 700; max-width: 760px; }
.lp-text-link { font-weight: 800; display: inline-flex; align-items: center; min-height: var(--tap-min); }

/* ---- Header and footer ---- */
.lp-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-top: var(--space-5); padding-bottom: var(--space-3); flex-wrap: wrap; }
.lp-nav nav { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.lp-logo { display: inline-flex; min-height: var(--tap-min); align-items: center; padding-right: var(--space-6); text-decoration: none; }
.lp-link { font-size: 15px; font-weight: 800; text-decoration: none; min-height: var(--tap-min); display: inline-flex; align-items: center; }
.lp-footer .lp-wrap { padding-top: var(--space-7); padding-bottom: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; justify-content: space-between; }
.lp-footer-logo { font-family: var(--font-sticker); font-size: 28px; }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: var(--space-6); font-size: 14px; font-weight: 700; }
.lp-footer-links a { display: inline-flex; min-height: var(--tap-min); align-items: center; }
.lp-footer p { font-size: 13px; line-height: 19px; width: 100%; }

/* ---- Dark sections: aubergine ground, paper text ---- */
.lp-dark { background: var(--ink); color: var(--paper); }
.lp-dark a { color: var(--paper); }
.lp-dark a:hover { color: var(--sunshine); }
.lp-dark a:focus-visible { outline-color: var(--paper); }
.lp-dark .lp-h { color: var(--paper); }
.lp-dark .lp-h em, .lp-on-dark { color: var(--sunshine); }

/* ---- Coloured bands and blocks ---- */
.lp-band { border-top: var(--edge-bold) solid var(--ink); border-bottom: var(--edge-bold) solid var(--ink); }
.lp-band + .lp-band, .lp-dark + .lp-band { border-top: 0; }
[data-tone="sunshine"] { background: var(--sunshine); }
[data-tone="cornflower"] { background: var(--cornflower); }
[data-tone="lilac"] { background: var(--lilac); }
[data-tone="butter"] { background: var(--butter); }
[data-tone="pistachio"] { background: var(--pistachio); }
[data-tone="paper"] { background: var(--paper); }
[data-tone="cornflower"] .lp-h em { color: var(--ink); }
#start .lp-h em { color: var(--plum); }

.lp-card { background: var(--white); border: var(--edge-bold) solid var(--ink); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

/* ---- Hero ---- */
.lp-hero { display: flex; flex-wrap: wrap; gap: var(--space-8); align-items: center; padding-top: var(--space-7); padding-bottom: var(--lp-section); }
.lp-hero-text { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-6); }
.lp-stickers { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.lp-hero-art { flex: 1 1 420px; min-width: 0; position: relative; display: flex; justify-content: center; padding-bottom: var(--space-7); }
.lp-hero-blob { position: absolute; inset: var(--space-5) 0 0 var(--space-7); border-radius: var(--radius-xl); background: var(--lilac); border: var(--edge-bold) solid var(--ink); }
.lp-hero-cards { position: relative; margin-top: var(--space-8); width: 310px; max-width: 100%; display: flex; flex-direction: column; gap: var(--space-6); }
.lp-hero-sticker { position: absolute; left: 0; top: 0; transform: rotate(-4deg); }

/* ---- "Voor je het weet" ---- */
.lp-memories { gap: var(--space-5); }
.lp-memory { color: var(--ink); border: var(--edge-bold) solid var(--paper); border-radius: var(--radius-xl); padding: var(--space-6) var(--space-6); font-family: var(--font-display); font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 700; font-size: 26px; line-height: 34px; }
.lp-memory span { display: block; margin-bottom: var(--space-1); color: var(--ink-muted); font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.lp-memory:nth-child(1) { transform: rotate(-1.5deg); }
.lp-memory:nth-child(2) { transform: rotate(1deg); margin-left: var(--space-7); }
.lp-memory:nth-child(3) { transform: rotate(-0.5deg); }

/* ---- Zo werkt het ---- */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-6); }
.lp-step { border: var(--edge-bold) solid var(--ink); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); min-height: 330px; box-sizing: border-box; }
.lp-step p { font-size: 16px; line-height: 24px; }
.lp-step-art { margin-top: auto; display: flex; flex-direction: column; }
.lp-step-art.lp-center { align-items: center; }
.lp-num { width: var(--tap-min); height: var(--tap-min); border-radius: var(--radius-pill); background: var(--sunshine); border: var(--edge-bold) solid var(--ink); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-sticker); font-size: 20px; font-weight: 400; flex: 0 0 auto; box-sizing: border-box; }

/* ---- Ticks ---- */
.lp-checks { display: flex; flex-direction: column; gap: var(--space-4); }
.lp-checks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4) var(--space-6); margin-top: var(--space-1); }
.lp-check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 16px; line-height: 24px; }
.lp-check b { display: block; font-weight: 800; }
.lp-tick { color: var(--ink); width: 28px; height: 28px; border-radius: var(--radius-pill); background: var(--pistachio); border: var(--edge) solid var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: -2px; box-sizing: border-box; }
[data-tick="white"] .lp-tick { background: var(--white); }

/* ---- Sprongetjes ---- */
.lp-timeline { padding: var(--space-2) var(--space-2) var(--space-5); overflow: hidden; }
.lp-nextup .ts-nextup { max-width: none; }

/* ---- Kring ---- */
/* On aubergine an ink drop is invisible, so this one sticker drops in sunshine (offset of shadow-lg). */
.lp-phone { width: 340px; max-width: 100%; background: var(--paper); color: var(--ink); border: var(--edge-bold) solid var(--paper); border-radius: var(--radius-xl); box-shadow: 0 5px 0 0 var(--sunshine); overflow: hidden; }
.lp-phone a { color: var(--ink); }
.lp-phone-body { padding: var(--space-1) var(--space-5) var(--space-6); }

/* ---- Jaarboek ---- */
.lp-books { flex-direction: row; justify-content: center; align-items: center; min-height: 360px; }
.lp-book-second { margin-left: -70px; margin-top: 140px; }

/* ---- Vragen ---- */
.lp-faq-head { flex: 1 1 300px; }
.lp-faq-list { flex: 2 1 560px; gap: 0; }
details.lp-faq { border-bottom: var(--edge-dash) dashed var(--line); padding: var(--space-1) 0; }
details.lp-faq summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); font-size: 18px; line-height: 24px; font-weight: 800; list-style: none; }
details.lp-faq summary::-webkit-details-marker { display: none; }
details.lp-faq summary::after { content: "+" / ""; font-family: var(--font-sticker); font-size: 24px; flex: 0 0 auto; }
details.lp-faq[open] summary::after { content: "–" / ""; }
details.lp-faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
details.lp-faq p { margin: 0 0 14px; font-size: 16px; line-height: 25px; color: var(--ink-muted); max-width: 720px; }

/* ---- Privacybelofte ---- */
.lp-privacy { display: flex; flex-direction: column; gap: var(--space-6); padding-top: var(--space-7); padding-bottom: var(--lp-section); max-width: 840px; }
.lp-privacy-list { display: flex; flex-direction: column; gap: var(--space-6); margin: var(--space-3) 0; }
.lp-privacy-item { padding: var(--space-6) var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); scroll-margin-top: var(--space-6); }
.lp-privacy-item p { font-size: 16px; line-height: 25px; }
.lp-privacy-item:target { background: var(--butter); }

/* ---- App screens (src/screens.mjs) ---- */
/* A 390px app screen at 77% in a 300px phone. Where the row doesn't fit, it scrolls sideways
   inside itself (never the page); "safe center" keeps the first phone reachable. */
.lp-phones { display: flex; gap: var(--space-7); justify-content: safe center; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--space-2) var(--space-2) var(--space-4); }
.lp-phones:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--radius-l); }
.lp-shot { flex: 0 0 300px; scroll-snap-align: center; margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.lp-shot:nth-child(odd) .lp-device { transform: rotate(-1deg); }
.lp-shot:nth-child(even) .lp-device { transform: rotate(1deg); }
.lp-device { width: 300px; height: 600px; box-sizing: border-box; border: var(--edge-bold) solid var(--ink); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); background: var(--paper); overflow: hidden; }
.lp-screen { width: 390px; height: 780px; zoom: 0.763; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); text-align: left; }
.lp-screen-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-2) var(--space-5) var(--space-5); overflow: hidden; }
.lp-screen-tabs { flex: 0 0 auto; }
/* eyebrow and body from tokens.json */
.lp-screen-label { font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.lp-screen-text { font-size: 14px; line-height: 21px; }
.lp-screen-buttons { display: flex; gap: var(--space-3); }
.lp-screen-party { justify-content: center; align-items: stretch; text-align: center; padding-top: var(--space-7); }
.lp-party-title { margin: 0; }
.lp-party-gang { display: flex; justify-content: center; gap: var(--space-4); }
.lp-party-row { gap: var(--space-2); }
.lp-month { display: flex; justify-content: center; padding: var(--space-3) 0; }
.lp-grow { background: var(--white); border: var(--edge) solid var(--ink); border-radius: var(--radius-l); box-shadow: var(--shadow-md); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.lp-grow-bar { height: 16px; border: var(--edge) solid var(--ink); border-radius: var(--radius-pill); background: var(--paper); overflow: hidden; }
.lp-grow-bar span { display: block; height: 100%; background: var(--sunshine); border-right: var(--edge) solid var(--ink); }
.lp-grow-stats { display: flex; gap: var(--space-6); font-size: 14px; font-weight: 700; }
/* number and title-m from tokens.json */
.lp-grow-stats b { display: block; font-family: var(--font-sticker); font-size: 40px; line-height: 38px; font-weight: 400; }
.lp-h4 { font-size: 22px; line-height: 26px; font-weight: 700; }
.lp-shot figcaption { display: flex; flex-direction: column; gap: var(--space-1); padding: 0 var(--space-2); }
.lp-shot figcaption p { font-size: 16px; line-height: 24px; }
/* Two phones need 624px: below that the row goes under the text instead of over it. */
.lp-phones-two { flex: 1 0 624px; max-width: 100%; flex-direction: row; flex-wrap: nowrap; gap: var(--space-6); }

/* ---- Pre-registration form (src/signup.mjs) ---- */
.lp-signup { display: flex; flex-direction: column; gap: var(--space-5); max-width: 520px; }
.lp-signup .ts-field input { width: 100%; }
/* A select drawn like the design-system field, with the system's chevron instead of the browser's arrow. */
.lp-select { position: relative; }
.lp-select select { appearance: none; width: 100%; height: var(--field); box-sizing: border-box; padding: 0 var(--tap-min) 0 var(--space-4); border-radius: var(--radius-m); border: var(--edge) solid var(--ink); background: var(--white); font-family: var(--font-sans); font-size: 16px; color: var(--ink); }
.lp-select select:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.lp-select .ts-icon { position: absolute; right: var(--space-4); top: 50%; transform: translateY(-50%) rotate(90deg); color: var(--ink-muted); pointer-events: none; }
.lp-optional { font-weight: 700; color: var(--ink-muted); }
.lp-test { margin: 0; padding: var(--space-5); border: var(--edge-dash) dashed var(--ink); border-radius: var(--radius-l); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.lp-test legend { padding: 0 var(--space-2); }
.lp-test .ts-field { align-self: stretch; }
.lp-signup .ts-hint { color: var(--ink-muted); }
/* For bots only: out of sight, out of the tab order, ignored by screen readers. */
.lp-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- 404 ---- */
.lp-notfound { display: flex; flex-direction: column; gap: var(--space-6); padding-top: var(--space-7); padding-bottom: var(--lp-section); max-width: 840px; }

/* ---- Phone width ---- */
@media (max-width: 760px) {
  .lp-hide-s { display: none !important; }
  /* display-xl and display-l don't fit 390px: 40px for the hero, display (36px) for sections. */
  .lp-h1 { font-size: 40px; line-height: 42px; }
  .lp-h2 { font-size: 36px; line-height: 38px; }
  .lp-h3 { font-size: 22px; line-height: 26px; }
  .lp-lead, .lp-text { font-size: 17px; line-height: 26px; }
  .lp-wrap { padding-left: max(var(--space-4), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-4), env(safe-area-inset-right, 0px)); }
  :root { --lp-section: var(--space-8); }
  .lp-col, .lp-hero-text, .lp-hero-art, .lp-faq-list { flex-basis: 100%; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-memory { font-size: 21px; line-height: 28px; }
  .lp-memory:nth-child(2) { margin-left: var(--space-4); }
  .lp-logo { padding-right: 0; }
  .lp-books { transform: scale(0.8); min-height: 300px; }
  .lp-phones { margin: 0 calc(-1 * var(--space-4)); padding: var(--space-2) var(--space-4) var(--space-4); gap: var(--space-5); }
  .lp-phones-two { flex-basis: auto; max-width: none; }
  .lp-shot { flex-basis: 270px; }
  .lp-device { width: 270px; height: 540px; }
  .lp-screen { zoom: 0.687; }
}
