/* Coach's pages: home, privacy, terms and account deletion. Colours from the app's theme. */
:root {
  --night: #0b0b0d;
  --night-1: #121216;
  --night-2: #1a1a1f;
  --line: #34343c;
  --snow: #f4f4f6;
  --mist: #a6a6b0;
  --lime: #c8f031;
  --orange: #ff6b2c;
  --gutter: 16px;
  --display: "Archivo", system-ui, -apple-system, sans-serif;
}

@media (min-width: 720px) { :root { --gutter: 32px; } }

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --night: #f5f5f2;
    --night-1: #ffffff;
    --night-2: #ececea;
    --line: #dcdcd8;
    --snow: #121214;
    --mist: #5a5a63;
    --lime: #4b6500;
    --orange: #c2410c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--snow);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lime); text-underline-offset: 3px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 32px var(--gutter) 64px; }

header.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 40px; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--snow); text-decoration: none; font-weight: 800; letter-spacing: 0.06em; }
.mark svg { width: 32px; height: 32px; }
nav.links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
nav.links a { color: var(--mist); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--snow); }

h1 { font-size: clamp(36px, 9vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 16px; }
h2 { font-size: 22px; font-weight: 700; margin: 40px 0 8px; }
h3 { font-size: 17px; font-weight: 700; margin: 20px 0 4px; }
p, ul, ol { margin: 0 0 12px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.lede { font-size: 20px; color: var(--mist); max-width: 34em; }
.dated { color: var(--mist); font-size: 15px; }

.card { background: var(--night-1); border: 1px solid var(--line); border-radius: 24px; padding: 20px; margin: 16px 0; }
.card h3 { margin-top: 0; }

.grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 32px 0; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
.grid .card { margin: 0; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); margin-right: 8px; }
.dot.run { background: var(--orange); }

.pill { display: inline-block; background: var(--lime); color: #0b0b0d; font-weight: 700; padding: 12px 22px; border-radius: 999px; text-decoration: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .pill { background: #c8f031; } }

footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--mist); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--mist); }
