/* Shared by every page that is not the homepage: privacy, terms, 404.
   Tokens and rules are copied from public/index.html (Evergreen, light register,
   which is all the homepage ships). If the homepage palette moves, move these with it. */
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/raleway-latin-var.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/nunito-latin-var.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --accent: #344c3d; --accent-pressed: #263a2e; --accent-ink: #344c3d; --accent-on: #ffffff;
  --accent-line-2: rgba(52,76,61,.35);
  --ground: #f4f6f2;
  --ink: #0b0b0c; --ink-2: #55555c; --ink-3: #6e6e76;
  --hairline: rgba(11,11,12,.06); --hairline-strong: rgba(11,11,12,.08);
  --logo-tile: #344c3d; --logo-paper: #f4f6f2; --logo-sage: #9db29a;
  --r-control: 9px;
  --t-button: 13.5px;
  --font-display: "Raleway", system-ui, sans-serif;
  --font-sans: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--font-sans); font-size: 15px; color: var(--ink); background: var(--ground); -webkit-font-smoothing: antialiased; }
main { flex: 1; }
h1, h2, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 4px; }

.sp-wrap { width: min(1140px, calc(100% - 64px)); margin: 0 auto; }
@media (max-width: 640px) { .sp-wrap { width: calc(100% - 40px); } }

/* Nav + footer: the homepage's, minus the scroll choreography */
.sp-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(10px); box-shadow: inset 0 -1px 0 var(--hairline); }
.sp-nav .sp-wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.lockup svg { width: 26px; height: 26px; }
.lockup sup { font-size: 10px; font-weight: 800; color: var(--accent-ink); margin-left: -6px; vertical-align: super; }
.sp-nav nav { display: flex; gap: 22px; margin-left: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sp-nav nav a:hover { color: var(--ink); }
.sp-nav .cta { margin-left: auto; display: flex; gap: 8px; }
@media (max-width: 900px) { .sp-nav nav { display: none; } }
@media (max-width: 760px) { .sp-nav .cta .btn { height: 34px; padding: 0 12px; font-size: 13px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: var(--r-control); font-size: var(--t-button); font-weight: 700; white-space: nowrap; transition: background-color .2s, transform .2s; }
.btn.solid { background: var(--accent); color: var(--accent-on); }
.btn.solid:hover { background: var(--accent-pressed); transform: translateY(-1px); }
.btn.lg { height: 40px; padding: 0 18px; font-size: 14px; }

.sp-footer { padding: 32px 0 48px; font-size: 12.5px; color: var(--ink-3); box-shadow: inset 0 1px 0 var(--hairline); margin-top: 24px; }
.sp-footer .sp-wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.sp-footer .lockup { font-size: 15px; }
.sp-footer a:hover { color: var(--ink); }
.sp-footer .addr { flex-basis: 100%; }

/* Legal document: one reading column, hairline structure */
.legal-hero, .legal-body { width: min(760px, calc(100% - 64px)); margin: 0 auto; }
@media (max-width: 640px) { .legal-hero, .legal-body { width: calc(100% - 40px); } }
.legal-hero { padding: 72px 0 28px; }
.legal-hero h1 { font-family: var(--font-display); font-weight: 200; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.03em; line-height: 1.06; color: var(--ink); text-wrap: balance; }
.legal-meta { font-size: 13px; color: var(--ink-2); margin-top: 16px; }
.legal-body { padding: 8px 0 72px; }
.legal-body > p, .legal-body li { max-width: 72ch; }
.legal-body > p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 18px; text-wrap: pretty; }
.legal-body > p:first-of-type { font-size: 17px; color: var(--ink); }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-body a { color: var(--accent-ink); font-weight: 600; box-shadow: 0 1px 0 var(--accent-line-2); transition: box-shadow .2s; }
.legal-body a:hover { box-shadow: 0 1px 0 var(--accent-ink); }
.legal-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); margin: 44px 0 14px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--hairline-strong); }
.legal-body ul { list-style: none; padding: 0; margin-bottom: 18px; }
.legal-body li { position: relative; padding: 6px 0 6px 20px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal-body li::before { content: ""; position: absolute; left: 0; top: 16px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.legal-body li strong { color: var(--ink); }

/* 404 */
.nf { display: grid; place-items: center; padding: 72px 0; }
.nf .box { width: min(520px, calc(100% - 40px)); text-align: center; }
.nf .code { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.nf h1 { font-family: var(--font-display); font-weight: 200; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.03em; line-height: 1.06; color: var(--ink); text-wrap: balance; margin: 16px 0 14px; }
.nf p { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 42ch; margin: 0 auto 28px; text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) { .btn, .legal-body a { transition: none; } .btn.solid:hover { transform: none; } }
