/* Layout for the static legal pages (terms, privacy, acceptable use, refunds). */
:root {
  color-scheme: dark;
  --bg: #0a0e0d;
  --surface: #121816;
  --text: #e6edea;
  --muted: #9aa8a2;
  --accent: #00e599;
  --border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

header, main, footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.brand {
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
}

nav span { color: var(--text); font-weight: 600; }

a { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--accent); }

main { padding-top: 32px; padding-bottom: 48px; }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 19px; margin: 36px 0 8px; }
p, ul { margin: 0 0 14px; color: #cfd8d4; }
ul { padding-left: 22px; }
li { margin-bottom: 8px; }
.updated { color: var(--muted); font-size: 14px; }
code { background: var(--surface); padding: 1px 6px; border-radius: 4px; font-size: 14px; }

footer {
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
