/* The sheet for the site's reading pages: the terms and privacy notices, the help pages, the
   changes page, support and the checkout "thanks" page. The home page keeps style.css and
   visual.css; the guides keep guides/guides.css. Every colour here is a token: light is the
   default, and the visitor's device (prefers-color-scheme) switches the tokens to dark. There
   is no toggle. The palette is the home page's (visual.css). */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #f5f8fb;
  --panel: #ffffff;
  --panel-2: #eef3f8;
  --line: #dce4ee;
  --text: #0e1520;
  --prose: #34455a;
  --muted: #46566b;
  --faint: #5f7084;
  --accent: #0b7c8d;
  --link: #0a6e7d;
  --accent-ink: #ffffff;
  --accent-soft: rgb(13 133 151 / 0.1);
  --accent-edge: rgb(13 133 151 / 0.4);
  --button: #0b7c8d;
  --button-hover: #09697a;
  --glow: rgb(67 200 217 / 0.2);
  --wash-1: rgb(13 133 151 / 0.07);
  --wash-2: rgb(13 133 151 / 0.04);
  --selection: rgb(13 133 151 / 0.22);
  --focus: #0b7c8d;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b121c;
    --panel: #132132;
    --panel-2: #192a3e;
    --line: #253a52;
    --text: #eef4fa;
    --prose: #a8c8d8;
    --muted: #aec0d0;
    --faint: #8ea4b8;
    --accent: #43c8d9;
    --link: #77dce6;
    --accent-ink: #062634;
    --accent-soft: rgb(67 200 217 / 0.14);
    --accent-edge: rgb(67 200 217 / 0.4);
    --button: linear-gradient(120deg, #80c8e3, #43c8d9);
    --button-hover: linear-gradient(120deg, #9bd6ec, #6ad6e3);
    --glow: rgb(67 200 217 / 0.22);
    --wash-1: rgb(23 60 82 / 0.25);
    --wash-2: rgb(18 56 77 / 0.12);
    --selection: rgb(67 200 217 / 0.24);
    --focus: #60d5e0;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 950px 660px at 95% 5%, var(--wash-1), transparent 70%),
    radial-gradient(ellipse 900px 600px at 5% 25%, var(--wash-2), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
::selection { background: var(--selection); color: var(--text); }
h1, h2, h3 { font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif; margin: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.08; letter-spacing: -0.045em; margin: 20px 0; text-wrap: balance; }
h2 { font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; }
h3 { font-size: 20px; letter-spacing: -0.02em; }
em { font-style: normal; color: var(--accent); }

.section-wrap { max-width: 1240px; margin: auto; padding-left: 48px; padding-right: 48px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 2px; font-weight: 700; color: var(--link); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; background: var(--button); color: var(--accent-ink); padding: 18px 24px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; font-size: 14px; box-shadow: 0 5px 24px var(--glow); transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.button:hover { background: var(--button-hover); transform: translateY(-2px); }

@media (max-width: 1000px) { .section-wrap { padding-left: 30px; padding-right: 30px; } }
@media (max-width: 720px) { .section-wrap { padding-inline: 22px; } }

/* The reading column (terms, privacy, help, changes, support). */
.doc { max-width: 800px; padding-top: 150px; padding-bottom: 100px; }
.doc h2 { margin: 40px 0 14px; }
.doc p, .doc li, .doc td, .doc th { color: var(--prose); line-height: 1.8; }
.doc p { margin: 14px 0; }
.doc ul, .doc ol { margin: 8px 0; padding-left: 1.2em; }
.doc a { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.doc .eyebrow { color: var(--link); }
.doc table { border-collapse: collapse; margin: 14px 0; width: 100%; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { color: var(--text); background: var(--panel-2); }
.doc code { font-family: ui-monospace, Consolas, monospace; font-size: 0.92em; color: var(--text); }
@media (max-width: 640px) { .doc { padding-left: 20px; padding-right: 20px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
