/* The Harbour look over the article and legal pages. Live since 28 Nov
   2026 (founder: "switch the website to the new Harbour site now"):
   server/harbour_site.py links this file last in <head> and adds
   class="harbour" to <body> on every public page that is not already a
   Harbour page of its own (the SEO articles, the broker settings guides,
   privacy and terms, in all thirteen languages). The admin-only previews
   at admin.useblank.ai/preview/site/<page> use it the same way. Same
   palette and faces as the desktop's Harbour (desktop/looks/palettes.py)
   and the home page. The file keeps its name so cached pages and the
   previews keep working.

   This is a full article template, not a recolour. Every rule works on
   the markup the pages already have, so the English pages and all twelve
   translated copies take the same design with no change to their HTML:

   - a shared 72rem frame; from 64rem wide each section turns into a side
     heading (sticky) beside a reading column held to about 70 characters;
   - a hero set as a headline over the harbour at night, the lighthouse
     at its right edge, the standfirst in the reading column;
   - feature grids read three ways by their content: numbered cards as a
     ruled list, cards whose heading is a link as next-read rows, cards
     with no number as an open question-and-answer list;
   - comparison tables as a raised logbook panel, blank's own row lit;
     on a phone a three-column table becomes one block per row;
   - diagrams on a panel, captions quiet; point lists, plain lists,
     disclosures, the closing strip over the water, and a real footer.

   Lower-case labels in the markup (buttons, footer links, the badge)
   take a capital first letter here, so the text itself is unchanged. */

body.harbour {
  --night: #000000; --sea: #03140c; --veil: #021a10; --stone: #141414; --rim: #2a2a2a;
  --label: #b3b3b3; --quiet: #8a8a8a; --light: #00ff87;
  --line: #161616; --panel-rim: #1f1f1f;
  --accent: #00ff87; --bg-0: #000; --fg-0: #fff; --fg-1: #b3b3b3; --fg-2: #8a8a8a;
  --font-sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: min(72rem, 100% - 2.5rem);
  --side: 17rem;
  --gutter: clamp(3rem, 5vw, 5.5rem);
  --measure: 38rem;
  /* The two drawn scenes, shared with the redesigned legal, update and coming-soon pages. */
  --hb-scene: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 300' preserveAspectRatio='xMaxYMax slice'%3E %3Cdefs%3E %3ClinearGradient id='b' x1='1' x2='0'%3E%3Cstop offset='0' stop-color='%2300ff87' stop-opacity='.22'/%3E%3Cstop offset='1' stop-color='%2300ff87' stop-opacity='0'/%3E%3C/linearGradient%3E %3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%2300ff87' stop-opacity='.85'/%3E%3Cstop offset='1' stop-color='%2300ff87' stop-opacity='0'/%3E%3C/radialGradient%3E %3ClinearGradient id='w' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2303140c'/%3E%3Cstop offset='1' stop-color='%23000'/%3E%3C/linearGradient%3E %3C/defs%3E %3Cg fill='%23fff' opacity='.45'%3E%3Ccircle cx='140' cy='40' r='1'/%3E%3Ccircle cx='420' cy='92' r='.8'/%3E%3Ccircle cx='610' cy='28' r='1.1'/%3E%3Ccircle cx='860' cy='70' r='.7'/%3E%3Ccircle cx='1040' cy='34' r='1'/%3E%3Ccircle cx='1180' cy='120' r='.8'/%3E%3Ccircle cx='300' cy='130' r='.6'/%3E%3C/g%3E %3Cpolygon points='1290,96 -40,40 -40,196' fill='url(%23b)'/%3E %3Cpath d='M0 196 L200 186 L380 192 L560 182 L760 190 L940 180 L1120 188 L1440 182 L1440 204 L0 204Z' fill='%2306080a'/%3E %3Crect y='202' width='1440' height='98' fill='url(%23w)'/%3E %3Cg stroke='%230b2b1c' stroke-width='1.5'%3E%3Cpath d='M90 226h120M380 240h80M660 222h150M930 246h100M200 268h160M560 276h110M820 266h170'/%3E%3C/g%3E %3Cpath d='M1278 206h24l26 94h-76z' fill='%2300ff87' opacity='.05'/%3E %3Cg data-lighthouse='1290 96 1.14 c'%3E%3Cg transform='translate(1290 96) scale(1.14)' stroke-width='1'%3E%3Cdefs%3E%3ClinearGradient id='lhcs' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%232b2b2b'/%3E%3Cstop offset='.45' stop-color='%231d1d1d'/%3E%3Cstop offset='1' stop-color='%230c0c0c'/%3E%3C/linearGradient%3E%3ClinearGradient id='lhcb' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23111'/%3E%3Cstop offset='1' stop-color='%23050505'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='-35,124 -32,116 -26,110 -17,108 -21,116 -24,124' fill='%23262626'/%3E%3Cpolygon points='-24,124 -21,116 -17,108 -11,114 -12,124' fill='%23121212'/%3E%3Cpolygon points='-35,124 -32,116 -26,110 -17,108 -11,114 -12,124' fill='none' stroke='rgba(255,255,255,0.16)'/%3E%3Cpolygon points='9,124 11,113 19,108 22,116 20,124' fill='%23202020'/%3E%3Cpolygon points='20,124 22,116 19,108 28,111 34,117 38,124' fill='%230d0d0d'/%3E%3Cpolygon points='9,124 11,113 19,108 28,111 34,117 38,124' fill='none' stroke='rgba(255,255,255,0.16)'/%3E%3Cpolygon points='-11,106 11,106 15,110 -14,110' fill='%232a2a2a'/%3E%3Cpolygon points='-21,124 -18,112 -11,106 -14,110 0,110 -2,124' fill='%231c1c1c'/%3E%3Cpolygon points='-2,124 0,110 15,110 11,106 19,112 23,124' fill='%230e0e0e'/%3E%3Cpolygon points='-21,124 -18,112 -11,106 11,106 19,112 23,124' fill='none' stroke='rgba(255,255,255,0.16)'/%3E%3Cpolygon points='-29,124 -27,119 -21,117 -22,124' fill='%23222222'/%3E%3Cpolygon points='-22,124 -21,117 -17,120 -16,124' fill='%23111111'/%3E%3Cpolygon points='-29,124 -27,119 -21,117 -17,120 -16,124' fill='none' stroke='rgba(255,255,255,0.16)'/%3E%3Cpolygon points='13,124 16,119 22,118 20,124' fill='%231a1a1a'/%3E%3Cpolygon points='20,124 22,118 26,121 27,124' fill='%230b0b0b'/%3E%3Cpolygon points='13,124 16,119 22,118 26,121 27,124' fill='none' stroke='rgba(255,255,255,0.16)'/%3E%3Cpolygon points='-11,107 -6.5,16 6.5,16 11,107' fill='url(%23lhcs)'/%3E%3Cpolygon points='-9.65,79.7 -9.02,66.96 9.02,66.96 9.65,79.7' fill='url(%23lhcb)'/%3E%3Cpolygon points='-8.21,50.58 -7.58,37.84 7.58,37.84 8.21,50.58' fill='url(%23lhcb)'/%3E%3Cpolygon points='-11,107 -6.5,16 6.5,16 11,107' fill='none' stroke='rgba(255,255,255,.24)'/%3E%3Crect x='-13.5' y='104' width='27' height='4' fill='%231a1a1a' stroke='rgba(255,255,255,.24)'/%3E%3Cpath d='M-2.6 104V97Q0 93.5 2.6 97V104Z' fill='%23050505'/%3E%3Crect x='-1.4' y='55' width='2.8' height='4.5' fill='%23050505'/%3E%3Crect x='-11' y='13' width='22' height='3' fill='%231f1f1f' stroke='rgba(255,255,255,.24)'/%3E%3Cpath d='M-10.5 7.5H10.5M-10.5 7.5V13M-7 7.5V13M-3.5 7.5V13M0 7.5V13M3.5 7.5V13M7 7.5V13M10.5 7.5V13' stroke='rgba(255,255,255,.2)' stroke-width='.8'/%3E%3Crect x='-6.5' y='-10' width='13' height='20' fill='%230a0d0c' stroke='rgba(255,255,255,.24)'/%3E%3Cpath d='M-2.21 -10V10M2.21 -10V10M-6.5 6H6.5' stroke='rgba(255,255,255,.22)' stroke-width='.8'/%3E%3Cpath d='M-8.5 -10C-7.5 -18 7.5 -18 8.5 -10Z' fill='%231d1d1d' stroke='rgba(255,255,255,.24)'/%3E%3Cpath d='M0 -16V-21' stroke='rgba(255,255,255,.24)'/%3E%3Ccircle cx='0' cy='-22.5' r='1.6' fill='%231d1d1d' stroke='rgba(255,255,255,.24)'/%3E%3C/g%3E%3C/g%3E%3C!--/lh--%3E %3Ccircle cx='1290' cy='96' r='38' fill='url(%23g)'/%3E %3Ccircle cx='1290' cy='96' r='3.6' fill='%2300ff87'/%3E %3Cg fill='%2300ff87' opacity='.85'%3E%3Cpath d='M300 236h56l-9 11h-38z'/%3E%3Cpath d='M640 250h50l-8 10h-34z'/%3E%3Cpath d='M930 232h54l-9 11h-36z'/%3E%3C/g%3E %3Cg fill='%23fff' opacity='.16'%3E%3Cpath d='M326 236v-30l16 26z'/%3E%3Cpath d='M663 250v-26l14 22z'/%3E%3Cpath d='M955 232v-28l15 24z'/%3E%3C/g%3E %3Cpath d='M1080 258h42l-7 9h-28z' fill='%234a4a4a'/%3E %3C/svg%3E");
  --hb-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='xMidYMax slice'%3E %3Cdefs%3E%3ClinearGradient id='w' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2303140c'/%3E%3Cstop offset='1' stop-color='%23000'/%3E%3C/linearGradient%3E%3C/defs%3E %3Cpath d='M0 46 L240 38 L470 44 L720 34 L980 42 L1210 36 L1440 40 L1440 56 L0 56Z' fill='%2306080a'/%3E %3Crect y='54' width='1440' height='106' fill='url(%23w)'/%3E %3Cg stroke='%230b2b1c' stroke-width='1.5'%3E%3Cpath d='M120 80h140M520 96h90M880 78h160M1210 100h110M300 126h170M760 134h120'/%3E%3C/g%3E %3Cg fill='%2300ff87' opacity='.85'%3E%3Cpath d='M210 84h52l-8 10h-36z'/%3E%3Cpath d='M1000 92h48l-8 10h-32z'/%3E%3C/g%3E %3Cg fill='%23fff' opacity='.16'%3E%3Cpath d='M234 84v-26l14 22z'/%3E%3Cpath d='M1022 92v-24l13 20z'/%3E%3C/g%3E %3C/svg%3E");
  background: var(--night); color: #fff;
  font-family: var(--font-sans); font-weight: 400; font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.harbour::before { display: none; }
/* The full-bleed scenes are 100vw wide, which counts a desktop scrollbar:
   clip the sideways spill so the page never scrolls sideways. */
html:has(> body.harbour) { overflow-x: clip; }
body.harbour ::selection { background: var(--light); color: #000; }
body.harbour a:focus-visible, body.harbour summary:focus-visible, body.harbour button:focus-visible {
  outline: 2px solid var(--light); outline-offset: 3px; border-radius: 6px;
}

/* Links inside running text: white, underlined in the rim colour, lit on hover. */
body.harbour .section p a, body.harbour .section li a, body.harbour .hero .sub a,
body.harbour .docs-main p a, body.harbour .docs-main li a, body.harbour figcaption a {
  color: #fff; text-decoration: underline; text-decoration-color: #4a4a4a;
  text-decoration-thickness: 1px; text-underline-offset: 0.22em;
}
body.harbour .section p a:hover, body.harbour .section li a:hover, body.harbour .hero .sub a:hover,
body.harbour .docs-main p a:hover, body.harbour .docs-main li a:hover { text-decoration-color: var(--light); }

/* ── header (the shared navbar and promo strip) ─────────────────────── */
body.harbour .cnav { background: rgba(0,0,0,.86); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
body.harbour .cnav-brand { font-size: 1.25rem; }
body.harbour .cnav-dot { background: var(--light); box-shadow: 0 0 10px var(--light); }
body.harbour .cnav-pill, body.harbour .cnav-pill-label, body.harbour .cnav-cta, body.harbour .cnav-link,
body.harbour .promo-strip, body.harbour #blank-cookie-banner, body.harbour #blank-cookie-banner button {
  font-family: var(--font-sans); text-transform: none; letter-spacing: 0;
}
body.harbour .cnav-links { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-size: 0.9375rem; gap: 1.5rem; }
body.harbour .cnav-link { color: var(--label); font-weight: 400; white-space: nowrap; }
@media (min-width: 900px) { body.harbour .cnav-link { display: inline-block; } }
body.harbour .cnav-pill, body.harbour .cnav-cta { white-space: nowrap; }
body.harbour .cnav-link::first-letter, body.harbour .cnav-cta::first-letter { text-transform: uppercase; }
body.harbour .cnav-link:hover { color: #fff; }
body.harbour .cnav-pill { background: none; color: var(--label); border: 1px solid var(--rim); border-radius: 999px; font-size: 0.8125rem; }
body.harbour .cnav-cta {
  background: var(--light); color: #000; border-radius: 999px; border: 0; font-weight: 500;
  font-size: 0.9375rem; padding: 0.5rem 1rem; display: inline-block;
}
body.harbour .cnav-cta:hover { color: #000; background: #33ff9f; opacity: 1; }
@media (max-width: 30rem) {
  /* On a phone the status pill keeps its light and its label for screen readers; the words go. */
  body.harbour .cnav-links { gap: 0.625rem; }
  body.harbour .cnav-pill { padding: 0.55rem; }
  body.harbour .cnav-pill > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body.harbour .cnav-cta { font-size: 0.875rem; padding: 0.45rem 0.85rem; }
}
body.harbour .promo-strip { background: var(--veil); color: var(--label); border: 0; }
body.harbour .promo-strip strong { color: #fff; font-weight: 500; }
body.harbour .promo-strip a { color: var(--light); }

/* ── hero: the headline over the harbour at night ───────────────────── */
body.harbour .hero {
  position: relative; isolation: isolate;
  max-width: none; width: var(--wrap); margin-inline: auto;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(11rem, 19vw, 17rem);
  text-align: left; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start;
}
body.harbour .hero::after {
  content: ""; position: absolute; z-index: -1; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  height: clamp(10rem, 20vw, 18rem); pointer-events: none;
  background: var(--hb-scene) right bottom / auto 100% no-repeat,
    linear-gradient(transparent 0 66.5%, #06080a 66.5% 67.6%, #03140c 67.6%, #000 100%);
}
body.harbour .hero > * { margin-left: 0; margin-right: 0; text-align: left; }
body.harbour .hero .badge {
  order: -1; display: flex; align-items: baseline; gap: 0.6rem;
  background: none; border: 0; padding: 0; margin: 0 0 1.75rem;
  color: var(--quiet); font: 400 0.9375rem/1.4 var(--font-sans); text-transform: none; letter-spacing: 0;
}
body.harbour .hero .badge::before {
  content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--light); box-shadow: 0 0 10px var(--light); transform: translateY(-1px);
}
body.harbour .hero .badge span { background: none; border: 0; padding: 0; display: inline-block; }
body.harbour .hero .badge span::first-letter { text-transform: uppercase; }
body.harbour .hero h1 {
  font-weight: 300; font-size: clamp(2.5rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -0.035em;
  max-width: 15ch; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  text-wrap: balance; hyphens: auto; overflow-wrap: break-word;
}
/* One accented word in a headline reads as template; the whole line carries it. */
body.harbour .hero h1 em, body.harbour .docs-main h1 em { font-style: normal; color: inherit; font-family: inherit; }
body.harbour .hero .sub {
  color: var(--label); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 400; line-height: 1.6;
  max-width: var(--measure); margin: 0 0 2rem;
}
body.harbour .hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-start; }
body.harbour .hero .diagram { max-width: 30rem; margin: 3rem 0 0; }

/* Buttons: one lit pill, one outlined. Inline-block so the label can take its capital. */
body.harbour .hero .actions a, body.harbour .cta-strip a, body.harbour .btn {
  display: inline-block; border-radius: 999px; padding: 0.875rem 1.5rem; line-height: 1.25;
  font: 500 1rem/1.25 var(--font-sans); text-transform: none; letter-spacing: 0; text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
body.harbour .hero .actions a::first-letter, body.harbour .cta-strip a::first-letter { text-transform: uppercase; }
body.harbour .hero .actions a.primary, body.harbour .cta-strip a, body.harbour .btn:not(.btn-ghost) {
  background: var(--light); color: #000; border: 1px solid var(--light);
}
body.harbour .hero .actions a.primary:hover, body.harbour .cta-strip a:hover, body.harbour .cta-strip a:focus-visible {
  background: #33ff9f; border-color: #33ff9f; color: #000; text-decoration: none;
}
body.harbour .hero .actions a.secondary, body.harbour .btn-ghost { background: none; color: #fff; border: 1px solid var(--rim); }
body.harbour .hero .actions a.secondary:hover { border-color: var(--label); color: #fff; text-decoration: none; }

/* ── sections: a side heading beside a reading column ───────────────── */
body.harbour .section {
  max-width: none; width: var(--wrap); margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: start;
}
body.harbour .hero + .section { border-top: 0; }
body.harbour .section > * { min-width: 0; }
body.harbour .section h2, body.harbour .docs-main h2, body.harbour .cta-strip h2 {
  font-weight: 300; letter-spacing: -0.025em; line-height: 1.12; color: #fff;
  text-wrap: balance; hyphens: auto; overflow-wrap: break-word;
}
body.harbour .section > h2 { font-size: clamp(1.75rem, 3.6vw, 2.375rem); margin: 0 0 1.5rem; max-width: 20ch; }
/* A second heading inside one section is a sub-heading in the reading column. */
body.harbour .section > h2 ~ h2 { font-size: clamp(1.375rem, 2.2vw, 1.625rem); margin: 3.5rem 0 1rem; max-width: 26ch; }

body.harbour .section .section-lede, body.harbour .section > p {
  color: var(--label); font-size: 1.0625rem; font-weight: 400; line-height: 1.7;
  max-width: var(--measure); margin: 0 0 1.15rem;
}
/* The first paragraph under the heading is the standfirst. */
body.harbour .section > h2:first-child + .section-lede {
  color: #e6e6e6; font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.6;
}
body.harbour .section .section-lede strong, body.harbour .section > p strong { color: #fff; font-weight: 500; }
body.harbour .section-label { text-transform: none; letter-spacing: 0; color: var(--quiet); font-family: inherit; }

@media (min-width: 64rem) {
  body.harbour .hero {
    grid-template-columns: var(--side) minmax(0, 1fr); column-gap: var(--gutter);
  }
  body.harbour .hero h1 { grid-column: 1 / -1; grid-row: 1; }
  body.harbour .hero .badge {
    grid-column: 1; grid-row: 2; order: 0; margin: 0.35rem 0 0; flex-direction: row;
  }
  body.harbour .hero .sub, body.harbour .hero .actions, body.harbour .hero .diagram { grid-column: 2; }
  body.harbour .hero .sub { grid-row: 2; }

  body.harbour .section { grid-template-columns: var(--side) minmax(0, 1fr); column-gap: var(--gutter); }
  body.harbour .section > * { grid-column: 2; }
  body.harbour .section > h2:first-child {
    grid-column: 1; grid-row: 1 / span 40; align-self: start;
    position: sticky; top: 6rem; font-size: clamp(1.625rem, 2.2vw, 2.125rem); margin: 0;
  }
  /* The heading's own row carries no text of its column-mate's height. */
  body.harbour .section > h2:first-child + * { margin-top: 0.35rem; }
}

/* ── feature grids, read three ways ─────────────────────────────────── */
body.harbour .feature-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.5rem;
  margin: 1.75rem 0 0; border: 0; background: none;
}
body.harbour .section > h2:first-child + .feature-grid { margin-top: 0; }
@media (min-width: 40rem) {
  body.harbour .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 80rem) {
  body.harbour .feature-grid:has(> :nth-child(3):last-child),
  body.harbour .feature-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
body.harbour .feature-card {
  background: none; border: 0; border-top: 1px solid var(--rim); border-radius: 0; box-shadow: none;
  padding: 1.25rem 0 2rem;
}
body.harbour .feature-card:hover { background: none; transform: none; }
/* Numbers on cards that are not a sequence say nothing; the rule above each item does the work. */
body.harbour .feature-card .num { display: none; }
body.harbour .feature-card h3 {
  font-size: 1.125rem; font-weight: 500; line-height: 1.3; color: #fff; letter-spacing: -0.01em; margin: 0 0 0.5rem;
}
body.harbour .feature-card p { color: var(--label); font-size: 0.96875rem; font-weight: 400; line-height: 1.65; }

/* Cards whose heading is a link: the whole row is the link. */
body.harbour .feature-card:has(h3 a) { position: relative; transition: border-color 160ms ease; }
body.harbour .feature-card:has(h3 a):hover { border-top-color: var(--light); }
body.harbour .feature-card h3 a { color: #fff; text-decoration: none; }
body.harbour .feature-card h3 a::after { content: ""; position: absolute; inset: 0; }
body.harbour .feature-card h3 a:focus-visible { outline: 0; }
body.harbour .feature-card:has(h3 a:focus-visible) { outline: 2px solid var(--light); outline-offset: 6px; border-radius: 4px; }
body.harbour .feature-card:has(h3 a) p { color: var(--quiet); }

/* Cards with no number are the page's questions: an open list, one per line. */
body.harbour .feature-grid:not(:has(.num)) { display: block; max-width: 44rem; }
body.harbour .feature-grid:not(:has(.num)) .feature-card { padding: 1.5rem 0 1.75rem; border-top-color: var(--line); }
body.harbour .feature-grid:not(:has(.num)) .feature-card:first-child { border-top-color: var(--rim); }
body.harbour .feature-grid:not(:has(.num)) h3 {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 400; line-height: 1.35; letter-spacing: -0.012em; margin-bottom: 0.625rem;
}
body.harbour .feature-grid:not(:has(.num)) p { font-size: 1.0625rem; line-height: 1.7; max-width: var(--measure); }

/* Point lists (for example the four things blank is not). */
body.harbour .point-grid {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.5rem;
}
@media (min-width: 40rem) { body.harbour .point-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.harbour .point-grid > li {
  background: none; border: 0; border-top: 1px solid var(--rim); border-radius: 0;
  padding: 1.25rem 0 1.75rem; color: var(--label); font-size: 0.96875rem; line-height: 1.65; margin: 0;
}
body.harbour .point-grid > li strong { display: block; color: #fff; font-weight: 500; font-size: 1.0625rem; margin-bottom: 0.35rem; }
body.harbour .point-grid--no > li strong::before {
  content: "\00d7"; display: inline-block; width: 1.2em; color: var(--quiet); font-family: var(--font-sans); font-weight: 300;
}
body.harbour .point-grid--yes > li strong::before {
  content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.7rem; border-radius: 50%;
  background: var(--light); transform: translateY(-2px);
}

/* Plain lists in a section: steps get lit numerals, the rest a short rule. */
body.harbour .section > ul:not(.point-grid), body.harbour .section > ol {
  list-style: none; padding: 0; margin: 0 0 1.5rem; max-width: var(--measure); display: grid; gap: 0.9rem;
}
body.harbour .section > ul:not(.point-grid) > li, body.harbour .section > ol > li {
  position: relative; padding-left: 2.25rem; color: var(--label); font-size: 1.0625rem; line-height: 1.65;
}
body.harbour .section > ul:not(.point-grid) > li strong, body.harbour .section > ol > li strong { color: #fff; font-weight: 500; }
body.harbour .section > ul:not(.point-grid) > li::before {
  content: ""; position: absolute; left: 0.25rem; top: 0.82em; width: 0.875rem; height: 1px; background: var(--quiet);
}
body.harbour .section > ol { counter-reset: hb-step; }
body.harbour .section > ol > li { counter-increment: hb-step; }
body.harbour .section > ol > li::before {
  content: counter(hb-step); position: absolute; left: 0; top: -0.1em;
  font: 300 1.375rem/1.4 var(--font-sans); color: var(--light);
}

/* ── comparison tables: a raised logbook panel ──────────────────────── */
body.harbour .compare-table, body.harbour .docs-main table {
  display: table; width: 100%; margin: 1.75rem 0 0; overflow: hidden;
  background: var(--stone); border: 1px solid var(--panel-rim); border-radius: 14px;
  border-collapse: separate; border-spacing: 0; font-size: 0.96875rem;
}
body.harbour .section > h2:first-child + .compare-table { margin-top: 0; }
body.harbour .compare-table th, body.harbour .docs-main th {
  background: none; color: var(--quiet); text-transform: none; letter-spacing: 0;
  font: 400 0.875rem/1.4 var(--font-sans); padding: 1.1rem 1.25rem 0.8rem; border: 0; text-align: left; vertical-align: bottom;
}
body.harbour .compare-table td, body.harbour .docs-main td {
  border: 0; border-top: 1px solid #1f1f1f; padding: 0.95rem 1.25rem; vertical-align: top;
  color: var(--label); font-weight: 400; line-height: 1.5;
}
body.harbour .compare-table td:first-child { color: #fff; }
body.harbour .compare-table td strong { color: #fff; font-weight: 500; }
/* blank's own row (every cell set in bold) is the lit one. */
body.harbour .compare-table tbody tr:not(:has(> td:not(:has(strong)))) { background: var(--veil); }
body.harbour .compare-table tbody tr:not(:has(> td:not(:has(strong)))) > td:first-child { box-shadow: inset 2px 0 0 var(--light); }
/* In a side-by-side comparison, blank's strong answers carry the lamp. */
body.harbour .compare-table tbody tr:has(> td:not(:has(strong))) td:has(> strong)::before {
  content: ""; display: inline-block; width: 0.4375rem; height: 0.4375rem; border-radius: 50%;
  background: var(--light); margin-right: 0.55rem; transform: translateY(-1px);
}

@media (max-width: 45rem) {
  /* A three-column table on a phone: the row's subject across the top,
     the two answers side by side beneath it, under the same two headings. */
  body.harbour .compare-table:has(tr > :nth-child(3)),
  body.harbour .compare-table:has(tr > :nth-child(3)) thead,
  body.harbour .compare-table:has(tr > :nth-child(3)) tbody { display: block; }
  body.harbour .compare-table:has(tr > :nth-child(3)) tr {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem;
    padding: 0.95rem 1.1rem; border-top: 1px solid #1f1f1f;
  }
  body.harbour .compare-table:has(tr > :nth-child(3)) thead tr {
    border-top: 0; padding-bottom: 0.4rem; position: sticky; top: 0;
  }
  body.harbour .compare-table:has(tr > :nth-child(3)) th,
  body.harbour .compare-table:has(tr > :nth-child(3)) td { padding: 0; border: 0; }
  body.harbour .compare-table:has(tr > :nth-child(3)) tr > :first-child { grid-column: 1 / -1; margin-bottom: 0.4rem; }
  body.harbour .compare-table:has(tr > :nth-child(3)) th:empty { display: none; }
  body.harbour .compare-table:has(tr > :nth-child(3)) tbody tr:not(:has(> td:not(:has(strong)))) > td:first-child { box-shadow: none; }
  body.harbour .compare-table:has(tr > :nth-child(3)) tbody tr:not(:has(> td:not(:has(strong)))) { box-shadow: inset 2px 0 0 var(--light); }
  body.harbour .compare-table th, body.harbour .compare-table td { padding: 0.8rem 0.9rem; }
  body.harbour .compare-table { font-size: 0.9375rem; }
}

body.harbour .compare-table + *, body.harbour .diagram + p, body.harbour .feature-grid + p { margin-top: 1.75rem; }

/* ── diagrams: drawn on a panel, in harbour colours ─────────────────── */
body.harbour .diagram {
  margin: 2rem 0 0; max-width: 34rem;
  background: var(--stone); border: 1px solid var(--panel-rim); border-radius: 14px;
  padding: clamp(1rem, 3vw, 1.75rem);
}
body.harbour .section > h2:first-child + .diagram { margin-top: 0; }
body.harbour .diagram--wide { max-width: none; }
body.harbour .diagram figcaption {
  margin-top: 1.1rem; border: 0; padding: 0; text-align: left;
  color: var(--quiet); font-size: 0.875rem; line-height: 1.55; font-weight: 400;
}
body.harbour .hero .diagram figcaption { text-align: left; }
body.harbour .dg-box { fill: #0b0b0b; stroke: var(--rim); stroke-width: 1.25; }
body.harbour .dg-box--accent { fill: var(--veil); stroke: rgba(0, 255, 135, 0.55); }
body.harbour .dg-box--warn { fill: #0b0b0b; stroke: #5a5a5a; stroke-dasharray: 4 4; }
body.harbour .dg-line { stroke: #3a3a3a; stroke-width: 1.5; }
body.harbour .dg-line--quiet { stroke: var(--rim); }
body.harbour .dg-head { fill: #5a5a5a; }
body.harbour .dg-label { fill: #fff; font-family: var(--font-sans); font-weight: 500; letter-spacing: -0.01em; }
body.harbour .dg-sub { fill: var(--label); font-family: var(--font-sans); font-weight: 400; }
body.harbour .dg-tag, body.harbour .dg-tag--quiet, body.harbour .dg-tag--warn {
  font-family: var(--font-sans); font-size: 14px; letter-spacing: 0; text-transform: none;
}
body.harbour .dg-tag { fill: var(--light); }
body.harbour .dg-tag--quiet { fill: var(--quiet); }
body.harbour .dg-tag--warn { fill: var(--label); }
body.harbour .dg-big { fill: var(--light); font-family: var(--font-sans); font-weight: 300; letter-spacing: -0.02em; }

body.harbour .split { gap: 1.5rem; margin-top: 1.75rem; align-items: start; }
body.harbour .split .diagram { margin-top: 0; max-width: none; }
body.harbour .split > div > p { color: var(--label); font-size: 1.0625rem; line-height: 1.7; }
body.harbour .split > div > p strong { color: #fff; }
@media (max-width: 55rem) {
  body.harbour .split { grid-template-columns: minmax(0, 1fr); }
  body.harbour .split .diagram { max-width: 30rem; }
}
@media (min-width: 55rem) { body.harbour .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── disclosures: more detail, one press away ───────────────────────── */
body.harbour details.more {
  background: none; border: 0; border-top: 1px solid var(--rim); border-bottom: 1px solid var(--rim);
  border-radius: 0; margin: 2rem 0 0; max-width: var(--measure);
}
body.harbour details.more + details.more { margin-top: 0; border-top: 0; }
body.harbour details.more > summary {
  padding: 1.1rem 0; font: 400 1.0625rem/1.4 var(--font-sans); color: #fff; text-transform: none; letter-spacing: 0;
}
body.harbour details.more > summary:hover { color: #fff; }
body.harbour details.more > summary::after {
  content: "+"; color: var(--light); font: 300 1.5rem/1 var(--font-sans); transition: transform 200ms ease;
}
body.harbour details.more[open] > summary::after { content: "+"; transform: rotate(45deg); }
body.harbour details.more > .more-body { padding: 0 0 1.25rem; }
body.harbour details.more > .more-body p, body.harbour details.more > .more-body li {
  color: var(--label); font-size: 1rem; line-height: 1.7; font-weight: 400;
}

/* ── callouts and FAQ accordions (docs-style pages) ─────────────────── */
body.harbour .callout {
  background: var(--stone); border: 1px solid var(--panel-rim); border-radius: 14px; padding: 1.25rem 1.5rem;
}
body.harbour .callout .tag {
  text-transform: none; letter-spacing: 0; font: 500 0.875rem var(--font-sans); color: var(--light);
}
body.harbour .faq-list details { border: 0; border-top: 1px solid var(--line); background: none; border-radius: 0; }
body.harbour .faq-list summary { font-weight: 400; color: #fff; }
body.harbour .faq-list summary::after { color: var(--light); font-family: var(--font-sans); font-weight: 300; }
body.harbour .docs-main h1 { font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; max-width: 16ch; }
body.harbour .docs-main h1 + .lede { color: var(--label); max-width: 34rem; }
body.harbour .docs-main p, body.harbour .docs-main li { color: var(--label); font-weight: 400; }
body.harbour .docs-main h2 { border-bottom: 0; }
body.harbour .docs-main h3 { color: #fff; }
body.harbour .docs-nav .docs-nav-label, body.harbour .crumb {
  font-family: var(--font-sans); text-transform: none; letter-spacing: 0; color: var(--quiet);
}
body.harbour .docs-nav li a.active { color: var(--light); border-color: var(--light); }
body.harbour .pager a { border-color: var(--rim); border-radius: 12px; }
body.harbour .pager .label { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; }

/* ── closing strip: the water again, nearer the shore ───────────────── */
body.harbour .cta-strip {
  position: relative; text-align: left; border: 0; border-radius: 0;
  margin-top: clamp(1rem, 3vw, 2rem);
  padding: clamp(4.5rem, 9vw, 7rem) max(1.25rem, calc((100% - 72rem) / 2)) clamp(9rem, 15vw, 12rem);
  background: var(--hb-sea) center bottom / auto clamp(7rem, 12vw, 10rem) repeat-x, var(--night);
}
body.harbour .cta-strip h2 {
  font-size: clamp(2.125rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.03em;
  max-width: 17ch; margin: 0 0 1.25rem;
}
body.harbour .cta-strip p { color: var(--label); font-size: 1.125rem; max-width: var(--measure); margin: 0 0 2rem; }

/* The open-beta panel the server injects after the closing strip. */
body.harbour .pcall { max-width: none; width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) 0; }
body.harbour .pcall .pcall-inner {
  background: var(--stone); color: #fff; font-family: var(--font-sans);
  border: 1px solid var(--panel-rim); border-radius: 14px; padding: 1.5rem 1.75rem; gap: 2rem;
}
body.harbour .pcall .pcall-inner .pcall-eyebrow {
  color: var(--light); opacity: 1; text-transform: none; letter-spacing: 0; font-size: 0.9375rem;
}
body.harbour .pcall .pcall-inner .pcall-eyebrow::first-letter { text-transform: uppercase; }
body.harbour .pcall .pcall-inner .pcall-head { color: #fff; font-weight: 400; font-size: 1.25rem; letter-spacing: -0.01em; }
body.harbour .pcall .pcall-inner .pcall-sub { color: var(--label); opacity: 1; font-size: 0.96875rem; }
body.harbour .pcall .pcall-inner .pcall-cta {
  display: inline-block; background: var(--light); color: #000; border: 0; border-radius: 999px;
  font: 500 1rem/1.25 var(--font-sans); text-transform: none; letter-spacing: 0; padding: 0.875rem 1.5rem;
}
body.harbour .pcall .pcall-inner .pcall-cta::first-letter { text-transform: uppercase; }
body.harbour .pcall .pcall-inner .pcall-cta:hover { background: #33ff9f; color: #000; opacity: 1; }

/* ── footer: who made it, then where to go ──────────────────────────── */
body.harbour footer.docs-footer {
  width: var(--wrap); margin: 0 auto; padding: 3rem 0 4.5rem; text-align: left;
  border-top: 1px solid var(--line); color: var(--quiet);
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem;
}
body.harbour footer.docs-footer .credit {
  font: 400 0.9375rem/1.5 var(--font-sans); color: var(--quiet); text-transform: none; letter-spacing: 0;
}
body.harbour footer.docs-footer .credit::first-letter { text-transform: uppercase; }
body.harbour footer.docs-footer .links {
  margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.5rem 1.5rem;
  font: 400 0.9375rem/1.5 var(--font-sans); text-transform: none; letter-spacing: 0;
}
body.harbour footer.docs-footer .links a { color: var(--label); margin: 0; display: inline-block; text-transform: none; letter-spacing: 0; }
body.harbour footer.docs-footer .links a::first-letter { text-transform: uppercase; }
body.harbour footer.docs-footer .links a:hover { color: #fff; text-decoration: none; }
/* The second and third rows are reading lists: set them as columns of quieter links. */
body.harbour footer.docs-footer .links + .links {
  display: block; columns: 13rem auto; column-gap: 1.5rem; margin-top: 0;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
}
body.harbour footer.docs-footer .links + .links + .links { border-top: 0; padding-top: 0; }
body.harbour footer.docs-footer .links + .links a { display: block; width: fit-content; color: var(--quiet); padding: 0.2rem 0; font-size: 0.875rem; break-inside: avoid; }
body.harbour footer.docs-footer .links + .links a:hover { color: #fff; }
@media (min-width: 64rem) {
  body.harbour footer.docs-footer { grid-template-columns: var(--side) minmax(0, 1fr); column-gap: var(--gutter); }
  body.harbour footer.docs-footer .credit { grid-column: 1; grid-row: 1 / span 3; }
  body.harbour footer.docs-footer .links { grid-column: 2; }
}

/* ── cookie bar ─────────────────────────────────────────────────────── */
body.harbour #blank-cookie-banner { background: var(--stone); border-top: 1px solid var(--rim); }
body.harbour #blank-cookie-banner button { border-radius: 999px; border: 1px solid var(--rim); background: none; color: #fff; }
body.harbour #blank-cookie-banner button.primary { background: var(--light); color: #000; border: 0; }

@media (max-width: 40rem) {
  body.harbour { font-size: 1rem; }
  body.harbour .hero { padding-top: 2.75rem; }
  body.harbour .hero .actions a { flex: 1 1 auto; text-align: center; }
  body.harbour .section .section-lede, body.harbour .section > p,
  body.harbour .section > ul:not(.point-grid) > li, body.harbour .section > ol > li { font-size: 1rem; }
  body.harbour .pcall .pcall-inner { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  body.harbour *, body.harbour *::before, body.harbour *::after { transition: none; animation: none; }
}
