/*
 * Eddish design tokens — the single source of truth for the values documented in
 * docs/14-branding.md §2. That doc shows this same block for readability; if the
 * two ever disagree, this file is the one that's actually shipped and correct.
 *
 * Apps import this file directly rather than hand-copying hex values, so there is
 * exactly one physical copy of the palette in the repo.
 */

:root {
  --green-50:  #EAF3DE;
  --green-100: #C0DD97;
  --green-200: #97C459;
  --green-400: #639922;
  --green-600: #3B6D11;
  --green-800: #27500A;
  --green-900: #173404;

  --gray-50:  #F1EFE8;
  --gray-100: #D3D1C7;
  --gray-200: #B4B2A9;
  --gray-400: #888780;
  --gray-600: #5F5E5A;
  --gray-800: #444441;
  --gray-900: #2C2C2A;

  /*
   * Not in docs/14-branding.md §2's original block — §1's "sole exception" to
   * green-only names danger/warning colours but never picks one. A warm,
   * brick-leaning red (not a pure/cool red) to stay in the same warm-neutral
   * family as the gray ramp rather than clashing against it. Sparingly, per §1:
   * form/validation errors only, never a second decorative accent.
   */
  --danger-50: #FBEAE7;
  --danger:    #A6392B;
  --danger-800: #6E2318;

  /* Warm ochre, hue 35°. Sits between the brick red and the yellow-green so it
     reads as neither — the hue is the measured optimum, not a taste call
     (docs/14-branding.md §8). Saturation held under --green-400's. Sparingly.
     §2 listed these; this file lagged it until 2026-10-22, so every
     var(--warning…) without a fallback resolved to nothing. */
  --warning-50: #FBF3E7;
  --warning:    #996A29;
  --warning-800: #6E4A18;

  --surface:     var(--gray-50);
  --surface-alt: #FFFFFF;
  --text:        var(--gray-900);
  --text-muted:  var(--gray-400);
  --border:      var(--gray-100);
  --accent:      var(--green-400);
  --accent-hover:var(--green-600);

  /*
   * Also not in §2's original block — the doc's §6 left the UI typeface open
   * ("Inter, Archivo, Chivo, IBM Plex Sans"). Inter, picked concretely rather
   * than left open (apps/account-portal/README.md records the reasoning).
   */
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="dark"] {
  --surface:     #1A1A18;
  --surface-alt: var(--gray-900);
  --text:        var(--gray-100);
  --text-muted:  var(--gray-400);
  --border:      var(--gray-800);
  --accent:      var(--green-200);
  --accent-hover:var(--green-100);
}

/* eddish.net. Follows docs/14-branding.md: two radii (square surfaces, round things you press),
   green the only saturated colour, warm neutrals, Inter for everything (no display face, no Poppins).
   The palette itself comes from docs/branding/tokens.css, which the build puts ahead of this file. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/inter-latin-800-normal.woff2') format('woff2'); }

:root {
  /* The site's button fill. White on --green-400 is about 3.4:1 and fails AA; this is about 4.9:1
     (marketing-site decisions). --green-400 stays on the logo border and accents. */
  --cta: #4E7D17;
  --cta-hover: var(--green-600);
  --ink: var(--gray-900);
  --body: var(--gray-800);
  --muted: var(--gray-600);
  --rule: var(--gray-100);
  --page: #F7F6F2;
  --panel: #FFFFFF;
  --panel-alt: #FBFAF7;
  --wash: #EEEDE7;
  --wrap: 1152px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cta); }
:focus-visible { outline: 3px solid var(--green-200); outline-offset: 2px; }

h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.25; }
p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--panel); padding: 8px 12px; }

.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--body); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }

/* ----------------------------------------------------------- buttons: fully round, the only round things */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1.0625rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-hover); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 44px; padding: 0 22px; font-size: 1rem; }
.on-dark .btn--outline { border-color: var(--gray-100); color: var(--gray-100); }
.on-dark .btn--outline:hover { background: var(--gray-100); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.arrow-link { font-weight: 600; }

/* ----------------------------------------------------------- header: wraps on a phone, no menu */

.site-header { border-bottom: 1px solid var(--rule); background: var(--page); }
.site-header__inner { display: flex; align-items: center; gap: 36px; min-height: 72px; }
.site-header__logo { flex: none; display: block; }
.site-header__logo img { height: 32px; width: auto; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--body); font-size: 1rem; padding: 6px 0; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 20px; flex: none; }
.link-quiet { text-decoration: none; }
.link-quiet:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .site-header__inner { flex-wrap: wrap; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
  .site-nav { order: 3; flex-basis: 100%; }
  .site-nav ul { gap: 2px 20px; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 520px) {
  .site-header__actions { order: 4; margin-left: 0; flex-basis: 100%; }
}

/* ----------------------------------------------------------- sections */

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--rule { border-top: 1px solid var(--rule); }
.section--panel { background: var(--panel-alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section__head { margin-bottom: 48px; max-width: 46rem; }
.section__head p { margin-top: 16px; }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }
.section__head--split h2 { max-width: 40rem; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section__head { margin-bottom: 32px; } }

.on-dark { background: var(--gray-900); color: var(--gray-100); }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a:hover { color: var(--green-200); }

/* ----------------------------------------------------------- hero */

.hero { padding: 80px 0 88px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 36px; }
.hero__note { margin-top: 20px; font-size: 0.9375rem; color: var(--muted); }
.hero--text { padding-bottom: 56px; }
.hero--text h1 { max-width: 16em; }
.hero__grid h1 { font-size: clamp(2.5rem, 4.6vw, 3.75rem); }
.hero--text .lead { max-width: 36em; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .hero { padding: 56px 0 64px; } }

/* A real screenshot, framed as a square panel. */
.shot { background: var(--panel); border: 1px solid var(--rule); box-shadow: 0 24px 48px -28px rgba(44, 44, 42, .35); overflow: hidden; }
.shot img { width: 100%; }
.shot--flat { box-shadow: none; }
figure { margin: 0; }
figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 10px; }

/* ----------------------------------------------------------- Harvest band and callout */

.band { padding: 72px 0; }
.band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.band h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 16px; }
.band p { color: var(--gray-100); max-width: 34em; }
.band .arrow-link { display: inline-block; margin-top: 24px; color: #fff; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.chips li { border: 1px solid var(--gray-400); border-radius: 999px; padding: 8px 16px; font-size: 0.9875rem; color: #fff; }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; gap: 32px; } }

.callout { display: flex; gap: 20px; align-items: flex-start; background: var(--gray-900); color: var(--gray-100); padding: 28px 32px; margin-top: 48px; }
.callout svg { flex: none; margin-top: 2px; }
.callout strong { display: block; color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 4px; }
@media (max-width: 600px) { .callout { padding: 22px 20px; gap: 14px; } }

/* ----------------------------------------------------------- features */

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.feature + .feature { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--rule); }
.feature--flip .feature__text { order: 2; }
.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 20px; }
.feature__text > p { color: var(--body); }
.points { list-style: none; padding: 0; margin: 0; }
.points li { border-top: 1px solid var(--rule); padding: 16px 0; }
.points li:last-child { border-bottom: 1px solid var(--rule); }
.points strong { color: var(--ink); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature--flip .feature__text { order: 0; }
  .feature + .feature { margin-top: 56px; padding-top: 56px; }
}

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--rule); }
.trio h3 { margin: 24px 0 10px; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; gap: 48px; margin-top: 56px; padding-top: 56px; } }

/* Currency and language tile: typographic, built from config; the same frame and shape as its neighbours'
   screenshots (780 × 680). */
.locale-tile { display: flex; flex-direction: column; justify-content: center; gap: 24px; aspect-ratio: 780 / 680; padding: 28px; background: var(--panel); border: 1px solid var(--rule); }
.locale-tile__codes { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.locale-tile__codes li { border: 1px solid var(--ink); border-radius: 999px; padding: 7px 0; text-align: center; font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.04em; color: var(--ink); }
.locale-tile__langs { display: flex; justify-content: space-between; gap: 8px; padding-top: 22px; border-top: 1px solid var(--rule); font-weight: 800; font-size: 1.125rem; color: var(--ink); white-space: nowrap; }

/* Connect and secure: a white band, four items in two columns. */
.connect { background: var(--panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.connect__head p { max-width: 28rem; margin: 0; }
.connect__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); column-gap: 56px; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.connect__grid li { padding: 32px 0; border-bottom: 1px solid var(--rule); }
.connect__icon { display: block; color: var(--ink); margin-bottom: 16px; }
.connect__grid h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.connect__grid .arrow-link { display: inline-block; margin-top: 12px; }
.connect__price { margin-top: 12px; font-weight: 600; font-size: 0.9375rem; color: var(--ink); }

/* Single sign-on add-on: words beside its table. */
.sso-split { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.sso-split__text { flex: 1 1 360px; }
.sso-split__text p { margin-top: 16px; }
.sso-split__table { flex: 1 1 480px; }

/* ----------------------------------------------------------- plans */

.plans { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); background: var(--panel); }
.plan { padding: 36px 32px; }
.plan + .plan { border-left: 1px solid var(--rule); background: var(--panel-alt); }
.plan__name { font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.plan__price { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.plan__price b { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.plan__sub { margin: 8px 0 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; }
.plan li { padding: 4px 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid var(--rule); } .plan { padding: 28px 22px; } }

/* ----------------------------------------------------------- calculator */

.calc { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); background: var(--panel); }
.calc__inputs, .calc__result { padding: 40px 36px; }
.calc__result { background: var(--panel-alt); border-left: 1px solid var(--rule); }
.calc h2 { font-size: 1.5rem; margin-bottom: 28px; letter-spacing: -0.02em; }
.calc fieldset { border: 0; margin: 0 0 32px; padding: 0; }
.calc legend, .calc__label { display: block; font-weight: 600; font-size: 0.9375rem; color: var(--ink); margin-bottom: 12px; padding: 0; }

/* Monthly | Yearly: a toggle, so round (docs/14-branding.md §1). Radio inputs underneath. */
.toggle { position: relative; display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle label { padding: 11px 20px; font-weight: 600; cursor: pointer; border-radius: 999px; color: var(--ink); }
.toggle input:checked + label { background: var(--ink); color: #fff; }
.toggle input:focus-visible + label { outline: 3px solid var(--green-200); outline-offset: -3px; }

.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--ink); background: transparent;
  font: inherit; font-size: 1.375rem; line-height: 1; color: var(--ink); cursor: pointer; flex: none;
}
.stepper button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper input {
  width: 120px; text-align: center; font: inherit; font-size: 2.5rem; font-weight: 800; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 0 0 6px;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__hint { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }

/* The single sign-on add-on: a square box (a surface, so radius 0), the whole label the target. */
.check { position: relative; display: flex; gap: 14px; align-items: flex-start; min-height: 44px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); cursor: pointer; }
.check input { position: absolute; top: 24px; left: 0; width: 22px; height: 22px; margin: 0; opacity: 0; }
.check__box { flex: none; position: relative; pointer-events: none; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--panel); }
.check input:checked + .check__box::after { content: ''; position: absolute; inset: 4px; background: var(--ink); }
.check input:focus-visible + .check__box { outline: 3px solid var(--green-200); outline-offset: 2px; }
.check__label { display: block; font-weight: 600; color: var(--ink); }
.check__hint { display: block; margin-top: 2px; font-size: 0.9375rem; color: var(--muted); }

.calc__total-label { font-weight: 600; font-size: 0.9375rem; color: var(--muted); }
.calc__total { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.calc__caption { margin: 6px 0 24px; color: var(--body); }
.calc dl { margin: 0 0 24px; border-top: 1px solid var(--rule); }
.calc dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 0.9875rem; }
.calc dd { margin: 0; text-align: right; white-space: nowrap; }
.calc dl div:last-child { font-weight: 700; color: var(--ink); border-bottom: 0; }
.calc__savings { background: var(--wash); padding: 14px 16px; font-size: 0.9375rem; margin-bottom: 24px; }
.calc__savings strong { color: var(--ink); }
@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc__result { border-left: 0; border-top: 1px solid var(--rule); }
  .calc__inputs, .calc__result { padding: 28px 20px; }
}

/* ----------------------------------------------------------- tables */

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 0.9875rem; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font-size: 0.875rem; font-weight: 600; color: var(--muted); background: var(--panel); }
tbody th { font-weight: 500; color: var(--ink); }
tbody tr:last-child > * { border-bottom: 0; }
/* The bracket the calculator is pricing, in the volume and add-on tables alike. */
tr.is-current > * { background: var(--wash); font-weight: 600; }
.num { text-align: right; white-space: nowrap; }
table, .calc__total, .calc dd, .stepper input, .plan__price { font-variant-numeric: tabular-nums slashed-zero; }
tbody th { white-space: nowrap; }
@media (max-width: 600px) { th, td { padding: 12px 10px; } table { font-size: 0.9375rem; } }

/* ----------------------------------------------------------- steps, grid of what comes across, FAQ */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 2px solid var(--ink); counter-reset: step; }
.steps li { padding-top: 28px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 2.25rem; font-weight: 800; color: var(--gray-400); letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1; }
.steps h3 { font-size: 1.125rem; margin-bottom: 8px; }
.steps p { color: var(--body); font-size: 0.9875rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 8px; } }

.cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); background: var(--panel); }
.cells > div { padding: 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cells h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.cells p { font-size: 0.9375rem; color: var(--body); }
@media (max-width: 900px) { .cells { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cells { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.faq > div { border-top: 1px solid var(--rule); padding: 24px 0; }
.faq > div:last-child { border-bottom: 1px solid var(--rule); }
.faq h3 { font-size: 1.125rem; margin-bottom: 8px; }
.prose p + p { margin-top: 16px; }

/* ----------------------------------------------------------- closing call to action */

.cta { text-align: center; }
.cta h2 { max-width: 18em; margin: 0 auto; }
.cta p { margin: 20px auto 0; max-width: 32em; }
.cta .actions { justify-content: center; margin-top: 32px; }

/* ----------------------------------------------------------- footer */

.site-footer { background: var(--gray-900); color: var(--gray-100); padding: 56px 0 0; font-size: 0.9375rem; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 40px; }
.site-footer__brand img { height: 28px; width: auto; }
.site-footer__brand p { margin-top: 16px; max-width: 18em; color: var(--gray-100); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer h2 { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: var(--gray-100); }
.site-footer a:hover { color: #fff; }
/* The bottom row recedes behind the columns above it: smaller, and muted rather than link-coloured. */
.site-footer__legal { border-top: 1px solid var(--gray-800); padding-top: 20px; padding-bottom: 28px; color: var(--gray-400); font-size: 0.8125rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer .site-footer__legal a { color: var(--gray-200); }
.site-footer .site-footer__legal a:hover { color: #fff; }
.site-footer__policies { display: flex; flex-wrap: wrap; }
.site-footer .site-footer__policies li + li { margin-top: 0; }
.site-footer__policies li + li::before { content: '·'; padding: 0 10px; color: var(--gray-400); }
@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ----------------------------------------------------------- legal documents (docs/legal, rendered as written) */

.legal { padding: 72px 0 96px; }
.legal__body { max-width: calc(46rem + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; margin: 48px 0 16px; scroll-margin-top: 24px; }
.legal p, .legal ul, .legal ol { margin: 0 0 16px; }
.legal ul, .legal ol { padding-left: 1.5em; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--cta); overflow-wrap: anywhere; }
.legal a:hover { color: var(--cta-hover); }
.legal .table-wrap { margin: 8px 0 24px; }
/* Narrow screens scroll the table sideways inside its frame rather than crushing four columns into 340px. */
.legal table { min-width: 36rem; font-size: 0.9375rem; }
.legal thead th { white-space: nowrap; }
@media (max-width: 600px) { .legal { padding: 48px 0 64px; } .legal h2 { margin-top: 40px; } }

.section--calc { padding: 0 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
