/* Out Tonight — shared styles for Privacy and Terms.
   Same --ot-* tokens as src/theme.css: Night by default, Day via data-theme="light". */

:root,
:root[data-theme="dark"] {
  --ot-bg: #131313;
  --ot-surface: #1f1f1f;
  --ot-ink: #ffffff;
  --ot-muted: #949494;
  --ot-line: #3a3a3a;
  --ot-label: #3cffd0;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --ot-bg: #ffffff;
  --ot-surface: #f5f5f5;
  --ot-ink: #111111;
  --ot-muted: #707072;
  --ot-line: #e5e5e5;
  --ot-label: #5200ff;
  color-scheme: light;
}
:root {
  --ot-accent: #3cffd0;
  --ot-on-accent: #111111;
  --ot-reel: #5200ff;
  --ot-yellow: #ffe14d;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0;
  background: var(--ot-bg);
  color: var(--ot-ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 3px solid var(--ot-accent); outline-offset: 3px; }

.shell { max-width: 1440px; margin: 0 auto; padding: 0 20px 32px; }

/* Nav: same as the app */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  border-bottom: 1px solid var(--ot-line);
}
.disp {
  margin: 0;
  font-family: var(--font);
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}
.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wordmark { font-size: 28px; color: inherit; text-decoration: none; white-space: nowrap; padding: 8px 0; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.pill-link, .theme-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--ot-line);
  background: none;
  color: var(--ot-ink);
  text-decoration: none;
  cursor: pointer;
}

/* Page header */
.page-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--ot-line);
}
.page-head .label { color: var(--ot-label); }
.page-title { font-size: clamp(76px, 20vw, 200px); }
.updated { color: var(--ot-muted); }

/* Body copy: one readable column */
.content { max-width: 720px; padding: 32px 0 8px; }
.content h2 {
  margin: 48px 0 14px;
  font-family: var(--font);
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 0.95;
}
.content > h2:first-of-type { margin-top: 36px; }
.content p { margin: 0 0 14px; color: var(--ot-muted); }
.content strong { color: var(--ot-ink); font-weight: 700; }
.content ul { margin: 8px 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--ot-muted); }
.content li::marker { color: var(--ot-label); }
.content a { color: var(--ot-ink); text-decoration: underline; text-decoration-color: var(--ot-label); text-underline-offset: 4px; }
.content a:hover { text-decoration-thickness: 2px; }

/* Callouts */
.callout {
  margin: 0 0 8px;
  padding: 22px 24px;
  border-radius: 28px;
  font-size: 18px;
  line-height: 1.5;
}
.callout-short { background: var(--ot-accent); color: var(--ot-on-accent); }
.callout-warn { background: var(--ot-yellow); color: #111111; margin: 4px 0 18px; }
.callout strong { color: inherit; }
.callout a { color: inherit; text-decoration-color: currentColor; }

.contact {
  margin-top: 56px;
  padding: 28px 24px;
  border-radius: 28px;
  background: var(--ot-reel);
  color: #ffffff;
}
.contact h2 { margin: 0 0 14px; }
.contact p { color: rgba(255, 255, 255, 0.82); }
.contact strong { color: #ffffff; }
.contact a { color: #ffffff; text-decoration-color: var(--ot-accent); }
.contact .small { font-size: 14px; margin: 8px 0 0; }

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--ot-line);
  font-size: 13px;
  color: var(--ot-muted);
}
.foot a { color: var(--ot-muted); }
.foot a:hover { color: var(--ot-ink); }

@media (min-width: 960px) {
  .shell { padding: 0 56px 40px; }
  .nav { min-height: 88px; }
  .wordmark { font-size: 34px; }
  .page-head { padding: 56px 0 40px; }
  .content h2 { font-size: 48px; }
}
@media (max-width: 420px) {
  .pill-link .long { display: none; }
}
