/* Shared styling for the hosted legal pages (GitHub Pages).
   Deliberately a plain stylesheet with no build step and no external font or
   script: these URLs go into App Store Connect and the Play Console, get
   opened from inside the app, and have to render on anything. */

:root {
  --bg: #080808;
  --bg1: #101010;
  --line: rgba(255, 255, 255, 0.14);
  --text1: #ffffff;
  --text2: rgba(255, 255, 255, 0.78);
  --text3: rgba(255, 255, 255, 0.55);
  --accent: #ff4200;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 20px 96px;
  background: var(--bg);
  color: var(--text2);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

main { max-width: 720px; margin: 0 auto; }

header { padding: 56px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }

.wordmark {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(34px, 8vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.02;
  color: var(--text1);
  margin: 0 0 14px;
}

.meta { font-size: 13px; color: var(--text3); margin: 0; }

h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text1);
  margin: 44px 0 12px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text1);
  margin: 28px 0 8px;
}

p, li { font-size: 15px; }

ul { padding-left: 20px; }

li { margin-bottom: 8px; }

a { color: var(--accent); }

strong { color: var(--text1); }

/* Anything the operator still has to fill in before publishing. Loud on
   purpose — a placeholder that ships unnoticed is worse than no page. */
.todo {
  background: rgba(255, 66, 0, 0.12);
  border-left: 3px solid var(--accent);
  padding: 2px 6px;
  color: var(--text1);
  font-weight: 700;
}

.callout {
  background: var(--bg1);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 28px 0;
}

.callout p { margin: 0; font-size: 14px; }

.table-wrap { overflow-x: auto; margin: 20px 0; }

table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }

th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }

th { color: var(--text1); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text3);
}

footer a { margin-right: 18px; }

@media (prefers-color-scheme: light) {
  /* The app is dark-only, but these pages are also opened in a normal browser
     from the store listing. Keep the same ramp rather than inverting into an
     unstyled white page. */
  body { background: var(--bg); }
}
