/* ==========================================================================
   To-Doom · theyplay.games — shared styles for index / support / privacy
   --------------------------------------------------------------------------
   FONTS: This is the ONE place the web fonts are loaded.
   Currently from Google Fonts (sends visitor IPs to Google, see privacy.html).
   Recommended: self-host them. Download Fredoka (400–700) + Silkscreen
   (e.g. via https://gwfh.mranftl.com/fonts), put the .woff2 files into
   assets/fonts/, replace the @import below with @font-face rules and delete
   the Google Fonts paragraph in privacy.html. See README.md.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Silkscreen&display=swap");

:root {
  --bg-top: #3b2a86;
  --bg-bottom: #171039;
  --text: #ffffff;
  --muted: #b3acdf;
  --faint: #7d76b0;
  --glass: rgba(255, 255, 255, .07);
  --glass-line: rgba(255, 255, 255, .12);

  --morning: #ffc23d;
  --midday: #4fa3ff;
  --afternoon: #ff5fa8;
  --evening: #8b7bff;
  --meltdown: #ff4d5e;

  --orange: #ff8a1f;
  --orange-lip: #c25a00;

  --radius-lg: 28px;
  --radius-md: 20px;
  --gutter: 16px;
  --max: 1120px;
  --font: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  --pixel: "Silkscreen", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg-bottom);
  background-image:
    radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.4px),
    linear-gradient(180deg, var(--bg-top) 0%, #2a1d66 38%, var(--bg-bottom) 100%);
  background-size: 22px 22px, 100% 100%;
  background-attachment: scroll;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, video, svg { display: block; max-width: 100%; }
a { color: var(--morning); text-underline-offset: 3px; }
a:hover { color: #ffd677; }
:focus-visible { outline: 3px solid var(--morning); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--afternoon); color: #fff; }

/* ---------- language switching ---------- */
html[lang="de"] [data-lang="en"],
html:not([lang="de"]) [data-lang="de"] { display: none !important; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- header ---------- */
.topbar { position: relative; z-index: 10; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.brand {
  font-family: var(--pixel); text-transform: uppercase; letter-spacing: .14em;
  font-size: 13px; color: var(--text); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand:hover { color: var(--text); }
.brand .mini-tile { width: 22px; height: 22px; border-radius: 6px; background: var(--orange); box-shadow: 0 3px 0 var(--orange-lip); display: grid; place-items: center; }
.brand .mini-tile svg { width: 13px; height: 13px; color: #fff; stroke-width: 2.6; }
.topnav { display: flex; align-items: center; gap: 6px; }
.topnav a.navlink { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 10px; border-radius: 10px; }
.topnav a.navlink:hover, .topnav a.navlink[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 560px) { .topnav a.navlink { display: none; } .topnav a.navlink.home { display: inline-block; padding: 6px 8px; } .brand { font-size: 11px; letter-spacing: .12em; } }

.lang-toggle { display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--glass-line); }
.lang-toggle button {
  font: 600 13px/1 var(--font); letter-spacing: .04em; color: var(--muted); background: transparent;
  border: 0; padding: 7px 10px; border-radius: 9px; cursor: pointer; min-width: 38px;
}
.lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--bg-bottom); }

/* ---------- buttons ---------- */
.btn {
  --c: var(--orange); --lip: var(--orange-lip);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: 700 18px/1.1 var(--font); color: #fff; text-decoration: none;
  background: var(--c); border: 0; border-radius: 18px; padding: 15px 24px;
  box-shadow: 0 6px 0 var(--lip), 0 14px 28px rgba(10, 4, 40, .45);
  transform: translateY(0); transition: transform .08s ease, box-shadow .08s ease, filter .15s;
  cursor: pointer; text-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.btn:hover { color: #fff; filter: brightness(1.06); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--lip), 0 6px 14px rgba(10, 4, 40, .4); }
.btn .ico { font-size: 26px; stroke-width: 2.4; }
.btn-store { padding: 12px 24px 12px 18px; text-align: left; }
.btn-store small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .02em; opacity: .9; }
.btn-store strong { display: block; font-size: 21px; font-weight: 700; }
.btn-ghost { --c: rgba(255,255,255,.1); --lip: rgba(0,0,0,.35); box-shadow: 0 5px 0 var(--lip); border: 1px solid var(--glass-line); }

/* ---------- chunky chore tiles ---------- */
.tile {
  --c: #f97316;
  width: var(--s, 56px); height: var(--s, 56px); flex: none;
  border-radius: calc(var(--s, 56px) * .26);
  background: var(--c);
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.22), inset 0 2px 0 rgba(255,255,255,.25), 0 5px 0 rgba(10, 4, 40, .45);
  display: grid; place-items: center; color: #fff;
}
.tile svg { width: 50%; height: 50%; fill: none; stroke: #fff; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; margin-top: -6%; }
.c1 { --c: #f97316; } .c2 { --c: #8b5cf6; } .c3 { --c: #06b6d4; } .c4 { --c: #ec4899; }
.c5 { --c: #22c55e; } .c6 { --c: #eab308; } .c7 { --c: #3b82f6; } .c8 { --c: #ef4444; }

/* ---------- glass + headings ---------- */
.glass { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius-lg); }
.section { padding: 72px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.eyebrow { font: 600 13px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--morning); margin: 0 0 14px; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 6.4vw, 52px); }
h3 { font-size: 22px; line-height: 1.2; }
.lede { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 38em; margin: 16px 0 0; }
.sec-head { margin-bottom: 40px; }
.sec-head.center { text-align: center; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   LANDING
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 8px 0 64px; isolation: isolate; }
.hero-grid { display: grid; gap: 40px; align-items: center; position: relative; z-index: 2; }
@media (min-width: 900px) {
  .hero { padding: 24px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 48px; min-height: 640px; }
}
.hero-copy { text-align: center; }
@media (min-width: 900px) { .hero-copy { text-align: left; } }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
  font: 500 14px/1 var(--font); color: var(--muted);
  background: rgba(0,0,0,.22); border: 1px solid var(--glass-line); padding: 8px 14px 8px 8px; border-radius: 999px;
}
.hero-kicker .dot { width: 22px; height: 22px; border-radius: 7px; background: var(--meltdown); box-shadow: 0 3px 0 #a3202d; display: grid; place-items: center; }
.hero-kicker .dot svg { width: 13px; height: 13px; stroke: #fff; }
.logo {
  font-size: clamp(64px, 17vw, 128px); font-weight: 700; line-height: .92; letter-spacing: -.025em;
  text-shadow: 0 6px 0 #241763, 0 18px 40px rgba(10, 4, 40, .6);
}
.logo .dash { color: var(--orange); }
.tagline { font-size: clamp(21px, 3.4vw, 30px); font-weight: 600; margin: 18px 0 0; line-height: 1.2; }
.hero-sub { color: var(--muted); font-size: 18px; max-width: 30em; margin: 14px auto 0; }
@media (min-width: 900px) { .hero-sub { margin-left: 0; } }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
@media (min-width: 900px) { .hero-cta { justify-content: flex-start; } }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@media (min-width: 900px) { .facts { justify-content: flex-start; } }
.facts li { font-size: 14px; font-weight: 500; color: #e9e6ff; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--glass-line); display: inline-flex; gap: 6px; align-items: center; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--morning)); }

/* phone frame */
.phone-stage { position: relative; display: grid; place-items: center; }
.phone-stage::before {
  content: ""; position: absolute; width: 120%; max-width: 520px; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255, 95, 168, .35), rgba(139, 123, 255, .18) 45%, transparent 68%);
  filter: blur(10px);
}
.phone {
  width: min(78vw, 300px); aspect-ratio: 9 / 19.5; position: relative;
  padding: 11px; border-radius: 48px;
  background: linear-gradient(160deg, #2b2357, #120c2e);
  box-shadow: 0 0 0 2px rgba(255,255,255,.14), 0 10px 0 #0c0822, 0 40px 80px rgba(5, 2, 25, .7);
  transform: rotate(2.5deg);
}
@media (max-width: 899px) { .phone { width: min(70vw, 270px); transform: none; } }
.phone .screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #171039; position: relative; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone .island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 30%; height: 22px; border-radius: 12px; background: #050311; z-index: 2; }
.phone .btn-side { position: absolute; right: -3px; top: 26%; width: 3px; height: 64px; border-radius: 2px; background: #3a3170; }
.phone .btn-side.l { left: -3px; right: auto; top: 20%; height: 40px; }
.sticker {
  position: absolute; z-index: 3; font-weight: 700; font-size: 15px; padding: 9px 14px; border-radius: 14px;
  color: #1d1442; background: var(--morning); box-shadow: 0 5px 0 #b3800c; white-space: nowrap;
}
.sticker.s1 { left: -6%; top: 16%; transform: rotate(-7deg); }
.sticker.s2 { right: -4%; bottom: 18%; transform: rotate(5deg); background: var(--meltdown); color: #fff; box-shadow: 0 5px 0 #a3202d; font-family: var(--pixel); font-size: 13px; letter-spacing: .08em; }
@media (max-width: 899px) { .sticker.s1 { left: 0; } .sticker.s2 { right: 0; } }

/* falling-tile background (built by JS in index.html) */
.tetris-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .5;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.85) 30%, transparent 75%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.85) 30%, transparent 75%); }
.tetris-bg .tile { position: absolute; left: 0; top: 0; will-change: transform; transition: opacity .25s ease; box-shadow: inset 0 -4px 0 rgba(0,0,0,.22), inset 0 2px 0 rgba(255,255,255,.2); }
.tetris-bg .tile.clear { opacity: 0; transition: opacity .35s ease .15s; filter: brightness(1.8); }

/* how it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 26px 22px 24px; position: relative; counter-increment: step; }
.step::after {
  content: "0" counter(step); position: absolute; top: 20px; right: 22px;
  font-family: var(--pixel); font-size: 14px; color: var(--faint); letter-spacing: .08em;
}
.step .tile { --s: 60px; margin-bottom: 22px; }
.step:nth-child(even) .tile { transform: rotate(-4deg); }
.step:nth-child(odd) .tile { transform: rotate(3deg); }
.step p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.step .ctrls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.kbd { font: 600 12px/1 var(--font); letter-spacing: .04em; padding: 6px 9px; border-radius: 8px; background: rgba(0,0,0,.28); color: #fff; border: 1px solid var(--glass-line); box-shadow: 0 2px 0 rgba(0,0,0,.35); }

/* chore cloud */
.chore-belt { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 44px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 14px; background: rgba(0,0,0,.2); border: 1px solid var(--glass-line); font-weight: 500; font-size: 15px; }
.chip .tile { --s: 30px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.22); }
.chip .tile svg { margin-top: -4%; }

/* day strip */
.day { position: relative; }
.day-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.phase {
  --pc: var(--morning);
  position: relative; padding: 20px 20px 20px 22px; border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--glass-line); overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
}
.phase::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--pc); }
.phase .clock { font-family: var(--pixel); font-size: 13px; color: var(--pc); letter-spacing: .06em; grid-column: 2; }
.phase h3 { grid-column: 2; font-size: 24px; margin-top: 2px; }
.phase .line { grid-column: 2; color: var(--muted); font-size: 15px; margin: 4px 0 0; font-style: italic; }
.phase .badge { grid-row: 1 / span 3; width: 52px; height: 52px; border-radius: 15px; background: var(--pc); display: grid; place-items: center; box-shadow: inset 0 -4px 0 rgba(0,0,0,.2), 0 4px 0 rgba(10,4,40,.4); }
.phase .badge svg { width: 26px; height: 26px; stroke: #1d1442; }
.phase.meltdown .badge svg { stroke: #fff; }
.phase .speed { grid-column: 2; display: flex; gap: 3px; margin-top: 12px; }
.phase .speed i { width: 12px; height: 6px; border-radius: 2px; background: rgba(255,255,255,.14); }
.phase .speed i.on { background: var(--pc); }
.p1 { --pc: var(--morning); } .p2 { --pc: var(--midday); } .p3 { --pc: var(--afternoon); } .p4 { --pc: var(--evening); } .p5 { --pc: var(--meltdown); }
.phase.meltdown { background: linear-gradient(180deg, rgba(255, 77, 94, .22), rgba(255, 77, 94, .06)); border-color: rgba(255, 77, 94, .45); }
@media (min-width: 900px) {
  .day-track { grid-template-columns: repeat(5, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-line); }
  .phase { border-radius: 0; border: 0; border-right: 1px solid var(--glass-line); grid-template-columns: 1fr; padding: 26px 22px 28px; align-content: start; }
  .phase:last-child { border-right: 0; }
  .phase::before { right: 0; bottom: auto; width: auto; height: 6px; }
  .phase .badge { grid-row: auto; margin-bottom: 18px; }
  .phase .clock, .phase h3, .phase .line, .phase .speed { grid-column: 1; }
  .phase .line { min-height: 3em; }
}
.day-arrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; color: var(--faint); font-size: 14px; font-weight: 500; }
.day-arrow .bar { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--morning), var(--midday), var(--afternoon), var(--evening), var(--meltdown)); opacity: .8; }

/* archetypes */
.types { display: grid; gap: 16px; }
@media (min-width: 640px) { .types { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .types { grid-template-columns: repeat(4, 1fr); } }
.type-card { padding: 22px 22px 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.type-card .label { font-family: var(--pixel); font-size: 11px; letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }
.type-card h3 { margin-top: 10px; font-size: 23px; }
.type-card p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.type-card .tile { --s: 46px; margin-bottom: 18px; }
.type-card:nth-child(1) { transform: rotate(-1deg); } .type-card:nth-child(3) { transform: rotate(.8deg); }
@media (max-width: 639px) { .type-card { transform: none !important; } }
.type-more { text-align: center; color: var(--faint); margin-top: 26px; font-size: 15px; }

/* share hook */
.share { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .share { grid-template-columns: 1fr 1fr; gap: 64px; } }
.story-card {
  width: min(100%, 330px); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 30px; padding: 26px 22px;
  background: radial-gradient(120% 70% at 50% 0%, #5a3fc0 0%, transparent 60%), linear-gradient(180deg, #3b2a86, #171039);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 0 #0c0822, 0 40px 70px rgba(5,2,25,.6);
  display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden;
  transform: rotate(-3deg);
}
@media (max-width: 899px) { .story-card { transform: rotate(-2deg); } }
.story-card .sc-brand { font-family: var(--pixel); font-size: 10px; letter-spacing: .16em; color: var(--muted); }
.story-card .sc-over { font-family: var(--pixel); color: var(--meltdown); font-size: 22px; letter-spacing: .06em; margin-top: 16px; }
.story-card .sc-time { font-size: 15px; color: var(--muted); margin-top: 2px; }
.story-card .sc-type { margin-top: 16px; font-size: 13px; color: var(--faint); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.story-card .sc-name { font-size: 24px; font-weight: 700; line-height: 1.1; margin-top: 4px; }
.story-card .sc-stack { margin-top: auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; width: 100%; }
.story-card .sc-stack .tile { --s: 100%; width: 100%; height: auto; aspect-ratio: 1; border-radius: 9px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.22); }
.story-card .sc-stack .gap { aspect-ratio: 1; }
.story-card .sc-cta { margin-top: 16px; background: var(--orange); box-shadow: 0 4px 0 var(--orange-lip); padding: 10px 16px; border-radius: 14px; font-weight: 700; font-size: 17px; }
.share-copy h2 { font-size: clamp(36px, 7vw, 60px); }
.share-copy h2 em { font-style: normal; color: var(--orange); }
.share-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.share-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.share-list li .tile { --s: 32px; border-radius: 9px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }

/* why */
.why { padding: 34px 24px; position: relative; overflow: hidden; }
@media (min-width: 720px) { .why { padding: 56px 64px; } }
.why h2 { font-size: clamp(28px, 5vw, 42px); max-width: 16em; }
.why .body { columns: 1; margin-top: 22px; color: #dcd8f5; font-size: 18px; }
@media (min-width: 900px) { .why .body { columns: 2; column-gap: 48px; } }
.why .body p { margin: 0 0 16px; break-inside: avoid; }
.why .sig { font-family: var(--pixel); font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-top: 8px; }
.why .tiles-deco { position: absolute; right: -14px; top: -14px; display: flex; gap: 8px; opacity: .9; transform: rotate(8deg); }
.why .tiles-deco .tile { --s: 40px; }
@media (max-width: 719px) { .why .tiles-deco { display: none; } }

/* final cta */
.final { text-align: center; padding-bottom: 96px; }
.final h2 { font-size: clamp(34px, 7vw, 60px); }
.final .stack { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; }
.final .stack .tile { --s: 48px; }
.final .stack .tile:nth-child(2) { transform: translateY(-14px) rotate(6deg); }
.final .stack .tile:nth-child(4) { transform: translateY(-8px) rotate(-5deg); }
.final .hero-cta { justify-content: center; }

/* ==========================================================================
   SUBPAGES (support / privacy)
   ========================================================================== */
.page-head { padding: 28px 0 36px; }
@media (min-width: 900px) { .page-head { padding: 48px 0 56px; } }
.page-head h1 { font-size: clamp(40px, 8vw, 72px); }
.page-head .tiles-row { display: flex; gap: 8px; margin-bottom: 26px; }
.page-head .tiles-row .tile { --s: 44px; }
.page-head .tiles-row .tile:nth-child(2) { transform: translateY(-8px) rotate(-6deg); }
.page-head .tiles-row .tile:nth-child(3) { transform: rotate(5deg); }
.narrow { max-width: 820px; }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius-md); overflow: hidden; }
.faq details[open] { background: rgba(255,255,255,.09); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative;
  font-weight: 600; font-size: 19px; line-height: 1.3; display: flex; gap: 14px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .tile { --s: 36px; border-radius: 10px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.22); }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 7px;
  background: rgba(255,255,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: background-color .2s ease;
}
.faq details[open] summary::after {
  background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}
.faq .answer { padding: 0 20px 22px 70px; color: #dcd8f5; }
@media (max-width: 560px) { .faq .answer { padding-left: 20px; } .faq summary { font-size: 17px; } }
.faq .answer p { margin: 0 0 12px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.faq .answer li { display: flex; gap: 12px; align-items: baseline; }
.faq .answer li .kbd { flex: none; width: 150px; text-align: center; line-height: 1.25; }
@media (max-width: 400px) { .faq .answer li { flex-direction: column; gap: 4px; } .faq .answer li .kbd { min-width: 0; } }
.faq .phase-mini { display: grid; gap: 6px; margin: 4px 0 12px; }
.faq .phase-mini span { display: flex; gap: 10px; align-items: center; }
.faq .phase-mini b { width: 10px; height: 10px; border-radius: 3px; background: var(--pc); flex: none; }

.contact-card { margin-top: 40px; padding: 30px 24px; display: grid; gap: 22px; align-items: center; }
@media (min-width: 720px) { .contact-card { grid-template-columns: 1fr auto; padding: 36px 40px; } }
.contact-card h2 { font-size: clamp(28px, 4.6vw, 36px); }
.contact-card p { color: var(--muted); margin: 10px 0 0; }

/* privacy prose */
.prose { color: #dcd8f5; }
.prose h2 { font-size: clamp(24px, 4vw, 30px); margin: 52px 0 14px; color: #fff; display: flex; align-items: center; gap: 12px; scroll-margin-top: 20px; }
.prose h2 .num { font-family: var(--pixel); font-size: 12px; letter-spacing: .08em; color: var(--bg-bottom); background: var(--morning); padding: 6px 8px; border-radius: 8px; box-shadow: 0 3px 0 #b3800c; flex: none; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; color: #fff; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--orange); }
.prose code { font-size: .88em; background: rgba(0,0,0,.3); padding: 2px 6px; border-radius: 6px; color: #fff; word-break: break-word; }
.prose strong { color: #fff; font-weight: 600; }
.tldr { padding: 26px 22px; margin-bottom: 8px; }
@media (min-width: 720px) { .tldr { padding: 30px 34px; } }
.tldr h2 { margin-top: 0 !important; }
.tldr ul { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0; }
@media (min-width: 720px) { .tldr ul { grid-template-columns: 1fr 1fr; } }
.tldr li { display: flex; gap: 10px; align-items: center; margin: 0; font-weight: 500; color: #fff; }
.tldr li .tile { --s: 28px; border-radius: 8px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.toc { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(255,255,255,.05); }
.toc a:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.address { padding: 20px 22px; border-radius: var(--radius-md); background: rgba(0,0,0,.22); border: 1px dashed rgba(255,255,255,.2); font-style: normal; margin: 0 0 14px; }
.effective { color: var(--faint); font-size: 15px; margin-top: 10px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--glass-line); padding: 36px 0 44px; color: var(--faint); font-size: 15px; background: rgba(10, 6, 30, .35); }
.footer .wrap { display: grid; gap: 22px; }
@media (min-width: 720px) { .footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.footer nav a:hover { color: #fff; }
.footer .made { margin: 6px 0 0; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .float { animation: float 6s ease-in-out infinite; }
  .float.d2 { animation-delay: -2s; } .float.d3 { animation-delay: -4s; }
  @keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
}

/* ---------- phone-width tightening ---------- */
@media (max-width: 639px) {
  .section { padding: 56px 0; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px 18px; }
  .step .tile { --s: 48px; margin: 2px 0 0; grid-row: 1 / span 3; }
  .step h3 { font-size: 20px; padding-right: 26px; }
  .step p { margin-top: 6px; font-size: 15px; }
  .step .ctrls { grid-column: 2; }
  .step::after { top: 18px; right: 18px; font-size: 12px; }
  .type-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .type-card .tile { --s: 42px; margin: 0; grid-row: 1 / span 3; }
  .type-card h3 { margin-top: 4px; font-size: 20px; }
  .type-card p { margin-top: 6px; font-size: 15px; }
  .story-card { width: min(100%, 270px); padding: 22px 18px; }
  .story-card .sc-name { font-size: 21px; }
  .chore-belt { gap: 8px; margin-top: 32px; }
  .chip { font-size: 14px; }
}
.topnav a.navlink { white-space: nowrap; }
@media (max-width: 379px) { .topnav a.navlink.home { display: none; } }
