:root { color-scheme: light; --bg: #FFFFFF; --ink: #111111; --muted: #6B6B6B; --body: #333333; --line: #ECECE8; --surf: #F4F4F2; --tint: #EDEDFF; --link: #1A1AFF; --hover: #0F0FB3; --eyebrow: #1A1AFF; --navcur: #1A1AFF; --wordmark: #1A1AFF; --phbg: #FFE9A8; --phfg: #111111; --bezel: 0 0 0 8px #111111; }
:root[data-theme="dark"] { color-scheme: dark; --bg: #0F0F11; --ink: #F2F2F0; --muted: #A1A1A6; --body: #C8C8CC; --line: #2A2A2E; --surf: #1C1C1F; --tint: #26262A; --link: #FFFFFF; --hover: #C8C8CC; --eyebrow: #A1A1A6; --navcur: #FFFFFF; --wordmark: #FFFFFF; --phbg: #5C4A12; --phfg: #FFE9A8; --bezel: 0 0 0 8px #000000, 0 0 0 9px #3A3A3E; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --bg: #0F0F11; --ink: #F2F2F0; --muted: #A1A1A6; --body: #C8C8CC; --line: #2A2A2E; --surf: #1C1C1F; --tint: #26262A; --link: #FFFFFF; --hover: #C8C8CC; --eyebrow: #A1A1A6; --navcur: #FFFFFF; --wordmark: #FFFFFF; --phbg: #5C4A12; --phfg: #FFE9A8; --bezel: 0 0 0 8px #000000, 0 0 0 9px #3A3A3E; }
}
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); }
a { color: var(--link); }
a:hover { color: var(--hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #1A1AFF; outline-offset: 3px; border-radius: 6px; }
header a:focus-visible, header button:focus-visible { outline-color: currentColor; }
.page { width: 100%; min-height: 100vh; display: flex; flex-direction: column; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
.page > main { flex: 1 0 auto; }
[hidden] { display: none !important; }

/* Theme switch: the system setting decides, a saved choice overrides it */
.only-dark { display: none; }
:root[data-theme="dark"] .only-light { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-light { display: none; }
  :root:not([data-theme="light"]) .only-dark { display: block; }
}

/* FAQ */
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; padding-left: 16px; font-size: 24px; font-weight: 400; color: var(--muted); }
details[open] > summary::after { content: "\2212"; }

/* App screens on the home page */
.scr { width: 390px; }
@media (max-width: 400px) {
  .stage { padding-left: 0 !important; padding-right: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
