:root { --bg: #020604; --fg: #f3efe4; --dim: rgba(243,239,228,.7); --line: rgba(243,239,228,.22); --accent: #d9c08b; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: inherit; text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding-block: 48px; }
.hero h1 { margin: 0; font-weight: 500; font-size: clamp(2rem, 6vw, 4rem); }
.tag { margin: 0; color: var(--dim); }
form { display: flex; gap: 8px; width: min(100%, 30rem); margin-top: 12px; }
input { flex: 1; min-width: 0; font: inherit; color: var(--fg); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; }
button { font: inherit; font-weight: 600; background: var(--fg); color: #06150d; border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; }
button:disabled { opacity: .6; cursor: progress; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.status { min-height: 1.6em; margin: 0; }
.status[data-kind="error"] { color: #ffb8a8; }
form[data-state="sent"] { display: none; }
.fine { margin: 0; font-size: 13px; color: var(--dim); max-width: 32rem; }
footer { text-align: center; font-size: 13px; color: var(--dim); padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0px)); }

/* legal pages */
.doc { max-width: 44rem; margin: 0 auto; padding-block: 48px 64px; }
.doc h1 { font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 4px; }
.doc h2 { font-weight: 600; font-size: 1.15rem; margin: 2.2em 0 .4em; }
.doc h3 { font-weight: 600; font-size: 1rem; margin: 1.4em 0 .3em; }
.doc p, .doc li { color: rgba(243,239,228,.86); }
.doc .meta { color: var(--dim); font-size: 14px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc th, .doc td { text-align: left; vertical-align: top; border-top: 1px solid var(--line); padding: 8px 10px 8px 0; }
.doc .table { overflow-x: auto; }
.doc nav.back { margin-bottom: 32px; font-size: 14px; }
