/* Spark. Institute design, taken from the book page (boek.instituteoflove.nl):
   night with stars as the frame, white cards on it, metallic gold pill as the one main action,
   Source Serif 4 (headings, weight 500) and Figtree, heart signet, silver and gold line.
   Corners 3/6/10, the pill only for the main button. Touch targets at least 44px. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'Source Serif 4 Variable'; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(/fonts/source-serif-4-latin-opsz-normal.woff2) format('woff2-variations'); }
@font-face { font-family: 'Source Serif 4 Variable'; font-style: italic; font-display: swap; font-weight: 200 900;
  src: url(/fonts/source-serif-4-latin-opsz-italic.woff2) format('woff2-variations'); }
@font-face { font-family: 'Figtree Variable'; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url(/fonts/figtree-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Figtree Variable'; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url(/fonts/figtree-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --stars:radial-gradient(ellipse 80% 50% at 50% -10%, rgba(200,168,110,.16), transparent 70%), radial-gradient(1px 1px at 9% 14%, rgba(255,255,255,.75), transparent 60%), radial-gradient(1px 1px at 23% 31%, rgba(255,255,255,.45), transparent 60%), radial-gradient(1.4px 1.4px at 37% 8%, rgba(236,212,156,.85), transparent 60%), radial-gradient(1px 1px at 52% 22%, rgba(255,255,255,.5), transparent 60%), radial-gradient(1px 1px at 68% 12%, rgba(255,255,255,.7), transparent 60%), radial-gradient(1.6px 1.6px at 81% 27%, rgba(236,212,156,.7), transparent 60%), radial-gradient(1px 1px at 93% 9%, rgba(255,255,255,.55), transparent 60%), radial-gradient(1px 1px at 6% 58%, rgba(255,255,255,.4), transparent 60%), radial-gradient(1px 1px at 95% 63%, rgba(255,255,255,.45), transparent 60%), radial-gradient(1.3px 1.3px at 14% 86%, rgba(236,212,156,.55), transparent 60%), radial-gradient(1px 1px at 88% 91%, rgba(255,255,255,.5), transparent 60%), radial-gradient(1px 1px at 47% 96%, rgba(255,255,255,.35), transparent 60%);
  --night: #121a3a;
  --night-2: #1a2447;
  --paper: #fdfcfa;
  --white: #ffffff;
  --alt: #f6f4ef;
  --gold: #7a5c26;
  --gold-hover: #5e461c;
  --gold-night: #c8a86e;
  --gold-line: #b8892e;
  --gold-tint: #f3ede0;
  --wijn: #8b1e2f;
  --split: linear-gradient(90deg, #c4c7c9 0 50%, #b8892e 50% 100%);
  --text: #1e1d1b;
  --text-2: #4a4740;
  --text-3: #6b665d;
  --line: #e7e3da;
  --serif: 'Source Serif 4 Variable', Georgia, serif;
  --sans: 'Figtree Variable', Arial, sans-serif;
  --r-s: 3px; --r-m: 6px; --r-l: 10px;
  --shadow: 0 10px 30px rgba(30,29,27,.08), 0 2px 6px rgba(30,29,27,.05);
  --shadow-night: 0 24px 60px rgba(4,8,24,.45), 0 4px 12px rgba(4,8,24,.25);
  --ease: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(200,168,110,.35); }
:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 3px; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  position: relative;
}

/* ---------- Night sky: a soft glow and a field of small stars, no image requests ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--stars);
}
body > * { position: relative; z-index: 1; }

/* ---------- Environment dot (local, proef): small, bottom left, never in the design ---------- */
.env-dot {
  position: fixed; left: 10px; bottom: 10px; z-index: 50;
  width: 10px; height: 10px; border-radius: 50%;
  background: #3fae6a; box-shadow: 0 0 0 2px rgba(255,255,255,.85);
}
.env-dot[data-env="proef"] { background: #e0a030; }
/* With the test clock the dot is a button: a 44px target, and the simulated moment next to it */
.env-dot--clock {
  left: 0; bottom: 0; width: auto; height: 44px; min-width: 44px; padding: 0 12px 0 17px;
  display: flex; align-items: center; gap: 8px; border: 0; border-radius: 0; cursor: pointer;
  background: none !important; box-shadow: none; font: 600 12.5px/1 var(--sans); color: #fff;
}
.env-dot--clock i { width: 10px; height: 10px; border-radius: 50%; background: #3fae6a; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.env-dot--clock[data-env="proef"] i { background: #e0a030; }
.env-dot--clock.is-sim { background: rgba(18,26,58,.92) !important; border-top-right-radius: var(--r-m); box-shadow: 0 0 0 1px rgba(200,168,110,.5); }
.env-dot--clock.is-sim i { background: #d2483f; }

/* ---------- Layout ---------- */
.page {
  flex: 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 28px 16px 8px;
}
.brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 4px 0 26px;
  font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: .02em;
  color: var(--gold-night);
}
.brand img { width: 22px; height: auto; filter: drop-shadow(0 3px 8px rgba(200,168,110,.35)); }

/* ---------- Card ---------- */
.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-night);
  padding: 30px 22px 26px;
  animation: rise .5s var(--ease) both;
}
/* Silver and gold line along the top edge, like the cards on the book page */
/* Once per screen: only the first card carries it */
.stack > section.card:first-of-type::before, main > div.card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #e9eaeb 0%, #a9aeb1 50%, #e3c789 50%, #b8892e 100%);
}
@media (min-width: 480px) { .card { padding: 36px 32px 30px; } }

/* ---------- Type ---------- */
.kicker {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}
.kicker img { width: 15px; height: auto; }
h1, .h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: 30px; line-height: 1.15; letter-spacing: -.012em;
  text-wrap: balance;
}
h1 em { font-style: italic; font-weight: 400; color: var(--wijn); }
h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.lead { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.rule { height: 1px; width: 56px; margin: 22px 0; border: 0; background: var(--split); }
.muted { font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.card p + p { margin-top: 12px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--text); }
.input {
  width: 100%; min-height: 54px; padding: 12px 16px;
  font: 400 17px/1.3 var(--sans); color: var(--text);
  background: var(--paper);
  border: 1px solid #d9d3c5; border-radius: var(--r-m);
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #a39d91; }
.input:focus { outline: none; background: var(--white); border-color: var(--gold-line); box-shadow: 0 0 0 4px rgba(184,137,46,.16); }
.input--code {
  font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: .28em; text-align: center;
  padding-left: calc(16px + .28em);
}

/* Checkbox: square, gold when ticked */
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15.5px; line-height: 1.45; color: var(--text-2); }
.check input {
  flex: none; width: 24px; height: 24px; margin: 0;
  border: 1.5px solid #c9c2b2; border-radius: var(--r-s); background: var(--white);
  display: grid; place-content: center; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  transition: background .15s, border-color .15s;
}
.check input::after {
  content: ''; width: 12px; height: 7px; margin-top: -3px;
  border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0);
  transition: transform .15s var(--ease);
}
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 2px; }

.error { min-height: 0; margin: 0; font-size: 15px; font-weight: 600; color: var(--wijn); }
.error:empty { display: none; }

/* ---------- Main button: metallic gold pill with the night arrow circle (book page) ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; width: 100%; align-items: center; justify-content: center;
  min-height: 60px; padding: 16px 64px;
  font: 700 17px/1.3 var(--sans); letter-spacing: -.005em; color: var(--night); text-decoration: none;
  background: linear-gradient(120deg, #f1dcaa 0%, #e0c083 48%, #cba660 100%);
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 12px 24px -10px rgba(150,112,48,.65);
  transition: box-shadow .25s, transform .25s var(--ease), opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.6) 50%, transparent 68%);
  animation: shimmer 6.5s ease-in-out 2s infinite;
}
.btn:active { transform: scale(.985); }
.btn__arrow {
  position: absolute; right: 9px; top: 50%; margin-top: -21px;
  width: 42px; height: 42px; padding: 11px; border-radius: 50%;
  background: var(--night); color: #ecd49c;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 18px 30px -10px rgba(150,112,48,.75); }
  .btn:hover .btn__arrow { transform: translateX(3px); }
}
.btn[disabled], .btn.is-busy { cursor: default; transform: none; opacity: .75; }
.btn.is-busy::after { animation-duration: 1.2s; animation-delay: 0s; }
.btn.is-busy .btn__arrow { opacity: .4; }

/* Quiet secondary action: outlined, not a pill */
.btn-quiet {
  display: flex; width: 100%; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 20px;
  font: 600 16px/1.3 var(--sans); color: var(--gold);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
  cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
@media (hover: hover) { .btn-quiet:hover { border-color: var(--gold-line); background: var(--gold-tint); color: var(--gold-hover); } }

/* Text link as button */
.link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0;
  font: 600 15px/1.4 var(--sans); color: var(--gold);
  background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
@media (hover: hover) { .link:hover { color: var(--gold-hover); } }

/* ---------- Small parts ---------- */
.mailbox {
  display: flex; gap: 12px; align-items: center;
  margin-top: 18px; padding: 14px 16px;
  background: var(--alt); border-radius: var(--r-m);
  font-size: 15px; color: var(--text-2); overflow-wrap: anywhere;
}
.mailbox svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.mailbox b { color: var(--text); font-weight: 600; }
.after { display: grid; gap: 2px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Screens built from several cards ---------- */
.stack { display: grid; gap: 16px; }
.stack > .card:nth-child(2) { animation-delay: .06s; }
.stack > .card:nth-child(3) { animation-delay: .12s; }
.card h2 { margin-top: 2px; }
.card .lead + .lead { margin-top: 10px; }
.prose { display: grid; gap: 10px; }
h1 + .prose { margin-top: 14px; }
.prose .lead { margin: 0; }
.form > .consent { margin-top: 4px; }
.actions { display: grid; gap: 12px; margin-top: 22px; }
.center { text-align: center; }
.actions + .muted { margin-top: 12px; text-align: center; }
.after--plain { border-top: 0; padding-top: 0; margin-top: 10px; }
.progress { margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.notice { margin-bottom: 14px; padding: 12px 14px; border-radius: var(--r-m); background: var(--alt); font-size: 15px; color: var(--text-2); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.btn-quiet { gap: 10px; text-decoration: none; }
.btn-quiet .ico { color: var(--gold); }
.bigcode {
  margin: 18px 0 14px; padding: 18px 12px; text-align: center;
  font-family: var(--serif); font-size: 44px; font-weight: 500; letter-spacing: .14em; color: var(--text);
  background: var(--gold-tint); border-radius: var(--r-m);
}
.consent--optional { display: grid; gap: 8px; background: var(--white); border-style: dashed; }
.consent .check, .check.consent { font-size: 14.5px; }
.consent__tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.consent { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); font-size: 14.5px; }

/* ---------- Love language test ---------- */
.langs { margin: 14px 0; padding-left: 20px; display: grid; gap: 4px; color: var(--text-2); }
.meter { height: 4px; border-radius: 2px; background: var(--alt); margin: 6px 0 22px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--gold-line); transition: width .25s var(--ease); }
.statement { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.3; color: var(--text); text-wrap: balance; }
.scale { display: grid; gap: 8px; margin-top: 22px; }
.scale__opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; font: 600 16px/1.3 var(--sans); color: var(--text); text-align: left; background: var(--white); border: 1px solid #ddd6c7; border-radius: var(--r-m); cursor: pointer; }
.scale__opt.is-on, .scale__opt:active { border-color: var(--gold-line); background: var(--gold-tint); }
@media (hover: hover) { .scale__opt:hover { border-color: var(--gold-line); } }
.scale__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--alt); font-size: 14px; color: var(--gold); flex: none; }
.bars { display: grid; gap: 10px; margin: 14px 0; }
.bar { display: grid; grid-template-columns: 1fr; gap: 4px; font-size: 14.5px; }
.bar__lab { color: var(--text-2); }
.bar__track { position: relative; height: 8px; border-radius: 4px; background: var(--alt); overflow: hidden; }
.bar__track i { position: absolute; inset: 0 auto 0 0; background: var(--gold-line); border-radius: 4px; }
.bar__val { font-variant-numeric: tabular-nums; color: var(--text-3); font-size: 13px; }
.lang { border-top: 1px solid var(--line); padding: 10px 0; }
.lang summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.lang p { margin-top: 8px; }

/* ---------- Push guide ---------- */
.steps { margin: 14px 0 6px; padding-left: 22px; display: grid; gap: 8px; color: var(--text-2); }

/* ---------- Start page ---------- */
.price { margin-top: 20px; padding: 14px 16px; border-radius: var(--r-m); background: var(--gold-tint); font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--text); text-align: center; }

/* ---------- A day ---------- */
.still .card, .still .moment { animation: none; }
.task { margin-top: 14px; color: var(--text); font-size: 19.5px; line-height: 1.5; }
.why { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.why p:last-child { color: var(--text-2); font-size: 15.5px; }
.why__label { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.soft { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-m); background: var(--gold-tint); display: grid; gap: 6px; }
.test-note { margin-top: 12px; font-size: 13px; color: var(--wijn); }
.done-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 3px 10px 3px 6px; border-radius: var(--r-s); background: var(--gold-tint); font-size: 13px; font-weight: 700; color: var(--gold); }
.done-badge__ico { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.q { margin-top: 18px; font-weight: 600; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.chip { min-height: 48px; padding: 8px 6px; font: 600 15px/1.25 var(--sans); color: var(--text); background: var(--white); border: 1px solid #ddd6c7; border-radius: var(--r-m); cursor: pointer; }
@media (hover: hover) { .chip:hover { border-color: var(--gold-line); background: var(--gold-tint); } }
.evening { margin-top: 18px; padding-top: 4px; border-top: 1px solid var(--line); }
.row-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 10px; }
.row-buttons .btn-quiet { width: auto; }
.textarea { min-height: 88px; resize: vertical; font-size: 16px; }
.form--tight { margin-top: 16px; gap: 10px; }
.small { font-size: 14.5px; }
.moments { display: grid; gap: 8px; }
.moment { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-l); background: rgba(200,168,110,.14); border: 1px solid rgba(200,168,110,.35); color: #fff; font-weight: 600; animation: rise .5s var(--ease) both; }
.moment__ico { width: 20px; height: 20px; flex: none; fill: var(--gold-night); stroke: none; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 6px; }
.stat { padding: 14px; border-radius: var(--r-m); background: var(--alt); }
.stat__n { font-family: var(--serif); font-size: 36px; font-weight: 500; line-height: 1.1; color: var(--text); }
.stat__l { font-size: 14px; color: var(--text-3); }
.catchup { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.catchup h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin-bottom: 4px; }
.link--night { color: var(--gold-night); }
.card h2 + .muted, .card h1 + .muted { margin-top: 10px; }
.done-badge.is-new { animation: beat .9s var(--ease) both; }
.shared-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 14.5px; color: var(--text-2); }
.shared-note__ico { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: var(--gold-line); stroke: none; }
/* The love language line below the task (personal.js): a quiet gold rule, the partner's name, one sentence */
.forpartner { margin: 18px auto 0; max-width: 34ch; padding: 12px 16px; border-radius: var(--r-m); background: var(--gold-tint); text-align: center; }
.forpartner__k { display: flex; gap: 6px; align-items: center; justify-content: center; margin: 0 0 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.forpartner__ico { width: 13px; height: 13px; flex: none; fill: var(--gold-line); stroke: none; }
.forpartner__t { margin: 0; font-size: 15.5px; line-height: 1.5; }
/* An outlined button on the night */
.btn-night {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 20px; font: 600 16px/1.3 var(--sans); color: var(--gold-night);
  background: rgba(200,168,110,.08); border: 1px solid rgba(200,168,110,.45); border-radius: var(--r-m); cursor: pointer;
}
.btn-night .ico { color: var(--gold-night); }
@media (hover: hover) { .btn-night:hover { background: rgba(200,168,110,.16); } }
.legal-links { display: flex; gap: 20px; margin: -8px 0 0; }
.legal h2 { margin-top: 26px; font-size: 20px; }
.legal p { margin-top: 8px; color: var(--text-2); }

/* A short message that goes away by itself (a day that is still to come) */
.toast {
  position: fixed; left: 16px; right: 16px; bottom: 24px; z-index: 55; max-width: 420px; margin: 0 auto; padding: 14px 18px;
  border-radius: var(--r-l); background: var(--white); color: var(--text); font-size: 16.5px; font-weight: 600; line-height: 1.4; text-align: center;
  box-shadow: 0 0 0 1px rgba(184,137,46,.5), 0 18px 40px rgba(4,8,24,.5);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }

/* Streak and joint counter: one slim line above the calendar */
.statbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 2px 0 0; }
.statbar__nums { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15.5px; color: var(--text-2); }
.statbar__item b { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--text); }
.statbar__spark {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 14px; margin-left: auto;
  font: 600 14.5px/1 var(--sans); color: var(--wijn); background: #fbf1f2; border: 1px solid #f0d5d9; border-radius: 999px; cursor: pointer;
}
.statbar__spark svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.statbar__spark:disabled { color: var(--text-3); background: var(--alt); border-color: var(--line); cursor: default; }

/* Optional things: compact rows on the night, never a full card */
.rows { display: grid; gap: 8px; }
.rowcard { display: flex; align-items: stretch; background: rgba(255,255,255,.06); border: 1px solid rgba(200,168,110,.28); border-radius: var(--r-l); overflow: hidden; }
.rowcard__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 12px 10px 14px; text-align: left; color: #fff; background: none; border: 0; cursor: pointer; font: inherit; }
.rowcard__ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(200,168,110,.16); color: var(--gold-night); }
.rowcard__ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rowcard__text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.rowcard__text b { font-weight: 600; font-size: 16.5px; line-height: 1.3; }
.rowcard__text span { font-size: 15px; line-height: 1.35; color: rgba(255,255,255,.75); }
.rowcard__go, .rowcard__x svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.rowcard__go { color: var(--gold-night); }
.rowcard__x { flex: none; width: 44px; display: grid; place-items: center; color: rgba(255,255,255,.5); background: none; border: 0; border-left: 1px solid rgba(255,255,255,.1); cursor: pointer; }
@media (hover: hover) { .rowcard__main:hover { background: rgba(255,255,255,.05); } .rowcard__x:hover { color: #fff; } }

/* ---------- One day ---------- */
.backbar { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px 0 2px; margin: -10px 0 -4px; font: 600 15px/1 var(--sans); color: var(--gold-night); background: none; border: 0; cursor: pointer; justify-self: start; }
.backbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.folds { margin-top: 22px; border-top: 1px solid var(--line); }
.fold { border-bottom: 1px solid var(--line); }
.fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 4px 0; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 600; color: var(--text); -webkit-tap-highlight-color: transparent; }
.fold summary::-webkit-details-marker { display: none; }
.fold__ico { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.fold[open] .fold__ico { transform: rotate(90deg); }
.fold__body { padding: 0 0 16px; font-size: 16.5px; line-height: 1.55; color: var(--text-2); }
.fold__body p + p { margin-top: 8px; }
.fold__title { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--text); }
.fold__body .form { margin-top: 0; }
.folds + .actions { margin-top: 20px; }
.folds + .test-note { margin-top: 14px; }

/* Links side by side under a question */
.row-links { display: flex; justify-content: space-between; gap: 16px; }

/* Checklist */
.todos { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.todo { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--text-2); flex-wrap: wrap; }
.todo:first-child { border-top: 0; }
.todo__ico { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; fill: none; stroke: var(--text-3); stroke-width: 4; stroke-linecap: round; background: var(--alt); }
.todo--done .todo__ico { stroke: #fff; stroke-width: 2.5; background: var(--gold); }
.todo__text { flex: 1 1 160px; }
.todo .link { min-height: 36px; }

/* Answer options: large tappable cards, gold when chosen */
.options { display: grid; gap: 10px; }
.options--times { grid-template-columns: repeat(3, 1fr); }
.option {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 14px 44px 14px 16px;
  background: var(--white); border: 1px solid #ddd6c7; border-radius: var(--r-m);
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.options--times .option { justify-content: center; padding: 12px 8px; font-variant-numeric: tabular-nums; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option__body { display: grid; gap: 3px; }
.option__label { font-size: 16.5px; font-weight: 600; line-height: 1.35; color: var(--text); }
.option__detail { font-size: 14.5px; line-height: 1.45; color: var(--text-3); }
.option__tick {
  position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  fill: none; stroke: var(--gold); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease);
}
.options--times .option__tick { display: none; }
@media (hover: hover) { .option:hover { border-color: var(--gold-line); } }
.option:has(input:checked) { border-color: var(--gold-line); background: var(--gold-tint); box-shadow: inset 0 0 0 1px var(--gold-line); }
.option:has(input:checked) .option__tick { opacity: 1; transform: none; }
.option:has(input:focus-visible) { outline: 2px solid var(--gold-line); outline-offset: 2px; }
.options__hint { font-size: 15.5px; font-weight: 600; color: var(--wijn); }
.options__hint:empty { display: none; }

/* Quiet links under the cards, on the night */
.account { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; padding: 4px 0; }
.account .link { color: var(--gold-night); }
.account p { width: 100%; margin: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 15px; }
.account .row { display: flex; gap: 22px; justify-content: center; }

/* ---------- Footer ---------- */
.footer__links { display: flex; justify-content: center; gap: 18px; margin-top: 8px; }
.footer__links a { color: rgba(255,255,255,.7); }
.footer {
  max-width: 460px; margin: 0 auto; padding: 22px 24px 48px;
  font-size: 13.5px; line-height: 1.5; text-align: center; color: rgba(255,255,255,.55);
}

/* ---------- Server pages (sign-in link, proef gate) ---------- */
.card .btn { margin-top: 24px; }
.card form .btn { margin-top: 0; }

/* ---------- Outbox ---------- */
pre { white-space: pre-wrap; word-break: break-word; font: 14px/1.5 var(--sans); background: var(--alt); padding: 14px; border-radius: var(--r-m); }
.mail + .mail { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; }

/* ---------- Motion ---------- */
@keyframes shimmer { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
@keyframes beat { 0% { transform: scale(.6); opacity: 0; } 45% { transform: scale(1.18); opacity: 1; } 70% { transform: scale(.96); } 100% { transform: none; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--gold-line), 0 8px 18px rgba(18,26,58,.28); } 50% { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--gold-line), 0 0 0 9px rgba(184,137,46,.22), 0 8px 18px rgba(18,26,58,.28); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .btn::after, .card, .done-badge.is-new, .cal__day.is-new, .cal__day.is-new .cal__heart { animation: none; }
  .sheet, .sheet__panel { transition: none; }
  .btn, .btn__arrow { transition: none; }
}

/* ---------- Home: the card for today, the own month under it ---------- */
.hero { display: grid; justify-items: center; text-align: center; padding: 2px 0 6px; }
.hero__date { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-night); }
.hero__chapter { margin-top: 4px; font-family: var(--serif); font-size: 18px; font-style: italic; color: rgba(255,255,255,.82); }
/* The programme goal under the today card: a quiet line about who you are, never a promise */
.hero__aim { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.7); }
.hero__sub { margin-top: 8px; font-size: 16.5px; line-height: 1.45; color: rgba(255,255,255,.78); }
.hero .statbar { width: 100%; margin-top: 16px; }
.hero .statbar__nums { color: rgba(255,255,255,.75); }
.hero .statbar__item b { color: #fff; }
.link--night { color: var(--gold-night); }

/* The card for today: a quiet envelope on the night, the day number on its gold seal, one gold button */
.today {
  position: relative; width: 100%; margin-top: 22px; padding: 108px 22px 26px; text-align: center; perspective: 900px;
  border-radius: 16px; background: linear-gradient(180deg, #1f2a56, #151d42);
  box-shadow: inset 0 0 0 1px rgba(200,168,110,.42), 0 24px 50px rgba(4,8,24,.45);
}
.today__flap { position: absolute; left: 1px; right: 1px; top: 1px; height: 64px; border-radius: 15px 15px 0 0; overflow: hidden; transform-origin: 50% 0; }
.today__flap svg { display: block; width: 100%; height: 100%; }
.today__flap path { fill: #27346c; stroke: rgba(226,207,166,.7); stroke-width: 1; }
.today__seal {
  position: absolute; left: 50%; top: 64px; z-index: 2; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%; background: linear-gradient(135deg, #d9bd84, #fff6dc 45%, #cba660); box-shadow: 0 6px 16px rgba(0,0,0,.45), 0 0 0 4px rgba(18,26,58,.55);
  font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1; color: var(--night);
}
.today__heart { width: 26px; height: auto; }
.today__kick { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-night); }
.today__title { margin-top: 6px; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.15; color: #f5f2ec; }
.today .actions { margin-top: 22px; }
.today__now { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; margin-top: 16px; }
.today__now .done-badge { margin: 0; }
.today__line { margin-top: 12px; font-size: 16.5px; line-height: 1.45; color: rgba(255,255,255,.78); }
.today__now .today__line { margin: 0; }
.today--done { background: linear-gradient(180deg, #262d55, #191f44); box-shadow: inset 0 0 0 1px rgba(226,207,166,.6), 0 24px 50px rgba(4,8,24,.45), 0 0 60px rgba(241,220,170,.08); }
.today--done .today__seal { background: var(--night); box-shadow: inset 0 0 0 2px #e2cfa6, 0 6px 16px rgba(0,0,0,.45), 0 0 0 4px rgba(18,26,58,.55), 0 0 24px rgba(241,220,170,.35); }
.today--skipped .today__seal, .today--shut .today__seal { filter: saturate(.4) brightness(.78); }
.today--shut .today__title { color: rgba(245,242,236,.75); }

/* The same card small, in the pictures of the sales page */
.today--small { margin: 0; padding: 60px 12px 14px; border-radius: 12px; }
.today--small .today__flap { height: 38px; border-radius: 11px 11px 0 0; }
.today--small .today__seal { top: 38px; width: 38px; height: 38px; margin: -19px 0 0 -19px; font-size: 17px; box-shadow: 0 4px 10px rgba(0,0,0,.4), 0 0 0 3px rgba(18,26,58,.55); }
.today--small .today__heart { width: 18px; }
.today--small .today__kick { font-size: 10px; }
.today--small .today__title { margin-top: 2px; font-size: 18px; }
.today__fakebtn { display: inline-block; margin-top: 12px; padding: 7px 16px; border-radius: 999px; background: linear-gradient(120deg, #f1dcaa, #cba660); font-size: 12.5px; font-weight: 700; color: var(--night); }

/* The own month: 30 days, 6 by 5. Gold with the heart when done, a gold ring for today, quiet days still to come */
.cal { padding: 18px 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(200,168,110,.22); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 14px; }
.cal__title { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; color: #f5f2ec; }
.cal__range { font-size: 14px; color: rgba(255,255,255,.65); }
.cal__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.cal__grid li { min-width: 0; }
.cal__day {
  position: relative; display: grid; align-content: center; justify-items: center; gap: 1px; width: 100%; aspect-ratio: 1 / 1.08; padding: 0;
  border: 0; border-radius: 10px; font: inherit; color: rgba(255,255,255,.85); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
  -webkit-tap-highlight-color: transparent;
}
button.cal__day { cursor: pointer; transition: transform .15s; }
button.cal__day:active { transform: scale(.94); }
@media (hover: hover) { button.cal__day:hover { box-shadow: inset 0 0 0 1px rgba(226,207,166,.6); } }
.cal__n { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.1; }
.cal__date { font-size: 10.5px; line-height: 1.2; white-space: nowrap; color: rgba(255,255,255,.5); }
.cal__heart { position: absolute; top: 4px; right: 4px; width: 12px; height: auto; }
.cal__day--done { color: #fff6dc; background: linear-gradient(160deg, rgba(232,196,122,.46), rgba(184,137,46,.3)); box-shadow: inset 0 0 0 1px rgba(236,212,156,.75); }
.cal__day--done .cal__date { color: rgba(255,246,220,.72); }
.cal__day--future { color: rgba(255,255,255,.42); background: transparent; box-shadow: none; }
.cal__day--future .cal__date { color: rgba(255,255,255,.32); }
.cal__day--skipped, .cal__day--missed { color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); box-shadow: none; }
.cal__day--skipped .cal__date, .cal__day--missed .cal__date { color: rgba(255,255,255,.35); }
.cal__day--open { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.cal__day--before_join { opacity: .2; }
.cal__day.is-today { color: #fff; box-shadow: 0 0 0 2px var(--gold-night), 0 0 18px rgba(241,220,170,.35); }
.cal__day--done.is-today { box-shadow: inset 0 0 0 1px rgba(226,207,166,.6), 0 0 0 2px var(--gold-night), 0 0 18px rgba(241,220,170,.35); }
/* Small: numbers only, the heart instead of the number on a done day */
.cal__grid--compact { gap: 4px; }
.cal__grid--compact .cal__day { aspect-ratio: 1; border-radius: 7px; }
.cal__grid--compact .cal__n { font-size: 13px; }
.cal__grid--compact .cal__day--done .cal__n { display: none; }
.cal__grid--compact .cal__heart { position: static; width: 55%; max-width: 16px; }
/* The day that was just done turns gold, the heart beats once */
.cal__day.is-new { animation: cellgold .8s var(--ease) both; }
.cal__day.is-new .cal__heart { animation: beat .8s var(--ease) .2s both; }
@keyframes cellgold {
  from { background: rgba(255,255,255,.05); box-shadow: 0 0 0 2px var(--gold-night); }
  60% { box-shadow: inset 0 0 0 1px rgba(226,207,166,.8), 0 0 0 2px var(--gold-night), 0 0 22px rgba(241,220,170,.6); }
}

/* Opening today: a copy of the today card under the page (above the stars), so the hanging card comes out over it */
.unfold { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.unfold__card { position: absolute; margin: 0; will-change: transform; }

/* ---------- The hanging card (a day, and signing in) ---------- */
.note-wrap { position: relative; padding-top: 90px; }
.note__ribbon { position: absolute; left: 50%; top: -6px; width: 16px; height: 108px; margin-left: -8px; background: linear-gradient(90deg, #a8823c, #f1dcaa 50%, #a8823c); }
.note__medal {
  position: absolute; left: 50%; top: 58px; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%;
  background: linear-gradient(135deg, #d9bd84, #fff6dc 45%, #cba660); box-shadow: 0 6px 16px rgba(0,0,0,.45);
  font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1; color: var(--night);
}
.note__medal img { width: 26px; height: auto; }
.note {
  position: relative; padding: 52px 22px 34px; text-align: center; transform: rotate(-1.2deg);
  background: linear-gradient(180deg, #ffffff, var(--paper)); border-radius: 3px 14px 3px 14px;
  box-shadow: 0 2px 0 #e7e3da, 0 30px 60px rgba(0,0,0,.5);
}
@media (min-width: 480px) { .note { padding: 56px 32px 36px; } }
.note__seal {
  position: absolute; right: 16px; bottom: -22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b3364a, var(--wijn) 60%, #5f1320); box-shadow: 0 6px 14px rgba(0,0,0,.4), inset 0 0 0 4px rgba(255,255,255,.08);
}
.note__seal img { width: 23px; height: auto; opacity: .92; }
.note__kick { font-size: 12.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.note__tag { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: var(--r-s); background: var(--gold-tint); font-size: 13px; font-weight: 700; color: var(--gold); }
.note__task { margin-top: 14px; font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--text); text-wrap: pretty; }
.note__title { margin-top: 10px; font-size: 32px; }
.note__actions { display: grid; justify-items: center; gap: 4px; margin-top: 24px; }
.note__actions .btn { margin: 0; }
.note__rule { width: 56px; height: 1px; margin: 16px auto 18px; border: 0; background: var(--split); }
.note__why { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.note__hint { margin-top: 16px; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.note .form { text-align: left; }
.note .shared-note { justify-content: center; text-align: left; }
.note .done-badge { margin-bottom: 12px; }
.note .after { text-align: center; }

.softrow {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin-top: 18px; padding: 12px 16px; text-align: left; cursor: pointer;
  font: inherit; color: #fff; background: rgba(255,255,255,.05); border: 1px solid rgba(226,207,166,.5); border-radius: var(--r-l);
}
.softrow__text { flex: 1; display: grid; gap: 2px; }
.softrow__text b { font-size: 17px; font-weight: 600; }
.softrow__text span { font-size: 15px; color: rgba(255,255,255,.75); }
.softrow__go { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold-night); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .softrow:hover { background: rgba(255,255,255,.09); } }

/* The gentler version slides up from the bottom */
.sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; background: rgba(5,8,22,0); transition: background .25s; }
.sheet.is-on { background: rgba(5,8,22,.6); }
.sheet__panel {
  width: 100%; max-width: 460px; padding: 14px 24px calc(28px + env(safe-area-inset-bottom)); background: var(--paper); border-radius: 22px 22px 0 0;
  transform: translateY(100%); transition: transform .3s var(--ease); box-shadow: 0 -20px 50px rgba(0,0,0,.35);
}
.sheet.is-on .sheet__panel { transform: none; }
.sheet__grip { display: block; width: 44px; height: 5px; margin: 0 auto 20px; border-radius: 3px; background: #d9d3c5; }
.sheet__text { margin: 10px 0 12px; font-family: var(--serif); font-size: 25px; line-height: 1.35; color: var(--text); }

/* ---------- After Gedaan: the day turns gold in the month ---------- */
.donehero { display: grid; justify-items: center; text-align: center; padding: 8px 0 10px; }
.donehero .cal__grid { width: min(100%, 264px); margin-bottom: 28px; }
.donehero__big { margin-top: 8px; font-size: 46px; line-height: 1; color: #f5f2ec; }
.q--first { margin-top: 0; }

/* ---------- Home hierarchy: today first, the rest steps back ---------- */
.hero .statbar { justify-content: center; margin-top: 22px; gap: 10px 18px; }
.hero .statbar__nums { justify-content: center; font-size: 14.5px; }
.hero .statbar__item b { font-size: 17px; }
.hero .statbar__spark { margin-left: 0; min-height: 40px; color: #f1dcaa; background: transparent; border: 1px solid rgba(200,168,110,.5); }
.hero .statbar__spark svg { color: #d4566a; }
.hero .statbar__spark:disabled { color: rgba(255,255,255,.6); background: transparent; border-color: rgba(255,255,255,.2); }
.ask { padding: 14px 16px; border-radius: var(--r-l); background: rgba(255,255,255,.05); border: 1px solid rgba(200,168,110,.3); }
.ask__q { font-size: 15.5px; font-weight: 600; color: #fff; }
.ask__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 8px; }
.ask__yes { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; font: 600 15.5px/1 var(--sans); color: var(--night); background: linear-gradient(120deg, #f1dcaa, #e0c083 48%, #cba660); border: 0; border-radius: 999px; cursor: pointer; }
.ask__yes svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.quietline { display: grid; justify-items: center; gap: 0; padding: 4px 8px; text-align: center; font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,.6); }
.quietline p { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: center; }
.quietline__ico { width: 16px; height: 16px; fill: none; stroke: var(--gold-night); stroke-width: 1.5; }
.quietline .link { min-height: 36px; font-size: 14.5px; }
.link--ico { gap: 7px; text-decoration: none; }
.link--ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.link--ico:hover { text-decoration: underline; }
.account { gap: 4px 28px; }

/* ---------- Day screen: back, and arrows to the days before and after ---------- */
.doornav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: -6px; }
.doornav .backbar { margin: 0; }
.doornav__arrows { display: flex; gap: 8px; }
.doornav__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; color: var(--gold-night); background: rgba(255,255,255,.05); border: 1px solid rgba(200,168,110,.4); cursor: pointer; }
.doornav__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.doornav__btn:disabled { opacity: .25; cursor: default; }

/* ---------- Sales page (signed out): the book page's language. Paper, wide, night bands as accents ---------- */
body.is-lp { background: var(--paper); overflow-x: clip; }
body.is-lp::before { display: none; }
.is-lp .page { max-width: none; padding: 0; }
.is-lp .brand { max-width: 1152px; margin: 0 auto; padding: 22px 20px 0; justify-content: flex-start; color: var(--gold); }
.is-lp #view { display: block; }
.is-lp .footer { max-width: none; width: 100%; margin: 0; background: var(--night); color: rgba(255,255,255,.6); padding-top: 4px; }
.is-lp .env-dot--clock { color: var(--text); }

.lp-band { padding: 56px 20px; }
.lp-wrap { max-width: 1152px; margin: 0 auto; }
.lp-paper { background: var(--paper); }
.lp-alt { background: var(--alt); }
.lp-night { background: var(--stars), linear-gradient(180deg, var(--night), var(--night-2)); color: #fff; }
@media (min-width: 768px) { .lp-band { padding: 84px 24px; } }

.lp-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lp-eyebrow img { width: 16px; height: auto; }
.lp-h1 { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.1; letter-spacing: -.015em; color: var(--text); text-wrap: balance; }
.lp-h1 em, .lp-h2 em { font-style: italic; font-weight: 400; color: var(--wijn); }
.lp-h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; color: var(--text); }
.lp-night .lp-h2 { color: #f5f2ec; }
.lp-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.lp-sub { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.lp-sub--left { text-align: left; }
.lp-night .lp-sub { color: rgba(255,255,255,.75); }
.lp-text { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.lp-lead { margin-top: 18px; max-width: 34em; font-size: 18px; line-height: 1.55; color: var(--text-2); }
@media (min-width: 768px) { .lp-h1 { font-size: 50px; } .lp-h2 { font-size: 38px; } }

/* Hero */
.lp-hero { background: var(--paper); padding-top: 28px; }
.lp-hero__grid { display: grid; gap: 34px; align-items: center; }
.lp-hero__copy { min-width: 0; }
.lp-hero__visual {
  position: relative; display: grid; place-items: center; min-height: 420px; padding: 40px 20px 60px; border-radius: 18px; overflow: hidden;
  background: var(--stars), radial-gradient(ellipse at 50% 40%, #233067, var(--night) 70%);
  box-shadow: 0 30px 60px rgba(18,26,58,.25);
}
.lp-hero__visual .lp-note { position: absolute; right: 6%; bottom: 7%; width: 190px; transform: rotate(4deg); }
@media (min-width: 900px) {
  .lp-hero { padding-top: 40px; }
  .lp-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .lp-hero__visual { min-height: 600px; }
  .lp-hero__visual .lp-note { width: 220px; right: 4%; }
}

.lp-buy { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 18px; max-width: 460px; }
.lp-buy__price { display: flex; align-items: center; gap: 14px; }
.lp-buy__price strong { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; color: var(--text); }
.lp-buy__price span { padding-left: 14px; border-left: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; color: var(--text-3); }
.lp-buy__price b { display: block; font-weight: 600; color: var(--text); }
.lp-assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-assure li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text-2); }
.lp-assure svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lp-by { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--text-2); max-width: 460px; }
.lp-by img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--gold-line); }

/* Hanging notes (hero and the doors section) */
.lp-note { position: relative; padding-top: 58px; }
.lp-note__ribbon { position: absolute; left: 50%; top: -40px; width: 12px; height: 84px; margin-left: -6px; background: linear-gradient(90deg, #a8823c, #f1dcaa 50%, #a8823c); }
.lp-note__medal { position: absolute; left: 50%; top: 32px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; background: linear-gradient(135deg, #d9bd84, #fff6dc 45%, #cba660); box-shadow: 0 5px 12px rgba(0,0,0,.4); font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--night); }
.lp-note__paper { padding: 34px 18px 22px; text-align: center; background: linear-gradient(180deg, #fff, var(--paper)); border-radius: 3px 12px 3px 12px; box-shadow: 0 2px 0 #e7e3da, 0 22px 44px rgba(0,0,0,.45); }
.lp-note__title { margin-top: 6px; font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.25; color: var(--text); }
.lp-note__body { margin-top: 8px; font-family: var(--serif); font-size: 16.5px; line-height: 1.45; color: var(--text-2); }
.lp-notes { display: grid; gap: 54px 24px; padding-top: 30px; }
.lp-notes .lp-note:nth-child(1) { transform: rotate(-1.5deg); }
.lp-notes .lp-note:nth-child(2) { transform: rotate(1deg); }
.lp-notes .lp-note:nth-child(3) { transform: rotate(-.6deg); }
@media (min-width: 768px) { .lp-notes { grid-template-columns: repeat(3, 1fr); } }

/* Mirror */
.lp-mirror { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.lp-mirror__col { margin: 0; padding: 26px 24px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow); }
.lp-mirror figcaption { font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--gold); margin-bottom: 10px; }
.lp-mirror ul { list-style: none; margin: 0; padding: 0; }
.lp-mirror li { padding: 12px 0; border-top: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; color: var(--text); }
.lp-close { max-width: 640px; margin: 32px auto 0; text-align: center; font-size: 18px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
@media (min-width: 768px) { .lp-mirror { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* Steps */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.lp-steps li { padding: 24px 22px; border-radius: var(--r-l); background: rgba(255,255,255,.05); border: 1px solid rgba(200,168,110,.3); }
.lp-steps__n { display: block; margin-bottom: 12px; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold-night); }
.lp-steps b { display: block; font-size: 18px; color: #fff; }
.lp-steps p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.75); }
.lp-gap { height: 70px; }
@media (min-width: 768px) { .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } .lp-gap { height: 100px; } }

/* What you get */
.lp-split { display: grid; gap: 28px; }
.lp-get { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-get li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow); }
.lp-get__ico { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--gold-tint); fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lp-get b { display: block; font-size: 17.5px; color: var(--text); }
.lp-get p { margin-top: 4px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
@media (min-width: 900px) { .lp-split { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .lp-get { grid-template-columns: 1fr 1fr; } }

/* Who */
.lp-who { display: grid; gap: 28px; align-items: center; max-width: 960px; margin: 0 auto; }
.lp-who__img { width: 100%; max-width: 320px; height: auto; aspect-ratio: 640 / 725; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--shadow); justify-self: center; }
.lp-eyebrow--gold { color: var(--gold); }
@media (min-width: 768px) { .lp-who { grid-template-columns: 320px 1fr; gap: 56px; } }

/* For whom */
.lp-for { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.lp-for__col { list-style: none; margin: 0; padding: 22px; display: grid; gap: 14px; border-radius: var(--r-l); }
.lp-for__col.is-yes { background: var(--white); box-shadow: var(--shadow); }
.lp-for__col.is-no { background: var(--alt); }
.lp-for li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; color: var(--text); }
.lp-for .is-no li { color: var(--text-3); }
.lp-for svg { flex: none; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.lp-for .is-yes svg { stroke: var(--gold-line); }
.lp-for .is-no svg { stroke: var(--text-3); }
@media (min-width: 768px) { .lp-for { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* Timeline and guarantee */
.lp-time { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; }
.lp-time li { position: relative; padding-left: 30px; }
.lp-time li::before { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 2px var(--gold-night); }
.lp-time li::after { content: ''; position: absolute; left: 6px; top: 24px; bottom: -18px; width: 2px; background: rgba(200,168,110,.3); }
.lp-time li:last-child::after { display: none; }
.lp-time b { font-size: 17px; color: #fff; }
.lp-time p { margin-top: 4px; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.75); }
.lp-guarantee { display: flex; gap: 14px; align-items: flex-start; max-width: 720px; margin: 40px auto 0; padding: 20px 22px; border-radius: var(--r-l); background: var(--gold-tint); color: var(--text-2); font-size: 16px; line-height: 1.55; }
.lp-guarantee svg { flex: none; width: 24px; height: 24px; margin-top: 2px; fill: var(--wijn); stroke: none; }
.lp-guarantee b { display: block; margin-bottom: 2px; font-size: 17px; color: var(--text); }
@media (min-width: 900px) {
  .lp-time { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .lp-time li { padding-left: 0; padding-top: 30px; }
  .lp-time li::before { top: 0; }
  .lp-time li::after { left: 20px; right: -24px; top: 6px; bottom: auto; width: auto; height: 2px; }
}

/* Price card */
.lp-pricecard { max-width: 520px; margin: 0 auto; padding: 36px 28px 30px; text-align: center; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px rgba(184,137,46,.5), 0 30px 60px rgba(30,29,27,.12); }
.lp-pricecard .lp-eyebrow { justify-content: center; }
.lp-pricecard__big { font-family: var(--serif); font-size: 64px; font-weight: 500; line-height: 1; color: var(--text); }
.lp-pricecard__big span { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--text-3); }
.lp-pricecard__sub { margin-top: 10px; font-size: 16px; color: var(--text-2); }
.lp-pricecard__lock { margin: 16px auto 0; max-width: 26em; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--text-2); }
.lp-pricecard .btn { margin-top: 22px; }
.lp-pricecard__small { margin-top: 12px; font-size: 14.5px; color: var(--text-3); }

/* FAQ */
.lp-faq { max-width: 760px; margin: 0 auto; padding: 6px 22px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow); }
.lp-faq .fold:last-child { border-bottom: 0; }

/* Last call */
.lp-final .lp-wrap { display: grid; justify-items: center; text-align: center; }
.lp-final__line { font-family: var(--serif); font-size: 28px; line-height: 1.25; color: #f5f2ec; text-wrap: balance; }
.lp-final__cta { width: 100%; max-width: 420px; margin-top: 24px; }
.lp-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-top: 12px; }
.lp-small { margin-top: 6px; font-size: 14.5px; color: rgba(255,255,255,.65); }
/* Phone: the door comes first, smaller; the note hangs on a short ribbon */
.lp-hero__visual { order: -1; min-height: 330px; padding: 28px 16px 44px; }
.lp-hero__visual .lp-note__ribbon { top: 2px; height: 44px; }
.lp-hero__visual .lp-note { width: 165px; right: 5%; bottom: 6%; }
@media (min-width: 900px) {
  .lp-hero__visual { order: 0; min-height: 600px; padding: 40px 20px 60px; }
  .lp-hero__visual .lp-note { width: 220px; right: 4%; bottom: 7%; }
}

/* ---------- Sales page v3: the dream. Phone scene in the hero ---------- */
.lp-scene {
  position: relative; order: -1; min-height: 400px; border-radius: 18px; overflow: hidden;
  background: var(--stars), radial-gradient(ellipse at 50% 30%, #233067, var(--night) 72%);
  box-shadow: 0 30px 60px rgba(18,26,58,.25);
}
.lp-scene__phones { display: flex; justify-content: center; gap: 22px; padding-top: 26px; }
.lp-ph { width: 128px; }
.lp-ph__who { margin-bottom: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.72); text-align: center; }
.lp-ph__screen {
  position: relative; height: 230px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(170deg, #1d2852, #0b1029);
  box-shadow: inset 0 0 0 2px rgba(226,207,166,.35), inset 0 0 0 6px #0b1029, 0 20px 40px rgba(0,0,0,.45);
}
.lp-ph__time { margin-top: 26px; text-align: center; font-family: var(--serif); font-size: 30px; font-weight: 500; color: rgba(255,255,255,.9); }
.lp-ph__notif {
  position: absolute; left: 9px; right: 9px; top: 74px; display: flex; gap: 7px; align-items: center; padding: 8px 9px;
  border-radius: 12px; background: rgba(253,252,250,.95); font-size: 10.5px; line-height: 1.25; color: var(--text-2); box-shadow: 0 6px 14px rgba(0,0,0,.3);
}
.lp-ph__notif img { flex: none; width: 16px; height: auto; }
.lp-ph__notif b { display: block; font-size: 11px; color: var(--text); }
.lp-ph__card {
  position: absolute; left: 10px; right: 10px; bottom: 12px; padding: 18px 8px 10px; text-align: center;
  background: linear-gradient(180deg, #fff, var(--paper)); border-radius: 3px 10px 3px 10px; box-shadow: 0 10px 22px rgba(0,0,0,.4);
}
.lp-ph__card p { font-family: var(--serif); font-size: 14px; line-height: 1.3; color: var(--text); }
.lp-ph__card p.lp-ph__kick { margin-bottom: 3px; font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lp-ph__medal { position: absolute; left: 50%; top: -13px; display: grid; place-items: center; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: linear-gradient(135deg, #d9bd84, #fff6dc 45%, #cba660); font-family: var(--serif); font-size: 12px; font-weight: 600; color: var(--night); }
.lp-scene__line { position: absolute; left: 50%; bottom: 84px; width: 150px; height: 2px; margin-left: -75px; background: linear-gradient(90deg, transparent, #e2cfa6 20%, #f1dcaa 50%, #e2cfa6 80%, transparent); }
.lp-scene__heart { position: absolute; left: 50%; bottom: 62px; display: grid; place-items: center; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; background: radial-gradient(circle, rgba(255,236,180,.55), rgba(255,236,180,0) 70%); }
.lp-scene__heart img { width: 30px; height: auto; filter: drop-shadow(0 0 10px rgba(241,220,170,.8)); }
.lp-scene__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 18px; color: #f5f2ec; }
@media (min-width: 900px) {
  .lp-scene { order: 0; min-height: 600px; }
  .lp-scene__phones { gap: 36px; padding-top: 64px; }
  .lp-ph { width: 168px; }
  .lp-ph__screen { height: 320px; border-radius: 30px; }
  .lp-ph__time { margin-top: 40px; font-size: 38px; }
  .lp-ph__notif { top: 104px; font-size: 12px; padding: 10px 11px; }
  .lp-ph__notif b { font-size: 12.5px; }
  .lp-ph__card { padding: 26px 10px 16px; bottom: 22px; }
  .lp-ph__card p { font-size: 16px; }
  .lp-scene__line { bottom: 116px; width: 210px; margin-left: -105px; }
  .lp-scene__heart { bottom: 90px; width: 56px; height: 56px; margin-left: -28px; }
  .lp-scene__heart img { width: 36px; }
  .lp-scene__cap { bottom: 34px; font-size: 22px; }
}

/* The loop, 9 s: message, own task, then together */
@keyframes lp-notif { 0%, 8% { opacity: 0; transform: translateY(-14px); } 14%, 34% { opacity: 1; transform: none; } 40%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes lp-card { 0%, 36% { opacity: 0; transform: translateY(12px); } 44%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes lp-her { 0%, 60% { transform: none; } 70%, 90% { transform: translateX(8px) rotate(3deg); } 98%, 100% { transform: none; } }
@keyframes lp-him { 0%, 60% { transform: none; } 70%, 90% { transform: translateX(-8px) rotate(-3deg); } 98%, 100% { transform: none; } }
@keyframes lp-line { 0%, 62% { transform: scaleX(0); opacity: 0; } 72%, 92% { transform: scaleX(1); opacity: 1; } 98%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes lp-heart { 0%, 68% { transform: scale(0); opacity: 0; } 75% { transform: scale(1.2); opacity: 1; } 79%, 92% { transform: scale(1); opacity: 1; } 98%, 100% { transform: scale(1); opacity: 0; } }
@keyframes lp-cap-day { 0%, 6% { opacity: 0; } 12%, 56% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes lp-cap-night { 0%, 64% { opacity: 0; } 72%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
.lp-ph__notif { animation: lp-notif 9s ease-out infinite; }
.lp-ph__card { animation: lp-card 9s ease-out infinite; }
.lp-ph--him .lp-ph__notif, .lp-ph--him .lp-ph__card { animation-delay: .35s; }
.lp-ph--her { animation: lp-her 9s ease-in-out infinite; }
.lp-ph--him { animation: lp-him 9s ease-in-out infinite; }
.lp-scene__line { animation: lp-line 9s ease-in-out infinite; }
.lp-scene__heart { animation: lp-heart 9s ease-out infinite; }
.lp-scene__cap--day { animation: lp-cap-day 9s ease-in-out infinite; }
.lp-scene__cap--night { animation: lp-cap-night 9s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .lp-ph__notif, .lp-ph__card, .lp-ph--her, .lp-ph--him, .lp-scene__line, .lp-scene__heart, .lp-scene__cap--day, .lp-scene__cap--night { animation: none; }
  .lp-ph__notif, .lp-scene__cap--day { opacity: 0; }
}

/* Principle, what we heard, final */
.lp-chips { list-style: none; margin: 26px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lp-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-size: 15.5px; font-weight: 600; color: var(--text); }
.lp-chips svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-line); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lp-heard { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.lp-heard__item { padding: 28px 26px; border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow); font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; color: var(--text); text-align: center; }
@media (min-width: 768px) { .lp-heard { grid-template-columns: 1fr 1fr; gap: 24px; } .lp-heard__item { font-size: 28px; } }
.lp-steps__n { font-size: 30px; font-style: italic; }
.lp-gap--small { height: 48px; }
@media (min-width: 768px) { .lp-gap--small { height: 72px; } }
.lp-eyebrow--center { justify-content: center; }
.lp-final__title { color: #f5f2ec; max-width: 16em; }
.lp-final .lp-final__line { margin-top: 14px; font-family: var(--sans); font-size: 17px; color: rgba(255,255,255,.75); }
.lp-night .lp-h2 em { color: var(--gold-night); } /* wijn stays off the night */

/* ---------- Sales page v4: one story, each section its own picture ---------- */
.lp-eyebrow--night { justify-content: center; color: var(--gold-night); }
.lp-by span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text-3); }
.lp-reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.lp-reveal.is-in { opacity: 1; transform: none; }

/* Not the big gesture */
.lp-gest .lp-wrap { text-align: center; }
.lp-gest__lead { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--text-3); }
.lp-gest__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.lp-gest__list .lp-reveal { opacity: 1; transform: none; }
.lp-gest__list span { position: relative; display: inline-block; font-family: var(--serif); font-size: 34px; line-height: 1.25; color: var(--text); transition: color .6s; transition-delay: inherit; }
.lp-gest__list span::after { content: ''; position: absolute; left: -4px; top: 55%; height: 3px; width: 0; background: var(--wijn); transition: width .6s var(--ease); transition-delay: inherit; }
.lp-gest__list .is-in span { color: #b1ab9f; }
.lp-gest__list .is-in span::after { width: calc(100% + 8px); }
.lp-gest__small { margin-top: 30px; font-family: var(--serif); font-size: 32px; line-height: 1.2; color: var(--gold); text-wrap: balance; }
.lp-gest__small em { font-style: italic; color: var(--wijn); }
@media (min-width: 768px) { .lp-gest__lead { font-size: 30px; } .lp-gest__list span { font-size: 58px; } .lp-gest__small { font-size: 48px; } }

/* How it works: the phone stays, the steps scroll past */
.lp-story { padding-bottom: 20px; }
.lp-story__grid { display: grid; }
.lp-story__sticky { position: sticky; top: 0; z-index: 2; height: 52vh; min-height: 340px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--night) 82%, rgba(18,26,58,0)); margin: 0 -20px; }
.lp-story__steps { list-style: none; margin: 0; padding: 0; }
.lp-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 0 4px; opacity: .3; transition: opacity .5s; }
.lp-step.is-on { opacity: 1; }
.lp-step__n { font-family: var(--serif); font-size: 15px; letter-spacing: .14em; color: var(--gold-night); }
.lp-step h3 { margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.15; color: #f5f2ec; }
.lp-step p { margin-top: 12px; max-width: 26em; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.78); }
@media (min-width: 900px) {
  .lp-story__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .lp-story__sticky { top: 10vh; height: 80vh; margin: 0; background: none; }
  .lp-step { min-height: 80vh; padding: 0; }
  .lp-step h3 { font-size: 44px; }
}

.lp-stage { position: relative; width: 280px; height: 420px; transform: scale(.74); }
@media (min-width: 900px) { .lp-stage { transform: none; } }
.lp-sphone { position: absolute; left: 20px; top: 0; width: 210px; height: 410px; }
.lp-sphone__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--stars), linear-gradient(170deg, #1d2852, #0b1029);
  box-shadow: inset 0 0 0 2px rgba(226,207,166,.4), inset 0 0 0 7px #0b1029, 0 30px 60px rgba(0,0,0,.5); }
.lp-sphone--partner { left: auto; right: -30px; top: 90px; width: 150px; height: 290px; opacity: 0; transform: translateX(40px) scale(.92); transition: opacity .6s, transform .6s var(--ease); }
.lp-sphone--partner .lp-sphone__screen { border-radius: 26px; }
.lp-stage[data-step="2"] .lp-sphone--partner, .lp-stage[data-step="4"] .lp-sphone--partner, .lp-stage[data-step="5"] .lp-sphone--partner { opacity: 1; transform: none; }
.lp-stage[data-step="2"] .lp-sphone:not(.lp-sphone--partner), .lp-stage[data-step="4"] .lp-sphone:not(.lp-sphone--partner), .lp-stage[data-step="5"] .lp-sphone:not(.lp-sphone--partner) { transform: translateX(-34px); }
.lp-sphone { transition: transform .6s var(--ease); }
.lp-scr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 22px 16px; text-align: center;
  opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s var(--ease); }
.lp-stage[data-step="1"] .lp-scr--1, .lp-stage[data-step="2"] .lp-scr--2, .lp-stage[data-step="3"] .lp-scr--3, .lp-stage[data-step="4"] .lp-scr--4, .lp-stage[data-step="5"] .lp-scr--5 { opacity: 1; transform: none; }
.lp-scr__q { font-family: var(--serif); font-size: 20px; line-height: 1.25; color: #f5f2ec; }
.lp-sphone--partner .lp-scr__q { font-size: 16px; }
.lp-scr__opts { display: grid; gap: 8px; width: 100%; }
.lp-scr__opts span { padding: 10px; border-radius: 8px; border: 1px solid rgba(226,207,166,.35); font-size: 14px; font-weight: 600; color: #fff; }
.lp-scr__opts .is-on { background: linear-gradient(120deg, #f1dcaa, #cba660); color: var(--night); border-color: transparent; }
.lp-scr__ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(200,168,110,.18); color: var(--gold-night); }
.lp-scr__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lp-scr__join { padding: 8px 18px; border-radius: 999px; background: linear-gradient(120deg, #f1dcaa, #cba660); font-size: 13px; font-weight: 700; color: var(--night); }
.lp-scr .today--small { width: 100%; }
.lp-sphone--partner .lp-scr .today--small { padding: 46px 8px 12px; }
.lp-sphone--partner .today--small .today__flap { height: 30px; }
.lp-sphone--partner .today--small .today__seal { top: 30px; width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: 14px; }
.lp-sphone--partner .today--small .today__title { font-size: 14px; }
.lp-scr .cal__grid { width: 100%; }
/* Step 4: the partner sees a sealed card without its title: what is in it is not for them */
.lp-sphone--partner .lp-scr--4 .today__title { display: none; }
.lp-scr__lock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.7); }
.lp-scr__lock svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.lp-scr__small { font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.8); max-width: 12em; }
.lp-mcard { position: relative; width: 100%; padding: 26px 12px 14px; background: linear-gradient(180deg, #fff, var(--paper)); border-radius: 3px 12px 3px 12px; box-shadow: 0 14px 30px rgba(0,0,0,.45); transform: rotate(-1.5deg); }
.lp-mcard__medal { position: absolute; left: 50%; top: -16px; display: grid; place-items: center; width: 32px; height: 32px; margin-left: -16px; border-radius: 50%; background: linear-gradient(135deg, #d9bd84, #fff6dc 45%, #cba660); font-family: var(--serif); font-size: 14px; font-weight: 600; color: var(--night); }
.lp-mcard .note__kick { font-size: 10.5px; }
.lp-mcard__title { margin-top: 4px; font-family: var(--serif); font-size: 18px; line-height: 1.25; color: var(--text); }
.lp-mcard__btn { display: inline-block; margin-top: 12px; padding: 7px 18px; border-radius: 999px; background: linear-gradient(120deg, #f1dcaa, #cba660); font-size: 12.5px; font-weight: 700; color: var(--night); }
.lp-stage__heart { position: absolute; left: 50%; bottom: -26px; display: grid; place-items: center; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,236,180,.6), rgba(255,236,180,0) 70%); opacity: 0; transform: scale(.3); transition: opacity .5s, transform .6s cubic-bezier(.34,1.56,.64,1); }
.lp-stage__heart img { width: 40px; height: auto; filter: drop-shadow(0 0 12px rgba(241,220,170,.9)); }
.lp-stage[data-step="5"] .lp-stage__heart { opacity: 1; transform: none; transition-delay: .3s; }

/* What we heard: big type on night */
.lp-heard2 .lp-wrap { text-align: center; }
.lp-heard2__line { margin: 6px auto 0; max-width: 18em; font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 1.2; color: #f5f2ec; text-wrap: balance; }
.lp-heard2__line + .lp-heard2__line { margin-top: 18px; color: var(--gold-night); transition-delay: .3s; }
.lp-heard2__answer { margin: 36px auto 0; max-width: 30em; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.78); transition-delay: .6s; }
@media (min-width: 768px) { .lp-heard2__line { font-size: 52px; } }

/* A few example tasks: a row */
.lp-doors .lp-h2 { text-align: center; }
.lp-doors__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 22px; margin: 0 -20px; padding: 56px 20px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lp-doors__row::-webkit-scrollbar { display: none; }
.lp-doors__note { scroll-snap-align: center; }
.lp-doors__note:nth-child(odd) { transform: rotate(-1.5deg); }
.lp-doors__note:nth-child(even) { transform: rotate(1.2deg); }
@media (min-width: 900px) { .lp-doors__row { margin: 0; padding: 60px 0 10px; overflow: visible; } }

/* What you get: bento */
.lp-get2 .lp-h2 { text-align: center; margin-bottom: 34px; }
.lp-bento { display: grid; gap: 14px; }
.lp-tile { padding: 24px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.lp-tile b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--text); }
.lp-tile p { margin-top: 4px; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.lp-tile--app { display: flex; gap: 22px; align-items: center; background: var(--stars), radial-gradient(ellipse at 30% 40%, #233067, var(--night) 75%); }
.lp-tile--app b { color: #f5f2ec; font-size: 26px; }
.lp-tile--app p { color: rgba(255,255,255,.75); }
.lp-tile--app { flex-direction: column; align-items: stretch; }
.lp-tile--app .cal__grid { width: 100%; max-width: 280px; align-self: center; }
.lp-tile--live { background: var(--gold-tint); }
.lp-chip { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 700; color: var(--gold); }
.lp-chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.lp-bubbles { display: flex; margin-bottom: 14px; }
.lp-bubbles span { display: grid; place-items: center; width: 38px; height: 38px; margin-right: -8px; border-radius: 50%; box-shadow: 0 0 0 3px var(--white); font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--night); }
.lp-bubbles span:nth-child(1) { background: #f1dcaa; } .lp-bubbles span:nth-child(2) { background: #e3c789; } .lp-bubbles span:nth-child(3) { background: #d9d3c5; } .lp-bubbles span:nth-child(4) { background: var(--night); color: #f1dcaa; }
.lp-tile__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--gold-tint); color: var(--gold); }
.lp-tile__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) {
  .lp-bento { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
  .lp-tile--app { grid-row: span 2; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 34px; }
  .lp-tile--app .cal__grid { max-width: 300px; margin-bottom: 30px; }
}

/* Melianthe */
.lp-who2__grid { display: grid; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; }
.lp-who2__pics { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.lp-who2__img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.lp-who2__book { position: absolute; right: -18px; bottom: -28px; width: 34%; height: auto; transform: rotate(5deg); box-shadow: 0 18px 36px rgba(30,29,27,.3); }
@media (min-width: 768px) { .lp-who2__grid { grid-template-columns: 360px 1fr; gap: 72px; } }

/* Price with the conditions */
.lp-pcard { max-width: 600px; margin: 0 auto; padding: 38px 26px 30px; text-align: center; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px rgba(184,137,46,.5), 0 40px 80px rgba(0,0,0,.35); }
.lp-pcard__big { font-family: var(--serif); font-size: 72px; font-weight: 500; line-height: 1; color: var(--text); }
.lp-pcard__big span { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--text-3); }
.lp-pcard__sub { margin-top: 10px; font-size: 16px; color: var(--text-2); }
.lp-strip { list-style: none; margin: 26px 0 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 10px; border-top: 1px solid var(--line); }
.lp-strip li { display: grid; gap: 2px; font-size: 13.5px; line-height: 1.35; color: var(--text-3); }
.lp-strip b { font-family: var(--serif); font-size: 17px; color: var(--text); }
@media (min-width: 600px) { .lp-strip { grid-template-columns: repeat(4, 1fr); } }
.lp-pcard .btn { margin-top: 24px; }
.lp-pcard__lock { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.lp-seal { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--gold-tint); text-align: left; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.lp-seal b { display: block; color: var(--text); }
.lp-seal__mark { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #b3364a, var(--wijn) 60%, #5f1320); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.lp-seal__mark img { width: 22px; height: auto; }
.lp-pcard__small { margin-top: 12px; font-size: 14px; color: var(--text-3); }
.lp-paper .lp-h2 { text-align: center; margin-bottom: 30px; }

/* Last call: the today card, its flap opens as it comes into view */
.lp-final__card { width: min(100%, 300px); margin-bottom: 34px; }
.lp-final__card .today--small { padding: 96px 20px 28px; border-radius: 16px; }
.lp-final__card .today__flap { height: 60px; border-radius: 15px 15px 0 0; transition: transform 1.2s cubic-bezier(.45,0,.2,1) .3s; }
.lp-final__card .today__seal { top: 60px; width: 54px; height: 54px; margin: -27px 0 0 -27px; font-size: 24px; }
.lp-final__card .today__kick { font-size: 12px; }
.lp-final__card .today__title { margin-top: 6px; font-size: 26px; }
.lp-final__card .today.is-open .today__flap { transform: rotateX(180deg); }

@media (prefers-reduced-motion: reduce) {
  .lp-reveal { opacity: 1; transform: none; transition: none; }
  .lp-gest__list span::after { width: calc(100% + 8px); transition: none; }
  .lp-gest__list span { color: #b1ab9f; }
  .lp-scr, .lp-sphone, .lp-sphone--partner, .lp-stage__heart, .lp-final__card .today__flap { transition: none; }
}
.lp-who2 .lp-h2 { text-align: left; margin-bottom: 0; }
.lp-stage[data-step="2"] .lp-sphone:not(.lp-sphone--partner), .lp-stage[data-step="4"] .lp-sphone:not(.lp-sphone--partner), .lp-stage[data-step="5"] .lp-sphone:not(.lp-sphone--partner) { transform: translateX(-64px); }
.lp-doors { overflow: hidden; }
@media (max-width: 899px) { .lp-story__sticky { background: linear-gradient(180deg, var(--night) 94%, rgba(18,26,58,0)); } .lp-step { padding-top: 24px; } }
@media (max-width: 899px) { .lp-step { justify-content: flex-start; min-height: 70vh; padding-top: 4vh; } .lp-story__steps { padding-top: 6vh; } }

/* iPhone: where the share icon is, for the browser in use */
.iosguide { display: grid; place-items: center; margin: 18px 0 6px; }
.iosguide__phone { position: relative; width: 150px; height: 230px; border-radius: 26px; background: var(--alt); box-shadow: inset 0 0 0 2px #d9d3c5; }
.iosguide__bar { position: absolute; left: 12px; right: 12px; height: 30px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.iosguide--bottom .iosguide__bar { bottom: 12px; }
.iosguide--top .iosguide__bar { top: 12px; }
.iosguide__share { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff; box-shadow: 0 0 0 6px rgba(184,137,46,.25); animation: glow 2s ease-in-out infinite; }
.iosguide__share svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iosguide--bottom .iosguide__share { left: 50%; bottom: 7px; margin-left: -20px; }
.iosguide--top .iosguide__share { right: 8px; top: 7px; }
.iosguide__label { position: absolute; left: 0; right: 0; top: 50%; margin-top: -12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--gold); }
.steps--big { font-size: 16.5px; gap: 12px; }

/* =====================================================================
   Member app, new design (19 Nov): white, light and modern. Navy is only an accent (today card, active tab,
   today's square). Styles: Licht (default), Wijnrood, Donker, "Zoals je telefoon" (public/theme.js sets
   data-theme on <html> before the first paint). Everything below is scoped to body.app, so the sales page
   (body.is-lp) and the server pages keep their own look.
   ===================================================================== */
:root, :root[data-theme="licht"] {
  --bg: #ffffff; --surface: #faf8f4; --border: #eee9df; --ink: #1e1d1b; --ink-2: #6b655b; --ink-3: #77716a;
  --soft: #f4f1ea; --field: #ffffff; --field-border: #ddd6c7; --switch-off: #8f887a;
  --accent: #121a3a;
  --gold-ui: #b8892e; --gold-text: #7a5c26; --gold-text-hover: #5e461c; --gold-tint-ui: #f3ead7;
  --btn-bg: linear-gradient(100deg, #d9bd84, #f1dcaa 55%, #cba660); --btn-ink: #121a3a;
  --today-bg: linear-gradient(160deg, #1b2552, #121a3a);
  --card-btn-bg: var(--btn-bg); --card-btn-ink: #121a3a; --card-btn-arrow: #f1dcaa;
  --today-square: #121a3a; --today-square-ink: #ffffff;
  --wine: #7d1f2f; --wine-bg: linear-gradient(160deg, #93293b, #7d1f2f); --wine-text: #7d1f2f;
  --shadow-soft: 0 14px 34px -18px rgba(18,26,58,.45);
}
:root[data-theme="wijn"] {
  --accent: #7d1f2f;
  --today-bg: var(--wine-bg);
  --card-btn-bg: #ffffff; --card-btn-ink: #7d1f2f; --card-btn-arrow: #ffffff;
  --today-square: #7d1f2f;
  --shadow-soft: 0 14px 34px -18px rgba(125,31,47,.5);
}
:root[data-theme="donker"] {
  --bg: #14182b; --surface: #1e2440; --border: #2c3354; --ink: #f1eee8; --ink-2: #a7a9b8; --ink-3: #8d90a6;
  --soft: #262d4d; --field: #232a4a; --field-border: #3a4268; --switch-off: #6b7299;
  --accent: #d9bd84;
  --gold-ui: #d9bd84; --gold-text: #d9bd84; --gold-text-hover: #f1dcaa; --gold-tint-ui: rgba(217,189,132,.16);
  --today-bg: linear-gradient(160deg, #2a3466, #1c2349);
  --today-square: #d9bd84; --today-square-ink: #14182b;
  --wine-text: #f09aa7;
  --shadow-soft: 0 14px 34px -18px rgba(0,0,0,.7);
}

/* The old names, pointed at the theme inside the app (the components above use them) */
body.app {
  --white: var(--field); --paper: var(--surface); --alt: var(--soft);
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-2); --line: var(--border);
  --gold: var(--gold-text); --gold-hover: var(--gold-text-hover); --gold-line: var(--gold-ui); --gold-tint: var(--gold-tint-ui);
  --gold-night: var(--gold-text); --wijn: var(--wine-text);
  background: var(--bg); color: var(--ink);
}
:root[data-theme="donker"] body.app { color-scheme: dark; }
body.app::before { display: none; }
.app .brand { color: var(--gold-text); }
.app .page:has(.apphead) .brand { display: none; }
.app .page { padding-top: 18px; }
.app.has-tabs .page { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
.app.has-tabs .footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
.app .footer { color: var(--ink-2); }
.app .footer__links a { color: var(--ink-2); }
.app .env-dot--clock { color: var(--ink); }
.app .env-dot--clock.is-sim { color: #fff; }
.app.has-tabs .env-dot { bottom: calc(66px + env(safe-area-inset-bottom)); }
.app.has-tabs .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }

/* ---------- Bottom tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 0 max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));
  background: var(--bg); border-top: 1px solid var(--border);
}
.tabbar__row { max-width: 460px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tabbar__tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; padding: 8px 2px 6px;
  font: 600 12px/1.2 var(--sans); color: var(--ink-2); background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.tabbar__ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabbar__tab[aria-current="page"] { color: var(--accent); }
.tabbar__tab[aria-current="page"] .tabbar__ico { stroke-width: 2.1; }
.tabbar__tab:focus-visible { outline: 2px solid var(--gold-ui); outline-offset: -4px; border-radius: 10px; }
@media (hover: hover) { .tabbar__tab:hover { color: var(--ink); } }

/* ---------- Header row ---------- */
.apphead { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.apphead__brand { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: .01em; color: var(--ink); }
.apphead__brand img { width: 22px; height: auto; }
.apphead__avatar {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  font: 700 17px/1 var(--sans); color: var(--gold-text); background: var(--gold-tint-ui); border: 1px solid var(--border);
}
.apphead__sub { margin-top: -6px; font-size: 14.5px; color: var(--ink-2); }
.apphead__sub::first-letter { text-transform: uppercase; }
.pagetitle { margin-top: 2px; font-size: 32px; color: var(--ink); }

/* ---------- Cards, buttons, fields ---------- */
.app .card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: none; padding: 24px 20px 22px; }
@media (min-width: 480px) { .app .card { padding: 28px 26px 26px; } }
.app .stack > section.card:first-of-type::before, .app main > div.card::before { display: none; }
.app h1 { color: var(--ink); }
.app .btn { min-height: 56px; color: var(--btn-ink); background: var(--btn-bg); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 22px -12px rgba(150,112,48,.7); }
.app .btn__arrow { width: 38px; height: 38px; margin-top: -19px; padding: 10px; background: var(--btn-ink); color: #f1dcaa; }
.app .btn-quiet { background: var(--field); border-color: var(--field-border); }
.app .btn-night { color: var(--gold-text); background: var(--field); border-color: var(--field-border); }
.app .btn-night .ico { color: var(--gold-text); }
.app .link--night { color: var(--gold-text); }
.app .input { background: var(--field); border-color: var(--field-border); }
.app .input:focus { background: var(--field); }
.app .check input { border-color: var(--field-border); background: var(--field); }
.app .check input::after { border-color: var(--surface); }
.app .check input:checked { background: var(--gold-text); border-color: var(--gold-text); }
.app .option, .app .scale__opt, .app .chip { border-color: var(--field-border); }
.app .option:has(input:checked) { background: var(--gold-tint-ui); }
.app .consent { background: var(--field); }
.app .moment { color: var(--ink); background: var(--gold-tint-ui); border-color: transparent; }
.app .moment__ico { fill: var(--gold-ui); }
.app .toast { box-shadow: 0 0 0 1px var(--border), 0 18px 40px rgba(18,26,58,.18); }

/* ---------- Home: today card ---------- */
.app .hero { display: block; justify-items: normal; padding: 0; text-align: left; }
.app .today {
  margin: 0; padding: 22px 20px 22px; text-align: left; border-radius: 20px; color: #fff;
  background: var(--today-bg); box-shadow: var(--shadow-soft);
}
.app .today--done { background: var(--today-bg); box-shadow: var(--shadow-soft); }
.app .today--ondeugend { background: var(--wine-bg); box-shadow: 0 14px 34px -18px rgba(125,31,47,.6); }
.app .today__flap { display: none; }
.app .today__seal {
  left: auto; right: 18px; top: 18px; margin: 0; width: 52px; height: 52px; font-size: 23px; color: #121a3a;
  background: linear-gradient(135deg, #d9bd84, #fff6dc 45%, #cba660); box-shadow: 0 4px 12px rgba(0,0,0,.28);
}
.app .today--done .today__seal { background: linear-gradient(135deg, #d9bd84, #fff6dc 45%, #cba660); box-shadow: 0 4px 12px rgba(0,0,0,.28); }
.app .today__heart { width: 24px; }
.app .today__kick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-right: 64px; color: rgba(255,255,255,.82); }
.app .today__title { margin-top: 8px; padding-right: 60px; font-size: 29px; color: #fff; }
.app .today--shut .today__title { color: rgba(255,255,255,.8); }
.app .today .actions { margin-top: 22px; }
.app .today .btn { color: var(--card-btn-ink); background: var(--card-btn-bg); }
.app .today .btn__arrow { background: var(--card-btn-ink); color: var(--card-btn-arrow); }
.app .today__now { justify-content: flex-start; }
.app .today__line { color: rgba(255,255,255,.85); }
.app .today .link { color: #f1dcaa; }
.app .today--ondeugend .link { color: #fff; }
.app .today .done-badge { background: rgba(255,255,255,.16); color: #fff; }
.app .today .done-badge__ico { stroke: #fff; }
.chip-ondeugend {
  display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.3;
  color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45);
}
.app .hero__aim { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.app .hero .statbar { justify-content: flex-start; margin-top: 14px; }
.app .hero .statbar__nums { justify-content: flex-start; color: var(--ink-2); }
.app .hero .statbar__item b { color: var(--ink); }
.app .hero .statbar__spark { color: var(--wine-text); background: var(--surface); border-color: var(--border); }
.app .hero .statbar__spark svg { color: var(--wine-text); }
.app .hero .statbar__spark:disabled { color: var(--ink-2); background: transparent; border-color: var(--border); }
.app .hero__date { color: var(--gold-text); }
.app .hero__sub { color: var(--ink-2); }

/* ---------- Home: the month ---------- */
.app .cal { padding: 0; background: none; border: 0; border-radius: 0; }
.app .cal__head { align-items: baseline; flex-wrap: wrap; margin: 4px 0 12px; }
.app .cal__title { font-size: 22px; color: var(--ink); }
.cal__count { margin-left: auto; font-size: 14.5px; color: var(--ink-2); }
.app .cal__head .doornav__arrows { flex-basis: 100%; justify-content: flex-end; }
.app .cal__grid { gap: 8px; }
.app .cal__day { aspect-ratio: 1; border-radius: 12px; color: var(--ink-3); background: var(--field); box-shadow: inset 0 0 0 1px var(--border); }
.app .cal__n { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.app .cal__date { display: none; }
.app .cal__day--done { color: var(--gold-text); background: var(--gold-tint-ui); box-shadow: none; }
.app .cal__day--done .cal__n { display: none; }
.app .cal__day--done .cal__heart { position: static; width: 46%; max-width: 20px; }
.app .cal__day--future { color: var(--ink-3); background: var(--field); box-shadow: inset 0 0 0 1px var(--border); }
.app .cal__day--skipped, .app .cal__day--missed { color: var(--ink-2); background: var(--soft); box-shadow: none; }
.app .cal__day--open { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--gold-ui); }
.app .cal__day.is-today { color: var(--today-square-ink); background: var(--today-square); box-shadow: none; }
.app .cal__day--done.is-today { color: var(--gold-text); background: var(--gold-tint-ui); box-shadow: inset 0 0 0 2px var(--today-square); }
.app .cal__day.is-ondeugend { color: #fff; background: #7d1f2f; }
@media (hover: hover) { .app button.cal__day:hover { box-shadow: inset 0 0 0 1.5px var(--gold-ui); } }
.app .cal__grid--compact { gap: 5px; }
.app .cal__grid--compact .cal__day { border-radius: 8px; }
.app .cal__grid--compact .cal__n { font-size: 12.5px; }
.app .cal__day.is-new { animation: cellgold-app .8s var(--ease) both; }
@keyframes cellgold-app { from { background: var(--field); box-shadow: inset 0 0 0 2px var(--gold-ui); } 60% { box-shadow: 0 0 0 3px var(--gold-tint-ui), inset 0 0 0 2px var(--gold-ui); } }
.app .doornav__btn { color: var(--gold-text); background: var(--field); border-color: var(--field-border); }

/* ---------- Home: quiet extras ---------- */
.app .rowcard { background: var(--surface); border-color: var(--border); }
.app .rowcard__main { color: var(--ink); }
.app .rowcard__text span { color: var(--ink-2); }
.app .rowcard__ico { color: var(--gold-text); background: var(--gold-tint-ui); }
.app .rowcard__go { color: var(--gold-text); }
.app .rowcard__x { color: var(--ink-2); border-left-color: var(--border); }
@media (hover: hover) { .app .rowcard__main:hover { background: var(--soft); } .app .rowcard__x:hover { color: var(--ink); } }
.app .ask { background: var(--surface); border-color: var(--border); }
.app .ask__q { color: var(--ink); }
.app .ask__yes { color: var(--btn-ink); background: var(--btn-bg); }
.app .quietline { color: var(--ink-2); }
.app .account .link { color: var(--gold-text); }
.app .account p { color: var(--ink-2); }

/* ---------- A day: the opened card ---------- */
.app .backbar { color: var(--gold-text); }
.app .note-wrap { padding-top: 0; }
.app .note__ribbon, .app .note__seal { display: none; }
.app .note__medal {
  top: 14px; right: 14px; left: auto; margin: 0; width: 46px; height: 46px; font-size: 21px; color: #121a3a;
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
}
.app .note__medal img { width: 20px; }
.app .note-wrap:not(:has(.note__band)) .note__medal { display: none; }
.app .note {
  padding: 28px 20px 26px; transform: none; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: none;
}
@media (min-width: 480px) { .app .note { padding: 30px 26px 28px; } }
.note__band { margin: -28px -20px 22px; padding: 18px 72px 16px 20px; text-align: left; background: var(--gold-tint-ui); }
@media (min-width: 480px) { .note__band { margin: -30px -26px 22px; padding-left: 26px; } }
.note__bandkick { font-size: 12.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-text); }
.note__band--ondeugend { background: var(--wine-bg); }
.note__band--ondeugend .note__bandkick { color: #fff; }
.app .note__task { color: var(--ink); }
.app .note__why { color: var(--ink-2); }
.app .softrow { color: var(--ink); background: var(--surface); border-color: var(--border); }
.app .softrow__text span { color: var(--ink-2); }
.app .softrow__go { stroke: var(--gold-text); }
@media (hover: hover) { .app .softrow:hover { background: var(--soft); } }
.app .donehero__big { color: var(--ink); }
.app .sheet.is-on { background: rgba(18,26,58,.35); }
.app .sheet__grip { background: var(--field-border); }

/* ---------- Meer, Dates, Live ---------- */
.meer__section { display: grid; gap: 10px; }
.meer__title, .meer__sub { margin: 10px 2px 0; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; color: var(--ink-2); }
.meer__stack { display: grid; gap: 10px; }
.meer__stack > * { margin: 0; }
.meer__sub { margin-top: 6px; }
.meer__section .card .kicker { display: none; }
.meer__section .card .form--tight:first-child { margin-top: 0; }
.meer__section .legal-links { margin: 0; }
.switchrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; cursor: pointer; }
.switchrow__text { display: grid; gap: 2px; }
.switchrow__text b { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.switchrow__text span { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.switchrow input {
  position: relative; flex: none; width: 52px; height: 32px; margin: 0; border-radius: 999px; cursor: pointer;
  background: var(--switch-off); transition: background .2s; -webkit-appearance: none; appearance: none;
}
.switchrow input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s var(--ease); }
.switchrow input:checked { background: var(--accent); }
.switchrow input:checked::after { transform: translateX(20px); }
.switchrow input:focus-visible { outline: 2px solid var(--gold-ui); outline-offset: 3px; }
.empty { display: grid; justify-items: center; gap: 12px; padding: 14px 0 6px; text-align: center; }
.empty .lead { margin: 0; }
.empty__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--gold-text); background: var(--gold-tint-ui); }
.empty__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kicker__ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .app .cal__day.is-new, .switchrow input, .switchrow input::after { animation: none; transition: none; } }

/* ---------- Quicker version (19 Nov): a second quiet option under the card, and the line on short cards ---------- */
.variants { display: grid; gap: 10px; }
.variants:empty { display: none; }
.variants .softrow { margin-top: 0; }

/* ---------- Dates (19 Nov): date ideas the couple ticks off together ---------- */
.dates__intro { margin: 6px 2px 0; color: var(--ink-2); }
.dates__count { margin: 6px 2px 0; font-size: 14px; font-weight: 600; color: var(--gold-text); }
.dates { display: grid; gap: 12px; margin-top: 16px; }
.datecard { padding: 20px 20px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.datecard__title { margin: 0; font-size: 21px; line-height: 1.25; color: var(--ink); }
.datecard__body { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.datecard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.datecard__tags li { padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--gold-text); background: var(--gold-tint-ui); }
.datecard__foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.datecheck {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 10px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--field); border: 1px solid var(--field-border); border-radius: 999px;
}
.datecheck__box { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--field-border); }
.datecheck__box svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.datecheck[aria-pressed="true"] { color: var(--today-square-ink); background: var(--accent); border-color: var(--accent); }
.datecheck[aria-pressed="true"] .datecheck__box { border-color: currentColor; }
.datecheck[aria-pressed="true"] .datecheck__box svg { opacity: 1; }
.datecheck:focus-visible { outline: 2px solid var(--gold-ui); outline-offset: 3px; }
.datecheck:disabled { cursor: progress; }
@media (hover: hover) { .datecheck[aria-pressed="false"]:hover { background: var(--soft); } }

/* =====================================================================
   19 Nov, after the app UX research: calm days, the completion moment, reminder and invite asks, readability.
   All scoped to body.app; the sales page (body.is-lp) is untouched.
   ===================================================================== */

/* ---------- Missed and skipped days look like any plain day: no dimming, no alarm ---------- */
.app .cal__day--skipped, .app .cal__day--missed { color: var(--ink-3); background: var(--field); box-shadow: inset 0 0 0 1px var(--border); }

/* ---------- After Gedaan: a gold seal draws itself, one warm line, today's square fills with the heart ---------- */
.app .donehero { gap: 0; padding: 4px 0 6px; }
.donehero__seal { display: block; width: 92px; height: 92px; margin: 2px auto 14px; }
.seal { width: 100%; height: 100%; overflow: visible; }
.seal__disc { fill: var(--gold-tint-ui); }
.seal__ring { fill: none; stroke: var(--gold-ui); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.seal__inner { fill: none; stroke: var(--gold-ui); stroke-width: 1; opacity: .45; }
.seal__heart { fill: none; stroke: var(--gold-ui); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.seal__fill { fill: var(--gold-ui); opacity: .9; }
.app .donehero .hero__date { margin-top: 2px; }
.app .donehero__big { margin-top: 6px; font-size: 44px; }
.donehero__line { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; color: var(--ink); text-wrap: balance; }
.donehero__privacy { margin-top: 8px; max-width: 22em; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.app .donehero .cal__grid { margin: 22px auto 6px; }
.donehero__big:focus { outline: none; }
/* The moment itself (only right after the tap). Transform and opacity, plus the two stroke draws. */
.donehero.is-fresh .donehero__seal { animation: sealin .5s var(--ease) both; }
.donehero.is-fresh .seal__ring { animation: draw .75s cubic-bezier(.45,0,.2,1) .1s both; }
.donehero.is-fresh .seal__inner { animation: fadein .4s ease-out .55s both; }
.donehero.is-fresh .seal__heart { animation: draw .7s cubic-bezier(.45,0,.2,1) .3s both; }
.donehero.is-fresh .seal__fill { animation: fillin .35s ease-out .85s both; transform-origin: 48px 50px; }
.donehero.is-fresh .hero__date { animation: rise .45s var(--ease) .7s both; }
.donehero.is-fresh .donehero__big { animation: rise .5s var(--ease) .78s both; }
.donehero.is-fresh .donehero__line { animation: rise .5s var(--ease) .9s both; }
.donehero.is-fresh .donehero__privacy { animation: rise .5s var(--ease) 1s both; }
.donehero.is-fresh .cal__grid { animation: fadein .4s ease-out .95s both; }
.donehero.is-fresh + .card { animation: rise .5s var(--ease) 1.25s both; }
.app .cal__day--done.is-new { isolation: isolate; overflow: hidden; background: var(--field); box-shadow: inset 0 0 0 1px var(--border); animation: none; }
.app .cal__day--done.is-new::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--gold-tint-ui); animation: cellfill .45s var(--ease) 1.1s both; }
.app .cal__day--done.is-new .cal__heart { animation: heartin .5s var(--ease) 1.2s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sealin { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes fillin { from { opacity: 0; transform: scale(.85); } to { opacity: .9; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes cellfill { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes heartin { from { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.1); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .donehero.is-fresh .donehero__seal, .donehero.is-fresh .hero__date, .donehero.is-fresh .donehero__big, .donehero.is-fresh .donehero__line,
  .donehero.is-fresh .donehero__privacy, .donehero.is-fresh .cal__grid, .donehero.is-fresh + .card { animation: fadein .4s ease-out both; }
  .donehero.is-fresh .seal__ring, .donehero.is-fresh .seal__heart, .donehero.is-fresh .seal__inner, .donehero.is-fresh .seal__fill,
  .app .cal__day--done.is-new::before, .app .cal__day--done.is-new .cal__heart { animation: none; }
  .app .cal__day--done.is-new { background: var(--gold-tint-ui); box-shadow: none; }
}

/* ---------- Sheets: a title, room to scroll on a small phone ---------- */
.sheet__panel { max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; }
.sheet__title { margin: 0 0 6px; font-size: 25px; color: var(--ink); }
.sheet__panel > .muted { margin-bottom: 16px; }
.sheet .q { margin-top: 18px; margin-bottom: 10px; }
.sheet .error { margin-top: 12px; }

/* ---------- Reminder choice: routine moments, an own time below ---------- */
.reminder { display: grid; gap: 12px; }
.reminder__clock { padding: 4px 0 0; }
.reminder__clock .q { margin-bottom: 8px; }

/* ---------- Invite: what the partner gets ---------- */
.gets__q { margin: 18px 0 10px; }
.sheet .gets__q { margin-top: 4px; }
.gets { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.gets li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--ink); }
.gets__ico { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; fill: none; stroke: var(--gold-text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; background: var(--gold-tint-ui); }
.card .gets + .field, .sheet .gets + .field { margin-top: 0; }
.field + .actions { margin-top: 18px; }

/* ---------- iPhone: three small phones, the way to the home screen ---------- */
.hsg { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hsg__step { display: grid; justify-items: center; gap: 8px; }
.hsg__phone { position: relative; width: 100%; max-width: 96px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--soft); box-shadow: inset 0 0 0 2px var(--field-border); }
.hsg__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 14px; font-weight: 700; color: var(--today-square-ink); background: var(--accent); }
.hsg__page { position: absolute; inset: 14px 10px 40px; border-radius: 6px; background: var(--field); box-shadow: inset 0 0 0 1px var(--border); }
.hsg--top .hsg__page { inset: 40px 10px 14px; }
.hsg__bar { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--field); box-shadow: inset 0 0 0 1px var(--border); }
.hsg--top .hsg__bar { top: 6px; bottom: auto; justify-items: end; padding-right: 4px; }
.hsg__share { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: var(--gold-ui); box-shadow: 0 0 0 4px var(--gold-tint-ui); }
.hsg__share svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.hsg__menu { position: absolute; left: 6px; right: 6px; bottom: 6px; display: grid; gap: 3px; padding: 5px; border-radius: 9px; background: var(--field); box-shadow: 0 -4px 12px rgba(18,26,58,.12), inset 0 0 0 1px var(--border); }
.hsg__row { display: flex; align-items: center; justify-content: space-between; gap: 2px; min-height: 14px; padding: 2px 4px; border-radius: 4px; background: var(--soft); }
.hsg__row--on { min-height: 22px; background: var(--gold-tint-ui); box-shadow: inset 0 0 0 1px var(--gold-ui); }
.hsg__rowline { flex: 1; height: 4px; border-radius: 2px; background: var(--ink-2); opacity: .55; }
.hsg__plus { flex: none; width: 11px; height: 11px; fill: none; stroke: var(--gold-text); stroke-width: 2.25; stroke-linecap: round; }
.hsg__home { position: absolute; inset: 14px 10px; display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 8px; }
.hsg__app { aspect-ratio: 1; border-radius: 6px; background: var(--field); box-shadow: inset 0 0 0 1px var(--border); }
.hsg__app--spark { display: grid; place-items: center; background: var(--accent); box-shadow: 0 0 0 3px var(--gold-tint-ui), 0 0 0 4px var(--gold-ui); }
.hsg__app--spark img { width: 55%; height: auto; }

/* ---------- Readability in Standaard: nothing under 14px, tap targets at least 44px ---------- */
.app .kicker, .app .hero__date, .app .note__kick, .app .note__bandkick, .app .today__kick, .app .why__label,
.app .progress, .app .meer__title, .app .meer__sub, .app .consent__tag, .app .done-badge, .app .note__tag,
.app .test-note, .app .bar__val, .app .datecard__tags li, .app .tabbar__tab, .app .chip-ondeugend,
.app .iosguide__label, .app .footer, .app .cal__grid--compact .cal__n, .app .env-dot--clock { font-size: 14px; }
.app .chip-ondeugend { letter-spacing: .1em; }
.app .tabbar__tab { font-size: 13px; }
.app .tabbar__tab .tabbar__label { font-size: 14px; }
.app .statbar__spark, .app .hero .statbar__spark { min-height: 44px; }
.app .todo .link, .app .quietline .link { min-height: 44px; }
.app .check { min-height: 44px; }
.app .footer__links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Groter (Meer, Tekstgrootte; data-text="groot" on <html>, set by public/theme.js) ----------
   Body text 19px, line height 1.5, nothing under 16px, tap targets at least 48px, secondary text at least 7:1. */
:root[data-text="groot"]:not([data-theme="donker"]) body.app { --ink-2: #4f4a42; --ink-3: #4f4a42; --gold-text: #5e461c; --switch-off: #6b655b; }
:root[data-text="groot"][data-theme="donker"] body.app { --ink-2: #c9cbd6; --ink-3: #c9cbd6; }
[data-text="groot"] body.app { font-size: 19px; line-height: 1.5; }
[data-text="groot"] .app .lead, [data-text="groot"] .app .lp-text, [data-text="groot"] .app .fold__body,
[data-text="groot"] .app .datecard__body, [data-text="groot"] .app .gets li, [data-text="groot"] .app .toast { font-size: 19px; line-height: 1.5; }
[data-text="groot"] .app .muted, [data-text="groot"] .app .small, [data-text="groot"] .app .check, [data-text="groot"] .app .notice,
[data-text="groot"] .app .option__detail, [data-text="groot"] .app .switchrow__text span, [data-text="groot"] .app .shared-note,
[data-text="groot"] .app .rowcard__text span, [data-text="groot"] .app .softrow__text span, [data-text="groot"] .app .statbar__nums,
[data-text="groot"] .app .hero .statbar__nums, [data-text="groot"] .app .hero__aim, [data-text="groot"] .app .apphead__sub,
[data-text="groot"] .app .cal__count, [data-text="groot"] .app .quietline, [data-text="groot"] .app .todo, [data-text="groot"] .app .ask__q,
[data-text="groot"] .app .note__hint, [data-text="groot"] .app .why p:last-child, [data-text="groot"] .app .error,
[data-text="groot"] .app .options__hint, [data-text="groot"] .app .mailbox, [data-text="groot"] .app .account p,
[data-text="groot"] .app .consent, [data-text="groot"] .app .consent .check, [data-text="groot"] .app .bar,
[data-text="groot"] .app .donehero__privacy, [data-text="groot"] .app .dates__count, [data-text="groot"] .app .steps--big { font-size: 17px; line-height: 1.5; }
[data-text="groot"] .app .kicker, [data-text="groot"] .app .hero__date, [data-text="groot"] .app .note__kick, [data-text="groot"] .app .note__bandkick,
[data-text="groot"] .app .today__kick, [data-text="groot"] .app .why__label, [data-text="groot"] .app .progress, [data-text="groot"] .app .meer__title,
[data-text="groot"] .app .meer__sub, [data-text="groot"] .app .consent__tag, [data-text="groot"] .app .done-badge, [data-text="groot"] .app .note__tag,
[data-text="groot"] .app .test-note, [data-text="groot"] .app .bar__val, [data-text="groot"] .app .datecard__tags li, [data-text="groot"] .app .chip-ondeugend,
[data-text="groot"] .app .footer, [data-text="groot"] .app .cal__grid--compact .cal__n, [data-text="groot"] .app .cal__n,
[data-text="groot"] .app .tabbar__tab .tabbar__label, [data-text="groot"] .app .hsg__n, [data-text="groot"] .app .field label, [data-text="groot"] .app .env-dot--clock { font-size: 16px; }
[data-text="groot"] .app .link, [data-text="groot"] .app .backbar, [data-text="groot"] .app .chip, [data-text="groot"] .app .datecheck,
[data-text="groot"] .app .ask__yes, [data-text="groot"] .app .statbar__spark, [data-text="groot"] .app .rowcard__text b, [data-text="groot"] .app .softrow__text b,
[data-text="groot"] .app .option__label, [data-text="groot"] .app .switchrow__text b, [data-text="groot"] .app .fold summary, [data-text="groot"] .app .btn-quiet,
[data-text="groot"] .app .btn-night, [data-text="groot"] .app .scale__opt { font-size: 18px; }
[data-text="groot"] .app .btn { font-size: 19px; }
[data-text="groot"] .app .note__task { font-size: 24px; line-height: 1.5; }
[data-text="groot"] .app .note__why { font-size: 19px; }
[data-text="groot"] .app .donehero__line { font-size: 22px; }
/* Tap targets */
[data-text="groot"] .app .link, [data-text="groot"] .app .backbar, [data-text="groot"] .app .datecheck, [data-text="groot"] .app .ask__yes,
[data-text="groot"] .app .statbar__spark, [data-text="groot"] .app .switchrow, [data-text="groot"] .app .lang summary,
[data-text="groot"] .app .todo .link, [data-text="groot"] .app .quietline .link, [data-text="groot"] .app .check,
[data-text="groot"] .app .footer__links a { min-height: 48px; }
[data-text="groot"] .app .doornav__btn, [data-text="groot"] .app .apphead__avatar { width: 48px; height: 48px; }
[data-text="groot"] .app .rowcard__x { width: 48px; }
[data-text="groot"] .app .env-dot--clock { height: 48px; min-width: 48px; }
[data-text="groot"] .app .option { min-height: 60px; }
[data-text="groot"] .app .options--times { grid-template-columns: repeat(2, 1fr); }
[data-text="groot"] .app .tabbar__tab { min-height: 62px; }
[data-text="groot"] .app .cal__grid { gap: 6px; }
.meer__section .card .form--tight + .muted { margin-top: 12px; }

/* =====================================================================
   19 Nov, after the walkthrough (research/2026-11-19-app-durchgang.md)
   ===================================================================== */

/* ---------- Sales page v5: in line with the waitlist page (white, paper, gold, serif; navy only as an accent) ---------- */
.is-lp .footer { background: var(--alt); color: var(--text-3); border-top: 1px solid var(--line); }
.is-lp .footer__links a { color: var(--text-3); }
.sp-band { padding: 52px 20px; background: var(--paper); }
.sp-alt { background: var(--alt); }
.sp-wrap { max-width: 1080px; margin: 0 auto; }
@media (min-width: 768px) { .sp-band { padding: 80px 24px; } }
.sp-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.sp-eyebrow img { width: 16px; height: auto; }
.sp-eyebrow--center { justify-content: center; }
.sp-h1 { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.1; letter-spacing: -.015em; color: var(--text); text-wrap: balance; }
.sp-h1 em, .sp-h2 em { font-style: italic; font-weight: 400; color: var(--wijn); }
.sp-h2 { margin-bottom: 28px; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.18; letter-spacing: -.01em; color: var(--text); text-align: center; text-wrap: balance; }
.sp-h2--left { margin-bottom: 0; text-align: left; }
.sp-lead { margin-top: 18px; max-width: 32em; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.sp-text { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
@media (min-width: 768px) { .sp-h1 { font-size: 52px; } .sp-h2 { font-size: 38px; margin-bottom: 36px; } }

/* Hero */
.sp-hero { padding-top: 24px; }
.sp-hero__grid { display: grid; gap: 30px; align-items: center; }
.sp-hero__copy { min-width: 0; }
.sp-buy { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 16px; max-width: 460px; }
.sp-buy__price { display: flex; align-items: center; gap: 14px; }
.sp-buy__price strong { font-family: var(--serif); font-size: 42px; font-weight: 600; line-height: 1; color: var(--text); }
.sp-buy__price span { padding-left: 14px; border-left: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; color: var(--text-3); }
.sp-buy__price b { display: block; font-weight: 600; color: var(--text); }
.sp-assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sp-assure li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text-2); }
.sp-assure svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--gold-line); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sp-by { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 460px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.sp-by img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--gold-line); }
.sp-by small { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--gold); }
@media (min-width: 900px) { .sp-hero { padding-top: 48px; } .sp-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }

/* The hero picture: the app on a white phone, an example Spark in front of it */
.sp-hero__pic { position: relative; order: -1; display: grid; justify-items: center; padding: 4px 0 40px; }
.sp-phone { width: 214px; padding: 9px; border-radius: 40px; background: #fff; box-shadow: 0 0 0 1px #e3ddd0, 0 30px 60px -24px rgba(18,26,58,.35), 0 8px 18px rgba(18,26,58,.08); }
.sp-phone__screen { padding: 18px 14px 20px; border-radius: 32px; background: #fff; box-shadow: inset 0 0 0 1px #f0ebe1; }
.sp-phone__brand { display: flex; align-items: center; gap: 6px; font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--text); }
.sp-today { position: relative; margin-top: 12px; padding: 14px 14px 16px; border-radius: 16px; color: #fff; background: linear-gradient(160deg, #1b2552, #121a3a); box-shadow: 0 14px 28px -16px rgba(18,26,58,.6); }
.sp-today__seal { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--night); background: linear-gradient(135deg, #d9bd84, #fff6dc 45%, #cba660); }
.sp-today__k { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.sp-today__t { margin-top: 6px; padding-right: 36px; font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.sp-today__s { margin-top: 6px; font-size: 11.5px; line-height: 1.4; color: rgba(255,255,255,.78); }
.sp-today__btn { display: block; margin-top: 12px; padding: 9px; border-radius: 999px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--night); background: linear-gradient(100deg, #d9bd84, #f1dcaa 55%, #cba660); }
.sp-phone__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-top: 14px; }
.sp-phone__grid i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 7px; font-style: normal; font-size: 10.5px; font-weight: 600; color: #8b857a; box-shadow: inset 0 0 0 1px #eee9df; }
.sp-phone__grid i.is-today { color: #fff; background: var(--night); box-shadow: none; }
.sp-task--float { position: absolute; right: max(0px, calc(50% - 190px)); bottom: 0; width: 210px; transform: rotate(2.5deg); }
.sp-task--float .sp-task__text { display: none; }
@media (min-width: 900px) {
  .sp-hero__pic { order: 0; padding: 10px 0 60px; }
  .sp-phone { width: 290px; }
  .sp-task--float { right: 0; width: 250px; }
  .sp-task--float .sp-task__text { display: block; }
}

/* One example Spark: white paper, gold band, the day medal */
.sp-task { overflow: hidden; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 18px 36px -22px rgba(30,29,27,.35); text-align: left; }
.sp-task__band { position: relative; padding: 12px 58px 11px 16px; background: var(--gold-tint); }
.sp-task__band p { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.sp-task__medal { position: absolute; right: 12px; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--night); background: linear-gradient(135deg, #d9bd84, #fff6dc 45%, #cba660); box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.sp-task__body { padding: 14px 16px 18px; }
.sp-task__title { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.22; color: var(--text); }
.sp-task__text { margin-top: 8px; font-family: var(--serif); font-size: 16.5px; line-height: 1.5; color: var(--text-2); }

/* How it works: one quiet list */
.sp-steps { list-style: none; margin: 0 auto; padding: 4px 20px; max-width: 760px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.sp-steps li { position: relative; padding: 16px 0 16px 46px; }
.sp-steps li + li { border-top: 1px solid var(--line); }
.sp-steps__n { position: absolute; left: 0; top: 17px; font-family: var(--serif); font-size: 22px; font-style: italic; line-height: 1; color: var(--gold-line); }
.sp-steps h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.25; color: var(--text); }
.sp-steps p { margin-top: 4px; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }

/* Example Sparks: a row to swipe on the phone, a grid on a wide screen */
.sp-examples__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(262px, 80%); gap: 16px; margin: 0 -20px; padding: 4px 20px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sp-examples__row::-webkit-scrollbar { display: none; }
.sp-examples__row .sp-task { scroll-snap-align: center; }
@media (min-width: 900px) { .sp-examples__row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; overflow: visible; } }

/* What you get */
.sp-get__list { list-style: none; margin: 0 auto; padding: 4px 20px; max-width: 760px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.sp-get__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; }
.sp-get__list li + li { border-top: 1px solid var(--line); }
.sp-get__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--gold); background: var(--gold-tint); }
.sp-get__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sp-get__list h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.25; color: var(--text); }
.sp-get__list p { margin-top: 4px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }

/* Melianthe */
.sp-who__grid { display: grid; gap: 44px; align-items: center; max-width: 960px; margin: 0 auto; }
.sp-who__pics { position: relative; justify-self: center; width: 100%; max-width: 320px; }
.sp-who__img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.sp-who__book { position: absolute; right: -14px; bottom: -26px; width: 32%; height: auto; transform: rotate(5deg); box-shadow: 0 18px 36px rgba(30,29,27,.3); }
@media (min-width: 768px) { .sp-who__grid { grid-template-columns: 320px 1fr; gap: 64px; } }

/* Price */
.sp-pcard { max-width: 580px; margin: 0 auto; padding: 34px 22px 26px; text-align: center; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1.5px var(--gold-line), 0 30px 60px -30px rgba(30,29,27,.3); }
.sp-pcard__big { font-family: var(--serif); font-size: 64px; font-weight: 500; line-height: 1; color: var(--text); }
.sp-pcard__big span { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--text-3); }
.sp-pcard__sub { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.sp-pcard__places { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--gold); }
.sp-strip { list-style: none; margin: 24px 0 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 10px; border-top: 1px solid var(--line); }
.sp-strip li { display: grid; gap: 2px; font-size: 14px; line-height: 1.4; color: var(--text-3); }
.sp-strip b { font-family: var(--serif); font-size: 17px; color: var(--text); }
@media (min-width: 600px) { .sp-strip { grid-template-columns: repeat(4, 1fr); } }
.sp-pcard .btn { margin-top: 22px; }
.sp-pcard__lock { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.sp-seal { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--gold-tint); text-align: left; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.sp-seal b { display: block; color: var(--text); }
.sp-seal__mark { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #b3364a, var(--wijn) 60%, #5f1320); }
.sp-seal__mark img { width: 20px; height: auto; }

/* Questions and the last call */
.sp-faq__list { max-width: 760px; margin: 0 auto; padding: 6px 22px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.sp-faq__list .fold:last-child { border-bottom: 0; }
.sp-final .sp-wrap { display: grid; justify-items: center; text-align: center; }
.sp-final .sp-h2 { max-width: 18em; margin-bottom: 0; }
.sp-final__line { margin-top: 12px; font-size: 17px; color: var(--text-2); }
.sp-final__cta { width: 100%; max-width: 420px; margin-top: 22px; }
.sp-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-top: 12px; }
.sp-small { margin-top: 6px; font-size: 14.5px; color: var(--text-3); }
.sp-reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.sp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sp-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Start flow and every option list: the choice is clearly visible (radio or checkbox inside) ---------- */
.option { padding-right: 52px; }
.option input {
  position: absolute; right: 14px; top: 50%; width: 24px; height: 24px; margin: -12px 0 0; opacity: 1; pointer-events: auto;
  display: grid; place-content: center; border-radius: 50%; border: 1.5px solid #c9c2b2; background: var(--white); cursor: pointer;
  -webkit-appearance: none; appearance: none; transition: background .15s, border-color .15s;
}
.option input::after {
  content: ''; width: 10px; height: 6px; margin-top: -2px; border: solid #fff; border-width: 0 0 2px 2px;
  transform: rotate(-45deg) scale(0); transition: transform .15s var(--ease);
}
.option input:checked { background: var(--night); border-color: var(--night); }
.option input:checked::after { transform: rotate(-45deg) scale(1); }
.option input:focus-visible { outline: none; }
.option:has(input:checked) { border-color: var(--night); background: var(--gold-tint); box-shadow: inset 0 0 0 1px var(--night); }
.option__tick { display: none; }
.options--times .option { padding-right: 40px; }
.options--times .option input { right: 10px; width: 20px; height: 20px; margin-top: -10px; }
.app .option { border-width: 1px; }
.app .option input { border-color: var(--field-border); background: var(--field); }
.app .option input::after { border-color: var(--today-square-ink); }
.app .option input:checked { background: var(--accent); border-color: var(--accent); }
.app .option:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--gold-tint-ui); background: color-mix(in srgb, var(--accent) 7%, var(--field)); }
:root[data-theme="donker"] .app .option:has(input:checked) { background: color-mix(in srgb, var(--accent) 14%, var(--field)); }
.app .option:has(input:focus-visible) { outline: 2px solid var(--gold-ui); outline-offset: 2px; }
[data-text="groot"] .app .option input { width: 28px; height: 28px; margin-top: -14px; }

/* ---------- Meer: a setting with its value and "Wijzig" ---------- */
.setrow + .setrow { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.setrow__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.setrow__text { display: grid; gap: 2px; min-width: 0; }
.setrow__text b { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.setrow__value { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.setrow__btn { flex: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; color: var(--gold-text); background: var(--field); border: 1px solid var(--field-border); cursor: pointer; }
.setrow__btn[aria-expanded="true"] { color: var(--today-square-ink); background: var(--accent); border-color: var(--accent); }
.setrow__btn:focus-visible { outline: 2px solid var(--gold-ui); outline-offset: 2px; }
.setrow__panel { margin-top: 14px; }
.setrow__panel > .muted { margin-top: 10px; }
.meer__section .card > .muted.small:first-child { margin-bottom: 14px; }
.meer__section .card > .setrow + .form--tight { margin-top: 16px; }
[data-text="groot"] .app .setrow__text b, [data-text="groot"] .app .setrow__btn { font-size: 18px; }
[data-text="groot"] .app .setrow__value { font-size: 17px; }
[data-text="groot"] .app .setrow__btn { min-height: 48px; }

/* ---------- Header: the initial of the first name, or a neutral heart ---------- */
.apphead__avatar--heart { color: var(--gold-text); }
.apphead__heart { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Home: what comes next after Gedaan, the calm invite card ---------- */
.app .today__now { flex-wrap: wrap; }
.app .today__next { flex-basis: 100%; margin-top: 10px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.88); }
[data-text="groot"] .app .today__next { font-size: 17px; }
.app .invitecard h2 { margin-top: 0; }
.app .invitecard .actions { margin-top: 16px; }

/* ---------- Live: the next session ---------- */
.app .live__when { margin-top: 6px; font-size: 27px; line-height: 1.2; color: var(--ink); }
.live__rel { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--gold-text); }
.live__rel.is-live { color: var(--wine-text); }
.live__title { margin-top: 14px; font-family: var(--serif); font-size: 20px; color: var(--ink); }
.app .live__title + .lead { margin-top: 4px; }
[data-text="groot"] .app .live__rel { font-size: 17px; }
.meer__section .card > .setrow + .form--tight, .meer__section .card > .setrow + .after { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }

/* ---------- The month grid with real dates (19 Nov): five clearly different states ----------
   Done: gold with the heart. Yesterday still open: gold outline, no fill. Today: the dark square. Closed (missed or
   let go): quiet grey, neutral, never red. Still to come: light with a small lock. Before the start: empty. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.app .cal__day { min-height: 44px; align-content: center; gap: 2px; }
.app .cal__mon { font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: inherit; opacity: .85; }
.app .cal__lock { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.app .cal__day--done { color: var(--gold-text); background: var(--gold-tint-ui); box-shadow: none; }
.app .cal__day--done .cal__n { display: block; }
.app .cal__day--done .cal__heart { position: static; width: 13px; max-width: none; }
.app .cal__day--open { color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 2px var(--gold-ui); }
.app .cal__day--skipped, .app .cal__day--missed { color: var(--ink-2); background: var(--soft); box-shadow: none; }
.app .cal__day--future { color: var(--ink-2); background: var(--bg); box-shadow: inset 0 0 0 1px var(--field-border); }
.app .cal__day--before_join { opacity: 1; color: var(--ink-3); background: transparent; box-shadow: none; }
.app span.cal__day { cursor: default; }
.app button.cal__day:focus-visible { outline: 2px solid var(--gold-ui); outline-offset: 2px; }
@media (hover: hover) { .app button.cal__day--open:hover { box-shadow: inset 0 0 0 2px var(--gold-ui); } }
/* Small grid after Gedaan: the heart alone on a done day, a smaller lock */
.app .cal__grid--compact .cal__day { min-height: 0; gap: 1px; }
.app .cal__grid--compact .cal__day--done .cal__n { display: none; }
.app .cal__grid--compact .cal__heart { width: 55%; max-width: 16px; }
.app .cal__grid--compact .cal__lock { width: 9px; height: 9px; }
.app .cal__grid--compact .cal__mon { font-size: 9px; }
[data-text="groot"] .app .cal__mon { font-size: 13px; }
[data-text="groot"] .app .cal__lock { width: 13px; height: 13px; }

/* ---------- Test clock (local, proef): only a small black dot bottom left, no icon, no text (owner, 19 Nov) ----------
   The hit area stays 44px (48px with Groter) through an invisible ring; the date and time are in the panel. */
.env-dot--clock, .app .env-dot--clock, [data-text="groot"] .app .env-dot--clock, .env-dot--clock.is-sim, .app .env-dot--clock.is-sim {
  left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 12px; height: 12px; min-width: 0; padding: 0;
  border: 0; border-radius: 50%; font-size: 0; background: #111 !important; box-shadow: none; opacity: .55;
}
.app.has-tabs .env-dot--clock { bottom: calc(80px + env(safe-area-inset-bottom)); }
.env-dot--clock::before { content: ''; position: absolute; inset: -16px; border-radius: 50%; }
[data-text="groot"] .app .env-dot--clock::before { inset: -18px; }
.env-dot--clock:hover, .env-dot--clock:focus-visible { opacity: 1; }
.env-dot--clock:focus-visible { outline: 2px solid var(--gold-ui, #b8892e); outline-offset: 3px; }
[data-theme="donker"] .env-dot--clock { background: #000 !important; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }

/* ---------- Welcome screen after sign-in (19 Nov): full width on the page, no card in a card ----------
   The seal on a faint month grid, a serif title, one lead line, three short points, one consent row, one button. */
.welcome { display: grid; padding: 4px 4px calc(56px + env(safe-area-inset-bottom)); }
.welcome__art { display: flex; justify-content: center; margin: 0 0 14px; }
.welcome__svg { display: block; width: min(100%, 264px); height: auto; overflow: visible; }
.welcome__day { fill: var(--surface); stroke: var(--border); stroke-width: 1; }
.welcome__day.is-today { fill: var(--gold-tint-ui); stroke: var(--gold-ui); stroke-width: 1.5; }
.welcome__halo { fill: var(--bg); }
.welcome__seal .seal__ring { stroke-width: 2.5; }
.welcome__title { margin-top: 4px; text-align: center; font-size: 34px; color: var(--ink); }
.welcome__lead { margin: 10px auto 0; max-width: 22em; text-align: center; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--ink-2); text-wrap: balance; }
.welcome__points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.welcome__point { display: flex; gap: 14px; align-items: flex-start; }
.welcome__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold-tint-ui); color: var(--gold-text); }
.welcome__ico .ico { width: 21px; height: 21px; stroke-width: 1.6; }
.welcome__text { display: grid; gap: 2px; padding-top: 1px; }
.welcome__text b { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.welcome__text span { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.welcome__form { margin-top: 30px; gap: 16px; }
.welcome__consent { border-top: 1px solid var(--border); padding-top: 18px; }
.app .welcome__check {
  min-height: 56px; padding: 14px 16px; gap: 14px; align-items: center; border-radius: 14px;
  font-size: 16px; line-height: 1.45; color: var(--ink); background: var(--surface); border: 1px solid var(--field-border);
  transition: border-color .15s, background .15s;
}
.app .welcome__check input { width: 28px; height: 28px; border-radius: 6px; border-width: 2px; border-color: var(--switch-off); }
.app .welcome__check input:checked { border-color: var(--gold-text); }
.app .welcome__check input::after { width: 13px; height: 8px; }
.app .welcome__check:has(input:checked) { border-color: var(--gold-ui); background: var(--gold-tint-ui); }
.app .welcome__check:has(input:focus-visible) { outline: 2px solid var(--gold-ui); outline-offset: 2px; }
.welcome__more { margin-top: 4px; }
.welcome__more summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 600; color: var(--gold-text); -webkit-tap-highlight-color: transparent;
}
.welcome__more summary::-webkit-details-marker { display: none; }
.welcome__more summary span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.welcome__more summary:focus-visible { outline: 2px solid var(--gold-ui); outline-offset: 2px; border-radius: 6px; }
.welcome__chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transition: transform .2s var(--ease); }
.welcome__more[open] .welcome__chev { transform: rotate(-90deg); }
.welcome__more p { margin: 4px 0 2px; padding: 12px 14px; border-left: 2px solid var(--gold-ui); font-size: 15px; line-height: 1.55; color: var(--ink-2); background: var(--soft); border-radius: 0 8px 8px 0; }
.welcome__form .error { text-align: center; }
/* Entry: the seal draws itself, the grid fades in, the text rises. Transform and opacity plus two stroke draws. */
.welcome__seal { transform-box: fill-box; }
.welcome .welcome__art { animation: sealin .55s var(--ease) both; }
.welcome .welcome__grid { animation: fadein .7s ease-out .15s both; }
.welcome .welcome__seal .seal__ring { animation: draw .8s cubic-bezier(.45,0,.2,1) .15s both; }
.welcome .welcome__seal .seal__inner { animation: fadein .4s ease-out .6s both; }
.welcome .welcome__seal .seal__heart { animation: draw .7s cubic-bezier(.45,0,.2,1) .35s both; }
.welcome .welcome__seal .seal__fill { animation: fillin .35s ease-out .9s both; transform-origin: 48px 50px; }
.welcome .welcome__day.is-today { animation: fadein .4s ease-out 1s both; }
.welcome .welcome__title { animation: rise .5s var(--ease) .2s both; }
.welcome .welcome__lead { animation: rise .5s var(--ease) .3s both; }
.welcome .welcome__points { animation: rise .5s var(--ease) .4s both; }
.welcome .welcome__form { animation: rise .5s var(--ease) .5s both; }
@media (prefers-reduced-motion: reduce) {
  .welcome .welcome__art, .welcome .welcome__title, .welcome .welcome__lead, .welcome .welcome__points, .welcome .welcome__form { animation: fadein .3s ease-out both; }
  .welcome .welcome__grid, .welcome .welcome__seal .seal__ring, .welcome .welcome__seal .seal__inner, .welcome .welcome__seal .seal__heart,
  .welcome .welcome__seal .seal__fill, .welcome .welcome__day.is-today { animation: none; }
  .app .welcome__check, .welcome__chev { transition: none; }
}
/* Groter */
[data-text="groot"] .app .welcome__title { font-size: 36px; }
[data-text="groot"] .app .welcome__lead { font-size: 21px; }
[data-text="groot"] .app .welcome__text b, [data-text="groot"] .app .welcome__check { font-size: 19px; }
[data-text="groot"] .app .welcome__text span, [data-text="groot"] .app .welcome__more summary, [data-text="groot"] .app .welcome__more p { font-size: 17.5px; }
[data-text="groot"] .app .welcome__more summary { min-height: 48px; }
[data-text="groot"] .app .welcome__ico { width: 46px; height: 46px; }

/* ---------- Ontdek (third tab, 21 Nov) ---------- */
.ontdek__lead { margin: 4px 2px 6px; color: var(--text-2); }
.ontdek__sub { margin: 0 0 6px; }
.olist { list-style: none; margin: 0; padding: 0; }
.olist li + li { border-top: 1px solid var(--border); }
.olist__row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 0; text-align: left; color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; font: inherit; }
.olist__ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold-tint); color: var(--gold); }
.olist__ico svg, .olist__go, .olist__done svg, .ontdek__soon svg, .program__badge svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.olist__ico svg { width: 18px; height: 18px; }
.olist__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.olist__text b { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.olist__text > span { font-size: 14.5px; line-height: 1.4; color: var(--text-2); }
.olist__done { display: inline-flex !important; align-items: center; gap: 5px; margin-top: 2px; font-weight: 600; color: var(--gold) !important; }
.olist__done svg { width: 14px; height: 14px; }
.olist__go { flex: none; width: 17px; height: 17px; color: var(--text-3); }
@media (hover: hover) { .olist__row:hover .olist__text b { color: var(--gold-hover); } }
.olist__row:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 2px; border-radius: var(--r-s); }
.ontdek__soon { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--border); font-size: 14.5px; color: var(--text-2); }
.ontdek__soon svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
.program__badge { display: inline-flex; gap: 6px; align-items: center; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--gold-tint); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--gold); }
.program__badge svg { width: 13px; height: 13px; }
.program__name { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--ink); }
.program__for { margin: 2px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.program__btn.is-on { background: var(--gold-tint); border-color: var(--gold-line); }

/* Pre-launch on live: a small tag at the top right (explains what is not final), and the payment placeholder */
.pre-tag {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + 8px); right: 10px; z-index: 50;
  min-height: 28px; padding: 4px 11px; border: 1px solid var(--gold-line); border-radius: 999px;
  background: var(--gold-tint); color: var(--text); font: 600 11.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.pre-tag:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 2px; }
.paybox { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; padding: 14px 16px; border: 1px dashed var(--gold-line); border-radius: var(--r-m); background: var(--gold-tint); }
.paybox svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.paybox b { display: block; margin-bottom: 2px; }
.paybox p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.pre-list { margin: 6px 0 8px; padding: 0; list-style: none; display: grid; gap: 12px; }
.pre-list li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.5; }
.pre-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-line); }

/* A message to everyone from the team: on top of the home screen until closed */
.teammsg { margin: 0 0 16px; padding: 16px 18px 12px; border-radius: var(--r-m); background: var(--gold-tint); border: 1px solid var(--gold-line); }
.teammsg__k { display: flex; gap: 6px; align-items: center; margin: 0 0 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.teammsg__ico { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--gold-line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.teammsg__t { margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
.teammsg__b { margin: 0 0 8px; font-size: 15.5px; line-height: 1.5; white-space: pre-line; }
.teammsg__close { margin-top: 2px; }

/* Library (Ontdek): back link, medical note, what is still coming, dates and episodes */
.libback { margin: 2px 0 -4px; }
.libback__btn { display: inline-flex; align-items: center; gap: 6px; }
.libback__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.libnote { margin: 0 0 8px; padding: 10px 12px; border-radius: var(--r-s); background: var(--gold-tint); font-size: 14px; line-height: 1.45; color: var(--text-2); }
.libsoon { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--border); }
.libsoon__k { display: flex; gap: 6px; align-items: center; margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.libsoon__k svg { width: 14px; height: 14px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.libsoon ul { margin: 0; padding-left: 18px; color: var(--text-3); font-size: 14.5px; line-height: 1.6; }
.olist__date { font-size: 12.5px; letter-spacing: .02em; color: var(--text-3); }
.olist__row--static { cursor: default; }
.olist__eps { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 12px 50px; }
.olist__ep { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; color: var(--text); text-decoration: none; }
.olist__ep svg { width: 14px; height: 14px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.program__badge--plan { background: var(--surface-2, #f3f1ec); color: var(--text-2); }

/* Snappy (21 Nov): every tap answers at once. A short press on everything tappable, no grey tap flash, and a calm
   placeholder while a screen waits on the network (only after 150 ms, see whileLoading in app.js). */
html { -webkit-tap-highlight-color: transparent; }
button, a, .olist__row, .tabbar__tab, summary { touch-action: manipulation; }
.olist__row, .rowcard, .tabbar__tab, .btn-quiet, .olist__ep, .apphead__avatar, .program__btn, .today {
  transition: transform .14s cubic-bezier(.2,.8,.2,1), background-color .14s ease, opacity .14s ease;
}
.olist__row:active { transform: scale(.985); background-color: var(--gold-tint); border-radius: var(--r-s); }
.rowcard:active, .btn-quiet:active, .olist__ep:active, .program__btn:active { transform: scale(.98); }
.tabbar__tab:active { transform: scale(.92); }
.apphead__avatar:active { transform: scale(.94); }
.today:active, .is-pressed { transform: scale(.985); }
.skel { height: 120px; margin: 0 0 16px; border-radius: var(--r-l, 18px); background: linear-gradient(100deg, var(--gold-tint) 30%, rgba(255,255,255,.55) 50%, var(--gold-tint) 70%) 0 0 / 220% 100%; animation: skel 1.3s ease-in-out infinite; opacity: .7; }
.skel--hero { height: 260px; }
.skel--short { height: 72px; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) {
  .skel { animation: none; }
  .olist__row, .rowcard, .tabbar__tab, .btn-quiet, .olist__ep, .apphead__avatar, .program__btn, .today { transition: none; }
}
