/* Static site styles (landing, legal pages, 404, admin) — "Clean Doorway" (DECISIONS.md, design pass
   2026-11-09): always a white page (no dark version, founder's choice), ink type, cobalt only for the main
   action, arch-framed art, Geologica + Onest from our own origin. The page is complete without
   JavaScript; site.js only adds motion on top. */
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/geologica-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/onest-latin.woff2) format("woff2");
}
:root {
  color-scheme: light;
  --ink: #171a2c;
  --ink-soft: #4a4f66;
  --ink-faint: #6b7088;
  --paper: #ffffff;
  --raised: #ffffff;
  --surface: #f4f5f8;
  --surface-strong: #e9ebf1;
  --mist: #eef0ff;
  --cobalt: #2f45e8;
  --on-cobalt: #ffffff;
  --cobalt-soft: #e3e7ff;
  --saffron: #ffb524;
  --saffron-text: #8a5a00;
  --saffron-soft: #fff1d6;
  --mint: #1fb57a;
  --mint-text: #0e7a50;
  --mint-soft: #e2f6ec;
  --coral: #ff5d4f;
  --coral-text: #c2382c;
  --coral-soft: #ffe8e5;
  --hairline: #e4e7ee;
  --shadow: 0 24px 60px -24px rgba(23, 26, 44, 0.28);
  --shadow-soft: 0 10px 30px -14px rgba(23, 26, 44, 0.22);
  --header-bg: rgba(255, 255, 255, 0.86);
  --display: "Geologica", "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}
/* ---- Base ------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--cobalt); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* One language visible at a time; every language is in the markup. */
html:not([data-lang="de"]) [data-l="de"],
html[data-lang="de"] [data-l="en"] { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }

/* ---- Buttons --------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 54px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--cobalt); color: var(--on-cobalt);
  font: 600 1.0625rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-quiet { background: var(--surface); color: var(--ink); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- Header ---------------------------------------------------------------------------------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.home .site-header {
  position: sticky; top: 0; z-index: 30; display: block; padding: 0;
  background: var(--header-bg); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s ease;
}
.home .site-header.is-scrolled { border-bottom-color: var(--hairline); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 1.0625rem/1.2 var(--display); letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.main-nav { display: none; gap: 26px; }
.main-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.9375rem; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }
@media (min-width: 980px) { .main-nav { display: flex; } }
.header-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 420px) { .header-actions .btn-small { display: none; } }

/* Language dropdown */
.lang-menu { position: relative; }
.lang-button {
  appearance: none; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 12px;
  border: 1px solid var(--hairline); border-radius: 999px; background: var(--paper); color: var(--ink);
  font: 500 0.9375rem/1 var(--font); cursor: pointer;
}
.lang-button:hover { background: var(--surface); }
.lang-button svg { width: 18px; height: 18px; flex: none; color: var(--ink-soft); }
.lang-button .chev { width: 16px; height: 16px; transition: transform 0.2s ease; }
.lang-button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 180px; margin: 0; padding: 6px; list-style: none;
  background: var(--raised); border: 1px solid var(--hairline); border-radius: 16px; box-shadow: var(--shadow);
  animation: drop 0.18s var(--ease);
}
.lang-list button {
  appearance: none; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink);
  font: 500 1rem/1 var(--font); cursor: pointer; text-align: left;
}
.lang-list button:hover { background: var(--surface); }
.lang-list button svg { width: 18px; height: 18px; color: var(--cobalt); visibility: hidden; }
.lang-list button[aria-pressed="true"] { font-weight: 650; }
.lang-list button[aria-pressed="true"] svg { visibility: visible; }

/* ---- Type ------------------------------------------------------------------------------------ */
.kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--cobalt); font-weight: 600; font-size: 0.9375rem; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); flex: none; }
.lead { margin: 0; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.6; max-width: 38em; }
.note { margin: 18px 0 0; color: var(--ink-faint); font-size: 0.9375rem; max-width: 46em; }
h1 { margin: 0 0 18px; font-size: clamp(2.5rem, 7.4vw, 4.5rem); line-height: 1.0; font-weight: 600; letter-spacing: -0.04em; }
h2 { margin: 0 0 14px; font-size: clamp(2rem, 4.8vw, 3rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; }
h3 { margin: 0 0 6px; font-size: 1.1875rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }

/* ---- Hero ------------------------------------------------------------------------------------ */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
.hero-copy .stores { margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 0.9375rem; font-weight: 500; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--mint-soft); box-shadow: inset 0 0 0 4px var(--mint-soft), inset 0 0 0 8px var(--mint); }

.hero-art { position: relative; min-height: 520px; display: grid; place-items: center; }
.doorway { position: absolute; width: min(100%, 500px); height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: visible; }
.door-glow { fill: var(--mist); }
.door-line { fill: none; stroke: var(--cobalt); stroke-width: 6; stroke-linecap: round; opacity: 0.28; }
.door-sun { fill: var(--saffron); }
.door-spill { fill: var(--saffron-soft); }

/* Phone mockup (sizes in em so it scales as one piece) */
.phone {
  position: relative; z-index: 2; font-size: 15px; width: 18.4em; padding: 0.55em;
  background: #11131c; border-radius: 2.7em; box-shadow: var(--shadow), 0 0 0 1px rgba(23, 26, 44, 0.1);
}
.phone-screen { position: relative; overflow: hidden; border-radius: 2.2em; background: #ffffff; color: #171a2c; padding: 0.7em 1.15em 1.1em; }
.phone-bar { display: flex; justify-content: space-between; align-items: center; font: 600 0.8em/1 var(--font); padding: 0.35em 0.4em 0.9em; color: #171a2c; }
.phone-bar i { width: 2.6em; height: 0.75em; border-radius: 0.3em; border: 1.5px solid currentColor; opacity: 0.85; }
.verdicts { position: relative; height: 8.6em; }
.v-state { position: absolute; inset: 0; transition: opacity 0.5s ease, transform 0.5s var(--ease); }
.v-state:not(.is-on) { opacity: 0; transform: translateY(-0.4em); pointer-events: none; transition-duration: 0.22s; }
.v-state.is-on { transition-delay: 0.18s; }
.v-context { margin: 0; color: #6b7088; font-size: 0.78em; font-weight: 500; }
.v-ready { --vc: #0e7a50; }
.v-almost { --vc: #8a5a00; }
.v-change { --vc: #c2382c; }
.v-word { display: flex; align-items: flex-start; gap: 0.4em; margin: 0.35em 0 0; color: var(--vc); font: 650 1.75em/1.02 var(--display); letter-spacing: -0.04em; }
.v-glyph { display: inline-grid; place-items: end center; flex: none; width: 0.78em; height: 1em; margin-top: 0.04em; padding-bottom: 0.17em; border-radius: 0.39em 0.39em 0.13em 0.13em; background: var(--vc); color: #ffffff; }
.v-glyph svg { width: 0.5em; height: 0.5em; }
.v-head { margin: 0.5em 0 0; font: 500 0.92em/1.3 var(--display); color: #171a2c; }
.phone-photo { margin-top: 0.4em; height: 13.4em; border-radius: 8.1em 8.1em 0.9em 0.9em / 7.6em 7.6em 0.9em 0.9em; overflow: hidden; background: #ece6f2; }
.phone-photo svg, .arch-photo svg { display: block; width: 100%; height: 100%; }
.phone-tiles { display: grid; grid-template-columns: auto 1fr; gap: 0.4em; margin-top: 0.7em; }
.phone-tiles > span { display: flex; align-items: center; justify-content: center; gap: 0.3em; min-height: 2.9em; padding: 0 0.75em; border-radius: 999px; background: #f4f5f8; font: 600 0.68em/1 var(--font); color: #171a2c; white-space: nowrap; }
.phone-tiles > span.is-main { background: #2f45e8; color: #ffffff; }
.phone-tiles svg { width: 1.3em; height: 1.3em; }

/* Floating cards around the phone */
.float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: var(--raised); color: var(--ink); border: 1px solid var(--hairline); box-shadow: var(--shadow-soft); font-weight: 600; font-size: 0.9375rem; }
.float svg { width: 20px; height: 20px; color: var(--ink-soft); }
.float-weather { left: 2%; top: 16%; }
.float-votes { right: -20px; bottom: 1%; display: grid; gap: 7px; min-width: 170px; }
.float-votes p { margin: 0 0 2px; font-size: 0.8125rem; color: var(--ink-faint); font-weight: 600; }
.mini-bar { display: grid; grid-template-columns: 16px 1fr; align-items: center; gap: 8px; font: 700 0.8125rem/1 var(--display); }
.mini-bar i { display: block; height: 8px; border-radius: 999px; background: var(--ink-faint); }
.mini-bar.is-lead i { background: var(--cobalt); }
.w-38 { width: 38%; }
.w-63 { width: 63%; }
@media (max-width: 520px) {
  .hero-art { min-height: 0; padding: 28px 0 64px; }
  .phone { font-size: 13.5px; }
  .float { font-size: 0.875rem; padding: 8px 12px; }
  .float-weather { left: auto; right: 0; top: 0; }
  .float-votes { right: auto; left: 0; bottom: 0; min-width: 150px; }
}

/* ---- Sections -------------------------------------------------------------------------------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-tint { background: var(--paper); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); max-width: 760px; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split-reverse > :first-child { order: 2; }
  .split .section-head { margin-bottom: 0; }
}

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.step { position: relative; padding: 26px 24px 28px; border-radius: 26px; background: var(--surface); }
.step p { margin: 0; color: var(--ink-soft); }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 42px; margin-bottom: 14px; border-radius: 17px 17px 6px 6px; background: var(--ink); color: var(--paper); font: 650 1rem/1 var(--display); padding-top: 4px; }
.step-art { height: 150px; margin-bottom: 22px; border-radius: 18px; background: var(--paper); display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; overflow: hidden; }
.demo-chips { flex-wrap: wrap; align-content: center; justify-content: flex-start; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--hairline); border-radius: 11px; background: var(--paper); color: var(--ink); font-weight: 500; font-size: 0.875rem; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.chip svg { width: 17px; height: 17px; color: var(--ink-soft); }
.chip.is-on, .demo-chips .chip:nth-child(3), .demo-chips .chip:nth-child(5) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip.is-on svg, .demo-chips .chip:nth-child(5) svg { color: var(--paper); }
.step-photos .arch-photo { width: 88px; height: 116px; }
.arch-photo { position: relative; display: block; overflow: hidden; border-radius: 50% 50% 14px 14px / 37.5% 37.5% 14px 14px; background: var(--surface); }
.arch-photo b { position: absolute; left: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #ffffff; color: #171a2c; font: 700 0.8125rem/1 var(--display); box-shadow: 0 2px 6px rgba(23, 26, 44, 0.2); }
.arch-add { display: grid; place-items: center; width: 88px; height: 116px; border: 1.5px dashed var(--ink-faint); border-radius: 50% 50% 14px 14px / 37.5% 37.5% 14px 14px; color: var(--ink); opacity: 0.7; }
.arch-add svg { width: 24px; height: 24px; }
.step-answer { flex-direction: column; align-items: flex-start; justify-content: center; }
.step-answer .v-word { font-size: 2rem; }
.step-answer .v-word, .answer .v-word { color: var(--vc); }
.v-ready, .answer.v-ready { --vc: var(--mint-text); }
.v-almost, .answer.v-almost { --vc: var(--saffron-text); }
.v-change, .answer.v-change { --vc: var(--coral-text); }
.phone .v-ready { --vc: #0e7a50; }
.phone .v-almost { --vc: #8a5a00; }
.phone .v-change { --vc: #c2382c; }
.mini-swap { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; color: var(--ink-soft); font-size: 0.9375rem; }
.mini-swap svg { width: 18px; height: 18px; color: var(--saffron-text); flex: none; margin-top: 3px; }
.step-answer .v-glyph svg, .answer .v-glyph svg { color: var(--paper); }

/* The three answers */
.answers { display: grid; gap: 18px; }
@media (min-width: 860px) { .answers { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.answer { padding: 28px 26px; border-radius: 26px; background: var(--raised); border: 1px solid var(--hairline); display: grid; align-content: start; gap: 12px; transition: transform 0.35s var(--ease), box-shadow 0.35s ease; }
.answer:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.answer .v-word { font-size: clamp(1.75rem, 3vw, 2.125rem); margin: 0; }
.answer > p { margin: 0; color: var(--ink-soft); }
.example { display: grid; gap: 4px; margin-top: 6px; padding: 14px 16px; border-radius: 16px; background: var(--surface); }
.example > span:last-child { font-weight: 500; }
.ex-label { color: var(--vc); font-size: 0.8125rem; font-weight: 600; }

/* Occasions and weather */
.chip-board { padding: 28px; border-radius: 28px; background: var(--surface); }
.chip-board .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-board .chip { min-height: 44px; font-size: 0.9375rem; padding: 0 14px; }
.board-label { margin: 0 0 12px; color: var(--ink-faint); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.chips + .board-label { margin-top: 24px; }

/* Friends vote */
.browser { border-radius: 22px; background: var(--raised); border: 1px solid var(--hairline); box-shadow: var(--shadow); overflow: hidden; max-width: 520px; width: 100%; justify-self: center; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--hairline); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-strong); }
.browser-bar span { margin-left: 10px; flex: 1; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--ink-faint); font-size: 0.8125rem; }
.browser-page { padding: 22px 22px 24px; }
.browser-page .kicker { font-size: 0.8125rem; margin-bottom: 6px; }
.browser-title { margin: 0 0 16px; font: 600 1.625rem/1.08 var(--display); letter-spacing: -0.03em; }
.vote-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vote-photos .arch-photo { aspect-ratio: 3 / 4; }
.vote-photos .arch-photo.is-pick { box-shadow: 0 0 0 3px var(--raised), 0 0 0 5.5px var(--cobalt); }
.vote-photos .is-pick b { background: var(--cobalt); color: var(--on-cobalt); }
.results { display: grid; gap: 10px; margin-top: 18px; }
.result { display: grid; grid-template-columns: 22px 1fr 44px; align-items: center; gap: 10px; font: 700 0.875rem/1 var(--display); }
.result em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.track { height: 10px; border-radius: 999px; background: var(--surface-strong); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: inherit; background: var(--ink-faint); transition: width 1.1s var(--ease) 0.25s; }
.result.is-lead .track i { background: var(--cobalt); }
.reactions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.reactions > span { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px; border-radius: 10px; background: var(--surface); font-size: 0.8125rem; font-weight: 600; }
.points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.points li { position: relative; padding-left: 30px; }
.points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 20px; border-radius: 8px 8px 3px 3px; background: var(--cobalt); opacity: 0.9; }
.points p { margin: 0; color: var(--ink-soft); }

/* Promises */
.promises { display: grid; gap: 16px; }
@media (min-width: 720px) { .promises { grid-template-columns: 1fr 1fr; gap: 20px; } }
.promise { padding: 26px 24px; border-radius: 24px; border: 1px solid var(--hairline); background: var(--raised); }
.promise p { margin: 0; color: var(--ink-soft); }
.promise-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: var(--mist); color: var(--cobalt); }
.promise-icon svg { width: 22px; height: 22px; }
.promise-icon.is-coral { background: var(--coral-soft); color: var(--coral-text); }
.promise-icon.is-saffron { background: var(--saffron-soft); color: var(--saffron-text); }
.promise-icon.is-mint { background: var(--mint-soft); color: var(--mint-text); }

/* Privacy facts */
.facts { display: grid; gap: 16px; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 26px 22px; border-radius: 24px; background: var(--surface); }
.fact strong { display: block; margin-bottom: 8px; font: 600 clamp(2.25rem, 4vw, 2.75rem)/1 var(--display); letter-spacing: -0.04em; color: var(--cobalt); }
.fact p { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }

/* Plans */
.plans { display: grid; gap: 18px; max-width: 900px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; gap: 22px; } }
.plan { padding: 30px 28px; border-radius: 26px; border: 1px solid var(--hairline); background: var(--raised); }
.plan h3 { font-size: 1.5rem; margin-bottom: 14px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.plan li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-strong); }
.plan li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan-pro { background: var(--mist); border-color: transparent; position: relative; overflow: hidden; }
.plan-pro::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--saffron); opacity: 0.18; }
.plan-pro li::before { background: var(--cobalt); }
.plan-pro li::after { border-color: var(--on-cobalt); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--paper); border: 1px solid var(--hairline); overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border: solid var(--ink-soft); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.25s var(--ease); margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--ink-soft); }
.faq details[open] p { animation: fade-down 0.3s var(--ease); }

/* Download band */
.cta-band {
  position: relative; overflow: hidden; text-align: center; padding: clamp(80px, 12vw, 120px) 24px clamp(40px, 6vw, 60px);
  background: var(--mist); border-radius: 600px 600px 36px 36px / 260px 260px 36px 36px;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin: 0 auto; color: var(--ink-soft); max-width: 32em; }
.cta-band .stores { justify-content: center; margin-top: 26px; }
.cta-sun { position: absolute; left: 50%; top: clamp(30px, 5vw, 44px); width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--saffron); }

/* ---- Footer ---------------------------------------------------------------------------------- */
.site-footer { margin-top: 24px; padding: 28px 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hairline); color: var(--ink-soft); font-size: 0.9375rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); }
.site-footer p { margin: 8px 0 0; }
.home .site-footer { margin-top: 0; }
.footer-row { display: grid; gap: 18px; align-items: start; }
@media (min-width: 760px) { .footer-row { grid-template-columns: 1.4fr 1fr; } .footer-row .copyright { grid-column: 1 / -1; } }
.footer-brand p { margin: 10px 0 0; color: var(--ink-faint); }
.copyright { color: var(--ink-faint); font-size: 0.875rem; }

/* ---- Legal pages ----------------------------------------------------------------------------- */
.draft-banner { margin: 8px 0 28px; padding: 16px 18px; border-radius: 16px; background: var(--saffron-soft); color: var(--ink); border: 1.5px dashed var(--saffron); font-weight: 600; }
.legal h1 { margin: 8px 0 6px; font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em; }
.legal .updated { margin: 0 0 8px; color: var(--ink-faint); }
.legal h2 { margin: 36px 0 10px; font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.02em; }
.legal h3 { margin: 22px 0 6px; font-size: 1.0625rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--hairline); border-radius: 16px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 520px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.legal th { color: var(--ink); background: var(--surface); }
.legal tr:last-child td { border-bottom: 0; }
.placeholder { padding: 0 6px; border-radius: 6px; background: var(--coral-soft); color: var(--coral-text); font-weight: 600; }

/* ---- 404 ------------------------------------------------------------------------------------- */
.lost { display: grid; justify-items: start; gap: 6px; padding: 48px 0 72px; }
.lost svg { width: 120px; height: 140px; margin-bottom: 14px; }
.lost h1 { margin: 0; font-size: clamp(2.25rem, 7vw, 3rem); line-height: 1.05; letter-spacing: -0.035em; }
.lost p { margin: 6px 0 18px; color: var(--ink-soft); max-width: 30em; }
.lost .door-glow { fill: var(--surface); }

/* ---- Admin ----------------------------------------------------------------------------------- */
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0 20px; }
.admin-who { color: var(--ink-soft); font-size: 0.9375rem; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); }
.tabs button { appearance: none; border: 0; min-height: 40px; padding: 0 16px; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.panel { padding: 28px 24px; border-radius: 24px; background: var(--raised); border: 1px solid var(--hairline); }
.panel h1, .panel h2 { margin: 0 0 8px; }
.panel p { margin: 0 0 16px; color: var(--ink-soft); }
.notice { padding: 14px 16px; border-radius: 16px; background: var(--coral-soft); color: var(--coral-text); font-weight: 600; }
.notice.is-info { background: var(--surface); color: var(--ink); }
.reports { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.report-card { display: grid; gap: 14px; padding: 18px; border-radius: 20px; background: var(--raised); border: 1px solid var(--hairline); }
@media (min-width: 720px) { .report-card { grid-template-columns: auto 1fr; } }
.thumbs { display: flex; gap: 8px; }
.thumbs img, .thumbs .no-thumb { width: 72px; height: 96px; object-fit: cover; border-radius: 36px 36px 10px 10px; background: var(--surface-strong); }
.thumbs .no-thumb { display: grid; place-items: center; color: var(--ink-faint); font-size: 0.75rem; text-align: center; padding: 6px; }
.report-meta { display: grid; gap: 6px; min-width: 0; }
.report-meta h3 { margin: 0; font-size: 1.0625rem; overflow-wrap: anywhere; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 10px; border-radius: 999px; background: var(--surface); font-size: 0.8125rem; font-weight: 600; }
.badge.reason { background: var(--coral-soft); color: var(--coral-text); }
.badge.removed { background: var(--ink); color: var(--paper); }
.badge.open { background: var(--mint-soft); color: var(--mint-text); }
.report-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.muted { color: var(--ink-faint); font-size: 0.875rem; }
.empty { padding: 40px 20px; text-align: center; color: var(--ink-soft); border: 1.5px dashed var(--hairline); border-radius: 20px; }

/* ---- Motion (only when site.js adds .js-motion, so the page is complete without it) ---------- */
.js-motion .door-line { opacity: 0.35; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) 0.15s forwards; }
.js-motion .door-glow { transform-box: fill-box; transform-origin: 50% 100%; animation: rise-in 1.1s var(--ease) both; }
.js-motion .door-sun { animation: sun-rise 1.6s var(--ease) 0.5s both, glow 5s ease-in-out 2.2s infinite; transform-box: fill-box; transform-origin: center; }
.js-motion .door-spill { animation: fade-in 1.2s ease 0.8s both; }
.js-motion .phone { animation: phone-in 1s var(--ease) 0.35s both, bob 7s ease-in-out 1.6s infinite; }
.js-motion .float-weather { animation: pop-in 0.7s var(--ease) 1s both, bob 6s ease-in-out 2s infinite; }
.js-motion .float-votes { animation: pop-in 0.7s var(--ease) 1.25s both, bob 8s ease-in-out 2.4s infinite reverse; }
.js-motion .float-votes .mini-bar i { animation: grow 1.2s var(--ease) 1.6s both; transform-origin: left; }
.js-motion .hero-copy > * { animation: rise-in 0.8s var(--ease) both; }
.js-motion .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.js-motion .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.js-motion .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.js-motion .hero-copy > :nth-child(5) { animation-delay: 0.32s; }

.js-motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.js-motion .steps > :nth-child(2), .js-motion .answers > :nth-child(2), .js-motion .promises > :nth-child(2),
.js-motion .facts > :nth-child(2), .js-motion .plans > :nth-child(2) { transition-delay: 0.1s; }
.js-motion .steps > :nth-child(3), .js-motion .answers > :nth-child(3), .js-motion .promises > :nth-child(3),
.js-motion .facts > :nth-child(3) { transition-delay: 0.2s; }
.js-motion .promises > :nth-child(4), .js-motion .facts > :nth-child(4) { transition-delay: 0.3s; }
.js-motion .points > :nth-child(2) { transition-delay: 0.08s; }
.js-motion .points > :nth-child(3) { transition-delay: 0.16s; }
.js-motion .points > :nth-child(4) { transition-delay: 0.24s; }
/* Chips are picked one after the other once the step is on screen. */
.js-motion .demo-chips .chip:nth-child(3), .js-motion .demo-chips .chip:nth-child(5) { background: var(--paper); border-color: var(--hairline); color: var(--ink); }
.js-motion .demo-chips .chip:nth-child(5) svg { color: var(--ink-soft); }
.js-motion .is-in .demo-chips .chip:nth-child(3), .js-motion .demo-chips.is-in .chip:nth-child(3) { animation: chip-on 0.4s ease 0.9s forwards; }
.js-motion .is-in .demo-chips .chip:nth-child(5), .js-motion .demo-chips.is-in .chip:nth-child(5) { animation: chip-on 0.4s ease 1.5s forwards; }
.js-motion .is-in .demo-chips .chip:nth-child(5) svg { animation: chip-icon-on 0.4s ease 1.5s forwards; }
.js-motion .step-photos .arch-photo { transform: translateY(14px) scale(0.96); opacity: 0; transition: transform 0.8s var(--ease) 0.6s, opacity 0.6s ease 0.6s; }
.js-motion .is-in .step-photos .arch-photo { transform: none; opacity: 1; }
.js-motion .step-answer .v-word { transform: scale(0.9); opacity: 0; transition: transform 0.7s var(--ease) 0.7s, opacity 0.5s ease 0.7s; transform-origin: left center; }
.js-motion .is-in .step-answer .v-word { transform: none; opacity: 1; }
.js-motion .browser:not(.is-in) .track i { width: 0; }
.js-motion .cta-band.is-in .cta-sun { animation: sun-rise 1.2s var(--ease) 0.3s both, glow 5s ease-in-out 1.6s infinite; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes sun-rise { from { opacity: 0; transform: translateY(60px) scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(40px) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes chip-on { to { background: var(--ink); border-color: var(--ink); color: var(--paper); } }
@keyframes chip-icon-on { to { color: var(--paper); } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
