/* Shared stylesheet for the apps.eternitytek.com static legal/support pages.
 * One file keeps the four pages (index + terms + privacy + support) visually coherent
 * without pulling in a build step or framework. Inline-only if someone prefers — but
 * nginx gzips it to ~1 KB and it keeps each HTML page under 3 KB, which is easier
 * to review diff-wise than a copy-pasted <style> on every page.
 */

:root {
  --bg: #0f1020;
  --bg-grad-end: #1a1636;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --fg: #ECEDFF;
  --fg-muted: #C5C5E0;
  --fg-dim: #6E6E96;
  --accent: #9B8CFF;
  --accent-link: #B7A9FF;
  --accent-kbd-bg: rgba(155, 140, 255, 0.16);
  --accent-kbd-fg: #DCD3FF;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-grad-end) 100%);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--accent-link); text-decoration: underline; }
a:hover { color: #D4C8FF; }

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 28px 96px;
}

header.site {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--card-border);
}

header.site .brand {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

header.site nav a {
  margin-left: 16px;
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
}
header.site nav a:hover { color: var(--fg); }

h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 16px 0 8px;
  font-weight: 700;
}
h2 {
  font-size: 18px;
  margin: 28px 0 8px;
  font-weight: 600;
  color: var(--accent-link);
}
h3 {
  font-size: 15px;
  margin: 18px 0 6px;
  font-weight: 600;
}
p, li { color: var(--fg-muted); }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

.last-updated {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: 0;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px 28px;
}

.kbd {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--accent-kbd-bg);
  color: var(--accent-kbd-fg);
  font-family: "SFMono-Regular", ui-monospace, monospace;
  font-size: 13px;
}

footer.site {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  font-size: 13px;
  color: var(--fg-dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
footer.site a { color: var(--fg-muted); text-decoration: none; }
footer.site a:hover { color: var(--fg); }
