/* Sayforth website, system "Breathing Room".
   Tokens, type, rules, and motion values come from the approved design board
   (design/board-v2). Paper and ink do the work. Teal is the speaking line and
   nothing else. The dark ground appears only where Sayforth is listening and
   at the upgrade moment. No cards: thin rules and space separate things.
   Phone mockups and the speaking line marks live in board.css (generated). */

:root {
  color-scheme: light dark;

  --paper: #F5F3EE;
  --paper-deep: #ECE8DF;
  --ink: #151515;
  --ink2: #5C5A55;
  --rule: #DAD6CC;
  --rule-strong: #BCB6A8;
  --board-rule-strong: #BCB6A8;

  --sl-teal: #0A7F78;
  --sl-rule: #CFC9BB;
  --warm: #FF6B4D;

  --btn: #151515;
  --btn-ink: #F5F3EE;

  --dark-ground: #141312;
  --dark-ink: #EDEAE3;
  --dark-ink2: #A09A8F;
  --dark-rule: #2E2C28;
  --pw-rule: #1F1E1C;
  --pw-line: #232220;

  --color-accent: #0E6B5A; /* press kit mark only */

  --sans: -apple-system, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  --serif: "New York", ui-serif, "Iowan Old Style", Charter, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --pad: clamp(20px, 5vw, 76px);
  --max: 1240px;
  --pw: 300px;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;

  --eo: cubic-bezier(0.22, 0.61, 0.36, 1);
  --eio: cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141312;
    --paper-deep: #1A1917;
    --ink: #EDEAE3;
    --ink2: #A09A8F;
    --rule: #2E2C28;
    --rule-strong: #46423B;
    --board-rule-strong: #46423B;
    --sl-teal: #4FD8BE;
    --sl-rule: #35322C;
    --btn: #EDEAE3;
    --btn-ink: #141312;
    --dark-ground: #0B0A09;
    --dark-rule: #34312B;
    --pw-rule: #141312;
    --pw-line: #191817;
    --color-accent: #4FD8BE;
  }
}

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

html, body { max-width: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--btn); color: var(--btn-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ------------------------------------------------------------------- type */

.kicker {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink2); margin: 0;
}
.display, .title, .statement {
  font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance;
}
.display { font-size: clamp(44px, 7.4vw, 96px); line-height: 0.98; letter-spacing: -0.026em; }
.title   { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.022em; }
.statement { font-size: clamp(22px, 2.7vw, 32px); line-height: 1.26; letter-spacing: -0.016em; }
.dim { color: var(--ink2); }
.display .dim { display: block; }
.lead {
  font-size: clamp(17px, 1.55vw, 20px); line-height: 1.6; color: var(--ink2);
  margin: 0; max-width: 56ch; text-wrap: pretty;
}
.lead b, .lead strong { color: var(--ink); font-weight: 600; }
.fine { font-size: 13.5px; line-height: 1.55; color: var(--ink2); margin: 0; max-width: 62ch; }
.fine a { color: var(--ink); }
.placeholder {
  font-family: var(--mono); font-size: 0.86em; color: #B3261E;
  background: rgba(179, 38, 30, 0.08); padding: 0.1em 0.35em; border-radius: 4px;
}
@media (prefers-color-scheme: dark) { .placeholder { color: #FF8A80; background: rgba(255, 138, 128, 0.1); } }

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

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 16px;
  background: var(--btn); color: var(--btn-ink);
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: opacity 120ms var(--eo);
}
.button:hover { opacity: 0.86; }
.button:active { opacity: 0.7; }
.button--sm { min-height: 40px; padding: 0 18px; border-radius: 12px; font-size: 14px; }
.button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.button .two { display: grid; text-align: left; line-height: 1.12; }
.button .two small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.72; }

.textlink {
  display: inline-flex; align-items: baseline; gap: 0.45em;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-underline-offset: 0.28em; text-decoration-thickness: 1px;
  padding: 14px 0; /* whole control tappable */
  transition: opacity 120ms var(--eo);
}
.textlink:hover { opacity: 0.7; }
.textlink::after { content: "\2192"; text-decoration: none; display: inline-block; transition: transform 200ms var(--eo); }
.textlink:hover::after { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; margin-top: 34px; }

.replay {
  appearance: none; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  font: inherit; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 9px 16px; cursor: pointer; transition: opacity 120ms var(--eo);
}
.replay:hover { background: var(--ink); color: var(--paper); }
.replay:active { opacity: 0.7; }
html:not(.js) .replay { display: none; }

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

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms linear;
}
.nav.is-stuck { border-bottom-color: var(--rule); }
.nav .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.wordmark {
  font-family: var(--serif); font-size: 27px; letter-spacing: -0.022em; line-height: 1;
  text-decoration: none; color: var(--ink); padding: 8px 0;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a, .nav-support {
  font-size: 14px; color: var(--ink2); text-decoration: none;
  padding: 10px 12px; border-radius: 8px; position: relative;
  transition: color 120ms var(--eo);
}
.nav-links a:hover, .nav-support:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--ink);
}
.nav-right { display: flex; align-items: center; gap: 10px; }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu .x { display: none; }
.menu[open] .bars { display: none; }
.menu[open] .x { display: block; }
.menu-sheet {
  position: fixed; left: 0; right: 0; top: 68px; bottom: 0;
  background: var(--paper); border-top: 1px solid var(--rule);
  padding: 8px var(--pad) 40px; overflow-y: auto;
  display: flex; flex-direction: column;
}
.menu-sheet a {
  font-family: var(--serif); font-size: 30px; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink); text-decoration: none; padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.menu-sheet a[aria-current="page"] { color: var(--ink2); }

@media (max-width: 980px) {
  .nav-links, .nav-support { display: none; }
  .nav-right { margin-left: auto; }
  .menu { display: block; }
}

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

.sect { padding-block: clamp(64px, 9vw, 132px); }
.sect--tight { padding-block: clamp(44px, 6vw, 84px); }
.sect + .sect--flush { padding-top: 0; }

.sect-head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.sect-head .kicker { white-space: nowrap; }
.sect-head::before { content: none; }
.sect-rule { flex: 1 1 auto; height: 1px; background: var(--rule); transform: translateY(-4px); }
.sect-num { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--ink2); }

.split {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px clamp(32px, 6vw, 96px); align-items: end;
}
.split--top { align-items: start; }
.stack > * + * { margin-top: 22px; }

@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .sect-rule { display: none; }
  .sect-head { display: block; }
  .sect-head .kicker { white-space: normal; }
}

/* ruled paper: the ground wherever takes are listed */
.ruled-ground {
  background-image: repeating-linear-gradient(to bottom,
    transparent 0, transparent 35px, var(--rule) 35px, var(--rule) 36px);
  background-position: 0 -1px;
}

/* the dark ground: Sayforth is listening, or the upgrade moment */
.ground-dark {
  background: var(--dark-ground);
  color: var(--dark-ink);
  --ink: var(--dark-ink);
  --ink2: var(--dark-ink2);
  --rule: var(--dark-rule);
  --rule-strong: #46423B;
  --board-rule-strong: #46423B;
  --sl-teal: #4FD8BE;
  --sl-rule: var(--dark-rule);
  --btn: #EDEAE3;
  --btn-ink: #141312;
  --paper: var(--dark-ground);
  position: relative;
  isolation: isolate;
}
.backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.backdrop svg { display: block; width: 100%; height: 100%; }
.backdrop .pw-rule { stroke: var(--pw-rule); }
.backdrop .pw-line { stroke: var(--pw-line); stroke-linecap: butt; }

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

.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px clamp(32px, 6vw, 96px); align-items: center;
}
.hero .display { margin-top: 22px; }
.hero .lead { margin-top: 28px; }
.hero .fine { margin-top: 18px; }
.hero-phone { display: flex; justify-content: center; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-phone { --pw: min(300px, 78vw); }
}

.page-hero { padding-block: clamp(44px, 6vw, 96px) clamp(36px, 5vw, 72px); }
.page-hero .title, .page-hero .display { margin-top: 20px; max-width: 18ch; }
.page-hero .lead { margin-top: 26px; }

/* phones on the site are pictures, not controls */
.phone-fig { margin: 0; display: grid; justify-items: center; gap: 16px; }
.phone-fig figcaption { font-size: 13px; line-height: 1.55; color: var(--ink2); max-width: 34ch; text-align: center; }
.phone-fig .phone { pointer-events: none; user-select: none; }
.phone-fig .phone span[class^="btn"], .phone-fig .phone .opt { cursor: default; }

/* -------------------------------------------------------------- hero demo */
/* The board's Today, Recording, Processing and Feedback screens stacked in the one hero phone
   and played as a loop. Everything that moves is a CSS animation keyed off a class, so site.js
   only advances a clock and swaps classes, and one class freezes them all. Durations are the
   board's tokens: press 120 ms, arrival 200 ms with an 8 px rise, the dark ground 320 ms, the
   feedback line 400 ms. Without JavaScript, and under Reduce Motion, only Today is drawn. */

.hero-demo { display: grid; justify-items: center; gap: 14px; }
.hd-stack { position: relative; height: 100%; }
.hd-foot { margin: 0; }
/* board.css sets .phone .screen { display: flex }, so hiding a screen has to outrank two
   classes: hence html:not(.js) and html.js rather than a bare .hd-s. */
html:not(.js) .hd-s { display: none; }
html:not(.js) .hd-today { display: flex; }
html.js .hd-s { display: flex; position: absolute; inset: 0; opacity: 0; z-index: 1; transition: opacity 0s linear 320ms; }
html.js .hd-s.is-on { opacity: 1; z-index: 2; transition: opacity 320ms var(--eio); }
.hero-demo.is-paused, .hero-demo.is-paused * { animation-play-state: paused; }

/* The touch: a soft circle that arrives from below, presses, and leaves. It crosses paper, the
   dark ground and both ink buttons, so it is a pale fill in a dark hairline: on any of the
   four grounds, one of the two reads. */
.hd-touch {
  position: absolute; left: 50%; top: 50%; width: 14%; aspect-ratio: 1; border-radius: 999px;
  opacity: 0; z-index: 8; pointer-events: none;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 1.5px rgba(20, 19, 18, 0.38), 0 8px 18px -8px rgba(20, 19, 18, 0.6);
  transform: translate(-50%, -50%);
}
.hd-touch::after {
  content: ""; position: absolute; inset: -7%; border-radius: 999px;
  border: 1.5px solid rgba(20, 19, 18, 0.3); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
  opacity: 0; transform: scale(0.72);
}
.hd-a .hd-touch { top: 86.6%; animation: hd-tap 1.3s var(--eo) both; }
.hd-a .hd-touch::after { animation: hd-ring 1.3s var(--eo) both; }
.hd-b .hd-touch { top: 90.4%; animation: hd-tap 1.2s var(--eo) both; }
.hd-b .hd-touch::after { animation: hd-ring 1.2s var(--eo) both; }
@keyframes hd-tap {
  0%   { opacity: 0; transform: translate(-50%, -50%) translateY(26px) scale(1.14); }
  26%  { opacity: 1; transform: translate(-50%, -50%) translateY(9px) scale(1.02); }
  55%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  66%  { opacity: 1; transform: translate(-50%, -50%) scale(0.82); }
  78%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
@keyframes hd-ring {
  0%, 64% { opacity: 0; transform: scale(0.72); }
  70%     { opacity: 0.85; transform: scale(0.86); }
  100%    { opacity: 0; transform: scale(1.7); }
}
/* the control answers the press on the board's token: opacity, no scale bounce */
.hd-a .hd-today .hd-btn { animation: hd-press 1.3s linear both; }
.hd-b .hd-rec .hd-btn { animation: hd-press 1.2s linear both; }
@keyframes hd-press { 0%, 64% { opacity: 1; } 70%, 76% { opacity: 0.7; } 84%, 100% { opacity: 1; } }

/* the take drawing: one dash per stroke, so the gaps are the board's real pauses */
.hd-seg { stroke-dasharray: var(--l); stroke-dashoffset: var(--l); }
.hd-rec.is-on .hd-seg { animation: hd-draw var(--t) linear var(--d) forwards; }
@keyframes hd-draw { to { stroke-dashoffset: 0; } }
.hd-now { transform: translateX(-85.36px); }
.hd-rec.is-on .hd-now { animation: hd-head 5.4s linear 0.4s both; }
@keyframes hd-head { from { transform: translateX(-85.36px); } to { transform: translateX(0); } }

/* the three steps, and then the coaching, arriving in reading order */
@keyframes hd-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hd-proc.is-on .step, .hd-fb.is-on .body > :nth-child(n+2):not(:nth-child(4)):not(:nth-child(14)) {
  animation: hd-in 200ms var(--eo) var(--d, 0s) backwards;
}
.hd-proc.is-on .step:nth-child(7) { --d: 0.25s; }
.hd-proc.is-on .step:nth-child(8) { --d: 0.95s; }
.hd-proc.is-on .step:nth-child(9) { --d: 1.65s; }
.hd-fb.is-on .sl { animation: hd-wipe 400ms var(--eo) 0.35s both; }
@keyframes hd-wipe { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
.hd-fb.is-on .body > :nth-child(2)  { --d: 0.10s; }
.hd-fb.is-on .body > :nth-child(3)  { --d: 0.19s; }
.hd-fb.is-on .body > :nth-child(5)  { --d: 0.70s; }
.hd-fb.is-on .body > :nth-child(6)  { --d: 0.79s; }
.hd-fb.is-on .body > :nth-child(7)  { --d: 1.10s; }
.hd-fb.is-on .body > :nth-child(8)  { --d: 1.19s; }
.hd-fb.is-on .body > :nth-child(9)  { --d: 1.28s; }
.hd-fb.is-on .body > :nth-child(10) { --d: 1.60s; }
.hd-fb.is-on .body > :nth-child(11) { --d: 1.69s; }
.hd-fb.is-on .body > :nth-child(12) { --d: 2.00s; }
.hd-fb.is-on .body > :nth-child(13) { --d: 2.09s; }
.hd-fb.is-on .body > :nth-child(15) { --d: 2.30s; }
.hd-fb.is-on .body > :nth-child(16) { --d: 2.39s; }

@media (prefers-reduced-motion: reduce) {
  html.js .hd-s { display: none; }
  html.js .hd-today { display: flex; position: static; opacity: 1; }
  .hd-touch, .hd-foot { display: none; }
}

/* ---------------------------------------------------------- speaking line */

.evo { display: grid; gap: clamp(24px, 3vw, 38px); }
.evo-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 8px 22px; align-items: center; }
.evo-day { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.evo-len { font-size: 12px; color: var(--ink2); margin-top: 3px; }
.evo-obs { grid-column: 2; font-size: 14.5px; line-height: 1.55; color: var(--ink2); margin: 0; max-width: 70ch; }
.evo-axis { grid-column: 2; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink2); border-top: 1px solid var(--rule); padding-top: 8px; }
@media (max-width: 700px) {
  .evo-row { grid-template-columns: minmax(0, 1fr); }
  .evo-obs, .evo-axis { grid-column: 1; }
}

/* the line draws once, because the reader arrived at it */
.js .sl-draw {
  clip-path: inset(-20% 100% -20% 0);
  transition: clip-path 400ms var(--eo);
  transition-delay: calc(var(--n, 0) * 400ms);
}
.js .is-in .sl-draw, .js .sl-draw.is-in { clip-path: inset(-20% 0 -20% 0); }
@media (prefers-reduced-motion: reduce) {
  .js .sl-draw { clip-path: none; opacity: 0; transition: opacity 200ms linear; transition-delay: 0ms; }
  .js .is-in .sl-draw, .js .sl-draw.is-in { opacity: 1; }
}

.legend {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink); margin-top: clamp(36px, 5vw, 64px);
}
.legend > div { padding: 20px 24px 4px 0; border-right: 1px solid var(--rule); }
.legend > div + div { padding-left: 24px; }
.legend > div:last-child { border-right: 0; }
.legend svg { display: block; width: 100%; max-width: 150px; height: 22px; }
.legend b { display: block; margin-top: 12px; font-size: 14.5px; font-weight: 600; }
.legend span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--ink2); margin-top: 2px; }
@media (max-width: 760px) {
  .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legend > div { border-bottom: 1px solid var(--rule); padding-bottom: 18px; }
  .legend > div:nth-child(2n) { border-right: 0; }
  .legend > div:nth-child(2n+1) { padding-left: 0; }
}

.anat--narrow { display: none; }
@media (max-width: 860px) { .anat--wide { display: none; } .anat--narrow { display: block; } }
.sl.anat { width: 100%; height: auto; }

/* --------------------------------------------------------- listening band */

.listen-prompt { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 40px); line-height: 1.16; letter-spacing: -0.018em; margin: 18px 0 0; max-width: 22ch; text-wrap: balance; }
.live { margin-top: clamp(40px, 6vw, 80px); }
.live svg { display: block; width: 100%; height: auto; overflow: visible; }
.live-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; min-height: 36px; }
.live-state { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink2); }
.live-state i { width: 8px; height: 8px; border-radius: 999px; background: var(--warm); flex: 0 0 auto; }
.live-state b { color: var(--ink); font-weight: 600; }
.live.is-done .live-state i, .live.is-done [data-live-now] { opacity: 0; }
.listen-copy { margin-top: clamp(40px, 5vw, 64px); }

/* ------------------------------------------------------- reading rows etc */

.rows { border-top: 1px solid var(--ink); margin: 0; padding: 0; list-style: none; }
.rows > li, .rows > div {
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 6px 24px;
  padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.rows .kicker { padding-top: 0.35em; }
.rows p { margin: 0; }
.rows .says { font-family: var(--serif); font-size: clamp(20px, 2.1vw, 26px); line-height: 1.22; letter-spacing: -0.014em; }
.rows .why { font-size: 14.5px; line-height: 1.55; color: var(--ink2); margin-top: 6px; max-width: 52ch; }
@media (max-width: 620px) { .rows > li, .rows > div { grid-template-columns: minmax(0, 1fr); } }

.feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px clamp(32px, 6vw, 96px); align-items: center; }
.feature--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.feature--flip .phone-fig { order: 2; }
@media (max-width: 860px) {
  .feature, .feature--flip { grid-template-columns: minmax(0, 1fr); }
  .feature--flip .phone-fig { order: 0; }
  .phone-fig { --pw: min(300px, 78vw); }
}

/* a day, step by step */
.steps { counter-reset: step; }
.step-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px clamp(32px, 6vw, 96px); align-items: center;
  padding-block: clamp(44px, 6vw, 84px); border-top: 1px solid var(--rule);
}
.step-row:first-child { border-top: 1px solid var(--ink); }
.step-row:nth-child(even) .phone-fig { order: 2; }
.step-row .phones { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.step-row .title { font-size: clamp(28px, 3.4vw, 44px); margin-top: 14px; }
.step-row .lead { margin-top: 18px; font-size: 17px; }
.step-row .fine { margin-top: 14px; }
.step-row.ground-dark { border-top: 0; box-shadow: 0 0 0 100vmax var(--dark-ground); clip-path: inset(0 -100vmax); }
.step-row.ground-dark + .step-row { border-top: 0; }
@media (max-width: 860px) {
  .step-row { grid-template-columns: minmax(0, 1fr); }
  .step-row:nth-child(even) .phone-fig { order: 0; }
}

/* four chapters, as a ruled list */
.chapters { border-top: 1px solid var(--ink); }
.chapter {
  display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.3fr) 8rem;
  gap: 8px 28px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.chapter .n { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--ink2); }
.chapter h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.016em; line-height: 1.12; margin: 0; }
.chapter h3 small { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink2); margin-top: 8px; }
.chapter p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.chapter .think { font-size: 12.5px; color: var(--ink2); text-align: right; }
@media (max-width: 860px) {
  .chapter { grid-template-columns: 3rem minmax(0, 1fr); }
  .chapter p, .chapter .think { grid-column: 2; text-align: left; }
}

/* measured rows: from, to */
.kvs { border-top: 1px solid var(--ink); }
.kvs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.kvs .k { color: var(--ink2); }
.kvs .v { display: inline-flex; gap: 0.5em; align-items: baseline; }
.kvs .from, .kvs .to-word { color: var(--ink2); }
.kvs .to { font-weight: 600; }

/* day 1 and day 30 */
.compare { display: grid; gap: 26px; }
.compare-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 6px 22px; align-items: center; }
.compare-row .evo-len { margin-top: 2px; }
@media (max-width: 620px) { .compare-row { grid-template-columns: minmax(0, 1fr); } }
.transcripts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.transcripts > div { padding: 20px 28px 8px 0; }
.transcripts > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.transcripts p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink2); }
.transcripts u { text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--sl-teal); }
@media (max-width: 620px) {
  .transcripts { grid-template-columns: minmax(0, 1fr); }
  .transcripts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

.northstar { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: clamp(28px, 4vw, 48px) 0; margin: 0; }
.northstar p { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.16; letter-spacing: -0.02em; margin: 0; max-width: 24ch; text-wrap: balance; }
.northstar span { color: var(--ink2); }

/* research, as ruled columns */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.cols > div { padding: 26px 30px 10px 0; border-right: 1px solid var(--rule); }
.cols > div + div { padding-left: 30px; }
.cols > div:last-child { border-right: 0; }
.cols .big { font-family: var(--serif); font-size: clamp(44px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.cols .big small { font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--ink2); margin-left: 8px; }
.cols h3 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink2); margin: 0 0 14px; }
.cols p { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.cols p.src { font-size: 12.5px; margin-top: 10px; }
.cols ul { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.75; color: var(--ink2); }
.cols ul b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .cols { grid-template-columns: minmax(0, 1fr); }
  .cols > div, .cols > div + div { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
}

.privacy-line { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 46px); line-height: 1.16; letter-spacing: -0.02em; margin: 18px 0 0; max-width: 26ch; text-wrap: balance; }
.privacy-line span { color: var(--ink2); }

/* closing band */
.closing { padding-block: clamp(72px, 10vw, 148px); }
.closing .display { max-width: 14ch; }
.closing .lead { margin-top: 24px; }
.plans-quiet { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--rule-strong); }
.plans-quiet > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.plans-quiet .k { font-weight: 600; }
.plans-quiet .v { color: var(--ink2); }

/* ---------------------------------------------------------------- pricing */

.table-scroll { overflow-x: auto; }
.price-table { width: 100%; min-width: 640px; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 15px; }
.price-table th, .price-table td { text-align: left; vertical-align: top; padding: 17px 24px 17px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.price-table thead th { padding-block: 24px; vertical-align: bottom; }
.price-table tbody th { color: var(--ink); width: 44%; }
.price-table td { color: var(--ink2); }
.price-table .plan { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink2); }
.price-table .amt { display: block; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.022em; line-height: 1.1; margin-top: 8px; color: var(--ink); }
.price-table .amt small { font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--ink2); }
.price-table .note { display: block; font-size: 13px; color: var(--ink2); margin-top: 6px; }
.price-table .yes { color: var(--ink); font-weight: 600; }

.plan-rows { border-top: 1px solid var(--rule-strong); margin-top: 28px; }
.plan-rows > div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.plan-rows b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.018em; }
.plan-rows span { display: block; font-size: 14.5px; color: var(--ink2); margin-top: 2px; }

/* --------------------------------------------------------------- privacy */

.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.ledger > div { padding: 24px 32px 8px 0; }
.ledger > div + div { padding-left: 32px; border-left: 1px solid var(--rule); }
.ledger h3 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink2); margin: 0 0 8px; }
.ledger ul { margin: 0; padding: 0; list-style: none; }
.ledger li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.ledger li:last-child { border-bottom: 0; }
.ledger li span { display: block; font-size: 13.5px; color: var(--ink2); }
@media (max-width: 700px) {
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .ledger > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink); }
}

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

.faq-list { border-top: 1px solid var(--ink); max-width: 880px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 22px 0; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.014em; line-height: 1.22;
  transition: opacity 120ms var(--eo);
}
.faq-list summary:active { opacity: 0.7; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .pm { flex: 0 0 auto; width: 14px; height: 14px; position: relative; transform: translateY(1px); }
.faq-list .pm::before, .faq-list .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); }
.faq-list .pm::after { transform: rotate(90deg); transition: transform 200ms var(--eo); }
.faq-list details[open] .pm::after { transform: rotate(0deg); }
.faq-list details > div { padding: 0 0 24px; max-width: 66ch; }
.faq-list details p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: var(--ink2); }
.faq-list details p:last-child { margin-bottom: 0; }
.faq-list a { color: var(--ink); }
.faq-group { margin-top: clamp(44px, 6vw, 72px); }
.faq-group > .kicker { margin-bottom: 16px; }

/* ------------------------------------------------- documents (legal etc.) */

.doc .page-head { padding-block: clamp(44px, 6vw, 88px) 12px; }
.doc section { padding-block: 20px; }
.doc .head { max-width: 760px; margin-bottom: 28px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.024em; margin: 0 0 18px; text-wrap: balance; }
.doc h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.14; letter-spacing: -0.016em; margin: 44px 0 12px; padding-top: 26px; border-top: 1px solid var(--rule); }
.doc .head h2 { margin-top: 12px; }
.doc h3 { font-size: 17px; font-weight: 600; margin: 26px 0 8px; }
.doc .lede { font-size: 19px; line-height: 1.6; color: var(--ink2); margin: 0; max-width: 60ch; }
.doc .meta { font-size: 13.5px; color: var(--ink2); }
.doc .text-2 { color: var(--ink2); }
.doc .mt-0 { margin-top: 0; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.68; }
.doc .prose, .doc .doc-body { max-width: 780px; }
.doc .prose p, .doc .prose li { color: var(--ink2); }
.doc .prose strong { color: var(--ink); font-weight: 600; }
.doc .prose ul, .doc .prose ol, .doc ol.prose { padding-left: 1.3em; }
.doc .prose li + li, .doc ol.prose li + li { margin-top: 6px; }
.doc a { color: var(--ink); }
.doc code { font-family: var(--mono); font-size: 0.88em; }
.doc .card, .doc .callout-box {
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
  padding: 22px 0; max-width: 780px;
}
.doc .card svg { display: block; width: 64px; height: 64px; }
.doc table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); margin: 20px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 13px 20px 13px 0; border-bottom: 1px solid var(--rule); min-width: 9rem; }
.doc th { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink2); }
.doc td { color: var(--ink2); line-height: 1.55; }
.doc main, main.doc { padding-bottom: clamp(56px, 8vw, 112px); }

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

.foot { border-top: 1px solid var(--ink); padding-block: clamp(40px, 5vw, 64px) 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
.foot .wordmark { font-size: 32px; }
.foot .tag { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink2); }
.foot h4 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink2); margin: 6px 0 12px; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li a { display: inline-block; padding: 7px 0; font-size: 15px; color: var(--ink); text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink2); }
.foot-bottom p { margin: 0; }
.foot-sign { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; justify-content: space-between; padding-block: 34px 56px; }
.foot-caps { font-size: clamp(11px, 1.3vw, 13px); font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; margin: 0; }
.foot-serif { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.4vw, 27px); letter-spacing: -0.012em; margin: 0; color: var(--ink2); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ----------------------------------------------------------------- motion */
/* Content arrival: 200 ms, fade plus an 8 px rise, in reading order.
   Nothing loops and nothing moves on its own. */
.js [data-arrive] {
  opacity: 0; transform: translateY(8px);
  transition: opacity 200ms var(--eo), transform 200ms var(--eo);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-arrive].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-arrive] { transform: none; transition: opacity 200ms linear; transition-delay: 0ms; }
  .textlink::after, .faq-list .pm::after { transition: none; }
}

/* Pre-launch: the App Store button is a label, not a link, until the listing exists. */
.button--soon { cursor: default; pointer-events: none; opacity: 0.78; }

/* --------------------------------------------------------------- waitlist */
/* Pre-launch email list. One field, one button. Opens as a popup from any "Get launch updates"
   control; the same form is a full page at waitlist.html when JS is off. */
.button--line {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: background 160ms var(--eo), color 160ms var(--eo);
}
.button--line:hover { opacity: 1; background: var(--btn); color: var(--btn-ink); }
.actions .button + .button { margin-left: -14px; } /* .actions gaps are sized for a text link */

.wl {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  margin: auto; padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--rule); border-radius: 24px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35);
  overflow: auto;
}
.wl::backdrop { background: rgba(20, 19, 18, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wl[open] { animation: wl-in 200ms var(--eo) both; }
.wl[open]::backdrop { animation: wl-fade 200ms linear both; }
@keyframes wl-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes wl-fade { from { opacity: 0; } }

.wl-close {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink2); cursor: pointer;
  transition: color 120ms var(--eo), background 120ms var(--eo);
}
.wl-close:hover { color: var(--ink); background: var(--paper-deep); }
.wl-close svg { width: 18px; height: 18px; }

.wl-title {
  margin: 14px 0 0; max-width: 19ch;
  font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 5vw, 40px);
  line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance;
}
.wl-title .dim { color: var(--ink2); }
.wl-lead { margin: 16px 0 0; max-width: 46ch; font-size: 16px; line-height: 1.6; color: var(--ink2); }
.wl-form { margin-top: 28px; }
.wl-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; }
.wl-row { display: flex; gap: 10px; }
.wl-input {
  flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 18px;
  border: 0; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--rule-strong);
  background: transparent; color: var(--ink); font: inherit; font-size: 16px; /* 16px: no iOS zoom */
  transition: box-shadow 120ms var(--eo);
}
.wl-input::placeholder { color: var(--ink2); opacity: 0.7; }
.wl-input:hover { box-shadow: inset 0 0 0 1.5px var(--ink2); }
.wl-input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.wl-input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--warm); }
.wl-form .button { flex: 0 0 auto; }
.wl-form .button[disabled] { opacity: 0.55; cursor: progress; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-msg { min-height: 1.5em; margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.wl-msg:empty { min-height: 0; margin: 0; }
.wl-form .fine { margin-top: 14px; }

.wl-done { outline: none; }
.wl-done .wl-title { margin-top: 22px; }
.wl-line { display: block; width: min(320px, 100%); height: 24px; }
.wl-line path {
  fill: none; stroke: var(--sl-teal); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: wl-draw 400ms var(--eo) 120ms forwards;
}
@keyframes wl-draw { to { stroke-dashoffset: 0; } }

.wl-page .wl-title { max-width: 14ch; font-size: clamp(40px, 6.4vw, 72px); }
.wl-page .wl-lead { font-size: 18px; }
.wl-page .wl-form { max-width: 560px; }

@media (max-width: 560px) {
  .actions .button + .button { margin-left: 0; }
  .wl { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 24px 24px 0 0; border-width: 1px 0 0; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  @keyframes wl-in { from { opacity: 0; transform: translateY(24px); } }
  .wl-row { flex-direction: column; }
  .wl-form .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .wl[open], .wl[open]::backdrop { animation: none; }
  .wl-line path { animation: none; stroke-dashoffset: 0; }
  .button--line { transition: none; }
}

/* ------------------------------------------------------------------------------------ blog */
/* /blog/, /blog/<slug>/, /blog/category/<slug>/. Self-contained: does not lean on .doc (the
   legal-page wrapper) since a blog post is its own thing, not a policy document. Same tokens,
   same ruled-list language as the rest of the site; teal stays reserved for the speaking line. */

.blog-cats { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; }
.blog-cats a, .blog-cat-current { font-size: 13.5px; }
.blog-cats a { color: var(--ink2); text-decoration: underline; text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
.blog-cats a:hover { color: var(--ink); }
.blog-cat-current { color: var(--ink); font-weight: 600; }

.blog-draft-badge {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); margin: 0;
}
p.blog-draft-badge { margin-bottom: 10px; }
.blog-item-meta .blog-draft-badge { margin-right: 8px; }

.blog-list { border-top: 1px solid var(--ink); margin: 0; padding: 0; list-style: none; }
.blog-item { border-bottom: 1px solid var(--rule); }
.blog-item a { display: block; padding: 26px 0; text-decoration: none; color: inherit; }
.blog-item-meta { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink2); margin: 0; }
.blog-item-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2;
  letter-spacing: -0.016em; margin: 10px 0 0; transition: opacity 120ms var(--eo);
}
.blog-item a:hover .blog-item-title { opacity: 0.7; }
.blog-item-desc { font-size: 15px; line-height: 1.6; color: var(--ink2); margin: 8px 0 0; max-width: 62ch; }
.blog-item-tags { font-size: 12.5px; color: var(--ink2); margin: 10px 0 0; }
.blog-item-tags span { text-transform: lowercase; }
.blog-item-tags span + span::before { content: ", "; }

.blog-empty .button { margin-top: 4px; }

/* post header: room for a longer, question-shaped title than the 18ch cap other page heroes use */
.post-hero .title, .post-hero .display { max-width: 26ch; }
.post-kicker a { color: inherit; text-decoration: underline; text-underline-offset: 0.24em; }
.post-kicker a:hover { opacity: 0.7; }
.post-sl-wrap { margin-top: clamp(28px, 4vw, 44px); }
.post-sl { width: 100%; max-width: 640px; height: auto; display: block; }

/* markdown body: comfortable measure, quiet by default, teal never appears here */
.post-body { max-width: 70ch; }
.post-body > :first-child { margin-top: 0; }
.post-body p, .post-body li { font-size: 17px; line-height: 1.68; color: var(--ink2); }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body a { color: var(--ink); }
.post-body h2, .post-body h3, .post-body h4 {
  font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance;
  margin: 1.6em 0 0.6em; letter-spacing: -0.016em; line-height: 1.18;
}
.post-body h2 { font-size: clamp(24px, 2.8vw, 32px); padding-top: 0.9em; border-top: 1px solid var(--rule); }
.post-body h3 { font-size: clamp(20px, 2.2vw, 25px); }
.post-body h4 { font-size: 17px; font-weight: 600; font-family: var(--sans); letter-spacing: 0; }
.post-body ul, .post-body ol { padding-left: 1.25em; margin: 1em 0; }
.post-body li + li { margin-top: 8px; }
.post-body li ul, .post-body li ol { margin: 8px 0 0; }
.post-body blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--rule-strong);
  font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.42; color: var(--ink);
}
.post-body blockquote p { font-size: inherit; line-height: inherit; color: inherit; margin: 0; }
.post-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.post-body code { font-family: var(--mono); font-size: 0.86em; background: var(--paper-deep); padding: 0.15em 0.4em; border-radius: 4px; }
.post-body pre { background: var(--paper-deep); border: 1px solid var(--rule); border-radius: 10px; padding: 16px 18px; overflow-x: auto; }
.post-body pre code { background: none; padding: 0; border-radius: 0; font-size: 14px; line-height: 1.6; }

/* images: cover and in-content figures alike */
.blog-fig { margin: 1.6em 0; }
.blog-fig img {
  display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--rule);
  background: var(--paper-deep);
}
.blog-fig figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ink2); }
.post-cover { margin: clamp(24px, 4vw, 40px) 0 0; }
.post-cover img { border-radius: 18px; }

.blog-cta {
  margin: 1.8em 0 0.4em; padding-top: 1.4em; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
}
.blog-cta-line { font-size: 15px; color: var(--ink2); margin: 0; }

.blog-end {
  border-top: 1px solid var(--ink); padding-top: clamp(28px, 4vw, 44px); margin-top: clamp(40px, 6vw, 72px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
}
.blog-end-line { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); color: var(--ink); margin: 0; max-width: 30ch; }

.blog-more { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); padding-top: 24px; }
.blog-more .kicker { margin-bottom: 14px; }
.blog-more ul { list-style: none; margin: 0; padding: 0; }
.blog-more li { border-bottom: 1px solid var(--rule); }
.blog-more a {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px;
  padding: 14px 0; color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 600;
}
.blog-more a:hover { text-decoration: underline; }
.blog-more-date { font-size: 13px; font-weight: 400; color: var(--ink2); }

@media (max-width: 620px) {
  .blog-item a { padding: 20px 0; }
  .blog-end, .blog-cta { flex-direction: column; align-items: flex-start; }
}
