@font-face { font-family: "Gloock"; src: url("/assets/fonts/gloock-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-sans-var.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-sans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink-900: #0a1826;
  --ink-800: #10243a;
  --ink-700: #1a3350;
  --paper: #f3efe4;
  --paper-2: #e9e3d2;
  --text: #0a1826;
  --text-muted: #4a5867;
  --on-ink: #eaf0ee;
  --on-ink-muted: #a9b8c2;
  --foam: #93d1bc;
  --foam-deep: #22695a;
  --signal: #f2692c;
  --signal-deep: #a93f16;
  --line-ink: rgba(147, 209, 188, 0.16);
  --line-paper: rgba(10, 24, 38, 0.13);
  --focus: var(--signal-deep);

  --font-display: "Gloock", "Iowan Old Style", Georgia, serif;
  --font-text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: 16px;
  --max: 1200px;
  --radius: 4px;
}

@media (min-width: 720px) { :root { --gutter: 32px; } }

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--signal-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.005em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.2; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 50;
  background: var(--signal); color: var(--ink-900); padding: 10px 14px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(46rem + 2 * var(--gutter)); }

/* ---------- Surfaces ---------- */

.on-ink {
  --focus: var(--signal);
  background: var(--ink-900);
  color: var(--on-ink);
}
.on-ink a { color: var(--foam); }

.chart-grid {
  background-image:
    linear-gradient(var(--line-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-ink) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
}
.paper-grid {
  background-image:
    linear-gradient(var(--line-paper) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-paper) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}
.paper-grid.faint {
  background-image:
    linear-gradient(rgba(10, 24, 38, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 24, 38, 0.06) 1px, transparent 1px);
}

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line-ink); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 16px; padding-bottom: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-ink); text-decoration: none; }
.on-ink .brand { color: var(--on-ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; line-height: 1; letter-spacing: 0.005em; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
.site-nav a { font-size: 0.95rem; font-weight: 500; text-decoration: none; color: var(--on-ink); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--foam); }
.site-nav a[aria-current] { border-bottom-color: var(--signal); }
.site-nav .btn { padding: 8px 14px; border-bottom: 0; }

@media (max-width: 560px) {
  .board { padding: 14px 12px 12px; }
  .product { padding: 22px 18px; }
  .product figure { padding: 8px; }
  .site-nav { width: 100%; }
  .site-nav ul { justify-content: space-between; gap: 6px 12px; }
}

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

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-text); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 20px; border-radius: var(--radius); text-decoration: none; border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-signal, .on-ink .btn-signal, .site-nav .btn-signal { background: var(--signal); color: var(--ink-900); }
.btn-signal:hover { background: #f5824d; }
.btn-ghost, .on-ink .btn-ghost { color: var(--on-ink); border-color: rgba(234, 240, 238, 0.35); }
.btn-ghost:hover { border-color: var(--foam); }
.btn-ink { background: var(--ink-900); color: var(--paper); }
.btn-ink:hover { background: var(--ink-700); }
svg.arrow { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -0.14em; }
.article-foot svg.arrow { margin-right: 0.45em; }

/* ---------- Eyebrows / mono labels ---------- */

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--foam-deep); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-ink .eyebrow { color: var(--foam); }
.mono { font-family: var(--font-mono); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; display: grid; gap: 48px; padding-top: 72px; padding-bottom: 88px; }
@media (min-width: 1100px) { .hero .wrap { grid-template-columns: 1fr 1.08fr; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 112px; } }

.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--foam); }
.hero .lede { font-size: 1.18rem; color: var(--on-ink-muted); max-width: 34em; margin-bottom: 32px; }
.hero .lede strong { color: var(--on-ink); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.coord { position: absolute; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: rgba(169, 184, 194, 0.75); pointer-events: none; }
.coord.tl { top: 14px; left: var(--gutter); }
.coord.br { bottom: 14px; right: var(--gutter); }

.board {
  position: relative; margin: 0; background: rgba(16, 36, 58, 0.78); border: 1px solid rgba(147, 209, 188, 0.22);
  border-radius: 6px; padding: 18px 18px 14px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.board::before, .board::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--signal); border-style: solid; }
.board::before { top: -6px; left: -6px; border-width: 2px 0 0 2px; }
.board::after { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; }
.board-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 10px; }
.board-head .live { color: var(--foam); }
.board-head .live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); margin-right: 8px; vertical-align: 1px; animation: blink 2.4s ease-in-out infinite; }
.diagram-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.hero .wrap > *, .products > *, .product > * { min-width: 0; }
@media (max-width: 560px) {
  .board .diagram-scroll > svg { min-width: 560px; }
  .product .diagram-scroll > svg { min-width: 520px; }
  .prose .fig-body > svg { min-width: 600px; }
  .diagram-scroll::after { content: "Scroll sideways to see the whole diagram"; display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--on-ink-muted); position: sticky; left: 0; }
}
.board figcaption { font-family: var(--font-mono); font-size: 0.72rem; color: var(--on-ink-muted); margin-top: 10px; line-height: 1.5; }

.tide-draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s cubic-bezier(.5,0,.2,1) 0.2s forwards; }
.bar { opacity: 0; transform: translateX(-10px); animation: slide 0.7s ease-out forwards; }
.nowline { animation: blink 2.4s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes slide { to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.rise { opacity: 0; transform: translateY(14px); animation: slide 0.8s ease-out forwards; }
.rise.d1 { animation-delay: 0.08s; } .rise.d2 { animation-delay: 0.18s; } .rise.d3 { animation-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .tide-draw, .bar, .rise { animation: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
  .nowline, .board-head .live::before { animation: none; }
}

/* ---------- Tide divider ---------- */

.tide-rule { display: block; width: 100%; height: 44px; color: var(--foam-deep); }
.on-ink .tide-rule { color: var(--foam); }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
@media (min-width: 720px) { .section { padding: 112px 0; } }
.section-head { max-width: 44rem; margin-bottom: 48px; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }
.on-ink .section-head p { color: var(--on-ink-muted); }

.facts { border-top: 1px solid var(--line-paper); border-bottom: 1px solid var(--line-paper); background: var(--paper-2); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { padding: 22px 16px 22px 0; border-right: 1px solid var(--line-paper); }
.facts li + li { padding-left: 16px; }
.facts li:nth-child(2n) { border-right: 0; }
@media (max-width: 859px) { .facts li:nth-child(3) { padding-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line-paper); } }
@media (min-width: 860px) { .facts li:nth-child(2n) { border-right: 1px solid var(--line-paper); } .facts li:last-child { border-right: 0; } .facts li + li { padding-left: 24px; } }
.facts strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; }
.facts span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.45; color: var(--text-muted); letter-spacing: 0.02em; }

/* Products */
.products { display: grid; gap: 24px; }
@media (min-width: 1100px) { .products { grid-template-columns: 1fr 1fr; } }
.product {
  position: relative; background: var(--paper); border: 1px solid var(--line-paper); border-radius: 6px;
  padding: 28px; display: flex; flex-direction: column; gap: 8px;
}
.product .tag { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal-deep); }
.product h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 4px; }
.product p { color: var(--text-muted); }
.product ul { margin: 0 0 20px; padding: 0; list-style: none; }
.product li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.product li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 1px; background: var(--signal-deep); }
.product figure { margin: auto 0 0; background: var(--ink-900); border-radius: 4px; padding: 14px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; counter-reset: step; position: relative; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .steps::before { content: ""; position: absolute; top: 34px; left: 34px; right: calc((100% - 64px) / 3 - 34px); border-top: 1px dashed rgba(147, 209, 188, 0.45); }
}
.step { position: relative; }
.sounding {
  position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  border: 1px solid var(--foam); background: var(--ink-900); font-family: var(--font-mono); font-size: 1.1rem; color: var(--foam); margin-bottom: 22px;
}
.sounding::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(147, 209, 188, 0.4); }
.step p { color: var(--on-ink-muted); }
.step .meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--foam); letter-spacing: 0.04em; }

/* Features */
.features { display: grid; gap: 1px; background: var(--line-paper); border: 1px solid var(--line-paper); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { background: var(--paper); padding: 30px 26px 26px; }
.feature svg { width: 44px; height: 44px; margin-bottom: 18px; color: var(--foam-deep); }
.feature h3 { font-family: var(--font-text); font-weight: 600; font-size: 1.12rem; letter-spacing: 0; margin-bottom: 8px; }
.feature p { color: var(--text-muted); margin: 0; font-size: 1rem; }

/* Quote */
.quote-band .wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .quote-band .wrap { grid-template-columns: 1.6fr 1fr; align-items: end; } }
.quote-band figure, .quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.2; margin-bottom: 26px; }
.quote-band blockquote p::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: 0.6; color: var(--signal); margin-bottom: 18px; }
.quote-band figcaption { font-family: var(--font-mono); font-size: 0.85rem; color: var(--on-ink-muted); }
.quote-band figcaption strong { color: var(--on-ink); font-weight: 500; display: block; font-family: var(--font-text); font-size: 1rem; }
.pilots h2 { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--foam); margin-bottom: 14px; }
.pilots ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-ink); }
.pilots li { padding: 14px 0; border-bottom: 1px solid var(--line-ink); display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-size: 1.2rem; }
.pilots li span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--on-ink-muted); align-self: center; text-align: right; }

/* CTA */
.cta { text-align: left; }
.cta .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.cta h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); margin: 0; }
.cta p { color: var(--text-muted); font-size: 1.1rem; }
.cta .mail { font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-muted); margin-top: 14px; }

/* ---------- Page heads ---------- */

.page-head .wrap { padding-top: 64px; padding-bottom: 72px; position: relative; }
@media (min-width: 720px) { .page-head .wrap { padding-top: 88px; padding-bottom: 96px; } }
.page-head h1 { max-width: 16ch; }
.page-head .lede { font-size: 1.18rem; color: var(--on-ink-muted); max-width: 38em; margin: 0; }
.page-head.slim h1 { max-width: 22ch; font-size: clamp(2.2rem, 5vw, 3.9rem); }

/* ---------- About ---------- */

.story { display: grid; gap: 40px; }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1.35fr; gap: 72px; } .story > div:first-child { position: sticky; top: 32px; align-self: start; } }
.story .prose p:first-child { font-size: 1.25rem; line-height: 1.55; }
.timeline, .prose .timeline { list-style: none; margin: 32px 0 0; padding: 0; border-left: 1px solid var(--line-paper); }
.timeline li { position: relative; padding: 0 0 26px 24px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 0.45em; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--foam-deep); }
.timeline time { display: block; font-family: var(--font-mono); font-size: 0.8rem; color: var(--foam-deep); letter-spacing: 0.06em; }
.timeline p { margin: 2px 0 0; }

.values { display: grid; gap: 24px; margin-top: 8px; }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.value { border-top: 2px solid var(--ink-900); padding-top: 18px; }
.value h3 { font-family: var(--font-text); font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
.value p { color: var(--text-muted); margin: 0; }

.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 620px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.member { background: var(--paper); border: 1px solid var(--line-paper); border-radius: 6px; padding: 22px; display: grid; grid-template-columns: 76px 1fr; gap: 6px 18px; align-content: start; }
.member .avatar { grid-row: span 2; width: 76px; height: 76px; }
.member h3 { font-size: 1.35rem; margin: 4px 0 0; }
.member .role { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--foam-deep); margin: 0; align-self: start; }
.member .bio { grid-column: 1 / -1; color: var(--text-muted); font-size: 0.98rem; margin: 12px 0 0; }
.member .more { grid-column: 1 / -1; margin: 10px 0 0; font-weight: 500; font-size: 0.98rem; }
.member.departing { background: var(--paper-2); border-style: dashed; }
@media (min-width: 620px) {
  .team.lead-wide .member:first-child { grid-column: span 2; grid-template-columns: 112px 1fr; grid-template-rows: auto 1fr; }
  .team.lead-wide .member:first-child .avatar { width: 112px; height: 112px; }
  .team.lead-wide .member:first-child h3 { font-size: 1.8rem; }
  .team.lead-wide .member:first-child .bio { grid-column: 2; margin-top: 0; font-size: 1.05rem; }
}

/* ---------- Blog ---------- */

.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-paper); }
.post-list li { position: relative; border-bottom: 1px solid var(--line-paper); display: grid; gap: 8px 40px; padding: 32px 0; }
@media (min-width: 860px) { .post-list li { grid-template-columns: 180px 1fr 32px; align-items: baseline; } }
.post-list .meta { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.03em; }
.post-list .meta .kind { display: block; color: var(--foam-deep); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; margin-top: 4px; }
.post-list h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 8px; }
.post-list h2 a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
.post-list h2 a::after { content: ""; position: absolute; inset: 0; }
.post-list p { color: var(--text-muted); margin: 0; max-width: 42em; }
.post-list .go { width: 22px; height: 22px; color: var(--signal-deep); transition: transform 0.15s ease; }
.post-list li:hover h2 a { color: var(--signal-deep); }
.post-list li:hover .go { transform: translateX(4px); }
@supports selector(:has(a)) {
  .post-list h2 a:focus-visible { outline: none; }
  .post-list li:has(h2 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
}
@media (max-width: 859px) { .post-list .go { display: none; } }

.article-head .wrap { padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 720px) { .article-head .wrap { padding-top: 80px; padding-bottom: 80px; } }
.article-head .crumbs { font-family: var(--font-mono); font-size: 0.8rem; margin-bottom: 26px; }
.article-head .crumbs a { color: var(--foam); }
.article-head h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
.article-head .byline { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px 16px; font-family: var(--font-mono); font-size: 0.85rem; color: var(--on-ink-muted); margin-top: 26px; }
.article-head .byline svg { width: 40px; height: 40px; flex: none; }
.article-head .byline > div { min-width: 0; flex: 1; }
.article-head .byline strong { color: var(--on-ink); font-weight: 500; font-family: var(--font-text); font-size: 1rem; display: block; }

.article { padding: 64px 0 96px; }
.prose { max-width: 46rem; font-size: 1.1rem; line-height: 1.72; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--signal-deep); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--signal); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--paper-2); padding: 0.1em 0.35em; border-radius: 3px; }
.prose figure { margin: 2em 0; }
.prose figure .fig-body { background: var(--ink-900); border-radius: 6px; padding: 16px; }
.prose figure.pull { margin: 1.6em 0; }
.prose figure.pull blockquote { margin: 0; }
.prose figure.pull figcaption { padding-left: 25px; margin-top: 8px; }
.prose figcaption { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }
.prose .signoff { font-family: var(--font-display); font-size: 1.4rem; margin-top: 1.4em; }

.download {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center;
  border: 1px solid var(--line-paper); background: var(--paper-2); border-radius: 6px; padding: 20px; margin: 2em 0;
}
.download svg { width: 56px; height: 56px; grid-row: span 2; color: var(--signal-deep); }
.download a { font-weight: 600; font-size: 1.1rem; }
.download span { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); }

.article-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-paper); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-family: var(--font-mono); font-size: 0.85rem; }

/* Letter (farewell note) */
.letter { max-width: none; background: #fbf9f3; border: 1px solid var(--line-paper); border-radius: 4px; padding: 32px 22px; box-shadow: 0 1px 0 var(--line-paper), 0 18px 40px -28px rgba(10, 24, 38, 0.45); }
@media (min-width: 720px) { .letter { padding: 56px 60px; } }
.letter .letter-meta { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); border-bottom: 1px solid var(--line-paper); padding-bottom: 16px; margin-bottom: 28px; display: grid; gap: 2px; }
.letter .letter-meta b { font-weight: 500; color: var(--text); display: inline-block; min-width: 4.5em; }

/* 404 */
.lost .wrap { padding-top: 80px; padding-bottom: 110px; display: grid; gap: 40px; }
@media (min-width: 900px) { .lost .wrap { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.lost .code { font-family: var(--font-mono); color: var(--foam); letter-spacing: 0.12em; }

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

.site-footer { border-top: 1px solid var(--line-ink); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.foot-grid p { color: var(--on-ink-muted); max-width: 26em; font-size: 0.98rem; margin-top: 14px; }
.foot-grid h2 { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--foam); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-ink); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-family: var(--font-mono); font-size: 0.78rem; color: var(--on-ink-muted); }
.foot-base p { margin: 0; }
.disclaimer { color: var(--on-ink-muted); }
.disclaimer::before { content: ""; display: inline-block; width: 16px; height: 8px; margin-right: 8px; vertical-align: 0.1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M1 3Q4.5 0 8 3T15 3M1 7Q4.5 4 8 7T15 7' fill='none' stroke='%23f2692c' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain; }

/* ---------- Inline SVG text ---------- */
.svg-mono { font-family: var(--font-mono); }
.svg-display { font-family: var(--font-display); }
.svg-text { font-family: var(--font-text); }
