/* Shared by /terms, /privacy and /refunds.
   The tokens are the landing page's, so the pages read as one site. */

:root {
  --ground: #f7f8fa;
  --surface: #ffffff;
  --ink: #0e2a52;
  --ink-soft: #46608a;
  --ink-faint: #5e738f;
  --rule: #d7dee9;
  --rule-strong: #b9c5d7;
  --accent: #c8971b;
  --accent-hover: #b0850f;
  --accent-text: #8a6608;
  --accent-ink: #0e2a52;
  --accent-wash: #fbf3de;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0a1524; --surface: #10213a;
    --ink: #e9eef7; --ink-soft: #9fb2ce; --ink-faint: #74869f;
    --rule: #1e3050; --rule-strong: #2c4463;
    --accent: #f0bb46; --accent-hover: #ffd06a; --accent-text: #f0bb46;
    --accent-ink: #0a1524; --accent-wash: #241d0c;
  }
}
:root[data-theme="dark"] {
  --ground: #0a1524; --surface: #10213a;
  --ink: #e9eef7; --ink-soft: #9fb2ce; --ink-faint: #74869f;
  --rule: #1e3050; --rule-strong: #2c4463;
  --accent: #f0bb46; --accent-hover: #ffd06a; --accent-text: #f0bb46;
  --accent-ink: #0a1524; --accent-wash: #241d0c;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }
a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.bar {
  border-bottom: 1px solid var(--rule);
  box-shadow: inset 0 3px 0 var(--accent);
  background: var(--ground);
}
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; max-width: 62rem; margin: 0 auto; }
.brand {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.35rem; letter-spacing: 0.02em; color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.brand__mark { width: 20px; height: 20px; flex: none; }
.bar a.back { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; text-decoration: none; color: var(--ink-soft); }
.bar a.back:hover { color: var(--accent-text); }

main { padding: 3rem 0 4rem; }
h1 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 0.95; margin: 0 0 0.6rem;
  letter-spacing: -0.005em;
}
h2 {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: 1.45rem; letter-spacing: 0.01em; line-height: 1.15;
  margin: 2.6rem 0 0.7rem; padding-top: 1.4rem; border-top: 1px solid var(--rule);
}
h2:first-of-type { border-top: 0; padding-top: 0; }
h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 1.08rem; letter-spacing: 0.03em; margin: 1.6rem 0 0.4rem; }
p, li { color: var(--ink-soft); }
p { margin: 0 0 1rem; }
strong { color: var(--ink); font-weight: 600; }
ul { padding-left: 1.15rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }

.stamp {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-faint); margin: 0 0 2.4rem;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 2rem; }

.callout {
  background: var(--surface); border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: 1.1rem 1.3rem; margin: 1.4rem 0; border-radius: 2px;
}
.callout p:last-child { margin-bottom: 0; }

table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-soft); }
th { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem; color: var(--ink); border-bottom-color: var(--rule-strong); }
.scroll { overflow-x: auto; }

footer { border-top: 1px solid var(--rule); padding: 2rem 0 3rem; }
footer p { font-size: 0.92rem; color: var(--ink-faint); }
.footlinks {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.95rem;
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem;
}
.footlinks a { text-decoration: none; color: var(--ink-soft); }
.footlinks a:hover { color: var(--accent-text); }
