/*
 * The one stylesheet for every page, including the server-rendered /e/
 * episode pages. Lives at the site root on purpose: /assets/* is cached
 * immutable for a year, and a stylesheet must stay editable. Values come
 * from the Paper mockups (1440px desktop, 390px mobile artboards);
 * desktop is the base, mobile overrides sit in the max-width media queries.
 */

/* ── Tokens ── */
:root {
  --ink: #0f0f0e;
  --accent: #2970ff;
  --accent-bright: #5a8cff;
  --fill: #f6f6f5;
  --line: #e2e1dd;
  --line-soft: #d8d7d2;
  --line-faq: #cfcec9;
  --line-on-ink: #2e2e2a;
  --body: #3a3a38;
  --body-soft: #4a4a46;
  --muted: #6e6e68;
  --faint: #9c9c96;
  --gloss: #8a8a84;
  --on-ink-body: #d6d5d0;
  --on-ink-muted: #b5b4ae;
  --on-accent-body: #dce7ff;
  --lane-left: #109083;
  --lane-center: #d69a1c;
  --lane-center-text: #b07e14;
  --lane-right: #7c57c4;
  --lane-defense: #8e2b2b;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', system-ui, sans-serif;
  --font-hebrew: 'Heebo', system-ui, sans-serif;
  /* The height of the sticky bar. The episode page's chapter rail and its
   * jump-to-a-chapter offsets are written against this, so the bar's height
   * lives in one place rather than being retyped as a number. */
  --nav-h: 78px;
}
@media (max-width: 767px) {
  :root {
    --nav-h: 56px;
  }
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  /* No grey flash under a finger on iOS and Android. Nothing here defines an
   * :active style, so a tap now gives no visual feedback until the page
   * responds; add one per element if that ever feels dead. */
  -webkit-tap-highlight-color: transparent;
}
html.scroll-locked {
  overflow: hidden;
}
body {
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}
/* The arrow everywhere, like a native app. The hand flickered as the
 * pointer crossed the invisible edges of click targets, and the honest fix
 * is that the cursor never changes at all: hover color and the focus ring
 * do the signalling instead (2026-08-26). */
a,
button {
  cursor: default;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* The blue ring is for people moving around with a keyboard. Opening the menu
 * or the app overlay moves focus by script, and phone browsers draw the ring
 * for that too, so a tap lights up the close button or the button just tapped.
 * site.js records what the last input was; on touch and mouse, no ring. */
html[data-input='pointer'] :focus-visible {
  outline: none;
}

/* Sections span the viewport; content sits in a centered 1440px wrap so a
 * 1440 window shows the artboard exactly. */
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}
@media (max-width: 767px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgb(15 15 14 / 6%);
}
.nav .wrap {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav .brand-mark {
  width: 36px;
  height: 36px;
}
.nav .brand-name {
  font-size: 22px;
  line-height: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* In the header the logo fills the bar top to bottom. As a snug 32px box
 * in a 78px bar, its invisible edge sat mid-bar, and a pointer sliding by
 * clipped it: hand for a frame, arrow again. The seam of a click target
 * belongs on a line the eye can see - here, the edges of the bar. */
.nav .brand {
  align-self: stretch;
}
.brand-mark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}
/* The wordmark is Archivo Black, the same weight as the headlines, rather
 * than the 800 the rest of the bold UI uses. */
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
/* Each link fills the height of the bar, and 18px of side padding - half
 * the 36px gap, cancelled by a matching negative margin so nothing moves -
 * makes the links meet edge to edge. The whole cluster, SHOWS through the
 * button, is then one continuous hand: no dead slivers inside it for a
 * passing pointer to flash across. */
.nav-links {
  display: flex;
  align-items: stretch;
  gap: 36px;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 0 18px;
  margin: 0 -18px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.nav-link:hover {
  color: var(--accent);
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  padding: 12px 22px;
}
.pill:hover {
  opacity: 0.9;
}
/* The header pill's real target is a full-height rectangle behind the
 * rounded shape, reaching 18px sideways to meet the ABOUT link's box. */
@media (min-width: 768px) {
  .nav .pill {
    position: relative;
  }
  .nav .pill::after {
    content: '';
    position: absolute;
    inset: -18px;
  }
}
.nav-burger {
  display: none;
}
@media (max-width: 767px) {
  .brand {
    gap: 9px;
  }
  .brand-mark {
    width: 18px;
    height: 18px;
  }
  .nav .brand-mark {
    width: 32px;
    height: 32px;
  }
  .nav .brand-name {
    font-size: 20px;
    line-height: 26px;
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .nav-actions .pill {
    padding: 9px 16px;
    line-height: 22px;
  }
  /* 2px bars, square, to match the stroke of the X that replaces this
   * button when the menu is open. Three even bars and two even gaps make
   * the icon 14px tall, so centring it in the bar lands on whole pixels
   * with nothing to pin. */
  .nav-burger {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    width: 20px;
    flex-shrink: 0;
  }
  .nav-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }
  .nav-burger span:nth-child(2) {
    width: 14px;
  }
}
@media (min-width: 768px) {
  .nav-actions {
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: 36px;
  }
  .nav-links {
    align-self: stretch;
  }
}

/* ── Mobile nav menu ── */
.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #ffffff;
  overflow-y: auto;
}
/* 57px, not 56: the border sits inside this box (border-box) but outside the
 * bar's, so an equal height would leave the menu's logo half a pixel high. */
.nav-menu-head {
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}
/* The menu opens over the bar, so its logo is the bar's logo at the bar's
 * size. A smaller one here made the mark jump the moment the menu opened. */
.nav-menu-head .brand-mark {
  width: 32px;
  height: 32px;
}
.nav-menu-head .brand-name {
  font-size: 20px;
  line-height: 26px;
}
.nav-menu-list {
  padding: 12px 20px 0;
}
.nav-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  border-bottom: 1px solid #ebebeb;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  line-height: 30px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 20px 0;
}
.nav-menu-cta .pill {
  width: 100%;
  padding: 16px 0;
  font-size: 16px;
  line-height: 27px;
}

/* ── Store badges ──
 * Apple's and Google's own artwork, used unaltered. The only choice we make
 * is which supplied variant to place: the black one on light grounds, the
 * white one on the ink footer. The two badges have different aspect ratios by
 * design, so they are matched on height and never stretched to equal widths. */
.store-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 8px 6px;
  margin: -8px -6px;
}
.store-badge img {
  display: block;
  height: 54px;
  width: auto;
}
.store-badge:hover {
  opacity: 0.85;
}
@media (max-width: 767px) {
  .store-badge img {
    height: 48px;
  }
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: #ffffff;
}
.footer .wrap {
  padding-top: 128px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.footer-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}
.footer-lede {
  width: 800px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 76px;
  line-height: 78px;
  letter-spacing: -0.035em;
  color: #ffffff;
}
.footer-deck {
  width: 560px;
  font-size: 17px;
  line-height: 29px;
  color: var(--on-ink-muted);
}
.colophon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--line-on-ink);
}
.colophon .brand-mark {
  width: 16px;
  height: 16px;
}
.colophon .brand {
  gap: 10px;
}
.colophon .brand-name {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.01em;
  color: #ffffff;
}
/* Same again, in the footer: padding turns a 16px line of text into a
 * 36px target, and 14px sideways - half the 28px gap - makes the links
 * meet edge to edge, one continuous hand. Every bit of padding is pulled
 * back by a matching negative margin (vertical on the row, horizontal on
 * each link), so nothing moves. */
.colophon-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: -10px 0;
}
.colophon-link {
  padding: 10px 14px;
  margin: 0 -14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.06em;
  color: var(--gloss);
}
.colophon-link:hover {
  color: #ffffff;
}
@media (max-width: 1099px) {
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-lede {
    width: 100%;
  }
  .footer-deck {
    width: auto;
    max-width: 560px;
  }
}
@media (max-width: 767px) {
  .footer .wrap {
    padding-top: 64px;
    padding-bottom: 28px;
    gap: 84px;
  }
  .footer-cta {
    gap: 28px;
  }
  .footer-lede {
    gap: 18px;
  }
  .footer-title {
    font-size: 42px;
    line-height: 44px;
    letter-spacing: -0.04em;
  }
  .footer-deck {
    font-size: 16px;
    line-height: 27px;
  }
  .colophon {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 24px;
  }
  .colophon .brand {
    gap: 9px;
  }
  .colophon .brand-mark {
    width: 18px;
    height: 18px;
  }
  .colophon-links {
    gap: 20px;
  }
  .colophon-link {
    font-size: 11px;
  }
}

/* ── Get-the-app overlay ── */
.app-overlay[hidden],
.nav-menu[hidden] {
  display: none;
}
.app-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgb(15 15 14 / 62%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}
.app-overlay-card {
  position: relative;
  width: 600px;
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 56px 44px;
}
/* The close button sits in the card's corner instead of the content column,
 * so its two insets match each other and the 22px corner radius, rather than
 * inheriting the card's 56px side padding. Out of flow, it also stops
 * pushing the heading down. */
.app-overlay-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
}
.app-overlay-lede {
  padding: 28px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.app-overlay-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  line-height: 46px;
  letter-spacing: -0.03em;
}
.app-overlay-deck {
  /* Desktop shows the QR block, which already names both stores. On phones
   * that block is hidden, so the deck carries the explanation there. */
  display: none;
  width: 440px;
  max-width: 100%;
  font-size: 17px;
  line-height: 27px;
  color: var(--body-soft);
}
.app-overlay-scan {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.app-overlay-qr {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  image-rendering: pixelated;
}
.app-overlay-scan-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-overlay-scan-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.01em;
}
.app-overlay-scan-note {
  width: 250px;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}
.app-overlay-or {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.app-overlay-or-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.app-overlay-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.app-overlay-buttons .store-badge img {
  height: 52px;
}
@media (max-width: 767px) {
  .app-overlay-card {
    width: 342px;
    max-width: 100%;
    padding: 22px 24px 28px;
  }
  .app-overlay-lede {
    padding: 32px 0 16px;
    gap: 11px;
  }
  .app-overlay-title {
    font-size: 30px;
    line-height: 34px;
  }
  .app-overlay-deck {
    display: block;
    width: auto;
    font-size: 16px;
    line-height: 27px;
  }
  .app-overlay-scan {
    display: none;
  }
  .app-overlay-or {
    padding-top: 16px;
  }
  .app-overlay-or-label {
    display: none;
  }
  .app-overlay-buttons {
    gap: 10px;
  }
  .app-overlay-buttons .store-badge img {
    height: 44px;
  }
}

/* ── FAQ ── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.faq-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 58px;
  letter-spacing: -0.03em;
}
.faq-list {
  border-bottom: 1px solid var(--line-faq);
}
.faq-item {
  display: flex;
  flex-direction: column;
}
/* The row's padding AND its top rule sit on the button, not on the item
 * around it, so the whole strip from one rule to the next is the click
 * target. With the rule on the wrapper, the 1px line between two rows
 * belonged to nothing clickable, and a pointer crossing from row to row
 * flashed to an arrow for exactly that one pixel. When the answer is open
 * the button's bottom padding becomes the gap above it and the answer
 * carries the row's bottom padding, so the spacing is unchanged in both
 * states. */
.faq-q {
  border-top: 1px solid var(--line-faq);
  padding: 30px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq-toggle {
  width: 26px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 30px;
  color: var(--accent);
}
.faq-q[aria-expanded='true'] {
  padding-bottom: 20px;
}
.faq-a {
  max-width: 900px;
  padding-bottom: 36px;
  font-size: 17px;
  line-height: 29px;
  color: var(--body-soft);
}
.faq-a[hidden] {
  display: none;
}
@media (max-width: 767px) {
  .faq {
    gap: 28px;
  }
  .faq-heading {
    font-size: 30px;
    line-height: 34px;
    letter-spacing: -0.035em;
  }
  .faq-q {
    padding: 20px 0 26px;
    align-items: flex-start;
    gap: 20px;
    font-size: 19px;
    line-height: 25px;
  }
  .faq-toggle {
    width: 18px;
    text-align: right;
    font-size: 19px;
    line-height: 25px;
  }
  .faq-q[aria-expanded='true'] {
    padding-bottom: 14px;
  }
  .faq-a {
    padding-bottom: 26px;
    font-size: 16px;
    line-height: 27px;
  }
}

/* ══ Home ══ */

/* Hero */
.hero .wrap {
  position: relative;
  padding-top: 86px;
  padding-bottom: 60px;
  min-height: 880px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 112px;
  line-height: 104px;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.hero-band {
  display: flex;
  align-items: center;
  background: var(--accent);
  color: #ffffff;
  padding: 6px 18px 12px;
  position: relative;
  left: -18px;
}
.hero-line-last {
  line-height: 112px;
}
.hero-lede {
  width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}
.hero-deck {
  width: 560px;
  font-size: 17px;
  line-height: 29px;
  color: var(--body);
}
.hero-phones {
  position: absolute;
  right: 72px;
  top: 92px;
  width: 505px;
  height: 719px;
  overflow: hidden;
}
.hero-phone-a {
  position: absolute;
  left: 0;
  top: 0;
  width: 285px;
  height: 633px;
}
.hero-phone-b {
  position: absolute;
  left: 200px;
  top: 40px;
  width: 305px;
  height: 679px;
}
@media (max-width: 1099px) {
  .hero .wrap {
    min-height: 0;
  }
  .hero-phones {
    position: static;
    align-self: center;
  }
}
@media (max-width: 767px) {
  .hero .wrap {
    padding-top: 40px;
    padding-bottom: 44px;
    gap: 18px;
  }
  .hero-headline {
    gap: 0;
    font-size: 58px;
    line-height: 56px;
  }
  .hero-band {
    padding: 3px 20px 7px;
    left: -20px;
  }
  .hero-line-last {
    line-height: 60px;
  }
  .hero-lede {
    width: 100%;
    gap: 22px;
  }
  .hero-deck {
    width: 100%;
    font-size: 16px;
    line-height: 27px;
  }
  .hero-phones {
    width: 100%;
    margin-top: 26px;
    height: 446px;
    position: relative;
    right: auto;
    top: auto;
    align-self: stretch;
    overflow: visible;
  }
  .hero-phone-a {
    left: 18px;
    width: 177px;
    height: 392px;
  }
  .hero-phone-b {
    left: 142px;
    top: 25px;
    width: 189px;
    height: 421px;
  }
}

/* Black statement section */
.gap-section {
  background: var(--ink);
  color: #ffffff;
}
.gap-section .wrap {
  padding-top: 128px;
  padding-bottom: 128px;
}
.gap-heading {
  max-width: 1190px;
  padding-bottom: 56px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 76px;
  line-height: 78px;
  letter-spacing: -0.035em;
}
.gap-rule {
  border: 0;
  border-top: 1px solid var(--body);
}
.gap-row {
  display: flex;
  gap: 64px;
  padding-top: 44px;
}
.gap-spacer {
  width: 264px;
  flex-shrink: 0;
}
.gap-body {
  width: 660px;
  flex-shrink: 0;
  font-size: 17px;
  line-height: 29px;
  color: var(--on-ink-body);
}
@media (max-width: 1099px) {
  .gap-spacer {
    display: none;
  }
  .gap-body {
    width: auto;
    max-width: 660px;
    flex-shrink: 1;
  }
}
@media (max-width: 767px) {
  .gap-section .wrap {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .gap-heading {
    padding-bottom: 32px;
    font-size: 42px;
    line-height: 44px;
  }
  .gap-row {
    padding-top: 28px;
  }
  .gap-body {
    font-size: 16px;
    line-height: 27px;
  }
}

/* Four topics */
.topics .wrap {
  padding-top: 128px;
  padding-bottom: 128px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.section-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 58px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.topics-list {
  border-bottom: 1px solid var(--line-soft);
}
.topic-row {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 34px 0;
  border-top: 1px solid var(--line-soft);
}
.topic-bar {
  width: 34px;
  height: 8px;
  flex-shrink: 0;
}
.topic-day {
  width: 112px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.topic-name {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  line-height: 46px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.topic-cover {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .topics .wrap {
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 26px;
  }
  .section-heading {
    font-size: 30px;
    line-height: 34px;
  }
  .topics .section-heading {
    max-width: 250px;
  }
  .topics-list {
    border-bottom: 0;
  }
  .topic-row {
    gap: 16px;
    padding: 20px 0;
  }
  .topic-left {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .topic-label {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .topic-bar {
    width: 24px;
    height: 6px;
  }
  .topic-day {
    width: auto;
    font-size: 11px;
    line-height: 16px;
  }
  .topic-name {
    font-size: 24px;
    line-height: 28px;
  }
  .topic-cover {
    width: 76px;
    height: 76px;
  }
}
@media (min-width: 768px) {
  .topic-left {
    display: contents;
  }
  .topic-label {
    display: contents;
  }
}

/* Reading list */
.reading {
  background: var(--fill);
}
.reading .wrap {
  padding-top: 128px;
  padding-bottom: 128px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
/* The four kinds of writing behind the list below. */
.source-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.source-type {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.source-type-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lanes {
  display: flex;
  gap: 56px;
}
.lane {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
  border-top: 3px solid;
}
.lane-left {
  border-top-color: var(--lane-left);
}
.lane-center {
  border-top-color: var(--lane-center);
}
.lane-right {
  border-top-color: var(--lane-right);
}
.lane-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.lane-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.02em;
}
.lane-count {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.lane-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pub {
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  color: var(--ink);
}
.pub-he {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pub-he b {
  font-family: var(--font-hebrew);
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  color: var(--ink);
}
.pub-he span {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--gloss);
}
.lane-more {
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
}
.lane-left .lane-more {
  color: var(--lane-left);
}
.lane-center .lane-more {
  color: var(--lane-center-text);
}
.lane-right .lane-more {
  color: var(--lane-right);
}
@media (max-width: 1023px) {
  .source-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lanes {
    flex-direction: column;
    gap: 36px;
  }
}
@media (max-width: 767px) {
  .reading .wrap {
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 34px;
  }
  .reading .section-heading {
    max-width: 265px;
  }
  .source-types {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .source-type {
    padding: 22px;
    gap: 14px;
  }
  .source-type-name {
    font-size: 19px;
    line-height: 25px;
  }
  .lane {
    gap: 16px;
    padding-top: 16px;
  }
  .lane-name {
    font-size: 19px;
    line-height: 25px;
  }
  .lane-count {
    font-size: 11px;
    line-height: 16px;
  }
  .lane-list {
    gap: 9px;
  }
  .pub {
    font-size: 16px;
    line-height: 22px;
  }
  .pub-he b {
    font-size: 16px;
    line-height: 22px;
  }
  .pub-he span {
    line-height: 22px;
  }
}

/* Hebrew band */
.hebrew-band {
  background: var(--accent);
  color: #ffffff;
  display: flex;
}
.hebrew-half {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  /* Inner padding is 40px rather than the mockup's 56: with the halves made
   * equal so the divider lands on centre, 56 left "Half the conversation"
   * six pixels short of fitting and broke the headline to three lines. Both
   * halves move together, so the divider stays centred. */
  padding: 128px 40px 128px 64px;
}
.hebrew-half.he {
  align-items: flex-end;
  padding: 128px 64px 128px 40px;
  border-left: 1px solid var(--accent-bright);
}
.hebrew-band .hebrew-half:first-child,
.hebrew-band .hebrew-half.he {
  width: 50%;
  flex: 1 1 0;
}
.hebrew-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 58px;
  letter-spacing: -0.03em;
}
.hebrew-body {
  font-size: 17px;
  line-height: 29px;
  color: var(--on-accent-body);
}
.hebrew-half.he .hebrew-heading {
  font-family: var(--font-hebrew);
  font-weight: 800;
  font-size: 56px;
  line-height: 62px;
  letter-spacing: 0;
  width: 100%;
  direction: rtl;
  text-align: right;
}
.hebrew-half.he .hebrew-body {
  font-family: var(--font-hebrew);
  width: 100%;
  direction: rtl;
  text-align: right;
}
@media (max-width: 1023px) {
  .hebrew-band {
    flex-direction: column;
  }
  .hebrew-band .hebrew-half:first-child,
  .hebrew-band .hebrew-half.he {
    width: 100%;
  }
  .hebrew-half.he {
    border-left: 0;
    border-top: 1px solid var(--accent-bright);
  }
}
@media (max-width: 767px) {
  .hebrew-half,
  .hebrew-half.he {
    padding: 56px 20px;
    gap: 18px;
  }
  .hebrew-heading {
    font-size: 30px;
    line-height: 34px;
  }
  .hebrew-half.he .hebrew-heading {
    font-size: 30px;
    line-height: 38px;
  }
  .hebrew-body {
    font-size: 16px;
    line-height: 27px;
  }
}

/* Trust */
.trust .wrap {
  padding-top: 128px;
  padding-bottom: 128px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.trust .section-heading {
  max-width: 900px;
}
.trust-cols {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}
.trust-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  border-top: 4px solid var(--accent);
}
.trust-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.trust-body {
  font-size: 17px;
  line-height: 29px;
  color: var(--body-soft);
}
@media (max-width: 1023px) {
  .trust-cols {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 767px) {
  .trust .wrap {
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 30px;
  }
  .trust .section-heading {
    letter-spacing: -0.035em;
  }
  .trust-cols {
    gap: 26px;
  }
  .trust-col {
    gap: 10px;
    padding-top: 16px;
  }
  .trust-title {
    font-size: 19px;
    line-height: 25px;
  }
  .trust-body {
    font-size: 16px;
    line-height: 27px;
  }
}

/* Questions section shell (home) */
.questions {
  border-top: 1px solid var(--line-faq);
}
.questions .wrap {
  padding-top: 128px;
  padding-bottom: 128px;
}
@media (max-width: 767px) {
  .questions .wrap {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* ══ Shows ══ */
.shows-head .wrap {
  padding-top: 128px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.page-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 76px;
  line-height: 78px;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.shows-intro {
  max-width: 820px;
  font-size: 17px;
  line-height: 29px;
  color: var(--body);
}

/* The "available on" row under the shows intro. These are each platform's
 * real app icon rather than a one-colour silhouette: Amazon Music has no
 * symbol-only logo, only a two-line wordmark that is unreadable at this
 * size, and the icons are what a listener recognises anyway. Apple ships
 * app artwork with square corners and lets the OS round them, so the
 * rounding is ours; 22.5% is the iOS proportion. */
.listen-on {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.listen-on-line {
  font-size: 15px;
  line-height: 25px;
  color: var(--muted);
}
.listen-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}
.listen-icon {
  display: block;
  width: 32px;
  height: 32px;
}
.listen-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22.5%;
  /* Spotify's icon is black to its own edge and Overcast's is a pale cream,
   * so a tile can vanish into the page or float on it without a hairline. */
  box-shadow: inset 0 0 0 1px rgba(15, 15, 14, 0.08);
}
a.listen-icon img {
  transition: opacity 0.15s ease;
}
a.listen-icon:hover img {
  opacity: 0.75;
}

.show-section {
  border-top: 1px solid var(--line-soft);
  /* Each section is a show's address (/shows#crosswinds) and the structured
   * data points at it, so an anchor jump has to clear the sticky nav. */
  scroll-margin-top: 100px;
}
.show-section .wrap {
  padding-top: 56px;
  padding-bottom: 72px;
  display: flex;
  gap: 88px;
}
.show-info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.show-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.show-bar {
  width: 34px;
  height: 8px;
  flex-shrink: 0;
}
.show-day {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.show-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  line-height: 46px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.show-desc {
  font-size: 17px;
  line-height: 28px;
  color: var(--body);
}
.show-cover {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}
.show-episodes {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ep-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  column-gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.ep-card + .ep-card {
  padding-top: 22px;
}
a.ep-card:hover .ep-title {
  color: var(--accent);
}
.ep-date {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.ep-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding-bottom: 16px;
}
.ep-line {
  grid-column: 2;
  font-size: 17px;
  line-height: 29px;
  color: var(--body-soft);
}
.ep-fallback {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  line-height: 29px;
  color: var(--body-soft);
}
/* The placeholder cards shown while the episode list loads. They borrow
 * .ep-card's grid so the desktop and mobile layouts stay in one place; only
 * the grey bars are new. */
.sk-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}
.sk {
  display: block;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--line) 0%, var(--fill) 50%, var(--line) 100%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.5s linear infinite;
}
.sk-date {
  width: 62px;
  height: 11px;
  margin-top: 5px;
}
.sk-title {
  height: 16px;
  width: 88%;
}
.sk-line {
  height: 13px;
  width: 64%;
}
.sk-line-short {
  width: 46%;
}
/* Offset each card a little so the three bars do not pulse in lockstep. */
.ep-skeleton:nth-child(2) .sk {
  animation-delay: 0.12s;
}
.ep-skeleton:nth-child(3) .sk {
  animation-delay: 0.24s;
}
@keyframes sk-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sk {
    background: var(--line);
    animation: none;
  }
}
.ep-all {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 26px;
  margin-left: 112px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.ep-all svg {
  flex-shrink: 0;
}
.updated-strip {
  background: var(--fill);
  border-top: 1px solid var(--line-soft);
}
.updated-strip .wrap {
  padding-top: 28px;
  padding-bottom: 28px;
}
.updated-strip-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
@media (max-width: 1099px) {
  .show-section .wrap {
    flex-direction: column;
    gap: 32px;
  }
  .show-info,
  .show-episodes {
    flex: none;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .shows-head .wrap {
    padding-top: 44px;
    padding-bottom: 48px;
    gap: 16px;
  }
  .page-heading {
    font-size: 42px;
    line-height: 44px;
    letter-spacing: -0.04em;
  }
  .shows-intro {
    font-size: 16px;
    line-height: 27px;
  }
  .listen-on {
    gap: 14px;
  }
  .listen-on-line {
    font-size: 14px;
    line-height: 23px;
  }
  .listen-icons {
    gap: 12px;
  }
  .listen-icon {
    width: 30px;
    height: 30px;
  }
  .show-section .wrap {
    padding-top: 32px;
    padding-bottom: 44px;
    gap: 20px;
  }
  .show-info {
    gap: 0;
  }
  .show-label {
    gap: 10px;
  }
  .show-bar {
    width: 24px;
    height: 6px;
  }
  .show-day {
    font-size: 11px;
    line-height: 14px;
  }
  .show-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding-top: 20px;
  }
  .show-cover {
    width: 88px;
    height: 88px;
    order: -1;
  }
  .show-name {
    font-size: 30px;
    line-height: 34px;
  }
  .show-desc {
    padding-top: 20px;
    font-size: 16px;
    line-height: 27px;
  }
  .ep-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-top: 18px;
    padding-bottom: 20px;
  }
  .ep-card + .ep-card {
    padding-top: 18px;
  }
  .ep-date {
    font-size: 11px;
    line-height: 16px;
  }
  .ep-title {
    font-size: 19px;
    line-height: 25px;
    padding-bottom: 0;
  }
  .ep-line {
    font-size: 16px;
    line-height: 27px;
  }
  .ep-fallback {
    padding-top: 18px;
    padding-bottom: 20px;
    font-size: 16px;
    line-height: 27px;
  }
  .sk-date {
    margin-top: 0;
  }
  .sk-body {
    padding-top: 0;
    gap: 10px;
  }
  .ep-all {
    margin-left: 0;
    padding-top: 20px;
  }
  .ep-all svg {
    width: 16px;
    height: 16px;
  }
  .updated-strip .wrap {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .updated-strip-label {
    font-size: 11px;
    line-height: 16px;
  }
}
@media (min-width: 768px) {
  .show-title-row {
    display: contents;
  }
  /* Artboard order on desktop: label, name, description, cover. The DOM
   * keeps name and cover together for the mobile row, so the cover is
   * reordered to the end here. */
  .show-cover {
    order: 10;
  }
}

/* ══ Membership ══ */
.member-head .wrap {
  padding-top: 128px;
  padding-bottom: 72px;
}
.member-head .page-heading {
  max-width: 760px;
}
.pricing {
  display: flex;
}
.pricing-side {
  width: 50%;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 72px 72px 76px 64px;
}
.pricing-side.paid {
  background: var(--accent);
  border-top: 0;
  border-bottom: 0;
  color: #ffffff;
  padding: 72px 64px 76px 72px;
}
/* Each side leads with its own name and one sentence. */
.plan-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.03em;
}
.plan-deck {
  font-size: 18px;
  line-height: 30px;
  max-width: 520px;
  color: var(--body-soft);
}
.pricing-side.paid .plan-deck {
  color: var(--on-accent-body);
}
/* Center the two halves' inner edges on a 1440 screen and keep the outer
 * padding aligned with .wrap on wider ones. */
@media (min-width: 1440px) {
  .pricing-side {
    width: calc(50% - (100vw - 1440px) / 2);
    margin-left: calc((100vw - 1440px) / 2);
  }
  .pricing-side.paid {
    margin-left: 0;
    margin-right: calc((100vw - 1440px) / 2);
    width: calc(50% - (100vw - 1440px) / 2);
  }
}
.plan-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  padding: 19px 21px 21px;
}
.plan-cards {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}
/* The free side shows one chip, sized to match one of the two paid chips
 * exactly rather than a width of its own. */
.pricing-side.free .plan-cards .plan-card {
  flex: 0 0 calc(50% - 6px);
}
.plan-cards .plan-card {
  flex: 1 0 0;
}
.plan-card.quiet {
  border-color: rgb(255 255 255 / 45%);
}
.plan-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-label {
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ffffff;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.plan-badge-full {
  display: inline;
}
.plan-badge-short {
  display: none;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  line-height: 46px;
  letter-spacing: -0.03em;
}
.plan-per {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 26px;
  letter-spacing: -0.01em;
}
.pricing-side.free .plan-per,
.pricing-side.free .plan-sub {
  color: var(--muted);
}
.plan-sub {
  font-size: 14px;
  line-height: 22px;
}
.pricing-side.paid .plan-sub {
  color: var(--on-accent-body);
}
.plan-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink);
}
.pricing-side.paid .plan-cta {
  background: #ffffff;
  border-color: #ffffff;
}
.pricing-side.free .plan-cta:hover {
  background: var(--ink);
  color: #ffffff;
}
.pricing-side.paid .plan-cta:hover {
  opacity: 0.9;
}
.member-faq .wrap {
  padding-top: 128px;
  padding-bottom: 128px;
}
@media (max-width: 1023px) {
  .pricing {
    flex-direction: column;
  }
  .pricing-side,
  .pricing-side.paid {
    width: 100%;
    border-bottom: 0;
  }
}
@media (max-width: 767px) {
  .member-head .wrap {
    padding-top: 44px;
    padding-bottom: 48px;
  }
  .pricing-side {
    padding: 40px 20px 44px;
    gap: 20px;
  }
  .pricing-side.paid {
    padding: 40px 20px 44px;
  }
  .plan-heading {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.035em;
  }
  .plan-deck {
    font-size: 16px;
    line-height: 27px;
  }
  .plan-card {
    border-radius: 14px;
    padding: 16px 16px 17px;
    gap: 6px;
  }
  .plan-cards {
    gap: 10px;
  }
  .plan-label-row {
    gap: 7px;
  }
  .plan-badge {
    padding: 2px 7px;
    letter-spacing: 0.08em;
  }
  .plan-badge-full {
    display: none;
  }
  .plan-badge-short {
    display: inline;
  }
  .plan-price-row {
    gap: 3px;
  }
  .plan-price {
    font-size: 30px;
    line-height: 34px;
    letter-spacing: -0.04em;
  }
  .plan-per {
    font-size: 14px;
    line-height: 22px;
  }
  .plan-cta {
    padding: 14px 26px;
  }
  .member-faq .wrap {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* ══ About ══ */
.about-head .wrap {
  padding-top: 128px;
  padding-bottom: 128px;
}
.about-heading {
  max-width: 1150px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 76px;
  line-height: 80px;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.mission {
  background: var(--ink);
  color: #ffffff;
}
.mission .wrap {
  padding-top: 128px;
  padding-bottom: 128px;
  display: flex;
  gap: 96px;
}
.mission-heading {
  width: 620px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  line-height: 46px;
  letter-spacing: -0.03em;
}
.mission-body {
  width: 596px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mission-body p {
  font-size: 17px;
  line-height: 29px;
  color: var(--on-ink-body);
}
.founder .wrap {
  padding-top: 128px;
  padding-bottom: 128px;
  display: flex;
  gap: 88px;
}
/* The portrait is square and shown whole — no crop. */
.founder-portrait {
  width: 340px;
  height: 340px;
  flex-shrink: 0;
  background: #e8e7e3;
}
.founder-story {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 820px;
}
.founder-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 58px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.founder-story p {
  font-size: 17px;
  line-height: 29px;
  color: var(--body);
}
@media (max-width: 1099px) {
  .mission .wrap {
    flex-direction: column;
    gap: 40px;
  }
  .mission-heading,
  .mission-body {
    width: 100%;
  }
  .founder .wrap {
    flex-direction: column;
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .about-head .wrap {
    padding-top: 44px;
    padding-bottom: 48px;
  }
  .about-heading {
    font-size: 42px;
    line-height: 44px;
  }
  .mission .wrap {
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 28px;
  }
  .mission-heading {
    font-size: 30px;
    line-height: 34px;
  }
  .mission-body {
    gap: 24px;
  }
  .mission-body p {
    font-size: 16px;
    line-height: 27px;
  }
  .founder .wrap {
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 24px;
  }
  .founder-portrait {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .founder-story {
    gap: 16px;
  }
  .founder-heading {
    font-size: 30px;
    line-height: 34px;
  }
  .founder-story p {
    font-size: 16px;
    line-height: 27px;
  }
}

/* ══ 404 ══ */
.notfound .wrap {
  padding-top: 128px;
  padding-bottom: 128px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.notfound-deck {
  max-width: 560px;
  font-size: 17px;
  line-height: 29px;
  color: var(--body);
}
@media (max-width: 767px) {
  .notfound .wrap {
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 16px;
  }
  .notfound-deck {
    font-size: 16px;
    line-height: 27px;
  }
}

/* ══ Legal documents (terms, privacy, bot) ══ */
.doc-wrap {
  padding: 64px 64px 96px;
}
.doc {
  max-width: 860px;
  margin: 0 auto;
}
.doc h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 58px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.doc-date {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 18px;
}
.doc-intro {
  font-size: 17px;
  line-height: 29px;
  color: var(--muted);
  margin-top: 20px;
}
.doc-rule {
  height: 1px;
  background: var(--line);
  margin: 38px 0;
}
.doc h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -0.02em;
  margin-top: 44px;
  scroll-margin-top: 100px;
  color: var(--ink);
}
.doc h2:first-of-type {
  margin-top: 0;
}
.doc h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.01em;
  margin-top: 28px;
  color: var(--ink);
}
.doc p {
  font-size: 16px;
  line-height: 26px;
  color: var(--body-soft);
  margin-top: 14px;
}
.doc ul {
  margin-top: 14px;
  padding-left: 22px;
}
.doc li {
  font-size: 16px;
  line-height: 26px;
  color: var(--body-soft);
  margin-top: 9px;
}
.doc strong {
  color: var(--ink);
  font-weight: 600;
}
.doc a {
  color: var(--accent);
  overflow-wrap: anywhere;
}
.table-scroll {
  overflow-x: auto;
  margin-top: 18px;
  -webkit-overflow-scrolling: touch;
}
.doc table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 15px;
}
.doc th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 14px;
  background: var(--fill);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.doc td {
  padding: 13px 14px;
  line-height: 1.55;
  color: var(--body-soft);
  border-bottom: 1px solid var(--fill);
  vertical-align: top;
}
.doc tr:last-child td {
  border-bottom: none;
}
.code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--fill);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: pre;
}
.caps {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  letter-spacing: 0.005em;
  background: var(--fill);
  border-left: 3px solid var(--line-soft);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin-top: 16px;
}
@media (max-width: 767px) {
  .doc-wrap {
    padding: 44px 20px 64px;
  }
  .doc h1 {
    font-size: 42px;
    line-height: 44px;
    letter-spacing: -0.04em;
  }
  .doc h2 {
    font-size: 22px;
    line-height: 28px;
  }
  .doc-rule {
    margin: 30px 0;
  }
}
