/**
 * Aside landing page — site styles
 * Tokens come from ../tokens.css (single source: /shared/tokens.css).
 */

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

/* Skip link for a11y — visually hidden but reachable via keyboard.
   Avoid off-screen positioning (left: -9999px) because in RTL it
   extends document scrollWidth and breaks the no-horizontal-scroll
   guarantee. */
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  inset-block-start: 0;
  inset-inline-start: 0;
  background: var(--accent); color: #fff;
  border-radius: var(--r-md);
  z-index: 100;
}
.skip-link:focus {
  width: auto; height: auto;
  clip: auto;
  padding: 10px 16px; margin: 0;
  inset-block-start: 16px;
  inset-inline-start: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); text-decoration: underline; }

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

button, .btn {
  font-family: inherit; cursor: pointer; border: 0;
  border-radius: var(--r-pill);
  padding: 12px 22px;
  font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-primary[disabled],
.btn-primary[aria-disabled="true"] {
  background: var(--surface-3); color: var(--ink-4);
  cursor: not-allowed; box-shadow: none; transform: none;
}
.btn-secondary {
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--ink);
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { display: inline-flex; gap: 8px; align-items: center; }
.lang-toggle, .theme-toggle {
  background: transparent; color: var(--ink-3);
  border: 1px solid var(--line);
  padding: 6px 10px; font-size: 12px; font-weight: 600;
  border-radius: var(--r-pill);
  letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 6px;
  line-height: 1;
}
.lang-toggle:hover, .theme-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.theme-toggle svg { width: 14px; height: 14px; }
.theme-toggle .theme-icon { display: none; }
/* Icon reflects the current effective theme. */
.theme-toggle[data-theme-state="light"] .theme-icon-light,
.theme-toggle[data-theme-state="dark"]  .theme-icon-dark { display: inline-block; }

@media (max-width: 720px) {
  .nav-links a:not(.cta-link) { display: none; }
  /* The disabled "Coming to Chrome Web Store" CTA is redundant on mobile —
     the hero shows the same primary CTA. Hiding it prevents crammed wrap. */
  .nav-cta .btn-primary { display: none; }
  /* Tap targets ≥ 40px tall on touch. */
  .lang-toggle, .theme-toggle {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* ---------- Hero ---------- */
.hero { padding: 80px 0 56px; }
.hero-grid {
  display: grid; gap: 56px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 48px 0 32px; }
}
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px; border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px; color: var(--ink-3);
  max-width: 52ch; margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 16px;
  font-size: 13px; color: var(--ink-4);
}
/* The hero shows the real sidebar at a readable size instead of a whole
   banner in miniature: a full banner scaled into half the hero left its
   text a few pixels tall. */
.hero-art {
  position: relative;
  justify-self: center;
  width: min(380px, 100%);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 6% -18% 0;
  background: radial-gradient(55% 50% at 50% 40%, color-mix(in oklab, var(--accent) 34%, transparent), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
/* Product shots: tight sidebar crops; corners and depth come from CSS. */
.shot-pic { position: relative; z-index: 1; display: block; }
.shot-pic img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 70px -20px rgba(20, 18, 14, .5), 0 10px 24px rgba(20, 18, 14, .14);
}
@media (max-width: 880px) {
  .hero-art { width: min(300px, 100%); }
}

/* ---------- Providers strip ---------- */
.providers {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-sunk);
}
.providers-label {
  text-align: center;
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 22px;
}
.providers-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 18px 36px;
}
.provider-chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.provider-chip .dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15; font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--ink-3); font-size: 17px; }

/* ---------- About + providers table ---------- */
.about .section-head { max-width: 760px; margin-bottom: 40px; }
.providers-table-wrap {
  max-width: 760px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow-x: auto;   /* phones: the table scrolls inside its card, the page doesn't */
}
.providers-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.providers-table caption {
  text-align: start;
  padding: 18px 22px 6px;
  font-weight: 600; color: var(--ink);
}
.providers-table th, .providers-table td {
  text-align: start;   /* logical, so Hebrew (RTL) needs no override */
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.providers-table thead th {
  border-top: 0;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3);   /* --ink-4 fails WCAG contrast on --surface */
}
.providers-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.providers-table .model-name {
  font-family: var(--font-mono); font-size: 13px;
  white-space: nowrap;
  direction: ltr; unicode-bidi: isolate;   /* model names stay LTR inside Hebrew rows */
}
@media (max-width: 720px) {
  /* Let every column wrap so the three share the width instead of scrolling. */
  .providers-table { font-size: 14px; }
  .providers-table th, .providers-table td { padding: 10px 12px; }
  .providers-table tbody th, .providers-table .model-name { white-space: normal; }
  .providers-table .model-name { font-size: 12px; }
  .providers-table caption { padding: 16px 12px 4px; }
}

/* ---------- Features grid ---------- */
.features-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.feature-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-on-soft);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 17px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.feature p { font-size: 14.5px; color: var(--ink-3); }

/* ---------- Demo video ---------- */
.demo { position: relative; overflow: hidden; }
.demo .section-head .eyebrow { margin-bottom: 16px; }
.demo-stage {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}
/* Soft accent halo behind the frame - the "lit from behind" premium cue. */
.demo-stage::before {
  content: "";
  position: absolute;
  inset: 8% 6% -6%;
  background:
    radial-gradient(60% 70% at 70% 30%, color-mix(in oklab, var(--accent) 38%, transparent), transparent 70%),
    radial-gradient(50% 60% at 20% 80%, color-mix(in oklab, var(--p-ollama) 22%, transparent), transparent 70%);
  filter: blur(60px);
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}
.demo-frame {
  position: relative;
  z-index: 1;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 92%, #fff 8%), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg), 0 40px 90px -30px rgba(20, 18, 14, .45);
}
.demo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #1b1916;
  object-fit: cover;
}
.demo-toggle, .demo-sound {
  position: absolute;
  inset-inline-end: 26px;
  bottom: 26px;
  width: 44px; height: 44px;
  padding: 0;
  justify-content: center;
  color: #eeece2;
  background: rgba(27, 25, 22, .55);
  border: 1px solid rgba(238, 236, 226, .18);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  opacity: .75;
}
.demo-toggle:hover, .demo-toggle:focus-visible,
.demo-sound:hover, .demo-sound:focus-visible { opacity: 1; transform: scale(1.05); }
.demo-toggle:focus-visible, .demo-sound:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.demo-toggle svg, .demo-sound svg { width: 18px; height: 18px; }
.demo-toggle .i-pause { display: none; }
.demo-toggle.is-playing .i-play { display: none; }
.demo-toggle.is-playing .i-pause { display: block; }
.demo-sound { inset-inline-end: 80px; }
.demo-sound .i-sound { display: none; }
.demo-sound.is-on .i-muted { display: none; }
.demo-sound.is-on .i-sound { display: block; }
/* Muted is the default state; a soft accent ring invites the first click. */
.demo-sound:not(.is-on) { box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 55%, transparent); }
@media (max-width: 720px) {
  .demo-frame { padding: 6px; border-radius: 16px; }
  .demo-video { border-radius: 11px; }
  /* On a phone the video is ~180px tall; 40px buttons covered a quarter of it. */
  .demo-toggle, .demo-sound { bottom: 10px; width: 32px; height: 32px; }
  .demo-toggle svg, .demo-sound svg { width: 14px; height: 14px; }
  .demo-toggle { inset-inline-end: 10px; }
  .demo-sound { inset-inline-end: 48px; }
}

/* ---------- Latest models ---------- */
.models .section-head .eyebrow { margin-bottom: 16px; }
.models .section-head { max-width: 760px; }   /* keeps the heading on one line on desktop */
.models-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.model-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 22px 24px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
/* Each card carries its provider hue as --c; a faint corner wash ties it in. */
.model-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(90% 80% at 0% 0%, color-mix(in oklab, var(--c) 16%, transparent), transparent 62%);
  pointer-events: none;
}
[dir="rtl"] .model-card::before {
  background: radial-gradient(90% 80% at 100% 0%, color-mix(in oklab, var(--c) 16%, transparent), transparent 62%);
}
.model-card:hover {
  border-color: color-mix(in oklab, var(--c) 40%, var(--line-strong));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.model-head { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.model-mark {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 11px;
  background: var(--c);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -6px color-mix(in oklab, var(--c) 70%, transparent);
}
.model-mark svg { width: 20px; height: 20px; }
.model-head h3 { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.model-head p { font-size: 13px; color: var(--ink-4); }
.model-badge {
  margin-inline-start: auto;
  font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-on-soft);
  background: var(--accent-soft);
  padding: 4px 9px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.model-chips {
  position: relative;
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.model-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-2);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  direction: ltr;
}
.model-chip.is-default {
  color: var(--ink);
  background: color-mix(in oklab, var(--c) 14%, var(--surface));
  border-color: color-mix(in oklab, var(--c) 45%, transparent);
  display: inline-flex; align-items: center; gap: 7px;
}
.model-chip.is-default::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c);
}
.models-note {
  text-align: center;
  margin-top: 28px;
  font-size: 14.5px;
  color: var(--ink-3);
}
[dir="rtl"] .model-card { text-align: right; }
/* Grok's brand hue is the ink color, which vanishes on the dark surface. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .model-card--grok { --c: #8f897c !important; }
}
:root[data-theme="dark"] .model-card--grok { --c: #8f897c !important; }

@media (prefers-reduced-motion: reduce) {
  .model-card, .demo-toggle, .demo-sound { transition: none; }
  .model-card:hover, .demo-toggle:hover, .demo-sound:hover { transform: none; }
}

/* ---------- Screenshots gallery ---------- */
/* Three sidebar shots in a row; on phones a swipeable strip instead of a
   three-screens-tall stack. Captions are HTML so they stay crisp and translate. */
.gallery { background: var(--bg-sunk); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
  gap: 32px;
}
.gallery-item { margin: 0; }
.gallery-item figcaption {
  margin-top: 18px;
  text-align: center;
  font-size: 15px; font-weight: 600;
  color: var(--ink-2);
}
@media (max-width: 1040px) {
  .gallery-grid { gap: 20px; grid-template-columns: repeat(3, minmax(0, 280px)); }
}
@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72vw;
    justify-content: start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    padding: 8px 24px 28px;
    margin-inline: -24px;     /* bleed to the screen edge, inside the container */
    scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-item { scroll-snap-align: start; }
}

/* ---------- Install / Quickstart steps ---------- */
.install { background: var(--bg-sunk); }
.steps-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.steps-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.steps-card-head { margin-bottom: 22px; }
.steps-card-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px; border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.steps-card-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 26px);
  font-weight: 600; color: var(--ink);
  line-height: 1.2; margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.steps-card-head > p {
  color: var(--ink-3); font-size: 14.5px;
  max-width: 48ch;
}
.steps {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
}
.steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
}
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.steps li strong {
  display: block;
  color: var(--ink);
  font-size: 15px; font-weight: 600;
  margin-bottom: 2px;
}
.steps li p {
  color: var(--ink-3);
  font-size: 14px; line-height: 1.55;
  margin: 0;
}
.steps li code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 1px 6px; border-radius: var(--r-sm);
  color: var(--ink);
}
.steps li kbd {
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 600;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  padding: 1px 6px; border-radius: var(--r-sm);
  color: var(--ink);
}
.steps li em { font-style: normal; color: var(--ink); font-weight: 600; }
.step-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13.5px; font-weight: 600;
  color: var(--accent);
}
.step-link:hover { color: var(--accent-2); text-decoration: underline; }

[dir="rtl"] .steps li { direction: rtl; }
[dir="rtl"] .steps-card { text-align: right; }

/* ---------- Privacy callout ---------- */
.privacy-callout {
  background: var(--accent-soft);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
}
.privacy-callout h2 {
  font-family: var(--font-serif);
  color: var(--accent-ink);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px; font-weight: 600;
}
.privacy-callout p {
  color: var(--accent-ink);
  font-size: 16px; max-width: 56ch; margin: 0 auto 18px;
  opacity: .92;
}
.privacy-callout .btn-secondary {
  background: transparent;
  color: var(--accent-ink);
  border-color: color-mix(in oklab, var(--accent-ink) 30%, transparent);
}
.privacy-callout .btn-secondary:hover {
  background: color-mix(in oklab, var(--accent-ink) 8%, transparent);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-weight: 600; color: var(--ink);
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px; color: var(--ink-3);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 15px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--ink-4); font-size: 14px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-3); }
.footer-links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- RTL ---------- */
[dir="rtl"] body { font-family: var(--font-sans); }
[dir="rtl"] .hero-grid { direction: rtl; }
[dir="rtl"] .feature, [dir="rtl"] .privacy-callout, [dir="rtl"] .section-head { text-align: right; }
[dir="rtl"] .section-head { text-align: center; }
[dir="rtl"] .privacy-callout { text-align: center; }
[dir="rtl"] .footer-inner { direction: rtl; }
[dir="rtl"] .faq-item summary { direction: rtl; }

/* ---------- Static pages (privacy/support) ---------- */
.page-body {
  max-width: 760px; margin: 0 auto;
  padding: 64px 24px 96px;
}
.page-body h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600; color: var(--ink);
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.page-body .updated {
  color: var(--ink-4); font-size: 13px;
  margin-bottom: 32px;
}
.page-body h2 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600;
  color: var(--ink); margin: 36px 0 12px;
}
.page-body p, .page-body li {
  color: var(--ink-2); font-size: 16px; line-height: 1.7;
  margin-bottom: 12px;
}
.page-body ul { padding-inline-start: 22px; }
.page-body code {
  font-family: var(--font-mono); font-size: 13.5px;
  background: var(--surface-2); padding: 2px 6px;
  border-radius: var(--r-sm);
}
.page-body a { text-decoration: underline; }
