/* ==========================================================================
   ugraph.dev — shared stylesheet
   Dark console world: near-black canvas, hairline rules, mono numerals,
   one mint "edge" accent borrowed from the graph the tool builds.
   ========================================================================== */

:root {
  /* canvas */
  --bg:          #08080a;
  --bg-raised:   #0e0e11;
  --bg-sunken:   #050506;
  --bg-hover:    #16161a;

  /* hairlines */
  --line:        #1c1c21;
  --line-strong: #2a2a31;

  /* ink */
  --ink:         #f4f4f5;
  --ink-2:       #b6b6be;
  --ink-3:       #86868f;
  --ink-4:       #5c5c65;

  /* signal — a CLI status palette, not decoration */
  --edge:        #57e2b0;   /* verified / links / primary */
  --edge-dim:    #2f7a63;
  --edge-wash:   rgba(87, 226, 176, .09);
  --amber:       #f2b544;   /* pending / stale */
  --amber-wash:  rgba(242, 181, 68, .10);
  --rose:        #f4726b;   /* failing / not shipped */
  --rose-wash:   rgba(244, 114, 107, .10);
  --violet:      #a99cf5;   /* model-driven steps */
  --violet-wash: rgba(169, 156, 245, .10);

  /* type */
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* metrics */
  --gutter: 24px;
  --max: 1180px;
  --radius: 10px;
  --radius-lg: 16px;
  --nav-h: 60px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 560; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--edge); color: #04120d; font-weight: 600;
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top .18s ease;
}
.skip:focus { top: 12px; }

/* ---------- layout ------------------------------------------------------ */

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

.section { padding-block: 92px; }
.section--tight { padding-block: 64px; }
.section-line { border-top: 1px solid var(--line); }

.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
.section-head p {
  margin-top: 14px; color: var(--ink-3);
  font-size: 1.0625rem; max-width: 66ch;
}

.lede { color: var(--ink-2); font-size: 1.125rem; max-width: 66ch; }

/* ---------- nav --------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 10, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.nav__inner {
  height: 100%;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; font-weight: 600; letter-spacing: -.03em;
  font-size: 1.0625rem; flex: none;
}
.brand svg { display: block; }
.brand__ver {
  font-family: var(--mono); font-size: .6875rem; font-weight: 500;
  color: var(--ink-3); border: 1px solid var(--line-strong);
  padding: 1px 6px; border-radius: 999px; letter-spacing: 0;
}
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 4px; }
.nav__links a {
  text-decoration: none; color: var(--ink-3); font-size: .875rem;
  padding: 7px 11px; border-radius: 7px;
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: var(--ink); background: var(--bg-hover); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }

.nav__toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  color: var(--ink-2); border-radius: 8px; padding: 6px 8px; cursor: pointer;
}

/* ---------- buttons ----------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: .9375rem; font-weight: 540;
  padding: 11px 18px; border-radius: 9px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn--primary { background: var(--edge); color: #04140e; }
.btn--primary:hover { background: #6ef0c0; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink-2); background: transparent; }
.btn--ghost:hover { border-color: #3a3a44; color: var(--ink); background: var(--bg-hover); }
.btn--sm { padding: 7px 13px; font-size: .8125rem; border-radius: 8px; }
.btn:active { transform: translateY(1px); }

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

.hero {
  position: relative;
  padding-top: 84px; padding-bottom: 76px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  /* one soft mint bloom behind the headline; nothing decorative beyond it */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 62% 58% at 16% -4%, rgba(87, 226, 176, .05), transparent 62%);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: -.042em; line-height: 1.03;
}
.hero h1 em { font-style: normal; color: var(--edge); }
.hero__sub {
  margin-top: 22px; color: var(--ink-2);
  font-size: 1.1875rem; line-height: 1.55; max-width: 34ch;
}
.hero__sub strong { color: var(--ink); font-weight: 540; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-family: var(--mono); font-size: .75rem; color: var(--ink-4);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--edge-dim);
}

/* ---------- terminal ---------------------------------------------------- */

.term {
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
}
.term__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
}
.term__dots { display: flex; gap: 6px; }
.term__dots i { width: 9px; height: 9px; border-radius: 50%; background: #26262d; display: block; }
.term__title {
  font-family: var(--mono); font-size: .75rem; color: var(--ink-4); letter-spacing: -.01em;
}
.term__body {
  margin: 0; padding: 20px 20px 22px;
  font-family: var(--mono); font-size: .8125rem; line-height: 1.75;
  color: var(--ink-2); overflow-x: auto; white-space: pre;
}
.term__body::-webkit-scrollbar { height: 8px; }
.term__body::-webkit-scrollbar-thumb { background: #22222a; border-radius: 4px; }

.c-cmd  { color: var(--ink); }
.c-dim  { color: var(--ink-4); }
.c-ok   { color: var(--edge); }
.c-warn { color: var(--amber); }
.c-bad  { color: var(--rose); }
.c-key  { color: var(--violet); }
.c-str  { color: #8fd3ff; }

/* ---------- stat row ---------------------------------------------------- */

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.stats > div {
  padding: 30px var(--gutter);
  border-left: 1px solid var(--line);
}
.stats > div:first-child { border-left: 0; }
.stat__n {
  font-family: var(--mono); font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 500; letter-spacing: -.05em; color: var(--ink); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__l { margin-top: 10px; color: var(--ink-3); font-size: .875rem; }
.stat__s { margin-top: 4px; color: var(--ink-4); font-size: .78125rem; }

/* ---------- pipeline rail ---------------------------------------------- */

.rail { position: relative; margin-top: 8px; }
.rail__track {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-raised);
}
.stage {
  padding: 22px 20px 24px; border-left: 1px solid var(--line);
  min-width: 0; position: relative;
}
.stage:first-child { border-left: 0; }
.stage__dot {
  display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--edge);
  box-shadow: 0 0 0 4px var(--edge-wash);
}
.stage__name {
  margin-top: 16px; font-family: var(--mono); font-size: .8125rem;
  color: var(--ink); letter-spacing: -.01em;
}
.stage__by {
  margin-top: 6px; font-size: .75rem; color: var(--ink-4);
}
.stage__d { margin-top: 10px; font-size: .8125rem; color: var(--ink-3); line-height: 1.5; }
.stage[data-agent="model"] .stage__dot { background: var(--violet); box-shadow: 0 0 0 4px var(--violet-wash); }
.stage[data-agent="human"] .stage__dot { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-wash); }

.rail__legend {
  margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: .8125rem; color: var(--ink-4);
}
.rail__legend span { display: inline-flex; align-items: center; gap: 8px; }
.rail__legend i { width: 8px; height: 8px; border-radius: 50%; display: block; }

/* ---------- feature cells ---------------------------------------------- */

.cells {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-raised);
}
.cell {
  padding: 34px 32px 36px; min-width: 0;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.cell:nth-child(-n+2) { border-top: 0; }
.cell:nth-child(odd) { border-left: 0; }
.cell__icon { color: var(--edge); }
.cell h3 { margin-top: 18px; font-size: 1.25rem; }
.cell p { margin-top: 12px; color: var(--ink-3); font-size: .9375rem; line-height: 1.6; }
.cell__art { margin-top: 24px; }

.snippet {
  background: var(--bg-sunken); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
  font-family: var(--mono); font-size: .78125rem; line-height: 1.7;
  color: var(--ink-2); overflow-x: auto; white-space: pre; margin: 0;
}

/* ---------- chips & pills ---------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono); font-size: .75rem; color: var(--ink-2);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 5px 11px; background: var(--bg-raised); white-space: nowrap;
}
.chip--edge { color: var(--edge); border-color: var(--edge-dim); background: var(--edge-wash); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .02em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink-3); white-space: nowrap;
}
.pill--shipped  { color: var(--edge);   border-color: var(--edge-dim);            background: var(--edge-wash); }
.pill--progress { color: var(--amber);  border-color: rgba(242,181,68,.35);       background: var(--amber-wash); }
.pill--planned  { color: var(--violet); border-color: rgba(169,156,245,.35);      background: var(--violet-wash); }
.pill--idea     { color: var(--ink-3);  border-color: var(--line-strong); }

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

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-raised); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
thead th {
  text-align: left; font-weight: 500; font-size: .75rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-4);
  padding: 14px 20px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
tbody td { padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .9375rem; color: var(--ink-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(255, 255, 255, .014); }
td code, .mono { font-family: var(--mono); font-size: .8125rem; color: var(--ink); }
td code { white-space: nowrap; }
td.flag, td .flag, .flag { font-family: var(--mono); font-size: .78125rem; color: var(--ink-4); }

/* ---------- backlog board ---------------------------------------------- */

.board { display: grid; gap: 14px; }
.item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-raised); padding: 20px 22px;
  transition: border-color .16s ease, background .16s ease;
}
.item:hover { border-color: var(--line-strong); background: var(--bg-hover); }
.item__id { font-family: var(--mono); font-size: .75rem; color: var(--ink-4); }
.item h3 { margin-top: 6px; font-size: 1.0625rem; font-weight: 540; letter-spacing: -.02em; }
.item p { margin-top: 8px; color: var(--ink-3); font-size: .9375rem; max-width: 78ch; }
.item__why { margin-top: 10px; font-size: .875rem; color: var(--ink-4); }
.item__why b { color: var(--ink-3); font-weight: 540; }
.item__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.item__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

.group-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin: 56px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.group-head:first-of-type { margin-top: 0; }
.group-head h2 { font-size: 1.5rem; }
.group-head .count { font-family: var(--mono); font-size: .8125rem; color: var(--ink-4); }
.group-head p { color: var(--ink-4); font-size: .875rem; width: 100%; margin-top: 2px; }

/* ---------- changelog --------------------------------------------------- */

.release { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding-block: 46px; border-top: 1px solid var(--line); }
.release:first-of-type { border-top: 0; padding-top: 0; }
.release__side { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; }
.release__ver { font-family: var(--mono); font-size: 1.5rem; letter-spacing: -.04em; color: var(--ink); }
.release__date { margin-top: 8px; font-family: var(--mono); font-size: .8125rem; color: var(--ink-4); }
.release__tag { margin-top: 14px; }
.release h3 {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-4); font-weight: 500; margin-top: 30px;
}
.release h3:first-child { margin-top: 0; }
.changes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.changes li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: .9375rem; line-height: 1.6; }
.changes li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 1px; background: var(--edge-dim);
}
.changes li b { color: var(--ink); font-weight: 540; }
.changes li code { font-family: var(--mono); font-size: .8125rem; color: var(--edge); }

.note {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--bg-raised); padding: 18px 20px;
  color: var(--ink-3); font-size: .9375rem; line-height: 1.6;
}
.note b { color: var(--ink-2); font-weight: 540; }

/* ---------- callout / faq ---------------------------------------------- */

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.faq > div { background: var(--bg-raised); padding: 28px 30px; }
.faq h3 { font-size: 1.0625rem; }
.faq p { margin-top: 10px; color: var(--ink-3); font-size: .9375rem; }

/* ---------- cta band ---------------------------------------------------- */

.band { border-top: 1px solid var(--line); background: var(--bg-raised); }
.band__inner { padding-block: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.band h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
.band p { margin-top: 12px; color: var(--ink-3); max-width: 56ch; }

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

.foot { border-top: 1px solid var(--line); padding-block: 54px 44px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot h4 { font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; }
.foot ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--ink-3); text-decoration: none; font-size: .875rem; }
.foot a:hover { color: var(--ink); }
.foot__about p { margin-top: 14px; color: var(--ink-4); font-size: .875rem; max-width: 44ch; line-height: 1.6; }
.foot__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  color: var(--ink-4); font-size: .8125rem;
}

/* ---------- hero graph motion ------------------------------------------ */

.gsvg .edge {
  stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: draw 1.1s cubic-bezier(.2, .8, .3, 1) forwards;
}
.gsvg .edge:nth-of-type(2) { animation-delay: .07s; }
.gsvg .edge:nth-of-type(3) { animation-delay: .14s; }
.gsvg .edge:nth-of-type(4) { animation-delay: .21s; }
.gsvg .edge:nth-of-type(5) { animation-delay: .28s; }
.gsvg .edge:nth-of-type(6) { animation-delay: .35s; }
.gsvg .edge:nth-of-type(7) { animation-delay: .42s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .gsvg .edge { stroke-dashoffset: 0; }
}

/* ---------- responsive -------------------------------------------------- */

@media (max-width: 1080px) {
  .rail__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage:nth-child(4) { border-left: 0; }
  .stage:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero__sub { max-width: 52ch; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(odd) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cells { grid-template-columns: minmax(0, 1fr); }
  .cell { border-left: 0; border-top: 1px solid var(--line); }
  .cell:first-child { border-top: 0; }
  .cell:nth-child(2) { border-top: 1px solid var(--line); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .band__inner { grid-template-columns: minmax(0, 1fr); }
  .release { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .release__side { position: static; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .release__date, .release__tag { margin-top: 0; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

/* The nav collapses well before the page does: six links plus two buttons stop
   fitting around 920px, which used to push the CTAs past the viewport edge. */
@media (max-width: 920px) {
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-raised); border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 16px;
  }
  .nav__links[data-open="false"] { display: none; }
  .nav__links a { padding: 11px 12px; font-size: .9375rem; }
  .nav__toggle { display: inline-flex; }
  .nav__right .btn--ghost { display: none; }
}

@media (max-width: 760px) {
  .nav__right .btn { display: none; }
  .section { padding-block: 66px; }
  .hero { padding-top: 56px; padding-bottom: 56px; }
  .rail__track { grid-template-columns: minmax(0, 1fr); }
  .stage { border-left: 0; border-top: 1px solid var(--line); }
  .stage:first-child { border-top: 0; }
  .item { grid-template-columns: minmax(0, 1fr); }
  .item__meta { flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
  .item__tags { justify-content: flex-start; }
  .cell { padding: 28px 22px 30px; }
}

@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats > div { border-left: 0; border-top: 1px solid var(--line); }
  .stats > div:first-child { border-top: 0; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .term__body { font-size: .75rem; }
}

/* ---------- journal / daily posts -------------------------------------- */

.journal__kicker {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-4); margin: 0 0 18px;
}
.journal__kicker a { color: var(--ink-3); text-decoration: none; }
.journal__kicker a:hover { color: var(--edge); }

.journal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.journal-card {
  display: grid; gap: 10px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-raised); padding: 26px 28px;
  transition: border-color .16s ease, background .16s ease;
}
.journal-card:hover { border-color: var(--line-strong); background: var(--bg-hover); }
.journal-card__day {
  font-family: var(--mono); font-size: .75rem; color: var(--edge);
  letter-spacing: .04em;
}
.journal-card__meta {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  font-family: var(--mono); font-size: .75rem; color: var(--ink-4);
}
.journal-card strong {
  font-size: 1.25rem; letter-spacing: -.03em; color: var(--ink); font-weight: 560;
}
.journal-card p { color: var(--ink-3); font-size: .9375rem; line-height: 1.55; max-width: 62ch; }

.post { max-width: 720px; }
.post h1 {
  font-size: clamp(2rem, 4.2vw, 2.85rem); letter-spacing: -.04em; line-height: 1.08;
}
.post__lede {
  margin-top: 22px; color: var(--ink-2); font-size: 1.125rem; line-height: 1.55;
}
.post__lede strong { color: var(--ink); font-weight: 540; }
.post__body { margin-top: 40px; }
.post__body h2 {
  margin-top: 36px; font-size: 1.25rem; letter-spacing: -.02em;
}
.post__body p, .post__body li {
  color: var(--ink-2); font-size: 1.025rem; line-height: 1.65;
}
.post__body p { margin-top: 14px; }
.post__body ul { margin: 14px 0 0; padding-left: 1.2em; display: grid; gap: 10px; }
.post__body a { color: var(--edge); text-decoration: none; }
.post__body a:hover { text-decoration: underline; }
.post__body code {
  font-family: var(--mono); font-size: .875rem; color: var(--edge);
  background: var(--edge-wash); padding: 1px 6px; border-radius: 5px;
}
.post__signoff {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--ink-3) !important; font-style: italic;
}
.post__nav {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: .9375rem;
}
.post__nav a { color: var(--ink-3); text-decoration: none; }
.post__nav a:hover { color: var(--edge); }
