:root {
  --paper: #edf3f0;
  --paper-2: #e1ebe6;
  --ink: #0f2b23;
  --ink-soft: #3d5a51;
  --tide: #1e6a52;
  --tide-deep: #134636;
  --foam: #bfe8d5;
  --foam-soft: #9cc9b5;
  --buoy: #f2c14e;
  --buoy-hover: #f7d27a;
  --rule: #c5d6ce;
  --rule-dark: #2c5c4c;

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }

:focus-visible { outline: 3px solid var(--buoy); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--buoy); color: var(--ink); }
html { accent-color: var(--tide); caret-color: var(--tide); }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 6px;
}
.skip:focus { top: 1rem; }

/* ---------- Type ---------- */

.display-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  line-height: .95;
  letter-spacing: -.005em;
  text-transform: uppercase;
  max-width: 16ch;
  text-wrap: balance;
}

.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-sub { max-width: 38rem; font-size: 1.1875rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: .9375rem; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--tide); }
.btn-buoy { background: var(--buoy); color: var(--ink); }
.btn-buoy:hover { background: var(--buoy-hover); }
.btn-ghost-light { border-color: var(--foam-soft); color: var(--paper); }
.btn-ghost-light:hover { border-color: var(--paper); background: rgb(237 243 240 / .08); }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(237 243 240 / .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner { display: flex; align-items: center; gap: 2rem; min-height: 4rem; }

.wordmark { display: inline-flex; text-decoration: none; color: var(--ink); }
.wordmark-logo { height: 2rem; width: auto; aspect-ratio: 970 / 184; fill: currentColor; }
.wordmark-heart { fill: var(--tide); }
.wordmark-light { color: var(--paper); }
.wordmark-light .wordmark-heart { fill: var(--buoy); }

.nav-links { display: flex; gap: 1.75rem; margin-right: auto; }
.nav-links a, .nav-signin { text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }
.nav-links a:hover, .nav-signin:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 1.25rem; white-space: nowrap; }

@media (max-width: 52rem) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 26rem) {
  .nav-inner { gap: 1rem; }
  .nav .wordmark-logo { height: 1.55rem; }
  .nav-actions { gap: .9rem; }
}

/* ---------- Hero: the tide ---------- */

.hero-stage { position: relative; overflow: hidden; }

.hero-dry, .hero-wet .hero-dry { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.25rem, 15.5vw, 14.5rem);
  line-height: .84;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-line { display: block; }
.hero-accent { color: var(--tide); }

/* The water. main.js fills it with a clone of .hero-dry and animates its clip-path.
   Before JS runs (or without JS) it sits flush with the bottom of the stage. */
.hero-wet {
  position: absolute; inset: 0;
  background: var(--tide);
  pointer-events: none;
  clip-path: inset(100% 0 0 0);
}
.hero-wet .hero-title { color: var(--paper); }
.hero-wet .hero-accent { color: var(--buoy); }
.hero-wet:empty { display: none; }

.hero-below { background: var(--tide); color: var(--paper); margin-top: -1px; }
.hero-below-inner { padding-top: .5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2rem; }
.hero-lede { font-size: clamp(1.1875rem, 2.1vw, 1.5rem); line-height: 1.5; max-width: 40rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .875rem; }
.hero-fine { color: var(--foam); font-size: .9375rem; }

/* ---------- Product screenshots ---------- */

.shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .875rem;
  border: 1px solid var(--rule);
  background: #fff;
  box-shadow: 0 1.5rem 3rem -1.5rem rgb(15 43 35 / .35), 0 .25rem .75rem -.25rem rgb(15 43 35 / .12);
}
.shot-narrow { max-width: 28rem; }

/* The hero shot straddles the tide and the paper below it. */
.hero-shot { background: linear-gradient(var(--tide) 45%, var(--paper) 45%); }
.hero-shot .shot { border-color: rgb(15 43 35 / .2); }

/* ---------- Stack ---------- */

.stack { padding-block: var(--section-y); }
.stack-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.stack-copy { display: grid; gap: 1.5rem; }
.stack-copy p { max-width: 34rem; color: var(--ink-soft); font-size: 1.125rem; }
.stack-copy p:last-child { color: var(--ink); font-weight: 600; }

.stack-list { border-top: 2px solid var(--ink); }
.stack-list li {
  padding: .8rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.125rem;
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: var(--tide);
  text-decoration-thickness: 2px;
}
.stack-list .stack-answer {
  text-decoration: none;
  border-bottom: 0;
  padding-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--tide);
}

@media (max-width: 52rem) { .stack-inner { grid-template-columns: 1fr; } }

/* ---------- Platform pillars ---------- */

.platform { padding-bottom: var(--section-y); }

.pillar {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 2px solid var(--ink);
}
.pillar-verb {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: .8;
  text-transform: uppercase;
  color: var(--tide);
  position: sticky; top: 6rem; align-self: start;
}
.pillar-body { display: grid; gap: 1.75rem; }
.pillar-claim {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
  max-width: 30ch;
  text-wrap: balance;
}
.pillar-list { display: grid; gap: 1.1rem; max-width: 40rem; }
.pillar-list li { padding-left: 1.25rem; position: relative; color: var(--ink-soft); }
.pillar-list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: .5rem; height: 2px; background: var(--tide);
}
.pillar-list strong { color: var(--ink); font-weight: 700; }

/* One record, one timeline: the platform diagram. Positions are percentages of
   the 600x520 SVG viewBox so the nodes stay on the ends of their lines. */
.section-head-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.section-head-split > :not(.orbit) { grid-column: 1; }
.section-head-split > h2 { align-self: end; }
.section-head-split > .section-sub { align-self: start; }
.section-head-split .orbit { grid-column: 2; grid-row: 1 / span 2; }

.orbit { position: relative; aspect-ratio: 600 / 520; width: 100%; max-width: 36rem; justify-self: end; container-type: inline-size; }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-lines path { fill: none; stroke: var(--rule); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; transition: stroke .3s ease; }
.orbit-lines path.is-active { stroke: var(--tide); stroke-dasharray: none; }
.orbit-pulse { fill: var(--buoy); stroke: var(--tide); stroke-width: 3; opacity: 0; }
.orbit-pulse.is-moving { opacity: 1; }

.orbit-node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  padding: .35em .9em; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(.8rem, 3.2cqi, 1.15rem); line-height: 1.1;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.orbit-node.is-active { background: var(--tide); border-color: var(--tide); color: var(--paper); }

.orbit-card {
  position: absolute; left: 50%; top: 51.9%; transform: translate(-50%, -50%);
  width: 54%; padding: 4.5cqi 4.5cqi 3.5cqi;
  background: #fff; border: 1px solid var(--rule); border-radius: .875rem;
  box-shadow: 0 1.5rem 3rem -1.5rem rgb(15 43 35 / .35), 0 .25rem .75rem -.25rem rgb(15 43 35 / .12);
  font-size: clamp(.7rem, 2.35cqi, .9rem); line-height: 1.35;
  transition: box-shadow .4s ease, border-color .4s ease;
}
.orbit-card.is-hit { border-color: var(--tide); box-shadow: 0 0 0 4px var(--foam), 0 1.5rem 3rem -1.5rem rgb(15 43 35 / .35); }
.orbit-who { display: flex; align-items: center; gap: .6em; }
.orbit-who strong { display: block; font-size: 1.15em; }
.orbit-avatar {
  flex: none; display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%;
  background: var(--foam); color: var(--tide-deep); font-weight: 800; font-size: .95em;
}
.orbit-meta { color: var(--ink-soft); }
.orbit-meta b { color: var(--ink); font-variant-numeric: tabular-nums; }
.orbit-label {
  margin: 1em 0 .5em; padding-top: .8em; border-top: 1px solid var(--rule);
  font-weight: 700; color: var(--ink-soft); font-size: .9em;
}
.orbit-feed { display: grid; gap: .45em; overflow: hidden; padding: 0; list-style: none; }
.orbit-feed li { display: flex; align-items: baseline; gap: .5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.orbit-feed li.is-new { animation: orbit-in .5s cubic-bezier(.2, .8, .2, 1); }
.orbit-tag {
  flex: none; min-width: 3.9em; padding: .1em .45em; border-radius: 4px; text-align: center;
  background: var(--paper-2); color: var(--tide-deep); font-weight: 700; font-size: .85em;
}
@keyframes orbit-in { from { opacity: 0; transform: translateY(-.6em); } }

@media (max-width: 52rem) {
  .section-head-split { grid-template-columns: 1fr; }
  .section-head-split .orbit { grid-column: 1; grid-row: auto; justify-self: center; margin-top: 1rem; }
  .orbit-card { width: 60%; }
}

@media (max-width: 52rem) {
  .pillar { grid-template-columns: 1fr; }
  .pillar-verb { position: static; }
}

/* ---------- AI ---------- */

.ai { background: var(--tide-deep); color: var(--paper); padding-block: var(--section-y); }
.ai-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.ai-copy { display: grid; gap: 1.5rem; }
.ai-copy > p { color: var(--foam); font-size: 1.125rem; max-width: 34rem; }
.ai-points { display: grid; gap: .75rem; }
.ai-points li { padding-left: 1.25rem; position: relative; }
.ai-points li::before { content: ""; position: absolute; left: 0; top: .72em; width: .5rem; height: 2px; background: var(--buoy); }

.ai-demo {
  background: var(--paper);
  color: var(--ink);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid; gap: 1.25rem;
  box-shadow: 0 1.5rem 3rem -1rem rgb(5 25 18 / .5);
}
.ai-demo-q {
  justify-self: end;
  max-width: 85%;
  background: var(--tide);
  color: var(--paper);
  padding: .75rem 1rem;
  border-radius: 1rem 1rem .25rem 1rem;
  font-weight: 500;
}
.ai-demo-a { display: grid; gap: 1rem; }
.ai-demo-a > p { font-weight: 600; }
.ai-table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.ai-table th { text-align: left; font-weight: 600; color: var(--ink-soft); font-size: .8125rem; padding: 0 0 .4rem; border-bottom: 1px solid var(--rule); }
.ai-table td { padding: .5rem 0; border-bottom: 1px solid var(--paper-2); }
.ai-table .num { text-align: right; }
.ai-demo-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-block; padding: .4rem .8rem; border-radius: 999px;
  border: 1.5px solid var(--tide); color: var(--tide); font-weight: 600; font-size: .875rem;
}
.ai-demo figcaption { font-size: .8125rem; color: var(--ink-soft); }

@media (max-width: 52rem) { .ai-inner { grid-template-columns: 1fr; } }

/* ---------- Trust ---------- */

.trust { padding-block: var(--section-y); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.trust-grid > div { padding-block: 1.75rem; border-top: 2px solid var(--ink); }
.trust-grid dt { font-weight: 700; font-size: 1.25rem; margin-bottom: .5rem; }
.trust-grid dd { color: var(--ink-soft); max-width: 32rem; }

.devs {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper-2);
  border-radius: 1rem;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 3rem; align-items: baseline;
}
.devs-title { font-family: var(--font-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.devs p { color: var(--ink-soft); max-width: 40rem; }

@media (max-width: 52rem) {
  .trust-grid, .devs { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */

.pricing { padding-block: var(--section-y); background: var(--paper-2); }

.calc {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 1.25rem;
  overflow: hidden;
}
.calc-input { padding: clamp(1.5rem, 4vw, 3rem); display: grid; gap: 1rem; align-content: start; }
.calc-label { font-weight: 700; font-size: 1.125rem; }
.calc-records {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.5rem, 8vw, 6rem); line-height: .9; color: var(--tide);
  font-variant-numeric: tabular-nums;
}
.calc-hint { color: var(--ink-soft); font-size: .9375rem; max-width: 30rem; }

.calc input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2.5rem; background: transparent; cursor: pointer; margin: 0;
}
.calc input[type="range"]::-webkit-slider-runnable-track {
  height: .5rem; border-radius: 999px;
  background: linear-gradient(to right, var(--tide) var(--fill, 43%), var(--rule) var(--fill, 43%));
}
.calc input[type="range"]::-moz-range-track { height: .5rem; border-radius: 999px; background: var(--rule); }
.calc input[type="range"]::-moz-range-progress { height: .5rem; border-radius: 999px; background: var(--tide); }
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 1.75rem; height: 1.75rem; margin-top: -.625rem; border-radius: 50%;
  background: var(--buoy); border: 3px solid var(--ink);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--buoy); border: 3px solid var(--ink);
}
.calc input[type="range"]:focus-visible { outline: none; }
.calc input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--tide); }
.calc input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--tide); }

.calc-scale { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; margin-top: -.25rem; }

.calc-result {
  background: var(--tide); color: var(--paper);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid; gap: .75rem; align-content: center; justify-items: start;
}
.calc-price { font-family: var(--font-display); font-weight: 900; font-size: clamp(4rem, 9vw, 6.5rem); line-height: .9; font-variant-numeric: tabular-nums; }
.calc-per { font-family: var(--font-body); font-weight: 600; font-size: 1.125rem; margin-left: .35rem; color: var(--foam); }
.calc-annual { color: var(--foam); }
.calc-unit { font-weight: 600; margin-bottom: 1rem; }

@media (max-width: 52rem) { .calc { grid-template-columns: 1fr; } }

.price-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.price-h { font-weight: 700; font-size: 1.25rem; margin-bottom: 1.25rem; }

.includes { display: grid; gap: .8rem; }
.includes li { padding-left: 1.75rem; position: relative; }
.includes li::before {
  content: ""; position: absolute; left: .1rem; top: .35em;
  width: .55rem; height: .95rem;
  border: solid var(--tide); border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}

.price-table, .versus-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .versus-table thead th { text-align: left; font-size: .875rem; font-weight: 600; color: var(--ink-soft); padding: 0 0 .6rem; border-bottom: 2px solid var(--ink); }
.price-table td { padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.price-table .num { text-align: right; padding-left: 1rem; }
.price-table tr.is-current td { color: var(--tide); font-weight: 700; }

.versus { margin-top: clamp(3rem, 6vw, 4.5rem); }
.versus-table th[scope="row"] { text-align: left; font-weight: 600; padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--rule); width: 28%; }
.versus-table td { padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--rule); color: var(--ink-soft); }
.versus-table td:last-child { color: var(--tide); font-weight: 700; }

@media (max-width: 52rem) {
  .price-detail { grid-template-columns: 1fr; }
  .versus-table, .versus-table tbody, .versus-table tr, .versus-table th, .versus-table td { display: block; width: auto; }
  .versus-table thead { display: none; }
  .versus-table tr { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
  .versus-table th[scope="row"], .versus-table td { border: 0; padding: .1rem 0; width: auto; }
  .versus-table td:first-of-type::before { content: "Usually: "; }
  .versus-table td:last-child::before { content: "CauseTide: "; color: var(--ink); font-weight: 600; }
}

/* ---------- Closing ---------- */

.closing { position: relative; background: var(--tide); color: var(--paper); margin-top: 3rem; }
.closing-wave { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: 3rem; fill: var(--tide); }
.closing-inner { padding-block: clamp(4rem, 9vw, 7rem); display: grid; gap: 1.75rem; }
.closing-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 13vw, 11rem); line-height: .82; text-transform: uppercase;
}
.closing-inner > p { max-width: 38rem; font-size: 1.25rem; color: var(--foam); }

/* ---------- Footer ---------- */

.footer { background: var(--tide-deep); color: var(--foam); padding-block: 3rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: start; }
.footer-tag { margin-top: .5rem; font-size: .9375rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: center; }
.footer-links a { text-decoration: none; font-size: .9375rem; }
.footer-links a:hover { color: var(--paper); text-decoration: underline; }
.footer-legal { font-size: .875rem; }

@media (max-width: 52rem) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* ---------- Legal pages (/terms/, /privacy-policy/) ---------- */

.legal main { min-width: 0; }
.legal-wrap { padding-block: clamp(2rem, 5vw, 3.5rem) var(--section-y); }
.legal-doc { max-width: 70ch; min-width: 0; overflow-wrap: break-word; }
.legal-doc h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.5rem, 8vw, 4.5rem); line-height: .95; overflow-wrap: anywhere; }
.legal-meta { margin-top: 1rem; color: var(--ink-soft); font-size: .9375rem; }
.legal-intro { margin-top: 1.5rem; font-size: 1.125rem; }
.legal-toc { margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--paper-2); border: 1px solid var(--rule); border-radius: .75rem; }
.legal-toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.legal-toc ol { margin: .75rem 0 0; padding-left: 1.5em; columns: 2 16rem; column-gap: 2rem; }
.legal-toc li { break-inside: avoid; padding-block: .15rem; }
.legal-toc a { color: var(--tide-deep); display: inline-block; min-height: 1.5rem; }
.legal-body { line-height: 1.7; }
.legal-body h2 { margin-top: 2.5rem; font-size: clamp(1.375rem, 3vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; scroll-margin-top: 5.5rem; }
.legal-body h3 { margin-top: 1.75rem; font-size: 1.1875rem; line-height: 1.3; scroll-margin-top: 5.5rem; }
.legal-body p, .legal-body ul, .legal-body ol, .legal-body .legal-table { margin-top: 1rem; }
.legal-body ul, .legal-body ol { padding-left: 1.4em; }
.legal-body ul { list-style: disc; }
.legal-body li + li { margin-top: .4em; }
.legal-body li::marker { color: var(--tide); }
.legal-body a { color: var(--tide); }
.legal-body a:hover { color: var(--tide-deep); }
.legal-body code { font-size: .9em; background: var(--paper-2); padding: .05em .3em; border-radius: .25rem; overflow-wrap: anywhere; }
.legal-body address { font-style: normal; margin-top: 1rem; }
.legal-caps { text-transform: uppercase; font-size: .9375rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--rule); }
.legal-table thead th { border-bottom: 2px solid var(--rule-dark); }
@media (max-width: 40rem) {
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table tr { padding-block: .5rem; border-bottom: 1px solid var(--rule); }
  .legal-table th, .legal-table td { border: 0; padding: .2rem 0; }
  .legal-table td::before { content: attr(data-label) ": "; font-weight: 600; }
}
