/* Lokala: calm, picture-first. Tokens first; dark mode follows the system unless a page says otherwise. */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c1f23;
  --muted: #5d6670;
  --line: #e6e2da;
  --brand: #7E1A2C;
  --brand-ink: #7E1A2C;
  --warm: #f59e0b;
  --day: block;
  --night: none;
  --radius: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111417;
    --surface: #1a1f24;
    --text: #eef1f4;
    --muted: #a3adb8;
    --line: #2b3239;
    --brand: #F6A800;
    --brand-ink: #F6A800;
    --day: none;
    --night: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111417; --surface: #1a1f24; --text: #eef1f4; --muted: #a3adb8; --line: #2b3239; --brand: #F6A800; --brand-ink: #F6A800; --day: none; --night: block;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; }

/* Placeholder */
body.placeholder { min-height: 100dvh; display: flex; flex-direction: column; }
.placeholder-main {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 16px 24px;
}
.placeholder-picture { width: min(288px, 70vw); margin-bottom: 8px; }
.wordmark { margin: 0; }
.wordmark .logo { height: clamp(48px, 10vw, 68px); }

/* The wordmark, blue letters by day and light by night (site/_wordmark) */
.logo { display: block; width: auto; }
.logo.day-only { display: var(--day); }
.logo.night-only { display: var(--night); }
.lede { margin: 12px 0 0; font-size: clamp(18px, 3.4vw, 21px); color: var(--text); max-width: 26ch; }
.soon {
  margin: 20px 0 0; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--muted); letter-spacing: 0.02em;
}
.placeholder-footer {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  padding: 20px 16px 28px; font-size: 14px; color: var(--muted);
}

/* Long text: privacy */
.prose { max-width: 680px; margin: 0 auto; padding: 32px 16px 64px; }
.prose h1 { font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 4px; }
.prose h2 { font-size: 20px; margin: 32px 0 8px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose .back { margin: 0; font-size: 15px; }
.prose .updated { color: var(--muted); font-size: 14px; margin: 0 0 20px; }

/* Dashboard */
.dash { max-width: 860px; }
.dash table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.dash th, .dash td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.dash th { color: var(--muted); font-weight: 600; }
.dash .num { text-align: right; }
.dash tr.off td { background: color-mix(in srgb, var(--warm) 14%, transparent); }
.dash .tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.dash .tabs a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: inherit; font-weight: 600; font-size: 15px; }
.dash .tabs a.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.dash h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.dash form.status { display: inline; margin-left: auto; }
.dash form.status button { font: 600 14px/1.4 inherit; padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--brand-ink); cursor: pointer; }
