/* Shared styles for the standing pages — privacy, terms, support, 404.
   External rather than inline on purpose: _headers applies one
   Content-Security-Policy to every path, and its style hashes are computed
   from index.html alone, so an inline <style> here would be blocked. A
   stylesheet served from the same origin is covered by style-src 'self'. */

:root {
  /* the landing page's palette: cold water, sailcloth, hull paint */
  --abyss: #0b1a20;
  --ink: #112229;
  --ink-2: #44555c;
  --ink-3: #536067;
  --mist: #f3efe5;
  --mist-2: #e8e2d2;
  --tide: #2a6f80;
  --rule: rgba(11, 26, 32, 0.12);
  --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --font-brand: "Barlow Condensed", "Avenir Next Condensed", "DIN Condensed", "Roboto Condensed", "Arial Narrow", var(--font);
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.wrap { width: min(68ch, 100% - 40px); margin-inline: auto; }

/* Header */
.site-head {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  margin-bottom: 48px;
}
.site-head .wrap { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.wordmark {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-brand);
  font-weight: 800;
  font-style: italic;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--abyss);
  text-decoration: none;
}
.wordmark img { width: 22px; height: 22px; flex: none; }
.site-head nav { margin-left: auto; display: flex; gap: 18px; }
.site-head nav a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { color: var(--ink); }

/* Type */
h1 {
  font-family: var(--font-brand);
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
  margin: 0 0 10px;
}
h2 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 44px 0 12px;
}
h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
p, li { color: var(--ink-2); }
p { margin: 0 0 16px; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--tide); }
a:hover { color: var(--abyss); }
.updated { color: var(--ink-3); font-size: 14.5px; margin-bottom: 40px; }

/* A short answer before the detail */
.lede {
  background: var(--mist-2);
  border-left: 3px solid var(--tide);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 0 0 36px;
}
.lede p { margin: 0; color: var(--ink); font-size: 17.5px; }
.lede p + p { margin-top: 10px; }

/* The safety notice on /terms — this one should stop the eye */
.notice {
  background: #fdeceb;
  border-left: 3px solid #d64545;
  border-radius: 0 10px 10px 0;
  padding: 20px 22px;
  margin: 0 0 36px;
}
.notice h2 { margin: 0 0 8px; font-size: 18px; color: #a32b2b; }
.notice p { margin: 0 0 10px; color: #6d2222; }
.notice p:last-child { margin-bottom: 0; }

ul { padding-left: 20px; margin: 0 0 16px; }
li { margin-bottom: 8px; }

table { border-collapse: collapse; width: 100%; margin: 0 0 20px; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--ink); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
td { color: var(--ink-2); }

code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--mist-2); padding: 1px 5px; border-radius: 4px; }

/* Footer */
.site-foot {
  margin-top: 72px;
  border-top: 1px solid var(--rule);
  padding: 28px 0 56px;
  font-size: 14.5px;
  color: var(--ink-3);
}
.site-foot .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: baseline; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.site-foot .spacer { margin-left: auto; }

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .site-head { margin-bottom: 34px; padding: 18px 0; }
  .site-head nav { margin-left: 0; width: 100%; gap: 14px; }
  table, thead, tbody, tr, th, td { display: block; }
  th { border: 0; padding-bottom: 2px; }
  td { padding-top: 2px; border: 0; }
  tr { border-bottom: 1px solid var(--rule); padding: 12px 0; }
}
