/* Inner pages: one system for every page below the home page.
   This file merges what used to be four parallel sheets — site.css (the
   English .page-* vocabulary), editorial.css and brand.css (the Chinese
   .ed-* vocabulary, shared with the research notes and the app pages), and
   content.css (the reading-page primitives) — into a single layer.

   Every size, space, radius and colour resolves to a public.css token, the
   same way the home page does. Page files own composition; chrome.css owns
   navigation. Breakpoints use the home page's ladder: 1080 / 1024 / 760 /
   380. */

:root {
  --site-color-paper: #000000;
  --site-color-subtle: #0c0c0c;
  --site-color-surface: #151515;
  --site-color-raised: #1c1c1c;
  --site-color-surface-strong: #242424;
  --site-color-ink: #ffffff;
  --site-color-copy: #d6d6d6;
  --site-color-muted: #9a9a9a;
  --site-color-quiet: #7c7c7c;
  --site-color-line: rgba(255, 255, 255, 0.09);
  --site-color-line-strong: rgba(255, 255, 255, 0.16);
  --site-color-line-faint: rgba(255, 255, 255, 0.055);
  --site-color-accent: #ffffff;
  --site-color-ink-hover: #e5e5e5;
  --site-color-btn-primary: #ececec;
  --site-color-btn-primary-hover: #ffffff;
  --site-color-btn-primary-ink: #000000;
  --ed-paper: var(--site-color-paper);
  --ed-paper-soft: var(--site-color-surface);
  --ed-paper-strong: var(--site-color-raised);
  --ed-sand: var(--site-color-subtle);
  --ed-sand-deep: var(--site-color-surface-strong);
  --ed-ink: var(--site-color-ink);
  --ed-ink-soft: var(--site-color-copy);
  --ed-ink-muted: var(--site-color-muted);
  --ed-line: var(--site-color-line);
  --ed-clay: var(--site-color-accent);
  --ed-clay-warm: var(--site-color-accent);
  --an-paper: var(--site-color-paper);
  --an-paper-soft: var(--site-color-surface);
  --an-paper-deep: var(--site-color-surface-strong);
  --an-ink: var(--site-color-ink);
  --an-ink-soft: var(--site-color-copy);
  --an-ink-muted: var(--site-color-muted);
  --an-line: var(--site-color-line);
  --site-paper: var(--site-color-paper);
  --site-paper-soft: var(--site-color-surface);
  --site-paper-strong: var(--site-color-surface-strong);
  --bg-soft: var(--site-color-surface);
  --bg-soft-2: var(--site-color-raised);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-height) + 32px);
  background: var(--site-color-paper);
  color-scheme: dark;
}
body {
  margin: 0;
  min-width: 320px;
  padding-top: 0 !important;
  /* clip, not hidden: `hidden` turns the body into a scroll container, which
     costs the page 15px of width to a second scrollbar. `clip` keeps the
     horizontal overflow away without touching the vertical axis. */
  overflow-x: clip;
  background: var(--site-color-paper);
  color: var(--site-color-ink);
  font-family: var(--site-font);
  font-size: var(--fs-16);
  line-height: 1.55;
  letter-spacing: -.012em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html:lang(zh) body {
  font-family: var(--site-font);
  letter-spacing: .01em;
  line-height: 1.72;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection, body::selection { background: var(--site-color-ink); color: var(--site-color-paper); }
:focus-visible { outline: 2px solid var(--site-color-ink); outline-offset: 3px; border-radius: 4px; }

/* ══════════════════════════════════════════════════════════════════
   Merged from site.css
   ══════════════════════════════════════════════════════════════════ */

/* ==========================================================================
   Socrates — site design system
   Monochrome, grotesque type, hairline structure, generous whitespace.
   No gradients, glows, decorative shadows, or ornament.
   ========================================================================== */
@font-face {
  font-family: 'Geist Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/media/fonts/geist-sans-variable.woff2') format('woff2');
  /* P_cjk-punctuation-full-width — see site/chrome.css. Without a range this
     face may claim every code point, and Geist's narrow glyphs for
     U+3000-303F / U+FF00-FFEF made Chinese punctuation render at half width. */
  unicode-range: U+0000-2E7F, U+3040-FEFF, U+FFF0-FFFF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/media/fonts/geist-mono-variable.woff2') format('woff2');
  /* Same contract as Geist Sans above: code blocks carry Chinese prose too,
     and their punctuation must not collapse to the Latin metrics. */
  unicode-range: U+0000-2E7F, U+3040-FEFF, U+FFF0-FFFF;
}
body.is-locked {
  overflow: hidden;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--site-color-paper);
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  font-size: var(--fs-14);
}
.skip:focus {
  left: 0;
}
/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.sec {
  padding-block: var(--sec);
  border-top: 1px solid var(--line);
}
.sec--soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--site-color-line-faint);
}
.sec--flush {
  border-top: 0;
}
.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-13);
  line-height: 1;
  color: var(--muted);
  letter-spacing: 0;
}
.eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.sec-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}
.sec-title {
  grid-column: 1 / 8;
  margin-top: 18px;
  font-size: clamp(var(--fs-32), 4.4vw, var(--fs-48));
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-wrap: balance;
}
.sec-desc {
  grid-column: 9 / 13;
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--muted);
  padding-bottom: 6px;
}
.sec-link {
  grid-column: 11 / 13;
  justify-self: end;
  padding-bottom: 6px;
}
/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.h2 {
  font-size: clamp(var(--fs-32), 3.8vw, var(--fs-48));
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-wrap: balance;
}
.lede {
  font-size: clamp(var(--fs-17), 1.6vw, var(--fs-22));
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.body {
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--site-color-paper);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover {
  background: var(--site-color-ink-hover);
}
.btn:active {
  transform: scale(0.985);
}
.btn .ico {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}
.btn:hover .ico {
  transform: translateX(2px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover {
  background: var(--bg-soft);
  border-color: var(--line-2);
}
.btn--light {
  background: var(--site-color-ink);
  color: var(--site-color-paper);
}
.btn--light:hover {
  background: var(--site-color-ink-hover);
  color: var(--site-color-paper);
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.link:hover {
  border-bottom-color: var(--ink);
}
.link .ico {
  width: 13px;
  height: 13px;
  transition: transform 0.2s var(--ease);
}
.link:hover .ico {
  transform: translateX(2px);
}
.link--muted {
  color: var(--muted);
}
.link--muted:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.ico {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.hdr .btn {
  margin-left: 4px;
}
/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
/* Product stage ----------------------------------------------------------- */
.recall .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-2);
}
/* --------------------------------------------------------------------------
   Loop
   -------------------------------------------------------------------------- */
.step-num {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  color: var(--faint);
}
/* --------------------------------------------------------------------------
   Atlas / split feature
   -------------------------------------------------------------------------- */
.atlas-copy .h2 {
  margin-top: 18px;
}
.atlas-copy .body {
  margin-top: 20px;
  max-width: 38ch;
}
.atlas-copy .link {
  margin-top: 24px;
}
/* --------------------------------------------------------------------------
   Conversation
   -------------------------------------------------------------------------- */
.conv-copy .h2 {
  margin-top: 18px;
}
.conv-copy .body {
  margin-top: 20px;
  max-width: 36ch;
}
.conv-copy .link {
  margin-top: 24px;
}
.chat-foot .link {
  font-size: var(--fs-13);
}
/* --------------------------------------------------------------------------
   Rows (research, news lists)
   -------------------------------------------------------------------------- */
.rows {
  border-top: 1px solid var(--line);
}
.row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 32px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}
.row:hover {
  background: var(--bg-soft);
}
.row-meta {
  font-size: var(--fs-13);
  color: var(--faint);
  line-height: 1.45;
}
.row-title {
  font-size: clamp(var(--fs-18), 2vw, var(--fs-24));
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.row-arrow {
  width: 16px;
  height: 16px;
  justify-self: end;
  color: var(--faint);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}
.row:hover .row-arrow {
  color: var(--ink);
  transform: translateX(3px);
}
/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--site-color-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.card:hover {
  border-color: var(--line-2);
}
.card:hover .card-media img {
  transform: scale(1.025);
  filter: grayscale(0.65) contrast(1.03);
}
/* --------------------------------------------------------------------------
   Principles
   -------------------------------------------------------------------------- */
.pr-intro .h2 {
  margin-top: 18px;
}
.pr-intro .body {
  margin-top: 20px;
  max-width: 34ch;
}
.pr-intro .link {
  margin-top: 24px;
}
.pr-list {
  grid-column: 6 / 13;
}
.pr-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.pr-item:last-child {
  border-bottom: 1px solid var(--line);
}
.pr-num {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  color: var(--faint);
  padding-top: 3px;
}
.pr-item h3 {
  font-size: var(--fs-16);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pr-item p {
  margin-top: 4px;
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--muted);
}
/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   News
   -------------------------------------------------------------------------- */
.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.news-item:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}
.news-meta {
  font-size: var(--fs-12);
  color: var(--faint);
}
.news-item .row-arrow {
  margin-top: 6px;
}
.news-item:hover .row-arrow {
  color: var(--ink);
  transform: translateX(3px);
}
/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta .body {
  max-width: 46ch;
  margin: 24px auto 0;
}
.cta .btn {
  margin-top: 36px;
}
/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */
.page-head {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.page-head .eyebrow {
  margin-bottom: 24px;
}
.page-title {
  max-width: 18ch;
  font-size: clamp(var(--fs-40), 6vw, var(--fs-48));
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 500;
  text-wrap: balance;
}
.page-lede {
  max-width: 56ch;
  margin-top: 28px;
  font-size: clamp(var(--fs-17), 1.7vw, var(--fs-22));
  line-height: 1.5;
  color: var(--muted);
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-13);
  color: var(--faint);
}
.page-meta b {
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
  color: var(--ink);
  font-size: var(--fs-15);
}
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.split-main {
  grid-column: 1 / 8;
}
.split-side {
  grid-column: 9 / 13;
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.split-side .card {
  padding: 22px;
}
.prose {
  max-width: 760px;
}
.prose > * + * {
  margin-top: 20px;
}
.prose h2 {
  margin-top: 56px;
  font-size: clamp(var(--fs-24), 2.6vw, var(--fs-32));
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.prose h3 {
  margin-top: 36px;
  font-size: var(--fs-18);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.prose p,
.prose li {
  font-size: var(--fs-16);
  line-height: 1.7;
  color: var(--muted);
}
.prose strong {
  font-weight: 500;
  color: var(--ink);
}
.prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.2s var(--ease);
}
.prose a:hover {
  border-bottom-color: var(--ink);
}
.prose ul,
.prose ol {
  padding-left: 0;
  display: grid;
  gap: 8px;
}
.prose ul li {
  padding-left: 18px;
  position: relative;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 1px;
  background: var(--faint);
}
.prose ol {
  counter-reset: item;
}
.prose ol li {
  counter-increment: item;
  padding-left: 26px;
  position: relative;
}
.prose ol li::before {
  content: counter(item) '.';
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--faint);
  top: 0.35em;
}
.prose blockquote {
  padding-left: 20px;
  border-left: 2px solid var(--ink);
  font-size: var(--fs-22);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.prose code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--bg-soft-2);
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--ink);
}
.prose pre {
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--dark);
  color: #e8e8e4;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  line-height: 1.6;
}
.prose pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.prose hr {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 40px 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: var(--fs-14);
}
.prose th,
.prose td {
  padding: 12px 16px 12px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.prose th {
  font-size: var(--fs-12);
  font-weight: 500;
  color: var(--faint);
}
.prose td {
  color: var(--ink-2);
}
/* Plan cards */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--site-color-raised);
}
.plan--dark {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}
.plan-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size: var(--fs-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.plan--dark .plan-tag {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
}
.plan-name {
  font-size: var(--fs-18);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.plan-price {
  margin-top: 8px;
  font-size: var(--fs-32);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.plan-price span {
  font-size: var(--fs-13);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--faint);
}
.plan--dark .plan-price span {
  color: rgba(255, 255, 255, 0.55);
}
.plan-desc {
  margin-top: 12px;
  min-height: 40px;
  font-size: var(--fs-13);
  line-height: 1.5;
  color: var(--muted);
}
.plan--dark .plan-desc {
  color: rgba(255, 255, 255, 0.6);
}
.plan ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.plan--dark ul {
  border-top-color: rgba(255, 255, 255, 0.14);
}
.plan li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-13);
  line-height: 1.45;
  color: var(--ink-2);
}
.plan--dark li {
  color: rgba(255, 255, 255, 0.75);
}
.plan li svg {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: var(--faint);
}
.plan--dark li svg {
  color: rgba(255, 255, 255, 0.5);
}
.plan .btn {
  margin-top: auto;
  width: 100%;
}
/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: var(--fs-16);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: var(--fs-22);
  font-weight: 400;
  color: var(--faint);
  line-height: 1;
}
.faq details[open] summary::after {
  content: '−';
}
.faq .faq-body {
  padding: 0 0 22px;
  max-width: 68ch;
  font-size: var(--fs-15);
  line-height: 1.65;
  color: var(--muted);
}
/* Timeline */
.timeline {
  border-top: 1px solid var(--line);
}
.tl-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.tl-year {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--faint);
  padding-top: 3px;
}
.tl-item h3 {
  font-size: var(--fs-16);
  font-weight: 500;
}
.tl-item p {
  margin-top: 4px;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
/* Topic grid */
.topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.topic {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.topic:hover {
  border-color: var(--line-2);
  background: var(--bg-soft);
}
.topic h3 {
  font-size: var(--fs-17);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.topic p {
  margin-top: 8px;
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--muted);
}
/* Code / definition rows */
.defs {
  border-top: 1px solid var(--line);
}
.def {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.def dt {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--ink);
}
.def dd {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--muted);
}
.def dd code,
.prose code {
  word-break: break-word;
}
/* Notice */
.notice {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--muted);
}
.notice strong {
  color: var(--ink);
  font-weight: 500;
}
/* Doc layout */
.doc {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.doc-nav {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.doc-nav h2 {
  margin-bottom: 12px;
  font-size: var(--fs-11);
  font-weight: 500;
  color: var(--faint);
}
.doc-nav a {
  display: block;
  padding: 5px 0;
  font-size: var(--fs-13);
  color: var(--muted);
}
.doc-nav a:hover {
  color: var(--ink);
}
/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .link .ico,
  .row-arrow {
    transition: none;
  }
}
/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1080px) {
  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .mobile-menu .m-act .btn {
    width: 100%;
  }
  .pr-list {
    grid-column: 1 / -1;
    margin-top: 32px;
  }
  .split-main,
  .split-side {
    grid-column: 1 / -1;
    position: static;
  }
  .split-side {
    margin-top: 32px;
  }
  .doc {
    grid-template-columns: 1fr;
  }
  .doc-nav {
    position: static;
  }
  .sec-desc {
    grid-column: 1 / -1;
    margin-top: 20px;
  }
  .sec-link {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 20px;
  }
  .sec-title {
    grid-column: 1 / -1;
  }
  .cards .card:last-child {
    grid-column: 1 / -1;
  }
  .cards .card:last-child .card-media {
    aspect-ratio: 16 / 9;
  }
  .news-item:nth-last-child(2) {
    border-bottom: 0;
  }
  .news-item:last-child {
    border-bottom: 1px solid var(--line);
  }
  .topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-title {
    max-width: 20ch;
  }
}
@media (max-width: 760px) {
  .hdr-act .btn {
    display: none;
  }
  .hero-actions {
    margin-top: 28px;
  }
  .hero-actions .btn,
  .hero-actions .btn--ghost {
    width: 100%;
  }
  .cards .card:last-child {
    grid-column: auto;
  }
  .cards .card:last-child .card-media {
    aspect-ratio: 4 / 3;
  }
  .row {
    grid-template-columns: 1fr 20px;
    gap: 6px 16px;
    padding: 20px 0;
  }
  .row-meta {
    grid-column: 1 / -1;
    font-size: var(--fs-12);
  }
  .row-title {
    font-size: var(--fs-18);
  }
  .news-item {
    padding: 18px 0;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .topics {
    grid-template-columns: 1fr;
  }
  .page-meta {
    gap: 20px;
  }
  .def {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .tl-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }
}
/* --------------------------------------------------------------------------
   Page components
   -------------------------------------------------------------------------- */
.steps3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step3 {
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.step3 .step-num {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  color: var(--faint);
}
.step3 h3 {
  margin-top: 32px;
  font-size: var(--fs-17);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.step3 p {
  margin-top: 8px;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--muted);
}
.emails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.email-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.email-card h3 {
  font-size: var(--fs-13);
  font-weight: 500;
  color: var(--faint);
}
.email-card a {
  display: inline-block;
  margin-top: 14px;
  font-size: var(--fs-16);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}
.email-card a:hover {
  border-bottom-color: var(--ink);
}
.email-card p {
  margin-top: 10px;
  font-size: var(--fs-13);
  line-height: 1.55;
  color: var(--muted);
}
.cta-slim {
  padding-block: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--line);
}
.cta-slim .h2 {
  max-width: 16ch;
}
.cta-slim .body {
  max-width: 44ch;
  margin-top: 18px;
}
.cta-slim .btn {
  margin-top: 28px;
}
@media (max-width: 1080px) {
  .steps3,
  .emails {
    grid-template-columns: 1fr;
  }
  .steps3,
  .emails {
    gap: 16px;
  }
}
.pr-list--full {
  grid-column: 1 / -1;
  margin-top: 40px;
}
.pr-list--full .pr-item {
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 28px 0;
}
.pr-list--full .pr-item h3 {
  font-size: clamp(var(--fs-22), 2.4vw, var(--fs-32));
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.pr-list--full .pr-item p {
  margin-top: 10px;
  max-width: 62ch;
  font-size: var(--fs-15);
  line-height: 1.7;
  color: var(--muted);
}
.pr-list--full .pr-num {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--muted);
  padding-top: 6px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.page-title {
  letter-spacing: -0.044em;
}
.topics--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.news-meta {
  display: block;
}
.email-card a {
  overflow-wrap: anywhere;
}
.code-block {
  margin-top: 32px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--dark);
  color: #e8e8e4;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  line-height: 1.65;
}
.code-block code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}
@media (max-width: 1080px) {
  .topics--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .topics--4 {
    grid-template-columns: 1fr;
  }
}
/* Chinese typography: looser tracking, slightly more leading. */
html:lang(zh) .page-title,
html:lang(zh) .sec-title,
html:lang(zh) .h2 {
  letter-spacing: -0.01em;
  line-height: 1.18;
}
html:lang(zh) .row-title,
html:lang(zh) .pr-item h3 {
  letter-spacing: -0.012em;
}
.doc-nav {
  max-height: calc(100vh - var(--header-h) - 72px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.page-meta a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
}
.page-meta a:hover {
  border-bottom-color: var(--ink);
}
.table-scroll {
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll table {
  margin-top: 0;
  min-width: 600px;
}
.prose a,
.prose code {
  overflow-wrap: anywhere;
}
@media (max-width: 1080px) {
  .doc {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-nav {
    max-width: 100%;
  }
}
.page-head + .sec {
  padding-top: clamp(40px, 5vw, 64px);
}
/* --------------------------------------------------------------------------
   Editorial image band
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Feature cards
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Research rows with thumbnails
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Quote band
   -------------------------------------------------------------------------- */
.quote-band .shell {
  position: relative;
  z-index: 1;
  padding-block: clamp(56px, 7vw, 96px);
}
/* --------------------------------------------------------------------------
   News feature
   -------------------------------------------------------------------------- */
.nf-main .news-meta {
  display: block;
  margin-bottom: 8px;
}
.nf-main .link {
  margin-top: 18px;
}
.nf-list .news-item:first-child {
  border-top: 1px solid var(--line);
}
/* --------------------------------------------------------------------------
   FAQ split
   -------------------------------------------------------------------------- */
.faq-intro .h2 {
  margin-top: 18px;
}
.faq-intro .body {
  margin-top: 20px;
  max-width: 34ch;
}
@media (max-width: 1080px) {
  .row--thumb .row-meta {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════
   Merged from editorial.css
   ══════════════════════════════════════════════════════════════════ */

body.ed-site {
  min-width: 320px;
  margin: 0;
  color: var(--ed-ink);
  background: var(--ed-paper);
  font-family: var(--ed-sans);
  font-size: var(--fs-16);
  line-height: 1.55;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.ed-site::selection { color: var(--ed-paper); background: var(--ed-clay-warm); }
body.ed-site ::-moz-selection { color: var(--ed-paper); background: var(--ed-clay-warm); }
body.ed-site a { text-decoration: none; }
body.ed-site button,
body.ed-site input { font: inherit; }
body.ed-site img { display: block; max-width: 100%; height: auto; }
body.ed-menu-open { overflow: hidden; }
/* Webkit scrollbars (Safari/Chrome/Edge) — match the monochrome palette
   so the page feels like a single material rather than a window into one. */
body.ed-site::-webkit-scrollbar { width: 12px; height: 12px; }
body.ed-site::-webkit-scrollbar-track { background: var(--ed-paper); }
body.ed-site::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .30);
  border: 3px solid var(--ed-paper);
  border-radius: 999px;
  transition: background .2s var(--ed-ease);
}
body.ed-site::-webkit-scrollbar-thumb:hover { background: var(--ed-ink); }
/* Firefox thin scrollbar */
body.ed-site { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .24) var(--ed-paper); }
/* Smooth focus ring — anthropic-style outline-offset so it never clips
   the rounded button corners. */
.ed-button:focus-visible,
.ed-button-quiet:focus-visible,
.ed-link:focus-visible { outline-offset: 5px; }
a:focus-visible:not(.ed-button):not(.ed-button-quiet):not(.ed-link) { outline-offset: 3px; }
.ed-shell { width: min(2360px, calc(100% - 96px)); margin: 0 auto; }
.ed-skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ed-paper);
  background: var(--ed-ink);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform .18s var(--ed-ease), background .18s var(--ed-ease);
}
.ed-skip:focus { transform: translateY(0); background: var(--ed-clay-warm); }
/* Header
   Sticky on desktop; once the visitor scrolls past the hero the
   header drops a hairline border so the nav doesn't lose its place.
   No backdrop-filter, no shadow, no animation curve — the only
   state change is a 1px line and a small padding shift. */
.ed-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 24px 0 18px;
  background: var(--site-color-paper) !important;
  border-bottom: 1px solid transparent;
  transition: padding .15s ease, border-color .15s ease;
}
.ed-header.is-scrolled {
  padding: 14px 0 12px;
  border-bottom-color: var(--ed-line);
}
.ed-header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  min-height: 48px;
}
.ed-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: var(--fs-16);
  font-weight: 600;
  letter-spacing: .04em;
}
.ed-brand,
.ed-ledger-row { color: inherit; }
.ed-brand img { width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; }
.ed-nav-links { display: flex; align-items: center; gap: 24px; }
.ed-nav-links a {
  padding: 5px 0;
  color: var(--ed-ink-soft);
  font-size: var(--fs-14);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s ease;
}
.ed-nav-links a:hover,
.ed-nav-links a[aria-current="page"] { color: var(--ed-ink); }
.ed-nav-links a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--ed-ink); }
.ed-header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.ed-button,
.ed-button-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid var(--ed-ink);
  border-radius: 8px;
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: -.012em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ed-button { color: var(--ed-paper); background: var(--ed-ink); }
.ed-button:hover { color: var(--site-color-paper); background: var(--site-color-ink-hover); border-color: var(--site-color-ink-hover); }
.ed-button:active { background: var(--ed-clay-warm); border-color: var(--ed-clay-warm); }
.ed-button-quiet { color: var(--ed-ink); background: transparent; border-color: var(--ed-line); }
.ed-button-quiet:hover { color: var(--ed-ink); border-color: var(--ed-ink); }
.ed-button-quiet:active { background: var(--ed-paper-strong); }
.ed-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ed-ink);
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .18s var(--ed-ease), color .18s var(--ed-ease);
}
.ed-menu-toggle:hover { background: var(--ed-paper-soft); }
.ed-menu-toggle:focus-visible { outline: 2px solid var(--ed-clay); outline-offset: 3px; }
.ed-menu-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}
.ed-menu-icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .28s var(--ed-ease), opacity .18s var(--ed-ease), top .28s var(--ed-ease);
}
.ed-menu-icon span:nth-child(1) { top: 1px; }
.ed-menu-icon span:nth-child(2) { top: 6.25px; }
.ed-menu-icon span:nth-child(3) { top: 11.5px; }
.ed-header-inner.is-open .ed-menu-icon span:nth-child(1) {
  top: 6.25px;
  transform: rotate(45deg);
}
.ed-header-inner.is-open .ed-menu-icon span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.ed-header-inner.is-open .ed-menu-icon span:nth-child(3) {
  top: 6.25px;
  transform: rotate(-45deg);
}
/* Editorial primitives
   Anthropic-style: medium weight (500), gentle letter-spacing
   (≈-.022em — not the tight -.04em that AI SaaS pages reach for),
   and a line-height that lets descenders and punctuation breathe.
   Sizes cap on the low side on mobile so the heading does not
   dominate the viewport. */
.ed-kicker,
.ed-meta {
  margin: 0;
  color: var(--ed-ink-muted);
  font-family: var(--ed-mono);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.4;
  text-transform: uppercase;
}
.ed-section { padding: clamp(88px, 9vw, 144px) 0; }
.ed-section-tight { padding: clamp(64px, 7vw, 104px) 0; }
.ed-section-line { border-top: 1px solid var(--ed-line); }
.ed-title,
.ed-page-title {
  margin: 0;
  color: var(--ed-ink);
  font-family: var(--ed-sans);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
  text-wrap: balance;
}
.ed-page-title { max-width: 14ch; font-size: clamp(var(--fs-40), 5vw, var(--fs-48)); line-height: 1.05; }
.ed-title { font-size: clamp(var(--fs-32), 3.2vw, var(--fs-48)); line-height: 1.08; }
.ed-copy { margin: 0; color: var(--ed-ink-soft); font-size: var(--fs-17); line-height: 1.62; }
.ed-copy-serif { margin: 0; font-family: var(--ed-serif); font-size: clamp(var(--fs-18), 1.4vw, var(--fs-22)); line-height: 1.48; letter-spacing: -.005em; }
.ed-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding-bottom: 3px;
  color: var(--ed-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--ed-line);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: -.005em;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.ed-link:hover {
  color: var(--ed-clay);
  text-decoration-color: currentColor;
}
.ed-link-light { color: var(--ed-paper); }
.ed-link-light:hover { color: var(--ed-sand-deep); }
.ed-black-band-copy h2,
.ed-publication-row h2,
.ed-inline-feature h2,
.ed-reference-title,
.ed-research-coda h2,
.ed-policy-manifesto h2,
.ed-policy-visual h2,
.ed-learning-hero h1,
.ed-course-intro h2,
.ed-learning-object h2,
.ed-news-hero h1,
.ed-product-block h2,
.ed-price-card h2,
.ed-contact-card h2,
.ed-split-heading { font-family: var(--ed-sans); font-weight: 500; }
.ed-price-card h2,
.ed-policy-visual h2 { letter-spacing: -.03em; }
/* Links that live inside a card or row keep the underline but drop the
   default padding so the line sits flush with the descender. */
.ed-portal .ed-link,
.ed-card-meta .ed-link,
.ed-article-foot .ed-link { padding-bottom: 0; }
/* Home */
/* One inset drives the nav, the copy and the caption so every element on the
   stage hangs off the same margin. */
/* Scrim across the band the nav and the copy sit in, so the type keeps a
   constant contrast wherever the artwork's light shapes happen to fall. */
.ed-manifesto .ed-copy-serif { max-width: 32ch; margin-top: 28px; }
.ed-ledger { border-top: 1px solid var(--ed-line); }
.ed-ledger-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(135px, .32fr); gap: 18px; align-items: baseline; min-height: 62px; padding: 16px 0; border-bottom: 1px solid var(--ed-line); }
.ed-ledger-row span:first-child { color: var(--ed-ink-muted); font-family: var(--ed-mono); font-size: var(--fs-11); }
.ed-ledger-row strong { color: var(--ed-ink); font-size: var(--fs-16); font-weight: 500; line-height: 1.25; }
.ed-ledger-row span:last-child { color: var(--ed-ink-muted); font-family: var(--ed-serif); font-size: var(--fs-15); text-align: right; }
.ed-ledger-row:hover strong { color: var(--ed-clay); }
/* Subjects grid (product.html) — statement header beside a ruled ledger.
   Desktop: left statement is vertically centred against the taller list so it
   never floats with empty space below ("too short"). Mobile: single column so
   the heading is not squeezed into a narrow sliver ("too tall"). */
.ed-subject-grid .ed-copy { max-width: 34ch; }
.ed-subject-grid .ed-ledger { min-width: 0; }
.ed-portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ed-portal-grid > article {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--ed-line);
  background: var(--ed-paper-soft);
}
.ed-portal-grid > article .ed-title { font-size: clamp(var(--fs-24), 2.4vw, var(--fs-32)) !important; font-weight: 400; letter-spacing: -.012em; line-height: 1.1; }
.ed-black-band { overflow: hidden; border-radius: 24px; background: var(--ed-black); }
.ed-black-band-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr); align-items: stretch; }
.ed-black-band-copy { display: flex; min-height: 420px; flex-direction: column; justify-content: space-between; padding: clamp(32px, 4.5vw, 72px); color: var(--ed-paper); }
.ed-black-band-copy h2 { max-width: 14ch; margin: 16px 0 0; color: var(--ed-paper); font-family: var(--ed-serif); font-size: clamp(var(--fs-32), 3.8vw, var(--fs-48)); font-weight: 400; line-height: 1.04; letter-spacing: -.022em; }
.ed-black-band-copy p { max-width: 30ch; margin: 26px 0 0; color: rgba(244, 241, 233, .72); font-size: var(--fs-16); line-height: 1.6; }
.ed-black-band-media { min-height: 420px; overflow: hidden; }
.ed-black-band-media img { width: 100%; height: 100%; object-fit: cover; }
/* Page hero and editorial cards */
.ed-page-hero { padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 88px); }
.ed-page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(260px, .62fr); gap: clamp(32px, 7vw, 128px); align-items: end; }
.ed-page-hero .ed-copy-serif { max-width: 32ch; margin-bottom: 2px; }
.ed-page-hero .ed-kicker { margin-bottom: 18px; }
.ed-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* Lists and publication routes */
.ed-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.ed-filter-bar button { padding: 9px 12px; color: var(--ed-ink-soft); border: 1px solid var(--ed-line); border-radius: 10px; background: transparent; cursor: pointer; font-size: var(--fs-13); }
.ed-filter-bar button:hover,
.ed-filter-bar button.is-active { color: var(--ed-paper); border-color: var(--ed-ink); background: var(--ed-ink); }
.ed-publication-layout { display: grid; grid-template-columns: minmax(220px, .44fr) minmax(0, 1fr); gap: clamp(38px, 8vw, 132px); align-items: start; }
.ed-publication-aside { position: sticky; top: 28px; }
.ed-publication-aside .ed-title { max-width: 7ch; }
.ed-publication-aside .ed-copy { max-width: 25ch; margin-top: 24px; }
.ed-publication-list { border-top: 1px solid var(--ed-line); }
.ed-publication-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--ed-line); }
.ed-publication-row[hidden] { display: none; }
.ed-publication-row h2 { max-width: 22ch; margin: 13px 0 12px; font-family: var(--ed-serif); font-size: clamp(var(--fs-24), 2.6vw, var(--fs-40)); font-weight: 400; line-height: 1.1; letter-spacing: -.012em; text-wrap: balance; }
.ed-publication-row p { max-width: 62ch; margin: 0; color: var(--ed-ink-soft); font-size: var(--fs-16); line-height: 1.62; }
.ed-publication-row .ed-link { align-self: end; white-space: nowrap; }
.ed-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; color: var(--ed-ink-muted); font-family: var(--ed-mono); font-size: var(--fs-10); letter-spacing: .06em; line-height: 1.55; text-transform: uppercase; }
.ed-row-meta > span:not(.ed-pill)::before { content: "·"; margin-right: 12px; color: var(--ed-clay); }
.ed-inline-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(260px, 1.1fr); gap: 28px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 20px; background: var(--ed-black); color: var(--ed-paper); overflow: hidden; }
.ed-inline-feature img { width: 100%; aspect-ratio: 1.32; object-fit: cover; border-radius: 12px; }
.ed-inline-feature h2 { margin: 14px 0 18px; color: var(--ed-paper); font-family: var(--ed-serif); font-size: clamp(var(--fs-32), 3.4vw, var(--fs-48)); font-weight: 400; line-height: 1.04; letter-spacing: -.022em; }
.ed-inline-feature p { max-width: 33ch; margin: 0; color: rgba(244, 241, 233, .72); font-size: var(--fs-16); line-height: 1.6; }
/* Research, principles, learning, and news reference routes */
.ed-reference-hero { padding: clamp(72px, 9vw, 128px) 0 clamp(48px, 6vw, 88px); }
.ed-reference-hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(330px, .96fr); gap: clamp(48px, 10vw, 180px); align-items: start; }
.ed-reference-title { margin: 0; font-family: var(--ed-serif); font-size: var(--fs-48); font-weight: 400; letter-spacing: -.012em; line-height: 1.06; }
.ed-reference-copy { max-width: 28ch; margin: 1px 0 0; font-family: var(--ed-serif); font-size: clamp(var(--fs-22), 1.8vw, var(--fs-32)); line-height: 1.32; letter-spacing: -.008em; }
.ed-reference-rule { border-top: 1px solid var(--ed-line); }
.ed-policy-story h2 { margin: 0 0 11px; font-size: clamp(var(--fs-18), 1.5vw, var(--fs-22)); font-weight: 500; letter-spacing: -.018em; line-height: 1.2; }
.ed-policy-story p { margin: 0; font-family: var(--ed-serif); font-size: clamp(var(--fs-16), 1.35vw, var(--fs-18)); line-height: 1.42; letter-spacing: -.008em; }
.ed-showcase-entry .ed-row-meta { gap: 8px 10px; }
.ed-research-coda { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr); gap: clamp(44px, 9vw, 146px); padding: clamp(52px, 7vw, 92px) 0; border-top: 1px solid var(--ed-line); }
.ed-research-coda h2,
.ed-policy-manifesto h2 { max-width: 12ch; margin: 0; font-family: var(--ed-serif); font-size: clamp(var(--fs-32), 3.6vw, var(--fs-48)); font-weight: 400; letter-spacing: -.012em; line-height: 1.08; }
.ed-research-coda p,
.ed-policy-manifesto p { max-width: 32ch; margin: 0; font-family: var(--ed-serif); font-size: clamp(var(--fs-18), 1.6vw, var(--fs-24)); line-height: 1.38; letter-spacing: -.008em; }
.ed-research-coda p + p,
.ed-policy-manifesto p + p { margin-top: 25px; }
.ed-policy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 4vw, 68px); padding: clamp(52px, 7vw, 90px) 0 clamp(74px, 10vw, 132px); }
.ed-policy-story { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.ed-policy-story .ed-link { margin-top: 28px; color: var(--ed-ink-muted); font-weight: 500; }
.ed-policy-story .ed-link:hover { color: var(--ed-ink); }
.ed-policy-manifesto { display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr); gap: clamp(48px, 10vw, 160px); padding: clamp(64px, 9vw, 132px) 0; border-top: 1px solid var(--ed-line); }
.ed-policy-visual { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); gap: clamp(36px, 6vw, 82px); align-items: center; padding: clamp(66px, 9vw, 118px) 0; border-top: 1px solid var(--ed-line); }
.ed-policy-visual img { width: 100%; aspect-ratio: 1.48; object-fit: cover; border-radius: 22px; }
.ed-policy-visual h2 { max-width: 10ch; margin: 0; font-family: var(--ed-serif); font-size: clamp(var(--fs-40), 4.7vw, var(--fs-48)); font-weight: 400; letter-spacing: -.065em; line-height: .91; }
.ed-policy-visual p { max-width: 30ch; margin: 22px 0 0; color: var(--ed-ink-soft); font-size: var(--fs-16); line-height: 1.62; }
.ed-learning-hero { max-width: 940px; margin: 0 auto; padding: clamp(96px, 11vw, 168px) 0 clamp(56px, 7vw, 96px); text-align: center; }
.ed-learning-hero h1 { margin: 0; font-family: var(--ed-serif); font-size: var(--fs-48); font-weight: 400; letter-spacing: -.012em; line-height: 1.06; }
.ed-learning-hero p { max-width: 28ch; margin: 28px auto 0; font-family: var(--ed-serif); font-size: clamp(var(--fs-18), 1.8vw, var(--fs-24)); line-height: 1.38; letter-spacing: -.008em; }
.ed-course-band { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr); gap: clamp(34px, 6vw, 92px); align-items: center; padding: clamp(34px, 5vw, 70px); border-radius: 16px; border: 1px solid var(--ed-line); background: var(--ed-paper-soft); }
.ed-course-intro h2 { max-width: 10ch; margin: 0; font-family: var(--ed-serif); font-size: clamp(var(--fs-32), 3.6vw, var(--fs-48)); font-weight: 400; letter-spacing: -.012em; line-height: 1.08; }
.ed-course-intro p { max-width: 34ch; margin: 25px 0 0; font-family: var(--ed-serif); font-size: var(--fs-22); line-height: 1.35; letter-spacing: -.028em; }
.ed-course-intro .ed-button-quiet { margin-top: 32px; border-color: var(--ed-ink-muted); }
.ed-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ed-course-card { display: flex; min-height: 300px; flex-direction: column; justify-content: space-between; padding: 25px; border-radius: 17px; background: rgba(255, 255, 255, .24); color: var(--ed-ink); transition: transform .18s var(--ed-ease), background .18s var(--ed-ease); }
.ed-course-card:hover { background: rgba(255, 255, 255, .46); transform: translateY(-3px); }
.ed-course-card span { font-size: var(--fs-14); font-weight: 500; }
.ed-course-card h3 { max-width: 10ch; margin: 22px 0 auto; font-size: clamp(var(--fs-32), 2.6vw, var(--fs-40)); font-weight: 500; letter-spacing: -.065em; line-height: .96; }
.ed-course-card svg { align-self: flex-end; width: 28px; height: 28px; margin-top: 26px; }
.ed-learning-object { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(280px, .94fr); gap: clamp(36px, 7vw, 100px); align-items: center; padding: clamp(74px, 10vw, 140px) 0; }
.ed-learning-object img { width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: 22px; }
.ed-learning-object h2 { max-width: 10ch; margin: 0; font-family: var(--ed-serif); font-size: clamp(var(--fs-32), 3.6vw, var(--fs-48)); font-weight: 400; letter-spacing: -.012em; line-height: 1.08; }
.ed-learning-object p { max-width: 30ch; margin: 23px 0 0; color: var(--ed-ink-soft); font-family: var(--ed-serif); font-size: var(--fs-22); line-height: 1.38; letter-spacing: -.008em; }
.ed-news-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(40px, 8vw, 120px); align-items: center; padding: clamp(96px, 11vw, 168px) 0 clamp(56px, 7vw, 96px); }
.ed-news-hero h1 { margin: 0; font-family: var(--ed-serif); font-size: var(--fs-48); font-weight: 400; letter-spacing: -.012em; line-height: 1.06; }
.ed-news-contact { border-top: 1px solid var(--ed-line); }
.ed-news-contact a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ed-line); color: var(--ed-ink-muted); font-size: var(--fs-18); }
.ed-news-contact a strong { color: var(--ed-ink); font-weight: 500; }
.ed-news-contact a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.ed-news-split { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(320px, .64fr); gap: clamp(34px, 5vw, 76px); padding: clamp(66px, 9vw, 116px) 0; border-top: 1px solid var(--ed-line); }
.ed-news-split > * { min-width: 0; }
.ed-news-feed { min-width: 0; }
.ed-news-split figure { position: sticky; top: 88px; align-self: start; height: clamp(380px, 38vw, 560px); min-height: 0; margin: 0; overflow: hidden; border-radius: 12px; background: var(--ed-paper-strong); }
.ed-news-split figure img { width: 100%; height: 100%; object-fit: cover; }
.ed-news-rail { border-top: 1px solid var(--ed-line); }
.ed-news-item { padding: 26px 0 28px; border-bottom: 1px solid var(--ed-line); transition: color .15s ease; }
.ed-news-item .ed-row-meta { margin-bottom: 15px; }
.ed-news-item h2 { margin: 0; font-size: clamp(var(--fs-22), 1.9vw, var(--fs-32)); font-weight: 500; letter-spacing: -.022em; line-height: 1.18; text-wrap: balance; transition: color .15s ease; }
.ed-news-item:hover h2 { color: var(--ed-clay); }
.ed-news-item p { margin: 14px 0 0; font-family: var(--ed-serif); font-size: var(--fs-17); line-height: 1.5; letter-spacing: -.012em; }
/* Product, about, pricing and contact */
.ed-product-grid { display: grid; gap: 18px; }
.ed-product-block {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(200px, .7fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--ed-line);
  transition: color .15s ease;
}
.ed-product-block:last-child { border-bottom: 1px solid var(--ed-line); }
/* Product-block headline baseline. brand.css tightens this further
   (22–26px) on top of the legacy 30–48px range so the row reads as
   a single horizontal band rather than a giant headline floating
   next to small body copy. */
.ed-product-block h2 { margin: 0; font-family: var(--ed-serif); font-size: clamp(var(--fs-22), 2.05vw, var(--fs-24)); font-weight: 500; letter-spacing: -.018em; line-height: 1.18; transition: color .15s ease; }
.ed-product-block:hover h2 { color: var(--ed-clay); }
.ed-product-block p { max-width: 36ch; margin: 0; color: var(--ed-ink-soft); font-size: var(--fs-17); line-height: 1.6; }
.ed-product-block .ed-meta { margin-top: 8px; font-size: var(--fs-14); line-height: 1.5; }
.ed-pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ed-price-card { display: flex; min-height: 480px; flex-direction: column; padding: 28px; border: 1px solid var(--ed-line); border-radius: var(--ed-radius-md); background: var(--ed-paper-soft); }
.ed-price-card.is-featured { color: var(--ed-paper); border-color: var(--ed-black); background: var(--ed-black); }
.ed-price-card h2 { margin: 12px 0; font-family: var(--ed-serif); font-size: var(--fs-40); font-weight: 400; letter-spacing: -.06em; }
.ed-price-card p { margin: 0; color: var(--ed-ink-soft); font-size: var(--fs-15); line-height: 1.58; }
.ed-price-card.is-featured p { color: rgba(244, 241, 233, .67); }
.ed-price { margin: 32px 0 20px; font-size: var(--fs-48); font-weight: 600; letter-spacing: -.075em; }
.ed-price-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--ed-ink-soft); font-size: var(--fs-14); line-height: 1.5; }
.ed-price-card.is-featured ul { color: rgba(244, 241, 233, .7); }
.ed-price-card .ed-button,
.ed-price-card .ed-button-quiet { margin-top: auto; }
.ed-price-card.is-featured .ed-button { color: var(--site-color-paper); border-color: var(--site-color-ink); background: var(--site-color-ink); }
.ed-price-card.is-featured .ed-button:hover { color: var(--site-color-paper); background: var(--site-color-ink-hover, #e5e5e5); }
.ed-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ed-contact-card { min-height: 240px; padding: 32px; border-radius: 12px; border: 1px solid var(--ed-line); background: var(--ed-paper-soft); }
.ed-contact-card h2 { max-width: 10ch; margin: 14px 0; font-family: var(--ed-serif); font-size: clamp(var(--fs-32), 3.6vw, var(--fs-48)); font-weight: 400; letter-spacing: -.012em; line-height: 1.08; }
.ed-contact-card p { max-width: 30ch; margin: 0 0 26px; color: var(--ed-ink-soft); line-height: 1.6; }
/* Footer */
.ed-footer { padding: 20px 0 30px; }
.ed-footer-frame { padding: clamp(36px, 5vw, 72px); border-radius: 24px; background: var(--ed-black); color: var(--ed-paper); }
.ed-footer-top { display: grid; grid-template-columns: minmax(220px, .95fr) repeat(4, minmax(0, .52fr)); gap: 28px; }
.ed-footer .ed-brand { color: var(--ed-paper); }
.ed-footer .ed-brand img { filter: grayscale(1) brightness(5); }
.ed-footer-brand p { max-width: 28ch; margin: 20px 0 0; color: rgba(244, 241, 233, .62); font-family: var(--ed-serif); font-size: var(--fs-17); line-height: 1.42; }
.ed-footer-column { display: grid; align-content: start; gap: 9px; }
.ed-footer-column h2 { margin: 0 0 4px; color: rgba(244, 241, 233, .46); font-family: var(--ed-mono); font-size: var(--fs-11); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.ed-footer-column a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: rgba(244, 241, 233, .78);
  font-size: var(--fs-14);
  transition: color .15s ease;
}
.ed-footer-column a:hover { color: #fff; }
.ed-footer-lang {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  margin-top: 12px;
  border: 1px solid rgba(244, 241, 233, .18);
  border-radius: 999px;
  color: rgba(244, 241, 233, .78);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.ed-footer-lang:hover { color: var(--ed-paper); border-color: rgba(244, 241, 233, .36); background: rgba(244, 241, 233, .06); }
.ed-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--ed-line-dark);
  color: rgba(244, 241, 233, .46);
  font-family: var(--ed-mono);
  font-size: var(--fs-11);
  letter-spacing: .06em;
  text-transform: uppercase;
}
/* Motion
   .ed-reveal is a single-element fade-up. .ed-reveal-stagger applies a
   cascading delay to its direct children so a card row reveals as a wave
   rather than a flash. The hero word animation (below) is opt-in via the
   data-animate-text attribute — it never fires automatically, so a long
   Chinese title isn't broken into character spans. */
.ed-reveal { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
.ed-reveal.is-visible { opacity: 1; transform: none; }
.ed-reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.ed-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.ed-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .05s; }
.ed-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .10s; }
.ed-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .15s; }
.ed-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .20s; }
.ed-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .25s; }
.ed-reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .30s; }
.ed-reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .35s; }
/* Hero word-by-word reveal. */
[data-animate-text].is-visible .ed-word {
  opacity: 1;
  transform: none;
}
[data-animate-text].is-visible .ed-word-space { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ed-reveal { opacity: 1; transform: none; }
}
@media (max-width: 1080px) {
  .ed-shell { width: min(100% - 48px, 680px); }
  .ed-page-hero-grid,
  .ed-publication-layout,
  .ed-black-band-inner { grid-template-columns: 1fr; }
  .ed-page-hero-grid { gap: 22px; align-items: start; }
  .ed-ledger-row { grid-template-columns: 34px minmax(0, 1fr) minmax(96px, .26fr); gap: 12px; }
  .ed-publication-aside { position: static; }
  .ed-card-grid,
  .ed-portal-grid,
  .ed-pricing-grid { grid-template-columns: 1fr; }
  .ed-product-block { grid-template-columns: 100px minmax(0, 1fr); }
  .ed-product-block p { grid-column: 2; }
  .ed-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-footer-brand { grid-column: 1 / -1; }
  .ed-reference-hero-grid,
  .ed-research-coda,
  .ed-policy-manifesto,
  .ed-policy-visual,
  .ed-course-band,
  .ed-learning-object,
  .ed-news-hero,
  .ed-news-split { grid-template-columns: 1fr; }
  .ed-reference-hero-grid { gap: 28px; }
  .ed-reference-copy { max-width: 34ch; }
  .ed-policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .ed-course-band { gap: 46px; }
  .ed-news-split figure { position: static; height: auto; min-height: 440px; }
}
@media (max-width: 760px) {
  .ed-header-inner { grid-template-columns: 1fr auto auto; gap: 12px; }
  .ed-menu-toggle { display: inline-flex; }
  .ed-nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    opacity: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--ed-line);
    border-radius: 12px;
    background: var(--ed-paper-soft);
    transform: translateY(-4px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .ed-header-inner.is-open .ed-nav-links {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
  }
  .ed-nav-links a {
    width: 100%;
    padding: 12px 12px;
    border-radius: 8px;
    font-size: var(--fs-15);
    font-weight: 500;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity .18s ease, transform .18s ease, background .15s ease, color .15s ease;
  }
  .ed-header-inner.is-open .ed-nav-links a { opacity: 1; transform: translateY(0); }
  .ed-header-inner.is-open .ed-nav-links a:nth-child(1) { transition-delay: .04s; }
  .ed-header-inner.is-open .ed-nav-links a:nth-child(2) { transition-delay: .07s; }
  .ed-header-inner.is-open .ed-nav-links a:nth-child(3) { transition-delay: .10s; }
  .ed-header-inner.is-open .ed-nav-links a:nth-child(4) { transition-delay: .13s; }
  .ed-header-inner.is-open .ed-nav-links a:nth-child(5) { transition-delay: .16s; }
  .ed-header-inner.is-open .ed-nav-links a:nth-child(6) { transition-delay: .19s; }
  .ed-header-inner.is-open .ed-nav-links a:nth-child(7) { transition-delay: .22s; }
  .ed-nav-links a:hover { background: var(--ed-paper-strong); }
  .ed-header-actions { display: none; }
}
@media (max-width: 760px) {
  .ed-manifesto .ed-copy-serif { max-width: 31ch; }
}
@media (min-width: 1081px) and (max-width: 1180px) {
  .ed-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ed-shell { width: calc(100% - 40px); }
  .ed-header { padding-top: 16px; padding-bottom: 14px; }
  .ed-header-inner { min-height: 44px; padding: 0; border-radius: 0; }
  .ed-brand { font-size: var(--fs-14); letter-spacing: .05em; }
  .ed-brand img { width: 20px; height: 20px; }
  .ed-page-title { font-size: clamp(var(--fs-32), 8.5vw, var(--fs-40)); letter-spacing: -.006em; line-height: 1.12; }
  .ed-title { font-size: clamp(var(--fs-24), 6.8vw, var(--fs-32)); letter-spacing: -.006em; }
  .ed-copy { font-size: var(--fs-16); line-height: 1.65; }
  .ed-copy-serif { font-size: var(--fs-17); line-height: 1.5; }
  .ed-section { padding: 56px 0; }
  .ed-section-tight { padding: 44px 0; }
  .ed-home-research-heading .ed-title { margin-top: 10px; font-size: clamp(var(--fs-24), 6.8vw, var(--fs-32)); }
  .ed-ledger-row { grid-template-columns: 29px minmax(0, 1fr); gap: 10px; padding: 13px 0; min-height: 0; }
  .ed-ledger-row span:last-child { display: none; }
  .ed-portal-grid > article {
    padding: 22px 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--ed-line);
    background: transparent;
  }
  .ed-portal-grid > article .ed-title { font-size: clamp(var(--fs-22), 5.2vw, var(--fs-24)) !important; }
  .ed-black-band { border-radius: 12px; }
  .ed-black-band-copy { min-height: 0; padding: 24px; }
  .ed-black-band-copy h2 { font-size: clamp(var(--fs-24), 6.8vw, var(--fs-32)); }
  .ed-black-band-media { min-height: 240px; }
  .ed-publication-row { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .ed-publication-row h2 { font-size: clamp(var(--fs-22), 5.8vw, var(--fs-32)); letter-spacing: -.012em; }
  .ed-publication-row p { font-size: var(--fs-15); line-height: 1.55; }
  .ed-publication-row .ed-link { justify-self: start; }
  .ed-inline-feature { grid-template-columns: 1fr; padding: 22px; border-radius: 12px; }
  .ed-inline-feature h2 { font-size: clamp(var(--fs-24), 6.2vw, var(--fs-32)); }
  .ed-product-block { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .ed-product-block h2 { font-size: clamp(var(--fs-24), 6.2vw, var(--fs-32)); }
  .ed-product-block p { grid-column: 1; font-size: var(--fs-15); }
  .ed-contact-grid { grid-template-columns: 1fr; }
  .ed-contact-card { min-height: 0; padding: 24px; border: 1px solid var(--ed-line); border-radius: 12px; background: var(--ed-paper-soft); }
  .ed-contact-card h2 { font-size: clamp(var(--fs-32), 7.2vw, var(--fs-40)); }
  .ed-reference-hero { padding: 64px 0 44px; }
  .ed-reference-title,
  .ed-news-hero h1 { font-size: clamp(var(--fs-32), 9vw, var(--fs-48)); letter-spacing: -.006em; line-height: 1.12; }
  .ed-reference-copy { font-size: var(--fs-18); line-height: 1.42; max-width: none; }
  .ed-policy-grid,
  .ed-course-grid { grid-template-columns: 1fr; }
  .ed-policy-story p { font-size: var(--fs-16); line-height: 1.45; }
  .ed-news-split figure { min-height: 240px; border-radius: 10px; }
  .ed-news-item p { font-size: var(--fs-15); line-height: 1.48; }
  .ed-research-coda,
  .ed-policy-manifesto { gap: 24px; padding-top: 48px; padding-bottom: 48px; }
  .ed-research-coda h2,
  .ed-policy-manifesto h2 { font-size: clamp(var(--fs-24), 6.8vw, var(--fs-32)); }
  .ed-research-coda p,
  .ed-policy-manifesto p { font-size: var(--fs-17); line-height: 1.42; max-width: none; }
  .ed-policy-visual,
  .ed-learning-object { gap: 24px; padding: 48px 0; }
  .ed-policy-visual img,
  .ed-learning-object img { border-radius: 10px; }
  .ed-policy-visual h2 { font-size: clamp(var(--fs-24), 6.8vw, var(--fs-32)); }
  .ed-learning-hero { padding: 72px 0 44px; }
  .ed-learning-hero h1 { font-size: clamp(var(--fs-32), 9vw, var(--fs-48)); }
  .ed-learning-hero p { margin-top: 18px; font-size: var(--fs-18); }
  .ed-course-band { padding: 22px; border-radius: 12px; gap: 28px; }
  .ed-course-intro h2 { font-size: clamp(var(--fs-32), 7.2vw, var(--fs-40)); }
  .ed-course-intro p { font-size: var(--fs-17); }
  .ed-course-card { min-height: 0; padding: 20px; transform: none !important; }
  .ed-course-card:hover { transform: none !important; }
  .ed-news-hero { gap: 28px; padding: 72px 0 44px; }
  .ed-news-item h2 { font-size: clamp(var(--fs-18), 5vw, var(--fs-24)); line-height: 1.2; }
  .ed-news-contact a { font-size: var(--fs-15); }
  .ed-footer { padding: 8px 0 16px; }
  .ed-footer-frame { padding: 28px 22px; border-radius: 12px; }
  .ed-footer-top { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .ed-footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 36px; gap: 8px; }
  .ed-publications-toolbar .ed-title { font-size: clamp(var(--fs-24), 6.8vw, var(--fs-32)); }
  .ed-search-field input { min-height: 44px; font-size: var(--fs-16); }
  .ed-price-card { min-height: 0; padding: 24px; }
  .ed-price-card h2 { font-size: var(--fs-32); }
  .ed-price { font-size: var(--fs-40); margin: 24px 0 16px; }
}
/* ── Article layout (used by research/<slug>/, learn/<slug>/, etc.) ─ */
.ed-article-hero { padding: clamp(80px, 10vw, 132px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--ed-line); }
.ed-article-hero-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(280px, .82fr); gap: clamp(36px, 8vw, 130px); align-items: start; }
.ed-article-byline { display: flex; flex-wrap: wrap; row-gap: 9px; column-gap: 18px; margin: 16px 0 0; color: var(--ed-ink-muted); font-family: var(--ed-mono); font-size: var(--fs-11); letter-spacing: .06em; line-height: 1.6; text-transform: uppercase; }
.ed-article-byline > span { display: inline-flex; align-items: center; min-height: 22px; }
.ed-article-byline strong { color: var(--ed-ink); font-weight: 600; }
.ed-article { width: min(720px, calc(100% - 48px)); max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px); }
.ed-article p { margin: 0 0 1.6em; color: var(--ed-ink-soft); font-family: var(--ed-serif); font-size: clamp(var(--fs-18), 1.15vw + var(--fs-14), var(--fs-22)); line-height: 1.68; letter-spacing: -.012em; text-wrap: pretty; }
.ed-article p.lede { margin: 0 0 2.2em; padding: 22px 26px; border-left: 2px solid var(--ed-clay); border-radius: 0 14px 14px 0; background: var(--ed-paper-soft); color: var(--ed-ink); font-size: clamp(var(--fs-18), 1.3vw + var(--fs-14), var(--fs-24)); line-height: 1.46; letter-spacing: -.025em; }
.ed-article h2 { margin: 2.7em 0 1em; color: var(--ed-ink); font-weight: 600; font-size: clamp(var(--fs-24), 2.2vw, var(--fs-32)); letter-spacing: -.04em; line-height: 1.18; text-wrap: balance; }
.ed-article h3 { margin: 2.4em 0 .9em; color: var(--ed-ink); font-weight: 600; font-size: clamp(var(--fs-22), 1.6vw, var(--fs-24)); letter-spacing: -.03em; line-height: 1.25; text-wrap: balance; }
.ed-article ul, .ed-article ol { margin: 0 0 1.6em; padding-left: 24px; color: var(--ed-ink-soft); font-family: var(--ed-serif); font-size: var(--fs-22); line-height: 1.66; }
.ed-article li { margin-bottom: .6em; }
.ed-article blockquote { margin: 1.9em 0; padding: 6px 0 6px 22px; border-left: 2px solid var(--ed-clay); color: var(--ed-ink); font-family: var(--ed-serif); font-size: var(--fs-22); font-style: italic; line-height: 1.55; letter-spacing: -.02em; }
.ed-article hr { border: 0; height: 1px; background: var(--ed-line); margin: 3.2em 0; }
.ed-article p.ed-method-note {
  margin: 2em 0 0;
  padding: 18px 20px;
  border: 1px solid var(--ed-line);
  border-left: 3px solid var(--ed-clay);
  border-radius: 14px;
  background: var(--ed-paper-soft);
  color: var(--ed-ink-soft);
  font-family: var(--ed-sans);
  font-size: var(--fs-13);
  line-height: 1.72;
  letter-spacing: .004em;
  text-transform: none;
}
.ed-article p.ed-method-note .ed-method-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ed-ink);
  font-family: var(--ed-mono);
  font-size: var(--fs-10);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ed-article-foot { padding: clamp(36px, 5vw, 64px) 0 clamp(72px, 10vw, 132px); border-top: 1px solid var(--ed-line); }
.ed-article-foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 680px; margin: 0 auto; }
.ed-article-foot a { display: grid; gap: 8px; padding: 22px 24px; border: 1px solid var(--ed-line); border-radius: 14px; background: var(--ed-paper-soft); color: var(--ed-ink); transition: border-color .18s var(--ed-ease), background .18s var(--ed-ease); }
.ed-article-foot a:hover { border-color: var(--ed-ink); background: var(--ed-paper); }
.ed-article-foot .ed-meta { color: var(--ed-ink-muted); }
.ed-article-foot .ed-link-arrow { color: var(--ed-ink); font-weight: 600; font-size: var(--fs-15); line-height: 1.35; letter-spacing: -.01em; }
@media (max-width: 760px) {
  .ed-article-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ed-article { padding: 36px 0 60px; }
  .ed-article p { font-size: var(--fs-18); }
  .ed-article p.lede { font-size: var(--fs-22); }
  .ed-article h2 { font-size: var(--fs-24); }
  .ed-article-foot-grid { grid-template-columns: 1fr; }
}
/* ── Index list (used to display article teasers on index pages) ─
   Rows are intentionally flat: no hover background, no slide-in
   motion. The only affordance is a colour shift on the title and
   the date, which is enough to signal interactivity. */
/* Socrates home / research refinement ----------------------------------
   The marketing surface uses editorial rows instead of a stack of equal
   cards. The research page is the deeper layer: the home page only points
   toward it, while the publication rows carry the detail. */
.ed-home-statement-copy .ed-copy-serif { max-width: 28ch; }
.ed-home-statement-copy .ed-copy { max-width: 36ch; margin-top: 24px; }
.ed-home-statement-copy .ed-link { margin-top: 26px; }
.ed-home-research-heading .ed-title { max-width: 15ch; margin-top: 14px; }
.ed-home-research-heading .ed-link { margin-bottom: 6px; white-space: nowrap; }
.ed-publications-toolbar .ed-title { margin-top: 14px; }
.ed-publications-toolbar .ed-copy { max-width: 42ch; margin-top: 18px; }
.ed-search-field { display: grid; gap: 9px; color: var(--ed-ink-muted); font-family: var(--ed-mono); font-size: var(--fs-10); letter-spacing: .08em; text-transform: uppercase; }
.ed-search-field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--ed-ink);
  border: 1px solid var(--ed-line);
  border-radius: 0;
  outline: 0;
  background: var(--ed-paper-soft);
  font-family: var(--ed-sans);
  font-size: var(--fs-15);
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .18s var(--ed-ease), background .18s var(--ed-ease);
}
.ed-search-field input::placeholder { color: var(--ed-ink-muted); }
.ed-search-field input:focus { border-color: var(--ed-ink); background: var(--site-color-raised, #1f1f1f); }
.ed-research-publications > .ed-filter-bar { margin-top: 34px; }
.ed-research-publications > .ed-publication-list { margin-top: 28px; }
.ed-publication-row { color: inherit; text-decoration: none; transition: color .15s ease; }
.ed-publication-row:hover h2 { color: var(--ed-clay); }
.ed-publication-row h2 { transition: color .15s ease; }
@media (max-width: 760px) {
  .ed-home-research-heading .ed-link { margin-bottom: 0; }
}
/* ── Extracted utility classes (replaces inline styles in learn/documents/policy) ── */
.ed-split-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 9vw, 150px);
  align-items: start;
}
.ed-split-heading {
  margin: 0;
  font-family: var(--ed-serif);
  font-size: clamp(var(--fs-32), 3.6vw, var(--fs-48));
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: 1.08;
}
.ed-mt-18 { margin-top: 18px; }
.ed-mt-20 { margin-top: 20px; }
.ed-mt-24 { margin-top: 24px; }
.ed-mt-48 { margin-top: 48px; }
.ed-lede-wide { max-width: 60ch; }
.ed-feature-kicker { color: rgba(244, 241, 233, .45); }
@media (max-width: 760px) {
  .ed-split-grid { grid-template-columns: 1fr; gap: 34px; }
}
/* ── Research article enhancements: thread pill, summary, 1:1 IA support ── */
/* Category pills (News / Library / Publications rows) */
.ed-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--ed-line);
  color: var(--ed-ink-soft);
  font-family: var(--ed-mono);
  font-size: var(--fs-10);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ed-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ed-clay);
}
.ed-pill[data-cat="Research"]::before,
.ed-pill[data-cat="Memory"]::before,
.ed-pill[data-cat="Explanation"]::before,
.ed-pill[data-cat="Practice"]::before,
.ed-pill[data-cat="Knowledge mapping"]::before,
.ed-pill[data-cat="Tutoring"]::before { background: var(--ed-clay); }
.ed-pill[data-cat="Announcements"]::before,
.ed-pill[data-cat="Product"]::before { background: #000000; }
.ed-pill[data-cat="Learning"]::before { background: #000000; }
/* Year grouping label for News / index lists */
.ed-year-rule {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  padding: 18px 0 4px;
  color: var(--ed-ink-muted);
  font-family: var(--ed-mono);
  font-size: var(--fs-11);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ed-year-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ed-line);
}
/* "See more" hook aligned with anthropic News/Research lists */
.ed-see-more {
  display: inline-flex;
  margin-top: 30px;
  color: var(--ed-ink);
  border-bottom: 1px solid currentColor;
  font-size: var(--fs-14);
  font-weight: 600;
}
.ed-see-more:hover { color: var(--ed-clay); }
.ed-filter-empty { margin: 24px 0 0; padding: 18px 0; color: var(--ed-ink-muted); border-bottom: 1px solid var(--ed-line); font-family: var(--ed-serif); font-size: var(--fs-18); line-height: 1.4; }
/* News search field (mirrors Publications search on Research/Library) */
.ed-news-search { margin-top: 28px; max-width: 360px; }
/* ── 620px breakpoint补强: 文章/新闻/列表在小屏收紧, 双端无挤压 ── */
@media (max-width: 760px) {
  .ed-article { width: calc(100% - 48px); padding: 40px 0 64px; }
  .ed-article p { font-size: var(--fs-17); line-height: 1.72; }
  .ed-article p.lede { margin-bottom: 2em; padding: 20px 20px; font-size: var(--fs-18); line-height: 1.5; }
  .ed-article h2 { font-size: var(--fs-22); margin: 2.5em 0 .85em; }
  .ed-article h3 { font-size: var(--fs-18); margin: 2.2em 0 .8em; }
  .ed-article blockquote { margin: 1.8em 0; font-size: var(--fs-18); line-height: 1.55; }
  .ed-article ul, .ed-article ol { padding-left: 20px; font-size: var(--fs-17); line-height: 1.72; }
  .ed-article p.ed-method-note { padding: 16px 18px; font-size: var(--fs-13); line-height: 1.7; }
  .ed-article-byline { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ed-line); display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 18px; row-gap: 9px; }

  .ed-news-item h2 { font-size: clamp(var(--fs-22), 6vw, var(--fs-32)); line-height: 1.18; }
  .ed-news-item p { font-size: var(--fs-16); line-height: 1.5; }
  .ed-news-split figure { height: auto; min-height: 300px; }
  .ed-news-contact a { font-size: var(--fs-16); }

  .ed-publication-row { grid-template-columns: 1fr; gap: 16px; padding: 22px 0; }
  .ed-publication-row h2 { font-size: clamp(var(--fs-22), 6vw, var(--fs-32)); }
  .ed-publication-row p { font-size: var(--fs-16); line-height: 1.52; }
  .ed-publication-row .ed-link { justify-self: start; }

  .ed-product-block { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .ed-product-block p { grid-column: 1; }
  .ed-ledger-row { padding: 14px 0; }

  .ed-article-foot-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   Merged from brand.css
   ══════════════════════════════════════════════════════════════════ */

/*
 * Socrates brand layer
 *
 * This file is intentionally loaded last on every static site page. The
 * original pages use three generations of CSS and several functional pages
 * keep inline styles for their JS hooks. This layer owns the shared visual
 * language while leaving those hooks and component names intact.
 */
/* Editorial pages ------------------------------------------------------ */
body.ed-site {
  color: var(--site-ink);
  background: var(--site-paper);
  font-family: var(--site-sans-latin);
  letter-spacing: -.012em;
}
html:lang(zh) body.ed-site { font-family: var(--site-sans-cjk); letter-spacing: .01em; }
body.ed-site .ed-shell { width: min(1272px, calc(100% - 64px)); }
body.ed-site .ed-header { padding-top: 16px; background: var(--site-paper); }
body.ed-site .ed-header-inner { min-height: 52px; }
body.ed-site .ed-brand { color: var(--site-ink); }
body.ed-site .ed-footer .ed-brand { color: var(--site-color-ink); }
body.ed-site .ed-brand img {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 7px;
  background: var(--site-black);
  padding: 3px;
  box-sizing: border-box;
  object-fit: contain;
}
body.ed-site .ed-nav-links a,
body.ed-site .ed-header-language { color: var(--site-ink-soft); }
body.ed-site .ed-nav-links a:hover,
body.ed-site .ed-nav-links a[aria-current="page"],
body.ed-site .ed-header-language:hover { color: var(--site-ink); }
body.ed-site .ed-button { color: var(--site-paper); background: var(--site-ink); border-color: var(--site-ink); }
body.ed-site .ed-button:hover { color: #fff; background: #000; border-color: #000; }
body.ed-site .ed-button-quiet {
  background: transparent;
  color: var(--site-ink);
  border: 1px solid var(--site-line);
}
body.ed-site .ed-button-quiet:hover {
  background: var(--site-paper-soft);
  border-color: var(--site-ink);
  color: var(--site-ink);
}
body.ed-site .ed-display,
body.ed-site .ed-page-title,
body.ed-site .ed-title,
body.ed-site .ed-statement-title,
body.ed-site .ed-reference-title,
body.ed-site .ed-news-hero h1,
body.ed-site .ed-learning-hero h1,
body.ed-site .ed-research-coda h2,
body.ed-site .ed-policy-manifesto h2,
body.ed-site .ed-course-intro h2,
body.ed-site .ed-learning-object h2,
body.ed-site .ed-network-copy h2 {
  font-family: var(--site-serif-latin);
  font-weight: 500;
  letter-spacing: -.014em;
  line-height: 1.08;
  font-feature-settings: "kern", "liga", "calt";
}
body.ed-site .ed-display { font-size: var(--fs-48); line-height: 1.06; }
body.ed-site .ed-page-title { max-width: 14ch; font-size: var(--fs-48); }
body.ed-site .ed-title { font-size: clamp(var(--fs-32), 3.4vw, var(--fs-48)); font-weight: 400; line-height: 1.1; }
body.ed-site .ed-title.ed-artifact {
  font-family: var(--site-sans-latin);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.06;
}
body.ed-site .ed-statement-title { font-size: clamp(var(--fs-32), 3.6vw, var(--fs-48)); }
body.ed-site .ed-reference-title,
body.ed-site .ed-news-hero h1,
body.ed-site .ed-learning-hero h1 { font-size: var(--fs-48); }
body.ed-site .ed-research-coda h2,
body.ed-site .ed-policy-manifesto h2,
body.ed-site .ed-policy-visual h2,
body.ed-site .ed-course-intro h2,
body.ed-site .ed-learning-object h2,
body.ed-site .ed-network-copy h2 { font-size: clamp(var(--fs-32), 3.8vw, var(--fs-48)); }
body.ed-site .ed-serif,
body.ed-site .ed-copy-serif,
body.ed-site .ed-footer-brand p,
body.ed-site .ed-product-block h2,
body.ed-site .ed-contact-card h2,
body.ed-site .ed-price-card h2,
body.ed-site .ed-policy-visual h2 { font-family: var(--site-serif-latin); font-weight: 500; }
body.ed-site .ed-copy { font-size: var(--fs-17); line-height: 1.62; }
body.ed-site .ed-copy-serif { font-size: clamp(var(--fs-18), 1.4vw, var(--fs-22)); line-height: 1.48; }
body.ed-site .ed-team-grid h2,
body.ed-site .ed-showcase-entry h2,
body.ed-site .ed-principle h3,
body.ed-site .ed-essay-row .ed-essay-title {
  font-family: var(--site-sans-latin);
  font-weight: 500;
  letter-spacing: -.018em;
}
html:lang(zh) body.ed-site .ed-display,
html:lang(zh) body.ed-site .ed-page-title,
html:lang(zh) body.ed-site .ed-title,
html:lang(zh) body.ed-site .ed-statement-title,
html:lang(zh) body.ed-site .ed-reference-title,
html:lang(zh) body.ed-site .ed-news-hero h1,
html:lang(zh) body.ed-site .ed-learning-hero h1,
html:lang(zh) body.ed-site .ed-serif,
html:lang(zh) body.ed-site .ed-copy-serif,
html:lang(zh) body.ed-site .ed-footer-brand p,
html:lang(zh) body.ed-site .ed-product-block h2,
html:lang(zh) body.ed-site .ed-contact-card h2,
html:lang(zh) body.ed-site .ed-price-card h2 {
  /* Mirror the English interface: display/headings use the serif stack
     (Latin → Newsreader), so Chinese uses Noto Serif SC from Google Fonts. */
  font-family: var(--site-serif-cjk);
  letter-spacing: .02em;
  line-height: 1.3;
  font-weight: 600;
  text-wrap: balance;
}
html:lang(zh) body.ed-site .ed-serif,
html:lang(zh) body.ed-site .ed-copy-serif,
html:lang(zh) body.ed-site .ed-footer-brand p {
  font-family: var(--site-serif-cjk);
  line-height: 1.72;
  letter-spacing: .02em;
  font-weight: 500;
  text-wrap: pretty;
}
body.ed-site .ed-page-hero { padding: clamp(72px, 9vw, 116px) 0 46px; }
body.ed-site .ed-section { padding: clamp(62px, 8vw, 120px) 0; }
body.ed-site .ed-section-tight { padding: clamp(44px, 6vw, 84px) 0; }
body.ed-site .ed-footer { padding: 18px 0 28px; }
body.ed-site .ed-footer-frame { background: var(--site-color-surface); box-shadow: inset 0 0 0 1px var(--site-color-line); }
/* Old marketing pages ------------------------------------------------- */
body.mk-page .mk-title .dim,
body.mk-page .mk-display .dim { color: var(--site-ink-muted); }
/* Account / billing / API pages -------------------------------------- */
body:not(.ed-site):not(.mk-page) .page { background: var(--site-paper); }
body:not(.ed-site):not(.mk-page):not(.xa-page) {
  color: var(--site-ink) !important;
  background: var(--site-paper) !important;
}
body:not(.ed-site):not(.mk-page):not(.xa-page) .page { background: var(--site-paper) !important; }
body:not(.ed-site):not(.mk-page) .page > nav {
  position: relative;
  z-index: 10;
  background: var(--site-paper);
  border-bottom: 1px solid var(--site-line);
  box-shadow: none;
}
body:not(.ed-site):not(.mk-page) .page > nav .nav-inner {
  width: min(1272px, calc(100% - 64px));
  min-height: 68px;
  margin: 0 auto;
}
body:not(.ed-site):not(.mk-page) .page > nav .nav-logo,
body:not(.ed-site):not(.mk-page) .page > nav .nav-logo span { color: var(--site-ink); }
body:not(.ed-site):not(.mk-page) .page > nav .nav-links a { color: var(--site-ink-soft); }
body:not(.ed-site):not(.mk-page) .page > nav .nav-links a:hover,
body:not(.ed-site):not(.mk-page) .page > nav .nav-links a.nav-active { color: var(--site-ink); }
body:not(.ed-site):not(.mk-page) .page > nav .nav-links .cta-btn {
  color: var(--site-paper) !important;
  background: var(--site-ink);
  border-color: var(--site-ink);
}
body:not(.ed-site):not(.mk-page) .page > nav .nav-links .cta-btn:hover { color: #fff !important; background: #000; }
body:not(.ed-site):not(.mk-page) .page-header {
  width: min(1272px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(70px, 8vw, 112px) 0 42px;
  text-align: left;
}
body:not(.ed-site):not(.mk-page) .page-header h1 {
  max-width: 12ch;
  color: var(--site-ink);
  font-family: var(--site-sans-latin);
  font-size: var(--fs-48);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}
body:not(.ed-site):not(.mk-page) .page-header h1 strong { color: var(--site-ink-muted); font-weight: 500; }
body:not(.ed-site):not(.mk-page) .page-header p { max-width: 42ch; color: var(--site-ink-soft); }
body:not(.ed-site):not(.mk-page) section { background: transparent; }
body:not(.ed-site):not(.mk-page) .section-inner { width: min(780px, calc(100% - 64px)); }
body:not(.ed-site):not(.mk-page) .section-eyebrow { color: var(--site-ink-muted); }
body:not(.ed-site):not(.mk-page) .btn-primary,
body:not(.ed-site):not(.mk-page) .confirm-btn.primary,
body:not(.ed-site):not(.mk-page) .checkout-submit {
  color: var(--site-paper) !important;
  background: var(--site-ink);
  border-color: var(--site-ink);
}
body:not(.ed-site):not(.mk-page) .btn-primary:hover,
body:not(.ed-site):not(.mk-page) .confirm-btn.primary:hover,
body:not(.ed-site):not(.mk-page) .checkout-submit:hover { color: #fff !important; background: #000; }
body:not(.ed-site):not(.mk-page) .btn-outline { color: var(--site-ink) !important; border-color: var(--site-line); }
body:not(.ed-site):not(.mk-page) .btn-outline:hover { background: var(--site-paper-strong); }
body:not(.ed-site):not(.mk-page) input,
body:not(.ed-site):not(.mk-page) select,
body:not(.ed-site):not(.mk-page) textarea,
body:not(.ed-site):not(.mk-page) .checkout-card,
body:not(.ed-site):not(.mk-page) .profile-card,
body:not(.ed-site):not(.mk-page) .apikey-form,
body:not(.ed-site):not(.mk-page) .apikey-card,
body:not(.ed-site):not(.mk-page) .acct-card,
body:not(.ed-site):not(.mk-page) .checkout-plan {
  color: var(--site-ink);
  background: var(--site-paper-soft);
  border-color: var(--site-line);
  box-shadow: none;
}
body:not(.ed-site):not(.mk-page) input::placeholder,
body:not(.ed-site):not(.mk-page) textarea::placeholder { color: var(--site-ink-muted); }
body:not(.ed-site):not(.mk-page) label,
body:not(.ed-site):not(.mk-page) .hint,
body:not(.ed-site):not(.mk-page) .checkout-footnote { color: var(--site-ink-muted); }
body:not(.ed-site):not(.mk-page) .checkout-plan.featured,
body:not(.ed-site):not(.mk-page) .checkout-plan:has(input:checked) { border-color: var(--site-ink); }
body:not(.ed-site):not(.mk-page) .modal-box,
body:not(.ed-site):not(.mk-page) .payment-card,
body:not(.ed-site):not(.mk-page) .toast { color: var(--site-ink); background: var(--site-paper-soft); border-color: var(--site-line); }
body:not(.ed-site):not(.mk-page) footer {
  margin-top: 72px;
  color: var(--site-paper);
  background: var(--site-black);
  border-top: 0;
}
body:not(.ed-site):not(.mk-page) footer .footer-inner { width: min(1272px, calc(100% - 64px)); }
body:not(.ed-site):not(.mk-page) footer a { color: rgba(244, 241, 233, .72); }
body:not(.ed-site):not(.mk-page) footer a:hover { color: #fff; }
html:lang(zh) body:not(.ed-site):not(.mk-page) .page-header h1,
html:lang(zh) body:not(.ed-site):not(.mk-page) h1,
html:lang(zh) body:not(.ed-site):not(.mk-page) h2,
html:lang(zh) body:not(.ed-site):not(.mk-page) h3,
html:lang(zh) body:not(.ed-site):not(.mk-page) button,
html:lang(zh) body:not(.ed-site):not(.mk-page) input,
html:lang(zh) body:not(.ed-site):not(.mk-page) select,
html:lang(zh) body:not(.ed-site):not(.mk-page) textarea { font-family: var(--site-sans-cjk); letter-spacing: 0; }
html:lang(zh) body:not(.ed-site):not(.mk-page) h1,
html:lang(zh) body:not(.ed-site):not(.mk-page) h2,
html:lang(zh) body:not(.ed-site):not(.mk-page) h3 { letter-spacing: 0 !important; }
/* Legal pages --------------------------------------------------------- */
body.legal-page .page-header {
  width: min(1272px, calc(100% - 64px));
  max-width: none;
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: 44px;
}
body.legal-page .page-header h1 { max-width: none; font-size: var(--fs-48); }
body.legal-page .page-header p { margin-top: 20px; font-family: var(--site-serif-latin); font-size: var(--fs-17); line-height: 1.55; }
/* Legal pages fill the available width on desktop. The reader expects
   line length to sit around 70–80 characters, so the text column caps
   near 760px on narrow screens and grows with the viewport. */
body.legal-page .section-inner {
  width: min(100%, 1180px);
  max-width: 1180px;
}
body.legal-page .legal-section,
body.legal-page .ed-legal-section { margin-bottom: 48px; scroll-margin-top: 36px; }
body.legal-page .legal-section h3,
body.legal-page .ed-legal-section h3 {
  margin: 0 0 14px;
  padding: 0;
  color: var(--site-ink);
  font-family: var(--site-sans-latin);
  font-size: var(--fs-24);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.18;
  border: 0;
}
body.legal-page .legal-section h4,
body.legal-page .ed-legal-section h4 { margin: 26px 0 10px; color: var(--site-ink); font-size: var(--fs-17); font-weight: 600; }
body.legal-page .legal-section p,
body.legal-page .legal-section li,
body.legal-page .ed-legal-section p,
body.legal-page .ed-legal-section li {
  color: var(--site-ink-soft);
  font-family: var(--site-serif-latin);
  font-size: var(--fs-17);
  line-height: 1.72;
  max-width: 76ch;
}
body.legal-page .legal-section p,
body.legal-page .ed-legal-section p { margin-bottom: 16px; }
body.legal-page .legal-section ul,
body.legal-page .legal-section ol,
body.legal-page .ed-legal-section ul,
body.legal-page .ed-legal-section ol { padding-left: 24px; margin-bottom: 18px; }
body.legal-page .legal-section strong,
body.legal-page .ed-legal-section strong { color: var(--site-ink); font-weight: 600; }
body.legal-page .legal-section a,
body.legal-page .ed-legal-section a { color: var(--site-ink); text-decoration: underline; text-decoration-color: var(--site-line); text-underline-offset: 3px; }
body.legal-page .legal-section a:hover,
body.legal-page .ed-legal-section a:hover { color: var(--site-clay); text-decoration-color: var(--site-clay); }
body.legal-page .legal-table,
body.legal-page .ed-legal-section table { width: 100%; margin: 20px 0 24px; border-collapse: collapse; font-size: var(--fs-15); }
body.legal-page .legal-table th,
body.legal-page .legal-table td,
body.legal-page .ed-legal-section th,
body.legal-page .ed-legal-section td { padding: 12px 14px; color: var(--site-ink-soft); border-bottom: 1px solid var(--site-line); text-align: left; vertical-align: top; line-height: 1.5; }
body.legal-page .legal-table th,
body.legal-page .ed-legal-section th { color: var(--site-ink-muted); font-family: var(--site-mono); font-size: var(--fs-10); letter-spacing: .07em; text-transform: uppercase; }
body.legal-page .legal-date { color: var(--site-ink-muted); font-family: var(--site-mono); font-size: var(--fs-11); }
body.legal-page .ed-legal-layout { display: block; }
body.legal-page .ed-legal-toc { display: none; }
body.legal-page .ed-legal-body { width: min(100%, 1180px); max-width: 1180px; margin: 0 auto; }
body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .section-inner {
  width: min(100%, 1180px);
  max-width: 1180px;
  margin-inline: auto;
}
body.ed-site.legal-page .ed-page-hero { padding: clamp(72px, 8vw, 112px) 0 40px; }
body.ed-site.legal-page .ed-legal-hero { display: grid; gap: 28px; }
body.ed-site.legal-page .ed-legal-hero h1 { max-width: none; font-size: var(--fs-48); }
body.ed-site.legal-page .ed-legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding-top: 20px; border-top: 1px solid var(--site-line); color: var(--site-ink-muted); font-family: var(--site-mono); font-size: var(--fs-11); letter-spacing: .045em; }
body.ed-site.legal-page .ed-legal-meta p { margin: 0; }
body.ed-site.legal-page .ed-legal-meta a { color: var(--site-ink); text-decoration: underline; text-underline-offset: 3px; }
body.ed-site.legal-page .ed-legal-meta select { min-height: 32px; padding: 5px 28px 5px 10px; color: var(--site-ink); border: 1px solid var(--site-line); border-radius: 8px; background: var(--site-paper-soft); font-family: inherit; font-size: var(--fs-11); }
body.legal-page .ed-legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--site-line); color: var(--site-ink-muted); font-family: var(--site-mono); font-size: var(--fs-11); letter-spacing: .045em; }
body.legal-page .ed-legal-meta p { margin: 0; }
body.legal-page .ed-legal-meta a { color: var(--site-ink); text-decoration: underline; text-underline-offset: 3px; }
body.legal-page .ed-legal-meta label { display: inline-flex; align-items: center; gap: 8px; color: var(--site-ink-muted); font-family: inherit; font-size: inherit; }
body.legal-page .ed-legal-meta select { min-height: 32px; padding: 5px 28px 5px 10px; color: var(--site-ink); border: 1px solid var(--site-line); border-radius: 8px; background: var(--site-paper-soft); font-family: inherit; font-size: var(--fs-11); }
body.ed-site.legal-page .ed-legal-section h3 { font-family: var(--site-sans-latin); font-size: var(--fs-24); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
body.ed-site.legal-page .ed-legal-section p,
body.ed-site.legal-page .ed-legal-section li { font-family: var(--site-serif-latin); font-size: var(--fs-17); line-height: 1.72; max-width: 76ch; }
html:lang(zh) body.legal-page .page-header h1,
html:lang(zh) body.legal-page .legal-section h3,
html:lang(zh) body.legal-page .ed-legal-section h3 { font-family: var(--site-sans-cjk); letter-spacing: 0; line-height: 1.18; }
html:lang(zh) body.legal-page .page-header p,
html:lang(zh) body.legal-page .legal-section p,
html:lang(zh) body.legal-page .legal-section li,
html:lang(zh) body.legal-page .ed-legal-section p,
html:lang(zh) body.legal-page .ed-legal-section li { font-family: var(--site-serif-cjk); line-height: 1.75; }
/* Reveal fallbacks: content must remain available without an observer. */
.ed-reveal { opacity: 1 !important; transform: none !important; }
@media (max-width: 760px) {
  body.ed-site .ed-shell,
  body:not(.ed-site):not(.mk-page) .page > nav .nav-inner,
  body:not(.ed-site):not(.mk-page) .page-header,
  body:not(.ed-site):not(.mk-page) footer .footer-inner { width: min(100% - 48px, 680px); }
  body:not(.ed-site):not(.mk-page) .section-inner { width: min(100% - 48px, 680px); }
}
@media (max-width: 760px) {
  body.ed-site .ed-shell,
  body:not(.ed-site):not(.mk-page) .page > nav .nav-inner,
  body:not(.ed-site):not(.mk-page) .page-header,
  body:not(.ed-site):not(.mk-page) footer .footer-inner { width: calc(100% - 44px); }
  body:not(.ed-site):not(.mk-page) .section-inner { width: calc(100% - 36px); }
  body.ed-site.legal-page .ed-shell,
  body.ed-site.legal-page .ed-legal-layout { width: calc(100% - 44px); }
  body.ed-site.legal-page .ed-legal-body { width: 100%; max-width: 640px; }
  body.ed-site.legal-page .ed-legal-toc nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  body.ed-site.legal-page .ed-legal-toc a {
    padding: 7px 10px;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    background: var(--site-paper-soft);
    font-size: var(--fs-12);
    line-height: 1.35;
  }
  body.ed-site.legal-page .ed-legal-section { scroll-margin-top: 20px; }
  body.legal-page:not(.ed-site) .page-header { padding-left: 0; padding-right: 0; }
  body.legal-page:not(.ed-site) .page > section { padding-left: 32px; padding-right: 32px; }
  body.ed-site .ed-display { font-size: clamp(var(--fs-40), 9.2vw, var(--fs-48)); letter-spacing: -.008em; line-height: 1.1; }
  body.ed-site .ed-page-title { font-size: clamp(var(--fs-32), 8.8vw, var(--fs-48)); letter-spacing: -.008em; line-height: 1.1; }
  body.ed-site .ed-title,
  body.ed-site .ed-statement-title { font-size: clamp(var(--fs-32), 7.2vw, var(--fs-40)); letter-spacing: -.008em; line-height: 1.12; }
  body.ed-site .ed-reference-title,
  body.ed-site .ed-news-hero h1,
  body.ed-site .ed-learning-hero h1 { font-size: clamp(var(--fs-40), 9.2vw, var(--fs-48)); letter-spacing: -.008em; line-height: 1.1; }
  body.ed-site .ed-copy { font-size: var(--fs-16); line-height: 1.65; }
  body.ed-site .ed-copy-serif { font-size: var(--fs-18); line-height: 1.5; }
  body.ed-site .ed-essay-row .ed-essay-title { font-size: var(--fs-18); font-weight: 500; line-height: 1.22; }
  body:not(.ed-site):not(.mk-page) .page-header h1,
  body.legal-page .page-header h1 { font-size: clamp(var(--fs-40), 11vw, var(--fs-48)); letter-spacing: 0; line-height: 1.08; }
  body.legal-page:not(.ed-site) .page > nav .nav-inner,
  body.legal-page:not(.ed-site) .page-header,
  body.legal-page:not(.ed-site) footer .footer-inner { width: calc(100% - 64px); }
  body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .section-inner { width: 100%; max-width: 640px; }
  body.legal-page .legal-section h3,
  body.legal-page .ed-legal-section h3 { font-size: var(--fs-22); }
  body.legal-page .legal-section p,
  body.legal-page .legal-section li,
  body.legal-page .ed-legal-section p,
  body.legal-page .ed-legal-section li { font-size: var(--fs-17); line-height: 1.75; }
  body.legal-page .legal-table,
  body.legal-page .ed-legal-section table { display: block; overflow-x: auto; white-space: nowrap; }
  body.legal-page .ed-legal-meta { align-items: flex-start; flex-direction: column; }
  body.legal-page .ed-legal-meta select { width: 100%; }
}
/* -------------------------------------------------------------------------
 * 2026 editorial polish
 *
 * The marketing surface should feel composed before it feels clever. Keep
 * the paper/ink palette, but remove the dense SaaS cues: oversized display
 * type, monospaced labels everywhere, floating logo chrome, and card-heavy
 * mobile navigation.
 * ------------------------------------------------------------------------- */
body.ed-site .ed-shell {
  width: min(1280px, calc(100% - 120px));
}
body.ed-site .ed-header {
  padding: 16px 0 12px;
  border-bottom-color: transparent;
}
body.ed-site .ed-header.is-scrolled {
  padding: 12px 0 10px;
  border-bottom-color: var(--site-line);
}
body.ed-site .ed-header-inner {
  min-height: 40px;
}
body.ed-site .ed-brand {
  gap: 0;
  font-size: var(--fs-17);
  font-weight: 600;
  letter-spacing: .07em;
}
body.ed-site .ed-brand-mark,
body.ed-site .ed-brand img { display: block; }
body.ed-site .ed-nav-links { gap: 28px; }
body.ed-site .ed-nav-links a { font-size: var(--fs-14); }
body.ed-site .ed-button {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: var(--fs-14);
  font-weight: 500;
}
body.ed-site .ed-home-hero .ed-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, .62fr);
  gap: clamp(40px, 8vw, 132px);
  align-items: end;
}
body.ed-site .ed-home-hero .ed-hero-lead {
  max-width: none;
}
body.ed-site .ed-home-hero .ed-display {
  max-width: 680px;
  font-family: var(--site-sans-latin);
  font-size: var(--fs-48);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .98;
}
body.ed-site .ed-home-hero .ed-hero-sub {
  max-width: 27ch;
  margin: 0 0 6px;
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-22), 2vw, var(--fs-32));
  line-height: 1.2;
  letter-spacing: -.02em;
}
body.ed-site .ed-home-stage {
  margin-top: clamp(68px, 8vw, 112px);
  border-radius: 18px;
  box-shadow: none;
}
body.ed-site .ed-home-stage img {
  aspect-ratio: 1.86;
}
body.ed-site .ed-kicker,
body.ed-site .ed-meta,
body.ed-site .ed-row-meta,
body.ed-site .ed-essay-date,
body.ed-site .ed-essay-tag {
  font-family: var(--site-sans-latin);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: .035em;
  text-transform: none;
}
body.ed-site .ed-link {
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: 0;
}
body.ed-site .ed-footer-frame {
  border-radius: 18px;
}
@media (max-width: 1080px) {
  body.ed-site .ed-shell { width: min(100% - 48px, 680px); }

  body.ed-site .ed-home-hero .ed-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  body.ed-site .ed-home-hero .ed-hero-lead { max-width: none; }
  body.ed-site .ed-home-hero .ed-display { max-width: 680px; }
  body.ed-site .ed-home-hero .ed-hero-sub { margin: 0; max-width: 34ch; }
}
@media (max-width: 760px) {
  body.ed-site .ed-nav-links {
    top: 68px;
    right: 0;
    left: 0;
    display: flex;
    gap: 8px;
    padding: 28px 24px 36px;
    border: 0;
    border-top: 1px solid var(--site-line);
    border-radius: 0;
    background: var(--site-paper);
  }

  body.ed-site .ed-header-inner.is-open .ed-nav-links {
    position: fixed;
    z-index: 40;
    min-height: calc(100dvh - 68px);
    overflow-y: auto;
    border-bottom: 0;
  }

  body.ed-site .ed-nav-links a {
    padding: 10px 0;
    border-radius: 0;
    font-size: var(--fs-16);
  }

  body.ed-site .ed-nav-links a:hover { background: transparent; }
}
@media (max-width: 760px) {
  body.ed-site .ed-shell { width: calc(100% - 48px); }
  body.ed-site .ed-header { padding: 16px 0 12px; }
  body.ed-site .ed-brand { font-size: var(--fs-16); }

  body.ed-site .ed-home-hero {
    padding-top: 76px;
    padding-bottom: 34px;
  }

  body.ed-site .ed-home-hero .ed-display {
    max-width: none;
    font-size: clamp(var(--fs-40), 11.2vw, var(--fs-48));
    letter-spacing: -.052em;
    line-height: .99;
  }

  body.ed-site .ed-home-hero .ed-hero-sub {
    max-width: 28ch;
    font-size: var(--fs-22);
    line-height: 1.28;
  }

  body.ed-site .ed-home-stage {
    margin-top: 56px;
    border-radius: 14px;
  }

  body.ed-site .ed-home-stage img {
    aspect-ratio: 1.2;
    border-radius: 14px;
  }

  body.ed-site .ed-kicker,
  body.ed-site .ed-meta,
  body.ed-site .ed-row-meta,
  body.ed-site .ed-essay-date,
  body.ed-site .ed-essay-tag {
    font-size: var(--fs-12);
    letter-spacing: .015em;
  }

  body.ed-site .ed-footer-frame { border-radius: 14px; }
}
/* Research imagery and safe text zones ----------------------------------
   The stage copy is a two column band pinned to the same inset as the stage
   nav and the caption: headline flush left, standfirst flush right, both
   starting on one line. */
@media (min-width: 1081px) {
  body.ed-site .ed-home-stage .ed-network-copy {
    inset: auto;
    top: calc(var(--ed-stage-inset) + 40px);
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, clamp(220px, 24vw, 340px));
    column-gap: clamp(32px, 5vw, 80px);
    align-items: start;
    justify-items: stretch;
    width: 100%;
    padding: 0 var(--ed-stage-inset);
    text-align: left;
  }

  body.ed-site .ed-home-stage .ed-network-copy h2 {
    width: auto;
    max-width: 18ch;
    font-size: clamp(var(--fs-40), 3.4vw, var(--fs-48));
    line-height: 1.02;
    letter-spacing: -.032em;
    text-wrap: balance;
  }

  body.ed-site .ed-home-stage .ed-network-copy p {
    position: static;
    width: auto;
    max-width: none;
    margin: 0;
    font-size: clamp(var(--fs-15), 1.15vw, var(--fs-17));
    line-height: 1.48;
    text-align: right;
    text-wrap: pretty;
  }
}
body.ed-site .ed-article-hero-aside {
  display: grid;
  gap: 22px;
  align-content: start;
}
body.ed-site .ed-article-hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--site-black);
}
body.ed-site .ed-article-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
body.ed-site .ed-publication-row {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
body.ed-site .ed-publication-copy { min-width: 0; }
body.ed-site .ed-publication-side {
  display: grid;
  gap: 14px;
  align-content: end;
  justify-items: end;
  min-width: 0;
}
body.ed-site .ed-publication-side img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: var(--site-black);
}
body.ed-site .ed-publication-side .ed-link {
  justify-self: end;
}
/* The stage stacks at 980px (editorial.css), so the copy has to follow the
   same breakpoint or it keeps the desktop column widths while flowing. */
@media (max-width: 1080px) {
  body.ed-site .ed-home-stage .ed-network-copy {
    position: static;
    inset: auto;
    display: block;
    width: auto;
    padding: 22px 0 0;
    color: var(--site-ink);
    text-align: left;
  }

  body.ed-site .ed-home-stage .ed-network-copy h2 {
    width: auto;
    max-width: 20ch;
    color: var(--site-ink);
    font-size: clamp(var(--fs-32), 4vw, var(--fs-40));
    line-height: 1.06;
    letter-spacing: -.028em;
    text-wrap: balance;
  }

  body.ed-site .ed-home-stage .ed-network-copy p {
    max-width: 36ch;
    margin-top: 12px;
    color: var(--site-ink-soft);
    font-size: var(--fs-16);
    line-height: 1.5;
    text-align: left;
    text-wrap: pretty;
  }
}
@media (max-width: 760px) {
  body.ed-site .ed-article-hero-aside { gap: 18px; }
  body.ed-site .ed-article-hero-media { border-radius: 14px; }

  body.ed-site .ed-publication-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.ed-site .ed-publication-side {
    grid-template-columns: minmax(140px, 180px) auto;
    align-items: end;
    justify-items: start;
    gap: 16px;
  }

  body.ed-site .ed-publication-side img { width: min(48vw, 180px); }
  body.ed-site .ed-publication-side .ed-link { justify-self: start; }
}
/* Shared navigation, type scale, and wide legal reading frame. */
body.ed-site .ed-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-17);
  font-weight: 600;
  letter-spacing: -.025em;
  text-transform: none;
}
body.ed-site .ed-brand-mark,
body.ed-site .ed-brand img {
  display: block !important;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 7px;
  padding: 3px;
  box-sizing: border-box;
  object-fit: contain;
}
/* Footer brand mark needs a subtle backdrop because the logo's dark
   circle would otherwise sink into the dark footer background. */
body.ed-site .ed-footer .ed-brand-mark,
body.ed-site .ed-footer .ed-brand img {
  background: rgba(255, 255, 255, .08);
  filter: none;
}
body.ed-site .ed-brand-word {
  white-space: nowrap;
  font-family: var(--site-serif-latin);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
}
body.ed-site .ed-display,
body.ed-site .ed-page-title,
body.ed-site .ed-title,
body.ed-site .ed-statement-title,
body.ed-site .ed-reference-title,
body.ed-site .ed-news-hero h1,
body.ed-site .ed-learning-hero h1,
body.ed-site .ed-research-coda h2,
body.ed-site .ed-policy-manifesto h2,
body.ed-site .ed-policy-visual h2,
body.ed-site .ed-course-intro h2,
body.ed-site .ed-learning-object h2,
body.ed-site .ed-network-copy h2,
body.ed-site .ed-serif,
body.ed-site .ed-copy-serif,
body.ed-site .ed-footer-brand p,
body.ed-site .ed-product-block h2,
body.ed-site .ed-contact-card h2,
body.ed-site .ed-price-card h2 {
  font-family: var(--site-sans-latin);
}
html:lang(zh) body.ed-site .ed-display,
html:lang(zh) body.ed-site .ed-page-title,
html:lang(zh) body.ed-site .ed-title,
html:lang(zh) body.ed-site .ed-statement-title,
html:lang(zh) body.ed-site .ed-reference-title,
html:lang(zh) body.ed-site .ed-news-hero h1,
html:lang(zh) body.ed-site .ed-learning-hero h1,
html:lang(zh) body.ed-site .ed-serif,
html:lang(zh) body.ed-site .ed-copy-serif,
html:lang(zh) body.ed-site .ed-footer-brand p,
html:lang(zh) body.ed-site .ed-product-block h2,
html:lang(zh) body.ed-site .ed-contact-card h2,
html:lang(zh) body.ed-site .ed-price-card h2 {
  font-family: var(--site-serif-cjk);
  letter-spacing: .02em;
  line-height: 1.3;
  text-wrap: balance;
}
html:lang(zh) body.ed-site .ed-course-card h3 {
  font-family: var(--site-serif-cjk);
  font-size: clamp(var(--fs-22), 2.1vw, var(--fs-32));
  line-height: 1.25;
  letter-spacing: 0;
  max-width: none;
}
html:lang(zh) body.ed-site .ed-course-intro h2,
html:lang(zh) body.ed-site .ed-learning-object h2,
html:lang(zh) body.ed-site .ed-policy-visual h2,
html:lang(zh) body.ed-site .ed-policy-manifesto h2,
html:lang(zh) body.ed-site .ed-research-coda h2 {
  max-width: none;
  font-size: clamp(var(--fs-32), 3.2vw, var(--fs-48));
  line-height: 1.2;
  letter-spacing: 0;
}
body.ed-site .ed-team-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
html:lang(zh) body.ed-site .ed-team-grid p,
html:lang(zh) body.ed-site .ed-showcase-entry p {
  font-family: var(--site-sans-cjk);
  font-size: var(--fs-15);
  line-height: 1.55;
  color: var(--site-ink-soft);
}
/* Old marketing pages are intentionally ALL SANS — keep their Chinese
   stack on the sans CJK variable (Latin → Geist). */
body.ed-site .ed-product-block {
  grid-template-columns: minmax(140px, .32fr) minmax(280px, 1.04fr) minmax(240px, .72fr);
  gap: clamp(24px, 4vw, 56px);
  padding: 32px 0;
  align-items: start;
}
body.ed-site .ed-product-meta-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.ed-site .ed-product-meta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.ed-site .ed-product-meta-text .ed-kicker { margin: 0; }
body.ed-site .ed-product-meta-text .ed-meta { margin: 0; }
body.ed-site .ed-ledger-row > *:first-child,
body.ed-site .ed-essay-date,
body.ed-site .ed-row-meta > span {
  white-space: nowrap;
}
/* Balanced product-block type scale — the kicker (12px), headline (24px),
   and body (17px) now sit on a tighter ratio so the row reads as a unit
   instead of a 38px headline floating next to 16px prose. */
body.ed-site .ed-product-block h2 {
  max-width: 22ch;
  font-size: clamp(var(--fs-22), 2.05vw, var(--fs-24));
  font-weight: 500;
  letter-spacing: -.018em;
  line-height: 1.18;
  font-family: var(--site-serif-latin);
}
body.ed-site .ed-product-block p {
  max-width: 36ch;
  margin-top: 0;
  font-size: var(--fs-17);
  line-height: 1.6;
  color: var(--site-ink-soft);
}
body.ed-site .ed-product-block .ed-kicker {
  font-size: var(--fs-12);
  line-height: 1.35;
  letter-spacing: .04em;
}
body.ed-site .ed-product-block .ed-meta {
  margin-top: 8px;
  font-size: var(--fs-14);
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--site-ink-muted);
}
body.ed-site .ed-page-hero .ed-page-title,
body.ed-site .ed-legal-hero h1 { letter-spacing: -.045em; }
body.ed-site.legal-page .ed-legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, .34fr) minmax(0, 1.66fr);
  gap: clamp(48px, 8vw, 124px);
  align-items: start;
  width: min(1280px, calc(100% - 120px));
}
body.ed-site.legal-page .ed-legal-toc {
  display: block;
  position: sticky;
  top: 32px;
}
body.ed-site.legal-page .ed-legal-body {
  width: auto;
  max-width: 900px;
  margin: 0;
}
/* Let the legal grid shrink on small screens instead of expanding to the
   widest unbreakable table/URL. The table wrappers keep their own
   horizontal scroll. */
body.ed-site.legal-page .ed-legal-layout,
body.ed-site.legal-page .ed-legal-toc,
body.ed-site.legal-page .ed-legal-body,
body.ed-site.legal-page .ed-legal-section {
  min-width: 0;
}
body.ed-site.legal-page .ed-legal-table-scroll {
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--site-line) transparent;
  -webkit-overflow-scrolling: touch;
}
body.ed-site.legal-page .ed-legal-table-scroll::-webkit-scrollbar {
  height: 6px;
}
body.ed-site.legal-page .ed-legal-table-scroll::-webkit-scrollbar-thumb {
  background: var(--site-line);
  border-radius: 999px;
}
body.ed-site.legal-page .ed-legal-section p,
body.ed-site.legal-page .ed-legal-section li {
  font-family: var(--site-sans-latin);
  font-size: var(--fs-16);
  line-height: 1.72;
  overflow-wrap: anywhere;
  word-break: break-word;
}
html:lang(zh) body.ed-site.legal-page .ed-legal-section p,
html:lang(zh) body.ed-site.legal-page .ed-legal-section li {
  /* English legal body copy uses the serif Latin stack; keep the Chinese
     page in step (Latin → Newsreader, Chinese → Noto Serif SC). */
  font-family: var(--site-serif-cjk);
  font-size: var(--fs-16);
  line-height: 1.75;
  letter-spacing: .02em;
}
body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .section-inner {
  width: min(920px, calc(100% - 120px));
  max-width: 920px;
  margin-inline: auto;
}
body.legal-page:not(.ed-site):not(.mk-page) .legal-section p,
body.legal-page:not(.ed-site):not(.mk-page) .legal-section li {
  font-family: var(--site-sans-latin);
  font-size: var(--fs-16);
  line-height: 1.72;
}
html:lang(zh) body.legal-page:not(.ed-site):not(.mk-page) .legal-section p,
html:lang(zh) body.legal-page:not(.ed-site):not(.mk-page) .legal-section li {
  font-family: var(--site-serif-cjk);
  line-height: 1.75;
  letter-spacing: .02em;
}
/* Account shortcut — only shown inside the mobile slide-out menu and
   as a footer column. No desktop header button (it looked duplicated). */
/* Mobile-only "Log in" button injected by locale.js. Hidden on desktop
   because the header already shows the "Try Socrates" button there. */
/* Footer account column — added by locale.js on non-app pages so visitors
   have a clear path to /account without scrolling past the marketing nav. */
@media (max-width: 1080px) {
  body.ed-site .ed-product-block {
    grid-template-columns: minmax(96px, .26fr) minmax(0, 1fr);
    gap: 18px 28px;
  }

  body.ed-site .ed-product-block > p { grid-column: 2; }

  body.ed-site.legal-page .ed-legal-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    width: min(100% - 48px, 880px);
  }

  body.ed-site.legal-page .ed-legal-toc { position: static; }
  body.ed-site.legal-page .ed-legal-body { max-width: none; }
}
@media (max-width: 760px) {
  body.ed-site .ed-account-menu-link {
    display: block;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--site-line);
    color: var(--site-ink);
    font-weight: 600;
  }

  /* On tablet/mobile show the static "Try Socrates" CTA top-right; the
     "Log in" link is a logged-in affordance kept for desktop only. */
  body .ed-header-actions {
    display: flex;
    gap: 8px;
  }
  body .ed-header-actions .ed-button { white-space: nowrap; }
  body .ed-header-actions .ed-button:not(.ed-header-login) { display: inline-flex; }
}
@media (max-width: 760px) {
  body.ed-site .ed-brand { gap: 8px; font-size: var(--fs-16); }
  body.ed-site .ed-brand img { width: 22px; height: 22px; flex-basis: 22px; }
  body.ed-site .ed-product-block {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  body.ed-site .ed-product-block > p { grid-column: auto; }
  body.ed-site .ed-product-block h2 { max-width: 18ch; font-size: var(--fs-32); }
  body.ed-site .ed-product-block .ed-meta { margin-top: 8px; }
  body.ed-site.legal-page .ed-legal-layout { width: calc(100% - 44px); }
  body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .section-inner { width: calc(100% - 44px); }
}
@media (max-width: 380px) {
  body.ed-site.legal-page .ed-shell,
  body.ed-site.legal-page .ed-legal-layout { width: calc(100% - 32px); }
  body.ed-site.legal-page .ed-legal-layout { gap: 28px; }
  body.ed-site.legal-page .ed-legal-toc a {
    padding: 6px 9px;
    font-size: var(--fs-12);
  }
  body.ed-site.legal-page .ed-legal-section h3 { font-size: var(--fs-22); line-height: 1.3; }
  body.ed-site.legal-page .ed-legal-section h4 { font-size: var(--fs-16); }
  body.ed-site.legal-page .ed-legal-section p,
  body.ed-site.legal-page .ed-legal-section li { font-size: var(--fs-15); line-height: 1.7; }
  body.ed-site.legal-page .ed-legal-table-scroll th,
  body.ed-site.legal-page .ed-legal-table-scroll td {
    min-width: 124px;
    padding: 9px 10px;
  }
}
body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .site-legal-layout {
  display: grid;
  grid-template-columns: minmax(200px, .34fr) minmax(0, 1.66fr);
  gap: clamp(48px, 8vw, 124px);
  align-items: start;
  width: min(1280px, calc(100% - 120px));
  max-width: none;
}
body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .site-legal-toc {
  position: sticky;
  top: 32px;
}
body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .site-legal-toc h2 {
  margin: 0 0 18px;
  color: var(--site-ink-muted);
  font-family: var(--site-mono);
  font-size: var(--fs-10);
  font-weight: 500;
  letter-spacing: .08em;
}
body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .site-legal-toc nav {
  position: static;
  inset: auto;
  display: grid;
  gap: 2px;
  width: auto;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .site-legal-toc a {
  display: block;
  padding: 6px 0;
  color: var(--site-ink-soft);
  font-size: var(--fs-13);
  line-height: 1.35;
  text-decoration: none;
}
body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .site-legal-toc a:hover {
  color: var(--site-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .site-legal-body {
  min-width: 0;
  max-width: 900px;
}
body.legal-page .page > nav .nav-links .lang-switch {
  color: var(--site-ink) !important;
  border-color: var(--site-line) !important;
  background: var(--site-paper-soft);
}
@media (max-width: 1080px) {
  body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .site-legal-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    width: min(100% - 48px, 760px);
  }

  body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .site-legal-toc { position: static; }
  body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .site-legal-toc nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  body.legal-page:not(.ed-site):not(.mk-page):not(.xa-page) .site-legal-toc a { padding: 3px 0; font-size: var(--fs-12); }
}
/* ── Custom language switcher (designed UI, not a native <select>) ──────
   A "Language" toggle that reveals a small menu listing the available
   locales. Used in the top bar (.ed-header-actions) and in the legal
   page meta row. Locale.js (enhanceLangDropdown) wires open/close,
   outside-click, Escape, and item selection → SocratesLocale.setLocale. */
.ed-lang { position: relative; display: inline-flex; }
.ed-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 6px 8px;
  font: inherit;
  font-size: var(--fs-14);
  font-weight: 500;
  line-height: 1;
  color: var(--site-ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.ed-lang-toggle:hover { color: var(--site-ink); background: transparent; }
.ed-lang-toggle:focus-visible { outline: 2px solid var(--site-clay); outline-offset: 2px; }
.ed-lang-globe { display: none; }
.ed-lang-caret { width: 10px; height: 10px; display: block; color: var(--site-ink-soft); transition: transform .18s ease; }
.ed-lang.is-open .ed-lang-caret { transform: rotate(180deg); }
.ed-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 172px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--site-paper-soft);
  border: 1px solid var(--site-line);
  border-radius: 12px;
  box-shadow: none;
  z-index: 60;
  display: none;
}
.ed-lang.is-open .ed-lang-menu { display: block; }
.ed-lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--site-ink);
  font: inherit;
  font-size: var(--fs-14);
  text-align: left;
  cursor: pointer;
}
.ed-lang-item:hover { background: var(--site-paper-strong); }
.ed-lang-item:focus-visible { outline: 2px solid var(--site-clay); outline-offset: -2px; }
.ed-lang-item[aria-current="true"] { color: var(--site-clay); font-weight: 600; }
.ed-lang-check { width: 14px; height: 14px; color: var(--site-clay); opacity: 0; flex: 0 0 auto; }
.ed-lang-item[aria-current="true"] .ed-lang-check { opacity: 1; }
@media (max-width: 760px) {
  .ed-lang-label { display: none; }
  .ed-lang-globe { display: block; width: 20px; height: 20px; }
  .ed-lang-caret { width: 12px; height: 12px; }
  .ed-lang-toggle { gap: 5px; padding: 10px; }
}
/* =========================================================================
   2026-08 · "Signal" polish layer — Silicon Valley-grade surface work
   Appended last so it wins the cascade without touching older layers.
   The identity stays warm-paper + ink; what changes is depth, motion,
   and typographic finish.
   ========================================================================= */
/* ── A. Tokens & globals ──────────────────────────────────────────────── */
/* Pure black selection — white text on solid black background. */
body.ed-site::selection,
body.ed-site ::selection { background: #000; color: #fff; }
/* Anchored headings clear the sticky header. */
body.ed-site [id] { scroll-margin-top: 108px; }
/* Numerals line up in dates, prices, and metadata. */
body.ed-site .ed-meta,
body.ed-site .ed-row-meta,
body.ed-site .ed-essay-date,
body.ed-site .ed-essay-tag,
body.ed-site .ed-price,
body.ed-site .ed-article-meta,
body.ed-site .ed-article-byline { font-variant-numeric: tabular-nums; }
/* ── B. Typography finish ─────────────────────────────────────────────── */
body.ed-site h1, body.ed-site h2, body.ed-site h3 { text-wrap: balance; }
body.ed-site p { text-wrap: pretty; }
/* Headings that JS splits into inline-block word spans must opt out of
   balancing — atomic inlines + balance overlap in Chromium. */
body.ed-site [data-animate-text] { text-wrap: initial; }
/* NOTE: deliberately NO background-clip:text gradient on .ed-display.
   The hero headline is word-animated (inline-block spans, own composite
   layers); clipped-gradient text garbles under that structure. */
body.ed-site .ed-home-hero .ed-hero-sub { font-style: italic; }
html:lang(zh) body.ed-site .ed-home-hero .ed-hero-sub { font-style: normal; }
/* Eyebrows get a small clay marker — a quiet signature across pages. */
body.ed-site .ed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.ed-site .ed-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sv-clay-bright);
  box-shadow: none;
}
/* Long-form reading details. */
body.ed-site .ed-article li::marker { color: var(--sv-clay); }
body.ed-site .ed-article strong { color: var(--site-ink); font-weight: 600; }
body.ed-site .ed-article hr {
  background: linear-gradient(90deg, transparent, var(--site-line) 28%, var(--site-line) 72%, transparent);
}
body.ed-site .ed-year-rule::after {
  background: linear-gradient(90deg, var(--site-line), transparent);
}
/* ── C. Header: glass on scroll, animated nav underlines ──────────────── */
body.ed-site .ed-header.is-scrolled {
  background: color-mix(in srgb, var(--site-color-paper) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, .26) 18%, rgba(255, 255, 255, .26) 82%, transparent) 1;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.ed-site .ed-header.is-scrolled { background: var(--site-paper); }
}
@media (min-width: 821px) {
  body.ed-site .ed-nav-links a { position: relative; }
  body.ed-site .ed-nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s var(--sv-ease);
  }
  body.ed-site .ed-nav-links a:hover::after,
  body.ed-site .ed-nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  body.ed-site .ed-nav-links a[aria-current="page"] { box-shadow: none; }
}
/* Brand mark tilts on hover — a small living detail. */
body.ed-site .ed-brand img { transition: transform .45s var(--sv-ease); }
body.ed-site .ed-brand:hover img { transform: rotate(-8deg) scale(1.08); }
/* Language menu: frosted panel with a soft entrance. */
body.ed-site .ed-lang-menu {
  background: rgba(250, 249, 245, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: none;
  animation: sv-pop .18s var(--sv-ease);
}
@keyframes sv-pop {
  from { opacity: 0; transform: translateY(-4px) scale(.98); }
}
/* ── D. Buttons: lift, press, and a light sweep ───────────────────────── */
body.ed-site .ed-button,
body.ed-site .ed-button-quiet {
  position: relative;
  overflow: hidden;
  transition:
    transform var(--sv-speed) var(--sv-ease),
    box-shadow var(--sv-speed) var(--sv-ease),
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease;
}
body.ed-site .ed-button:active,
body.ed-site .ed-button-quiet:active {
  transform: translateY(0) scale(.985);
  transition-duration: .08s;
}
body.ed-site .ed-button-quiet:hover { background: var(--site-color-fill-hover, rgba(255, 255, 255, 0.14)); }
@media (hover: hover) and (pointer: fine) {
  body.ed-site .ed-button:hover {
    transform: translateY(-1px);
  }
  body.ed-site .ed-button-quiet:hover {
    transform: translateY(-1px);
  }
}
/* ── E. Hero aurora + stage depth ─────────────────────────────────────── */
body.ed-site .ed-home-hero,
body.ed-site .ed-page-hero,
body.ed-site .ed-reference-hero,
body.ed-site .ed-learning-hero,
body.ed-site .ed-news-hero {
  position: relative;
  isolation: isolate;
}
body.ed-site .ed-home-hero::before,
body.ed-site .ed-page-hero::before,
body.ed-site .ed-reference-hero::before,
body.ed-site .ed-learning-hero::before,
body.ed-site .ed-news-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: clamp(-120px, -6vw, -40px);
  left: 50%;
  width: min(1160px, 96vw);
  height: clamp(360px, 44vw, 660px);
  transform: translateX(-50%);
  background:
    radial-gradient(46% 54% at 26% 34%, var(--sv-glow-clay), transparent 70%),
    radial-gradient(40% 48% at 74% 24%, var(--sv-glow-sand), transparent 72%),
    radial-gradient(30% 36% at 56% 62%, rgba(255, 255, 255, .07), transparent 70%);
  pointer-events: none;
}
/* The home stage reads as a physical object on the paper. */
body.ed-site .ed-home-stage {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07);
}
body.ed-site .ed-stage-index a { position: relative; }
body.ed-site .ed-stage-index a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--sv-ease);
}
body.ed-site .ed-stage-index a:hover::after { transform: scaleX(1); }
/* Stage headline keeps solid warm white — no background-clip:text here
   either (same compositing risk as the hero, and it sits over an image). */
/* ── F. Cards: resting shadow, hover lift ─────────────────────────────── */
body.ed-site .ed-portal,
body.ed-site .ed-story-card,
body.ed-site .ed-price-card,
body.ed-site .ed-contact-card,
body.ed-site .ed-course-card,
body.ed-site .ed-course-band,
body.ed-site .ed-featured {
  transition:
    transform var(--sv-speed) var(--sv-ease),
    box-shadow var(--sv-speed) var(--sv-ease),
    border-color .2s ease,
    background-color .2s ease;
}
body.ed-site .ed-portal,
body.ed-site .ed-story-card,
body.ed-site .ed-contact-card,
body.ed-site .ed-course-band,
body.ed-site .ed-featured { box-shadow: none; }
body.ed-site .ed-price-card { box-shadow: none; }
body.ed-site .ed-price-card.is-featured {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .32);
}
/* Imagery breathes inside its card on hover. */
body.ed-site .ed-story-card-media img,
body.ed-site .ed-featured-media img { transition: transform .8s var(--sv-ease); }
body.ed-site .ed-story-card:hover .ed-story-card-media img,
body.ed-site .ed-featured:hover .ed-featured-media img { transform: scale(1.045); }
/* Large media objects carry the same depth language. */
body.ed-site .ed-showcase-media { box-shadow: none; }
body.ed-site .ed-policy-visual img,
body.ed-site .ed-learning-object img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .09); }
body.ed-site .ed-news-split figure { box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  body.ed-site .ed-portal:hover,
  body.ed-site .ed-story-card:hover,
  body.ed-site .ed-contact-card:hover,
  body.ed-site .ed-course-card:hover,
  body.ed-site .ed-price-card:hover {
    transform: translateY(-4px);
  }
  body.ed-site .ed-price-card.is-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .32);
  }
}
/* ── G. Lists & rows: slide, washes, ticks ────────────────────────────── */
body.ed-site .ed-essay-row,
body.ed-site .ed-publication-row,
body.ed-site .ed-showcase-entry,
body.ed-site .ed-news-item {
  transition: transform var(--sv-speed) var(--sv-ease);
}
body.ed-site .ed-ledger-row { transition: background-color .2s ease; }
body.ed-site .ed-ledger-row:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, .05), transparent 55%);
}
body.ed-site .ed-team-grid h2 { transition: color .18s ease; }
body.ed-site .ed-team-grid article:hover h2 { color: var(--sv-clay); }
/* Product blocks and principles grow a clay tick on hover. */
body.ed-site .ed-principle,
body.ed-site .ed-product-block { position: relative; }
body.ed-site .ed-principle::before,
body.ed-site .ed-product-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--sv-clay-bright), rgba(255, 255, 255, 0));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .35s var(--sv-ease);
}
body.ed-site .ed-principle:hover::before,
body.ed-site .ed-product-block:hover::before { transform: scaleY(1); }
@media (hover: hover) and (pointer: fine) {
  body.ed-site .ed-essay-row:hover,
  body.ed-site .ed-publication-row:hover,
  body.ed-site .ed-showcase-entry:hover,
  body.ed-site .ed-news-item:hover { transform: translateX(6px); }
}
/* ── H. Filters, search, pills ────────────────────────────────────────── */
body.ed-site .ed-filter-bar button {
  border-radius: 999px;
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    transform .18s var(--sv-ease),
    box-shadow .18s ease;
}
body.ed-site .ed-filter-bar button:hover {
  border-color: rgba(255, 255, 255, .4);
}
body.ed-site .ed-filter-bar button.is-active {
  background: var(--site-color-ink);
  border-color: var(--site-color-ink);
  color: var(--site-color-paper);
}
body.ed-site .ed-search-field input {
  border-radius: 12px;
  transition:
    border-color .18s ease,
    background-color .18s ease,
    box-shadow .25s var(--sv-ease);
}
body.ed-site .ed-search-field input:focus {
  border-color: var(--sv-clay);
  background: var(--site-color-surface);
  outline: 2px solid var(--site-color-line-strong);
  outline-offset: 1px;
}
body.ed-site .ed-pill,
body.ed-site .ed-thread {
  transition: border-color .18s ease, color .18s ease;
}
body.ed-site .ed-pill:hover { border-color: rgba(255, 255, 255, .35); }
/* ── I. Dark surfaces & footer ────────────────────────────────────────── */
body.ed-site .ed-black-band,
body.ed-site .ed-inline-feature {
  box-shadow: none;
}
body.ed-site .ed-footer-frame {
  overflow: hidden;
  background: var(--site-color-surface);
  box-shadow: inset 0 0 0 1px var(--site-color-line);
}
body.ed-site .ed-footer-social a {
  transition:
    transform .25s var(--sv-ease),
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .25s ease;
}
@media (hover: hover) and (pointer: fine) {
  body.ed-site .ed-footer-social a:hover {
    transform: translateY(-2px);
  }
}
/* Article footer prev/next cards join the lift family. */
body.ed-site .ed-article-foot a {
  transition:
    transform var(--sv-speed) var(--sv-ease),
    box-shadow var(--sv-speed) var(--sv-ease),
    border-color .18s ease,
    background-color .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  body.ed-site .ed-article-foot a:hover {
    transform: translateY(-2px);
  }
}
/* ── J. Motion safety ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body.ed-site *,
  body.ed-site *::before,
  body.ed-site *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0ms !important;
  }
  body.ed-site .ed-button::after { display: none; }
  body.ed-site main { animation: none !important; }
  .ed-marquee-track { animation: none !important; }
}
/* =========================================================================
   2026-08 · "Motion" layer — award-site presence, kept quiet.
   Everything below is gated:
   · html.ed-js      → editorial.js sets it before first paint, so content
                       is never hidden when scripts don't run.
   · reduced-motion  → all movement collapses to static states.
   ========================================================================= */
/* ── K1. Scroll reveals (re-enables the site's own .ed-reveal system) ─── */
html.ed-js body.ed-site .ed-reveal:not(.is-visible) {
  opacity: 0 !important;
  transform: translateY(26px) !important;
}
body.ed-site .ed-reveal {
  transition: opacity .9s var(--sv-ease), transform .9s var(--sv-ease);
}
html.ed-js body.ed-site .ed-reveal-stagger > * {
  transition: opacity .8s var(--sv-ease), transform .8s var(--sv-ease);
}
/* Without JS, stagger children must not stay hidden either. */
html:not(.ed-js) body.ed-site .ed-reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}
/* ── K2. Page entrance — one quiet rise, then it never moves again ────── */
@keyframes sv-page-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
html.ed-js body.ed-site main { animation: sv-page-in .8s var(--sv-ease) both; }
/* ── K3. Aurora drift — the hero glow breathes very slowly ────────────── */
@keyframes sv-drift {
  from { transform: translateX(-50%) translate3d(-1.5%, 0, 0) scale(1); }
  to   { transform: translateX(-50%) translate3d(1.5%, 2%, 0) scale(1.05); }
}
body.ed-site .ed-home-hero::before,
body.ed-site .ed-page-hero::before,
body.ed-site .ed-reference-hero::before,
body.ed-site .ed-learning-hero::before,
body.ed-site .ed-news-hero::before {
  animation: sv-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
/* ── K4. Stage wipe-in — the home artwork unveils instead of fading ───── */
@media (min-width: 1081px) {
  html.ed-js body.ed-site .ed-home-stage {
    clip-path: inset(7% 5% 7% 5% round 18px);
    transition:
      clip-path 1.15s var(--sv-ease),
      box-shadow var(--sv-speed) var(--sv-ease);
  }
  html.ed-js body.ed-site .ed-home-stage.is-visible {
    clip-path: inset(0 0 0 0 round 18px);
  }
}
/* ── K5. Marquee band — a slow "trusted by" logo wall ─────────────────── */
.ed-marquee-title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  padding: 0 clamp(20px, 5vw, 64px);
  font-family: var(--site-serif-latin);
  font-size: var(--fs-13);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .52);
}
html:lang(zh) .ed-marquee-title { font-family: var(--site-serif-cjk); letter-spacing: .3em; }
.ed-marquee-track {
  display: flex;
  width: max-content;
  animation: sv-marquee 44s linear infinite;
  will-change: transform;
}
.ed-marquee:hover .ed-marquee-track { animation-play-state: paused; }
@keyframes sv-marquee { to { transform: translateX(-50%); } }
.ed-marquee-seq {
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 5.5vw, 84px);
  padding-right: clamp(40px, 5.5vw, 84px);
  white-space: nowrap;
}
.ed-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(22px, 2.6vw, 32px);
  width: clamp(96px, 11vw, 150px);
  color: rgba(255, 255, 255, .58);
  transition: color .35s ease;
}
.ed-logo-item:hover { color: var(--site-black); }
.ed-logo-item svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* ── K6. (removed) logo masks — marks are now inlined with currentColor ─ */
/* ── K7. Reading progress — a clay hairline along the very top ────────── */
/* ── K8. Paper grain — disabled for the pure black-and-white theme ── */
/* The previous SVG-noise overlay used mix-blend-mode: soft-light which made
   the pure #ffffff body look warm/cream. The monochrome palette is now flat;
   keep the rule so any future selector that hooks it (e.g. line ~4813) does
   not reintroduce the grain. */
body.ed-site::after { content: none; }
/* =========================================================================
   L. Brand-study layer — patterns studied on the twelve reference sites
   (Stripe · Anthropic · OpenAI · NVIDIA · Google · Meta · Netflix ·
    Alibaba · Tencent · ByteDance · Spotify · Microsoft), translated into
   the warm-paper system. Appended last, so it wins by cascade order.
   ========================================================================= */
/* ── L1. Forms — Stripe-grade fields (api-keys / profile / checkout) ──── */
body.ed-site main input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=file]),
body.ed-site main textarea,
body.ed-site main select {
  display: block;
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: var(--fs-15);
  color: var(--site-color-ink);
  background: var(--site-color-surface);
  border: 1px solid var(--site-line);
  border-radius: 10px;
  transition: border-color .18s ease, background-color .18s ease;
}
body.ed-site main input::placeholder,
body.ed-site main textarea::placeholder { color: rgba(255, 255, 255, .38); opacity: 1; }
body.ed-site main input:focus,
body.ed-site main textarea:focus,
body.ed-site main select:focus {
  outline: none;
  border-color: var(--site-color-ink);
  background: var(--site-color-raised);
  outline: 2px solid var(--site-color-line-strong);
  outline-offset: 1px;
}
/* The seamless three-part card field keeps its own chrome. */
body.ed-site .ed-card-input input {
  display: block;
  width: auto;
  min-width: 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.ed-site .ed-card-input input:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
}
/* Field labels read as quiet mono eyebrows, Stripe-style. */
body.ed-site main .ed-field > label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
body.ed-site main blockquote {
  margin: clamp(28px, 4vw, 44px) 0;
  padding: 6px 0 6px clamp(20px, 3vw, 32px);
  border-left: 3px solid var(--sv-clay-bright);
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-18), 2vw, var(--fs-24));
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}
html:lang(zh) body.ed-site main blockquote { font-family: var(--site-serif-cjk); }
/* ── L3. Kickers — NVIDIA's category eyebrow, with a clay tick ────────── */
body.ed-site .ed-kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
  background: var(--sv-clay-bright);
}
/* ── L4. Tables — Stripe's data discipline + legal-table structure ────── */
body.ed-site main table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums lining-nums;
}
body.ed-site main th {
  padding: 10px 14px;
  text-align: left;
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}
body.ed-site main td {
  padding: 12px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--site-line);
}
body.ed-site main tbody tr { transition: background-color .15s ease; }
body.ed-site main tbody tr:hover { background-color: rgba(255, 255, 255, .05); }
/* ── L5. Keyboard focus — Material-crisp rings for every interactive ──── */
body.ed-site :focus-visible {
  outline: 2px solid var(--sv-clay-bright);
  outline-offset: 2px;
}
/* ── L6. Figure captions — quiet mono metadata under research media ───── */
body.ed-site main figcaption {
  margin-top: 10px;
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-12);
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
}
/* ── L7. In-prose links — Google's crafted underline, clay on hover ───── */
body.ed-site main p a:not(.ed-button),
body.ed-site main li a:not(.ed-button) {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, .45);
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
body.ed-site main p a:not(.ed-button):hover,
body.ed-site main li a:not(.ed-button):hover {
  color: var(--sv-clay-bright);
  text-decoration-color: currentColor;
}
/* ── M1. Paper canvas ─────────────────────────────────────────────────── */
body.ed-site .ed-home-hero {
  background: transparent;
  color: #1a1918;
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(56px, 7vw, 104px);
}
body.ed-site .ed-home-hero .ed-hero-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
body.ed-site .ed-home-hero .ed-hero-lead { max-width: none; }
body.ed-site .ed-home-hero .ed-display {
  font-family: var(--font-sans);
  font-size: clamp(var(--fs-40), 5vw, var(--fs-48));
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  color: #1a1918;
  max-width: 16ch;
  margin-inline: 0;
}
html:lang(zh) body.ed-site .ed-home-hero .ed-display {
  font-size: clamp(var(--fs-32), 4.2vw, var(--fs-48));
  line-height: 1.14;
  letter-spacing: -.01em;
  max-width: none;
}
body.ed-site .ed-home-hero .ed-hero-sub {
  margin-top: 18px;
  font-size: clamp(var(--fs-17), 1.3vw, var(--fs-22));
  line-height: 1.55;
  color: rgba(26, 25, 24, .78);
}
@media (min-width: 1081px) {
  body.ed-site .ed-home-hero .ed-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: clamp(40px, 6vw, 96px);
    align-items: end;
  }
  body.ed-site .ed-home-hero .ed-hero-lead { grid-column: 1; grid-row: 1 / span 2; }
  body.ed-site .ed-home-hero .ed-hero-sub { grid-column: 2; grid-row: 1; align-self: end; margin-top: 0; }
  body.ed-site .ed-home-hero .ed-hero-actions { grid-column: 2; grid-row: 2; justify-content: flex-start; margin-top: 22px; }
}
body.ed-site .ed-home-hero .ed-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
/* Primary — monochrome pill. */
body.ed-site .ed-home-hero .ed-button {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
  font-weight: 500;
  border-radius: 999px;
}
@media (hover: hover) and (pointer: fine) {
  body.ed-site .ed-home-hero .ed-button:hover {
    background: #000000;
    border-color: #000000;
    transform: translateY(-1px);
  }
}
/* Secondary — quiet outline pill. */
body.ed-site .ed-home-hero .ed-button-ghost {
  background: transparent;
  border: 1px solid rgba(25, 25, 25, .25);
  color: #1a1918;
}
body.ed-site .ed-home-hero .ed-button-ghost:hover {
  background: rgba(25, 25, 25, .05);
  border-color: rgba(25, 25, 25, .5);
}
/* Announcement tag — hairline pill with a book-cloth pulse dot. */
body.ed-site .ed-home-hero .ed-hero-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 14px;
  border: 1px solid rgba(25, 25, 25, .16);
  border-radius: 999px;
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(26, 25, 24, .62);
}
html:lang(zh) body.ed-site .ed-home-hero .ed-hero-flag { letter-spacing: .26em; }
body.ed-site .ed-home-hero .ed-hero-flag span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000000;
  animation: sv-flag-pulse 2.4s ease-in-out infinite;
}
@keyframes sv-flag-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.82); }
}
/* ── M3. The stage — a quiet rounded panel on the paper ───────────────── */
body.ed-site .ed-home-stage {
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09);
}
body.ed-site .ed-home-hero .ed-stage-index a { color: rgba(255, 255, 255, .6); }
body.ed-site .ed-home-hero .ed-stage-index a:hover { color: #ffffff; }
body.ed-site .ed-home-hero .ed-network-copy h2 { color: #fafafa; }
body.ed-site .ed-home-hero .ed-network-copy p { color: rgba(255, 255, 255, .58); }
body.ed-site .ed-home-hero .ed-stage-caption { color: rgba(255, 255, 255, .38); }
/* ── M4. Marquee back on the paper, between hairlines ─────────────────── */
body.ed-site .ed-home-hero + .ed-marquee {
  margin-top: 0;
  background: transparent;
  border-top-color: rgba(255, 255, 255, .1);
  border-bottom-color: rgba(255, 255, 255, .14);
}
body.ed-site .ed-home-hero + .ed-marquee .ed-marquee-title { color: rgba(26, 25, 24, .5); }
body.ed-site .ed-home-hero + .ed-marquee .ed-logo-item { color: rgba(26, 25, 24, .68); }
body.ed-site .ed-home-hero + .ed-marquee .ed-logo-item:hover { color: #14130f; }
/* ── M5. Header dark skin retired ─────────────────────────────────────── */
/* The hero is daylight paper again, so the light-on-dark nav flip and    */
/* the no-JS dark glass bar are gone. editorial.js pins darkEnd to 0 so   */
/* .ed-over-dark is never applied; the standard light header serves all   */
/* scroll states.                                                         */
/* ── M6. Below the fold — flat paper under the statement ──────────────── */
body.ed-site main > section:has(.ed-home-statement) {
  background: transparent;
}
body.ed-site .ed-home-statement .ed-statement-title {
  font-size: clamp(var(--fs-32), 3.8vw, var(--fs-48));
  line-height: 1.08;
  letter-spacing: -.018em;
}
/* ── M7. Essay rows — quiet editorial slide on hover ──────────────────── */
body.ed-site .ed-essay-row {
  transition:
    padding-left .25s var(--sv-ease, ease),
    transform var(--sv-speed, .25s) var(--sv-ease, ease),
    background-color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  body.ed-site .ed-essay-row:hover { padding-left: 14px; }
}
/* =========================================================================
   N. Living background — retired with the Nocturne poster.
   The daylight page keeps the flat Anthropic-style paper: the three-mass
   aurora and every home-hero glow layer are switched off, and the K3/E
   soft glow no longer paints on the home hero. Other pages keep their
   gentle drift glow untouched. The hero keeps its stacking fix so any
   future negative-z layer still paints above the paper.
   ========================================================================= */
/* ── N1. Stacking fix (kept — future-proofs negative-z layers) ────────── */
body.ed-site .ed-home-hero {
  position: relative;
  isolation: isolate;
}
/* ── N2. Aurora off — a flat paper hero, Anthropic-style ──────────────── */
body.ed-site .ed-home-hero::before,
body.ed-site .ed-home-hero::after,
body.ed-site .ed-home-hero .ed-hero-nebula { display: none; }
/* ── N5. Marquee glow stays retired ───────────────────────────────────── */
body.ed-site .ed-home-hero + .ed-marquee {
  position: relative;
  isolation: isolate;
}
body.ed-site .ed-home-hero + .ed-marquee::before { content: none; }
/* ── N6. Motion safety — only the flag dot pulses; freeze it too ──────── */
@media (prefers-reduced-motion: reduce) {
  body.ed-site .ed-home-hero .ed-hero-flag span { animation: none !important; }
}
/* ==========================================================================
   P. Anthropic premium layer — media frames, spotlight, article furniture
   Appended last. Additive to the warm-paper system.
   ========================================================================== */
/* ── P0. Soft living glow behind the home hero (replaces retired aurora) ─ */
body.ed-site .ed-home-hero::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: clamp(-160px, -8vw, -60px);
  left: 50%;
  width: min(1180px, 96vw);
  height: clamp(420px, 48vw, 720px);
  transform: translateX(-50%);
  background:
    radial-gradient(44% 52% at 24% 32%, rgba(255, 255, 255, .13), transparent 70%),
    radial-gradient(38% 46% at 76% 22%, rgba(255, 255, 255, .05), transparent 72%),
    radial-gradient(34% 40% at 52% 66%, rgba(255, 255, 255, .06), transparent 70%);
  animation: sv-drift 20s ease-in-out infinite alternate;
  pointer-events: none;
}
/* ── P1. Home stage: deeper product-surface frame + glass chips ───────── */
body.ed-site .ed-home-stage {
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
/* Soft vignette + top light so the artwork sits inside a physical panel. */
body.ed-site .ed-home-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, .42) 100%),
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .07), transparent 58%);
  pointer-events: none;
}
body.ed-site .ed-stage-index a {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .82);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--sv-ease);
}
body.ed-site .ed-stage-index a::after { display: none; }
body.ed-site .ed-stage-index a:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  transform: translateY(-1px);
}
body.ed-site .ed-stage-caption { letter-spacing: .05em; }
/* ── P2. Media frames: hairline ring, soft shadow, hover zoom ─────────── */
body.ed-site .ed-publication-side img,
body.ed-site .ed-showcase-media img,
body.ed-site .ed-article-hero-media img,
body.ed-site .ed-black-band-media img,
body.ed-site .ed-inline-feature img,
body.ed-site .ed-policy-visual img,
body.ed-site .ed-learning-object img {
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09);
}
body.ed-site .ed-publication-side img,
body.ed-site .ed-showcase-media img,
body.ed-site .ed-article-hero-media img,
body.ed-site .ed-black-band-media img,
body.ed-site .ed-inline-feature img {
  transition: transform .9s var(--sv-ease), box-shadow .45s ease;
  will-change: transform;
}
body.ed-site .ed-article-hero-media:hover,
body.ed-site .ed-black-band-media:hover,
body.ed-site .ed-showcase-media:hover,
body.ed-site .ed-publication-side:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .32);
}
body.ed-site .ed-article-hero-media:hover img,
body.ed-site .ed-black-band-media:hover img,
body.ed-site .ed-showcase-media:hover img,
body.ed-site .ed-publication-side:hover img {
  transform: translateY(var(--parallax-y, 0)) scale(1.045);
}
body.ed-site .ed-showcase-media {
  overflow: hidden;
  border-radius: 18px;
}
/* ── P3. Pointer spotlight on cards and dark bands ────────────────────── */
body.ed-site .ed-portal,
body.ed-site .ed-story-card,
body.ed-site .ed-price-card,
body.ed-site .ed-contact-card,
body.ed-site .ed-course-card,
body.ed-site .ed-featured {
  background-image: radial-gradient(620px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, .08), transparent 44%);
}
body.ed-site .ed-black-band,
body.ed-site .ed-inline-feature {
  background-image: radial-gradient(760px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, .10), transparent 46%);
}
/* ── P4. Essay/publication rows: wash sweep on hover ──────────────────── */
body.ed-site .ed-essay-row,
body.ed-site .ed-publication-row {
  border-radius: 10px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .07), transparent 65%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  transition: transform .35s var(--sv-ease), background-size .4s ease;
}
body.ed-site .ed-essay-row:hover,
body.ed-site .ed-publication-row:hover { background-size: 100% 100%; }
/* ── P5. Staggered children inside reveal containers ──────────────────── */
html.ed-js body.ed-site .ed-reveal > .ed-essay-row,
html.ed-js body.ed-site .ed-reveal > .ed-publication-row,
html.ed-js body.ed-site .ed-reveal > article {
  opacity: 1;
  transform: none;
  transition:
    opacity .45s ease var(--d, 0s),
    transform .45s var(--sv-ease) var(--d, 0s),
    box-shadow .35s ease,
    border-color .2s ease,
    background-size .4s ease;
}
html.ed-js body.ed-site .ed-reveal.is-visible > .ed-essay-row,
html.ed-js body.ed-site .ed-reveal.is-visible > .ed-publication-row,
html.ed-js body.ed-site .ed-reveal.is-visible > article {
  opacity: 1;
  transform: none;
}
html.ed-js body.ed-site .ed-reveal > *:nth-child(1) { --d: 60ms; }
html.ed-js body.ed-site .ed-reveal > *:nth-child(2) { --d: 130ms; }
html.ed-js body.ed-site .ed-reveal > *:nth-child(3) { --d: 200ms; }
html.ed-js body.ed-site .ed-reveal > *:nth-child(4) { --d: 270ms; }
html.ed-js body.ed-site .ed-reveal > *:nth-child(5) { --d: 340ms; }
html.ed-js body.ed-site .ed-reveal > *:nth-child(n+6) { --d: 410ms; }
/* ── P6. Article furniture: contents card, result bars, references ────── */
body.ed-site .ed-article-toc {
  margin: 0 0 3.2em;
  padding: 22px 26px;
  border: 1px solid var(--site-line);
  border-left: 2px solid var(--sv-clay);
  border-radius: 0 14px 14px 0;
  background: var(--site-paper-soft);
}
body.ed-site .ed-article-toc .ed-kicker { margin: 0 0 12px; }
body.ed-site .ed-article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
body.ed-site .ed-article-toc a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--site-ink-soft);
  font-size: var(--fs-15);
  font-weight: 500;
  text-decoration: none;
  transition: color .18s ease;
}
body.ed-site .ed-article-toc a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sv-clay);
  opacity: .35;
  align-self: center;
  transition: opacity .18s ease, transform .18s ease;
}
body.ed-site .ed-article-toc a:hover,
body.ed-site .ed-article-toc a.is-active { color: var(--site-ink); }
body.ed-site .ed-article-toc a.is-active::before { opacity: 1; transform: scale(1.4); }
body.ed-site .ed-result {
  margin: 2.2em 0;
  padding: 24px 26px;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  background: var(--site-paper-soft);
  font-family: var(--ed-sans);
}
body.ed-site .ed-result-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
body.ed-site .ed-result-head .ed-kicker { margin: 0; }
body.ed-site .ed-result-head span {
  font-family: var(--ed-mono);
  font-size: var(--fs-11);
  letter-spacing: .06em;
  color: var(--site-ink-muted);
  text-transform: uppercase;
}
body.ed-site .ed-result-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(140px, 2fr) 52px;
  gap: 14px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--site-line);
}
body.ed-site .ed-result-row:first-of-type { border-top: 0; }
body.ed-site .ed-result-row span { font-size: var(--fs-15); color: var(--site-ink-soft); }
body.ed-site .ed-result-row b {
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-15);
  color: var(--site-ink);
  text-align: right;
}
body.ed-site .ed-result-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
body.ed-site .ed-result-track i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sv-clay), #000000);
  transform-origin: left;
  animation: edResultGrow 1s var(--sv-ease) .25s both;
}
@keyframes edResultGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
body.ed-site .ed-references {
  margin: 2.6em 0 0;
  padding-top: 1.4em;
  border-top: 1px solid var(--site-line);
}
body.ed-site .ed-references ol {
  margin: 0;
  padding-left: 1.2em;
  font-family: var(--ed-sans);
  font-size: var(--fs-15);
  line-height: 1.7;
  color: var(--site-ink-muted);
}
body.ed-site .ed-references li { margin-bottom: .55em; }
/* ── P7. Article hero media parallax target ───────────────────────────── */
body.ed-site .ed-article-hero-media img {
  transform: translateY(var(--parallax-y, 0));
}
@media (prefers-reduced-motion: reduce) {
  body.ed-site .ed-result-track i { animation: none !important; }
  body.ed-site .ed-stage-index a:hover { transform: none !important; }
  body.ed-site .ed-article-hero-media:hover img,
  body.ed-site .ed-black-band-media:hover img,
  body.ed-site .ed-showcase-media:hover img,
  body.ed-site .ed-publication-side:hover img {
    transform: translateY(var(--parallax-y, 0)) !important;
  }
  body.ed-site .ed-tilt { transform: none !important; }
  body.ed-site .ed-chat-bubble { opacity: 1 !important; transform: none !important; }
  body.ed-site .ed-stat-value { transition: none !important; }
  body.ed-site .ed-svg-bar rect { animation: none !important; }
  body.ed-site .ed-timeline path { animation: none !important; stroke-dashoffset: 0 !important; }
  body.ed-site .ed-mini-demo .ed-mini-bubble-a,
  body.ed-site .ed-mini-demo .ed-mini-bubble-b { opacity: 1 !important; }
  body.ed-site .ed-mini-card { transform: none !important; }
  body.ed-site .ed-mini-pulse { animation: none !important; }
}
/* ==========================================================================
   P8-P15.  Premium layer extension — counter, tilt, mini-demos, author,
   svg-bar, timeline, hero chat, paragraph wave. All additive.
   ========================================================================== */
/* ── P8. Hover 3D tilt: ±3° on cards and dark bands ────────────────────── */
body.ed-site .ed-tilt {
  transform: perspective(900px) rotateX(calc(var(--sv-tilt-y, 0) * -.8deg))
                                rotateY(calc(var(--sv-tilt-x, 0) * .8deg));
  transition: transform .45s var(--sv-ease);
  will-change: transform;
}
body.ed-site .ed-portal.ed-tilt,
body.ed-site .ed-story-card.ed-tilt,
body.ed-site .ed-price-card.ed-tilt,
body.ed-site .ed-publication-side.ed-tilt,
body.ed-site .ed-black-band-media.ed-tilt,
body.ed-site .ed-showcase-media.ed-tilt,
body.ed-site .ed-article-hero-media.ed-tilt,
body.ed-site .ed-inline-feature.ed-tilt {
  transform: perspective(900px) rotateX(calc(var(--sv-tilt-y, 0) * -.8deg))
                                rotateY(calc(var(--sv-tilt-x, 0) * .8deg));
}
/* ── P9. Stat counter: animated number on enter ────────────────────────── */
body.ed-site .ed-stat {
  display: inline-flex;
  align-items: baseline;
  gap: .12em;
  font-variant-numeric: tabular-nums;
}
body.ed-site .ed-stat-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  transition: color .2s ease;
}
body.ed-site .ed-stat-suffix {
  font-variant-numeric: tabular-nums;
}
body.ed-site .ed-stat.is-animating .ed-stat-value { color: var(--sv-clay, #000000); }
body.ed-site .ed-stat.is-done .ed-stat-value { color: inherit; }
/* ── P10. Paragraph wave reveal ────────────────────────────────────────── */
html.ed-js body.ed-site .ed-reveal-paragraphs p {
  opacity: 1;
  transform: none;
}
html.ed-js body.ed-site .ed-reveal-paragraphs.is-visible p {
  opacity: 1;
  transform: none;
  transition: opacity .45s ease var(--d, 0s), transform .45s var(--sv-ease) var(--d, 0s);
}
html.ed-js body.ed-site .ed-reveal-paragraphs.is-visible p:nth-child(1) { --d: 0ms; }
html.ed-js body.ed-site .ed-reveal-paragraphs.is-visible p:nth-child(2) { --d: 70ms; }
html.ed-js body.ed-site .ed-reveal-paragraphs.is-visible p:nth-child(3) { --d: 140ms; }
html.ed-js body.ed-site .ed-reveal-paragraphs.is-visible p:nth-child(4) { --d: 210ms; }
html.ed-js body.ed-site .ed-reveal-paragraphs.is-visible p:nth-child(5) { --d: 280ms; }
html.ed-js body.ed-site .ed-reveal-paragraphs.is-visible p:nth-child(6) { --d: 350ms; }
html.ed-js body.ed-site .ed-reveal-paragraphs.is-visible p:nth-child(n+7) { --d: 420ms; }
/* ── P11. SVG bar chart (inline research viz) ──────────────────────────── */
body.ed-site .ed-svg-bar {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--ed-sans, sans-serif);
}
body.ed-site .ed-svg-bar-wrap {
  margin: 2em 0;
  padding: 22px;
  border: 1px solid var(--ed-line, rgba(255, 255, 255, .12));
  border-radius: 14px;
  background: var(--ed-paper-soft, #151515);
}
body.ed-site .ed-figure-caption {
  margin: 10px 0 0;
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ed-ink-muted, #77716a);
  text-align: left;
}
body.ed-site .ed-svg-bar rect {
  transform-origin: left center;
  transform-box: fill-box;
  animation: edBarFill .9s var(--sv-ease) .15s both;
}
body.ed-site .ed-svg-bar .ed-bar-label {
  fill: var(--ed-ink-soft, #56534e);
  font-size: var(--fs-13);
  font-weight: 500;
}
body.ed-site .ed-svg-bar .ed-bar-value {
  fill: var(--ed-ink, #000000);
  font-size: var(--fs-13);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
body.ed-site .ed-svg-bar .ed-bar-track {
  fill: rgba(255, 255, 255, .08);
}
body.ed-site .ed-svg-bar .ed-bar-fill {
  fill: url(#edBarGrad);
}
@keyframes edBarFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
/* ── P12. Inline methodology timeline ──────────────────────────────────── */
body.ed-site .ed-timeline {
  margin: 1.6em 0;
  padding: 18px 0 8px;
  border: 1px solid var(--ed-line, rgba(255, 255, 255, .12));
  border-radius: 14px;
  background: var(--ed-paper-soft, #151515);
  font-family: var(--ed-sans, sans-serif);
}
body.ed-site .ed-timeline-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 10px 22px;
}
body.ed-site .ed-timeline-row + .ed-timeline-row {
  border-top: 1px dashed var(--ed-line, rgba(255, 255, 255, .12));
}
body.ed-site .ed-timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--sv-clay, #ffffff);
  border-radius: 999px;
  background: var(--ed-paper, #000000);
  color: var(--sv-clay, #ffffff);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: .04em;
}
body.ed-site .ed-timeline-row strong {
  display: block;
  font-size: var(--fs-14);
  color: var(--ed-ink, #ffffff);
  font-weight: 600;
}
body.ed-site .ed-timeline-row span {
  display: block;
  font-size: var(--fs-13);
  color: var(--ed-ink-muted, #9a9a9a);
  line-height: 1.55;
  margin-top: 2px;
}
/* ── P13. Author card — initial avatar + role + one-liner ─────────────── */
body.ed-site .ed-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--ed-line, rgba(255, 255, 255, .12));
  border-radius: 999px;
  background: var(--ed-paper-soft, #151515);
}
body.ed-site .ed-author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--site-color-surface-strong);
  color: var(--site-color-ink);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: .04em;
}
body.ed-site .ed-author-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
body.ed-site .ed-author-meta strong {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--ed-ink, #000000);
}
body.ed-site .ed-author-meta span {
  font-size: var(--fs-12);
  color: var(--ed-ink-muted, #77716a);
  font-family: var(--ed-mono, monospace);
  letter-spacing: .04em;
  text-transform: uppercase;
}
/* ── P14. Hero chat bubble demo (homepage) ─────────────────────────────── */
body.ed-site .ed-chat-demo {
  margin: 56px auto 0;
  padding: 28px;
  border: 1px solid var(--ed-line, rgba(255, 255, 255, .12));
  border-radius: 22px;
  background: var(--ed-paper-soft, #151515);
  box-shadow: none;
}
body.ed-site .ed-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ed-line, rgba(255, 255, 255, .12));
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ed-ink-muted, #9a9a9a);
}
body.ed-site .ed-chat-head-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--sv-clay, #ffffff);
  box-shadow: none;
}
body.ed-site .ed-chat-thread {
  display: grid;
  gap: 14px;
}
body.ed-site .ed-chat-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: var(--fs-15);
  line-height: 1.55;
  opacity: 1;
  transform: none;
  transition: opacity .45s ease var(--d, 0s), transform .45s var(--sv-ease) var(--d, 0s);
}
body.ed-site .ed-chat-thread.is-visible .ed-chat-bubble {
  opacity: 1;
  transform: none;
}
body.ed-site .ed-chat-bubble.user {
  justify-self: end;
  background: var(--site-color-btn-primary, #ececec);
  color: #000000;
  border-bottom-right-radius: 4px;
}
body.ed-site .ed-chat-bubble.tutor {
  justify-self: start;
  background: var(--ed-paper-strong, #1c1c1c);
  color: var(--ed-ink, #ffffff);
  border: 1px solid var(--ed-line, rgba(255, 255, 255, .12));
  border-bottom-left-radius: 4px;
}
body.ed-site .ed-chat-bubble:nth-child(1) { --d: 0ms; }
body.ed-site .ed-chat-bubble:nth-child(2) { --d: 250ms; }
body.ed-site .ed-chat-bubble:nth-child(3) { --d: 500ms; }
body.ed-site .ed-chat-bubble:nth-child(4) { --d: 750ms; }
body.ed-site .ed-chat-caret {
  display: inline-block;
  width: 6px;
  height: 14px;
  margin-left: 4px;
  background: currentColor;
  vertical-align: text-bottom;
  animation: edCaret 1s steps(2) infinite;
  opacity: .85;
}
@keyframes edCaret {
  50% { opacity: 0; }
}
@media (max-width: 760px) {
  body.ed-site .ed-chat-demo { margin-top: 32px; padding: 18px; }
  body.ed-site .ed-chat-bubble { font-size: var(--fs-14); }
}
/* ── P15. Mini demo (product card previews) ────────────────────────────── */
body.ed-site .ed-mini-demo {
  position: relative;
  width: 168px;
  height: 112px;
  border-radius: 14px;
  background: var(--site-color-surface);
  border: 1px solid var(--site-color-line);
  overflow: hidden;
  flex: 0 0 auto;
}
body.ed-site .ed-mini-bubble-a,
body.ed-site .ed-mini-bubble-b {
  position: absolute;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: var(--fs-11);
  line-height: 1.35;
  opacity: 1;
  transform: none;
  transition: opacity .4s ease var(--d, 0s), transform .4s var(--sv-ease) var(--d, 0s);
}
body.ed-site .ed-product-block:hover .ed-mini-bubble-a,
body.ed-site .ed-product-block:hover .ed-mini-bubble-b,
body.ed-site .ed-mini-demo.is-visible .ed-mini-bubble-a,
body.ed-site .ed-mini-demo.is-visible .ed-mini-bubble-b {
  opacity: 1;
  transform: none;
}
body.ed-site .ed-mini-bubble-a {
  top: 18px; left: 14px;
  max-width: 70%;
  background: var(--ed-paper-strong, #1c1c1c);
  color: var(--ed-ink, #ffffff);
  border-bottom-left-radius: 2px;
  --d: 0ms;
}
body.ed-site .ed-mini-bubble-b {
  right: 14px; bottom: 16px;
  max-width: 70%;
  background: var(--site-color-btn-primary, #ececec);
  color: #000000;
  border-bottom-right-radius: 2px;
  --d: 280ms;
}
body.ed-site .ed-mini-card {
  position: absolute;
  inset: 22px 28px 22px 28px;
  display: grid;
  place-items: center;
  background: var(--ed-paper, #000000);
  border: 1px solid var(--ed-line, rgba(255, 255, 255, .12));
  border-radius: 10px;
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--ed-ink, #ffffff);
  transform: rotateY(180deg);
  transform-style: preserve-3d;
  transition: transform .8s var(--sv-ease);
}
body.ed-site .ed-mini-demo.is-visible .ed-mini-card,
body.ed-site .ed-product-block:hover .ed-mini-card {
  transform: rotateY(0deg);
}
body.ed-site .ed-mini-card::after {
  content: attr(data-back);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--sv-clay, #000000);
  color: #fff;
  border-radius: 10px;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}
body.ed-site .ed-mini-card-front,
body.ed-site .ed-mini-card-back {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  backface-visibility: hidden;
  border-radius: 10px;
}
body.ed-site .ed-mini-card-front { background: var(--ed-paper, #000000); border: 1px solid var(--ed-line, rgba(255, 255, 255, .12)); }
body.ed-site .ed-mini-card-back {
  background: var(--sv-clay, #000000);
  color: #fff;
  transform: rotateY(180deg);
}
body.ed-site .ed-mini-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--sv-clay, #000000);
  box-shadow: none;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .4s ease var(--d, 0s), transform .4s var(--sv-ease) var(--d, 0s);
}
body.ed-site .ed-mini-demo.is-visible .ed-mini-node,
body.ed-site .ed-product-block:hover .ed-mini-node {
  opacity: 1;
  transform: scale(1);
}
body.ed-site .ed-mini-node:nth-child(1) { top: 20%; left: 20%; --d: 0ms; }
body.ed-site .ed-mini-node:nth-child(2) { top: 30%; left: 60%; --d: 120ms; }
body.ed-site .ed-mini-node:nth-child(3) { top: 60%; left: 40%; --d: 240ms; }
body.ed-site .ed-mini-node:nth-child(4) { top: 70%; left: 75%; --d: 360ms; }
body.ed-site .ed-mini-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
  transform: translate(-50%, -50%) scale(.5);
  opacity: 0;
  animation: edMiniPulse 2.2s ease-out infinite;
}
body.ed-site .ed-mini-demo.is-visible .ed-mini-pulse,
body.ed-site .ed-product-block:hover .ed-mini-pulse {
  opacity: 1;
}
@keyframes edMiniPulse {
  0%   { transform: translate(-50%, -50%) scale(.5); opacity: .65; }
  70%  { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}
/* ── P16. Coming-next preview + related chips (article footer) ────────── */
body.ed-site .ed-coming-next {
  margin: 1.8em 0 0;
  padding: 18px 22px;
  border: 1px solid var(--ed-line, rgba(255, 255, 255, .12));
  border-left: 2px solid var(--sv-clay, #ffffff);
  border-radius: 0 14px 14px 0;
  background: var(--ed-paper-soft, #151515);
}
body.ed-site .ed-coming-next .ed-kicker { margin: 0 0 6px; }
body.ed-site .ed-coming-next h3 {
  margin: 0 0 6px;
  font-size: var(--fs-18);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ed-ink, #ffffff);
}
body.ed-site .ed-coming-next p { margin: 0; font-size: var(--fs-15); color: var(--ed-ink-soft, #d6d6d6); }
body.ed-site .ed-related {
  margin: 1.4em 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.ed-site .ed-related-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--ed-line, rgba(255, 255, 255, .12));
  background: var(--ed-paper, #000000);
  color: var(--ed-ink-soft, #d6d6d6);
  font-size: var(--fs-12);
  font-weight: 500;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
body.ed-site .ed-related-chip::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--sv-clay, #ffffff);
  opacity: .55;
}
body.ed-site .ed-related-chip:hover {
  color: var(--ed-ink, #ffffff);
  border-color: var(--sv-clay, #ffffff);
  background: var(--ed-paper-soft, #151515);
}
/* ── P17. Research hero stats strip ────────────────────────────────────── */
body.ed-site .ed-stats-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--ed-line, rgba(255, 255, 255, .12));
  border-radius: 16px;
  background: var(--ed-paper-soft, #151515);
  overflow: hidden;
}
body.ed-site .ed-stats-strip > div {
  padding: 18px 22px;
  border-right: 1px solid var(--ed-line, rgba(255, 255, 255, .12));
}
body.ed-site .ed-stats-strip > div:last-child { border-right: 0; }
body.ed-site .ed-stats-strip p {
  margin: 0 0 4px;
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ed-ink-muted, #9a9a9a);
}
body.ed-site .ed-stats-strip b {
  display: block;
  font-size: clamp(var(--fs-22), 2.4vw, var(--fs-32));
  font-weight: 600;
  color: var(--ed-ink, #ffffff);
  letter-spacing: -.012em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  body.ed-site .ed-stats-strip { grid-template-columns: 1fr; }
  body.ed-site .ed-stats-strip > div { border-right: 0; border-bottom: 1px solid var(--ed-line, rgba(255, 255, 255, .12)); }
  body.ed-site .ed-stats-strip > div:last-child { border-bottom: 0; }
}
/* ── P18. Filter row hover lift ────────────────────────────────────────── */
body.ed-site .ed-publication-row {
  transition: transform .35s var(--sv-ease), background-size .4s ease, box-shadow .25s ease;
}
body.ed-site .ed-publication-row:hover .ed-publication-side img { transform: translateY(-3px); }
body.ed-site .ed-filter-bar button { transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--sv-ease); }
body.ed-site .ed-filter-bar button:hover { transform: translateY(-1px); }
/* ── P19. Product timeline (path fill on scroll) ───────────────────────── */
body.ed-site .ed-path-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 56px 0 24px;
  padding: 24px 0;
}
body.ed-site .ed-path-timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--ed-line, rgba(255, 255, 255, .12));
  z-index: 0;
}
body.ed-site .ed-path-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8px 12px;
}
body.ed-site .ed-path-node {
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--ed-paper, #000000);
  border: 1.5px solid var(--sv-clay, #ffffff);
  margin: 0 auto 14px;
  position: relative;
}
body.ed-site .ed-path-node::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--sv-clay, #000000);
  transform: scale(0);
  transition: transform .5s var(--sv-ease);
}
body.ed-site .ed-path-timeline.is-visible .ed-path-node::after { transform: scale(1); }
body.ed-site .ed-path-timeline .ed-path-node { transition-delay: var(--d, 0s); }
body.ed-site .ed-path-timeline .ed-path-step:nth-child(1) .ed-path-node { --d: 0ms; }
body.ed-site .ed-path-timeline .ed-path-step:nth-child(2) .ed-path-node { --d: 220ms; }
body.ed-site .ed-path-timeline .ed-path-step:nth-child(3) .ed-path-node { --d: 440ms; }
body.ed-site .ed-path-timeline .ed-path-step:nth-child(4) .ed-path-node { --d: 660ms; }
body.ed-site .ed-path-step strong {
  display: block;
  font-size: var(--fs-15);
  font-weight: 600;
  color: var(--ed-ink, #000000);
  letter-spacing: -.005em;
}
body.ed-site .ed-path-step span {
  display: block;
  font-size: var(--fs-13);
  color: var(--ed-ink-muted, #77716a);
  margin-top: 4px;
}
@media (max-width: 760px) {
  body.ed-site .ed-path-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.ed-site .ed-path-timeline::before { display: none; }
}
/* ── P20. Article hero byline upgrade: author pill ─────────────────────── */
body.ed-site .ed-article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-12);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ed-ink-muted, #77716a);
}
body.ed-site .ed-article-byline .ed-author {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--ed-sans, sans-serif);
}
body.ed-site .ed-article-byline > span:not(.ed-author) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* =========================================================================
   R. 2026-08 · "Detail" polish layer — final-pass refinement of every page.
   Appended last so it wins the cascade. Targets:
     R1. Typography rhythm  — paragraph spacing, prose max-width, heading
                              rhythm, link underlines, list spacing.
     R2. Buttons            — comfortable padding + uniform button-row gap
                              across hero / page-hero / inline-feature.
     R3. Images             — universal border-radius + aspect-ratio for
                              every editorial media frame, lazy defaults.
     R4. Tablet (820–980)   — explicit two-column fallbacks so the desktop
                              two-up grids don't snap straight to mobile.
     R5. Mobile (≤620)      — slightly tighter shell padding and smaller
                              eyebrow fonts so the smallest phones breathe.
     R6. Footer             — column link gap + social spacing + language
                              pill on the brand column.
     R7. Article reading    — prose rhythm + figure spacing + blockquote
                              indent + reference list rhythm.
     R8. Forms & tables     — uniform control height + table cell padding
                              on account / api-keys / checkout pages.
     R9. Misc cleanup       — paper grain opacity on dark bands, hairline
                              dividers between sections, link contrast.
   ========================================================================= */
/* ── R1. Typography rhythm ─────────────────────────────────────────────── */
body.ed-site .ed-copy,
body.ed-site .ed-copy-serif,
body.ed-site .ed-product-block p,
body.ed-site .ed-showcase-entry p,
body.ed-site .ed-publication-row p,
body.ed-site .ed-team-grid article p,
body.ed-site .ed-hero-sub {
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}
body.ed-site .ed-copy {
  max-width: var(--sv-prose-max);
  line-height: 1.62;
}
body.ed-site .ed-copy-serif {
  max-width: 64ch;
  line-height: 1.5;
}
body.ed-site .ed-copy + .ed-copy,
body.ed-site .ed-copy-serif + .ed-copy-serif { margin-top: .85em; }
body.ed-site .ed-product-block p { line-height: 1.6; }
body.ed-site .ed-publication-row p { line-height: 1.6; max-width: 56ch; }
body.ed-site .ed-showcase-entry p { line-height: 1.55; max-width: 48ch; }
body.ed-site .ed-team-grid article p { line-height: 1.6; max-width: 36ch; }
body.ed-site .ed-statement-title,
body.ed-site .ed-title,
body.ed-site .ed-reference-title,
body.ed-site .ed-page-title {
  letter-spacing: -.018em;
}
body.ed-site .ed-display { letter-spacing: -.025em; }
body.ed-site .ed-kicker {
  margin: 0 0 14px;
  letter-spacing: .045em;
}
body.ed-site .ed-kicker:empty { display: none; }
body.ed-site .ed-hero-actions { gap: 14px; }
body.ed-site .ed-section-line + .ed-section-line { padding-top: clamp(48px, 6vw, 96px); }
body.ed-site .ed-shell {
  width: min(1280px, calc(100% - var(--sv-shell-pad)));
}
body.ed-site .ed-page-hero { padding: clamp(72px, 8vw, 112px) 0 clamp(40px, 5vw, 56px); }
body.ed-site .ed-section { padding: clamp(56px, 7vw, 104px) 0; }
body.ed-site .ed-section-tight { padding: clamp(40px, 5vw, 80px) 0; }
/* ── R2. Buttons ──────────────────────────────────────────────────────── */
body.ed-site .ed-button,
body.ed-site .ed-button-quiet {
  min-height: var(--sv-btn-min-h);
  padding: var(--sv-btn-pad-y) var(--sv-btn-pad-x);
  border-radius: 999px;
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: -.005em;
}
body.ed-site .ed-button-quiet { border-radius: 999px; }
body.ed-site .ed-hero-actions .ed-button + .ed-button { margin-left: 0; }
/* Article hero / product CTA groups: same gap. */
body.ed-site .ed-black-band-copy .ed-link,
body.ed-site .ed-black-band-copy .ed-button { margin-top: 6px; }
/* ── R3. Images: universal radius + lazy defaults + stable aspect ──────── */
body.ed-site img {
  background: transparent;
}
body.ed-site main img {
  border-radius: 14px;
  height: auto;
}
body.ed-site .ed-publication-side img,
body.ed-site .ed-black-band-media img,
body.ed-site .ed-inline-feature img,
body.ed-site .ed-article-hero-media img {
  border-radius: 14px;
}
body.ed-site .ed-home-stage img,
body.ed-site .ed-showcase-media img {
  border-radius: 18px;
}
/* Hero / showcase media: enforce a graceful aspect so the layout doesn't
   jump when an image hasn't loaded. */
body.ed-site .ed-home-stage img { aspect-ratio: 16 / 9; }
body.ed-site .ed-showcase-media img { aspect-ratio: 16 / 9; }
body.ed-site .ed-article-hero-media img { aspect-ratio: 16 / 9; }
body.ed-site .ed-publication-side img { aspect-ratio: 16 / 9; }
body.ed-site .ed-black-band-media img { aspect-ratio: 4 / 3; }
body.ed-site .ed-inline-feature img { aspect-ratio: 4 / 5; }
/* Ensure inline feature image doesn't grow taller than its grid cell on PC. */
body.ed-site .ed-inline-feature {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
body.ed-site .ed-inline-feature > img { max-height: 560px; width: 100%; object-fit: cover; }
/* ── R4. Tablet (820–980): two-column fallbacks ───────────────────────── */
@media (min-width: 821px) and (max-width: 1080px) {
  body.ed-site .ed-publication-row {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 200px);
    gap: 24px;
  }
  body.ed-site .ed-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  body.ed-site .ed-product-block {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 0;
  }
  body.ed-site .ed-black-band-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  body.ed-site .ed-stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.ed-site .ed-stats-strip > div { padding: 16px 18px; }
  body.ed-site .ed-stats-strip b { font-size: var(--fs-24); }
}
/* ── R5. Mobile (≤620) refinements ─────────────────────────────────────── */
@media (max-width: 760px) {
  body.ed-site .ed-section { padding: clamp(40px, 12vw, 64px) 0; }
  body.ed-site .ed-section-tight { padding: clamp(28px, 9vw, 48px) 0; }
  body.ed-site .ed-page-hero { padding-top: clamp(48px, 13vw, 76px); padding-bottom: 24px; }
  body.ed-site .ed-hero-actions { gap: 10px; }
  body.ed-site .ed-button,
  body.ed-site .ed-button-quiet {
    padding: 9px 16px;
    font-size: var(--fs-14);
  }
  body.ed-site .ed-product-grid { gap: 6px; }
  body.ed-site .ed-product-block { padding: 22px 0; }
  body.ed-site .ed-product-block h2 { line-height: 1.16; }
  body.ed-site .ed-publication-row { grid-template-columns: 1fr; gap: 14px; }
  body.ed-site .ed-publication-side {
    grid-template-columns: minmax(110px, 140px) auto;
    align-items: end;
    gap: 14px;
  }
  body.ed-site .ed-publication-side img { width: 100%; }
  body.ed-site .ed-stats-strip > div { padding: 14px 16px; }
  body.ed-site .ed-stats-strip p { font-size: var(--fs-11); }
  body.ed-site .ed-stats-strip b { font-size: var(--fs-22); }
  body.ed-site .ed-coming-next,
  body.ed-site .ed-result,
  body.ed-site .ed-article-toc { padding: 16px 18px; border-radius: 10px; }
  body.ed-site .ed-coming-next h3 { font-size: var(--fs-17); }
  body.ed-site .ed-article-byline { font-size: var(--fs-11); gap: 10px; }
  body.ed-site .ed-author { padding: 8px 12px 8px 8px; gap: 10px; }
  body.ed-site .ed-author-avatar { width: 30px; height: 30px; font-size: var(--fs-11); }
  body.ed-site .ed-author-meta strong { font-size: var(--fs-13); }
  body.ed-site .ed-author-meta span { font-size: var(--fs-11); letter-spacing: .03em; }
  body.ed-site .ed-timeline-row { grid-template-columns: 44px 1fr; padding: 10px 16px; gap: 12px; }
  body.ed-site .ed-timeline-step { width: 32px; height: 32px; font-size: var(--fs-11); }
}
/* ── R6. Footer refinement ─────────────────────────────────────────────── */
body.ed-site .ed-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 4vw, 40px);
}
body.ed-site .ed-footer-column h2 {
  margin: 0 0 14px;
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(244, 241, 233, .55);
}
body.ed-site .ed-footer-column a {
  display: block;
  padding: 4px 0;
  font-size: var(--fs-14);
  line-height: 1.5;
}
body.ed-site .ed-footer-brand p {
  margin: 14px 0 0;
  max-width: 36ch;
  font-size: var(--fs-14);
  line-height: 1.55;
  color: rgba(244, 241, 233, .68);
}
body.ed-site .ed-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(244, 241, 233, .12);
  font-size: var(--fs-13);
  color: rgba(244, 241, 233, .52);
}
body.ed-site .ed-footer-bottom > span + span { margin-left: 0; }
@media (max-width: 760px) {
  body.ed-site .ed-footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
  body.ed-site .ed-footer-brand { grid-column: 1 / -1; }
  body.ed-site .ed-footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
/* ── R7. Article reading frame: prose rhythm + figure spacing ──────────── */
body.ed-site .ed-article > p,
body.ed-site .ed-article > h2,
body.ed-site .ed-article > h3,
body.ed-site .ed-article > blockquote,
body.ed-site .ed-article > figure,
body.ed-site .ed-article > .ed-result,
body.ed-site .ed-article > .ed-svg-bar-wrap,
body.ed-site .ed-article > .ed-timeline,
body.ed-site .ed-article > .ed-coming-next,
body.ed-site .ed-article > .ed-related,
body.ed-site .ed-article > .ed-references,
body.ed-site .ed-article > hr,
body.ed-site .ed-article > .ed-meta {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}
body.ed-site .ed-article > p {
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-17), 1.45vw, var(--fs-18));
  line-height: 1.72;
  color: var(--site-ink-soft);
}
html:lang(zh) body.ed-site .ed-article > p {
  font-family: var(--site-serif-cjk);
  line-height: 1.85;
  font-size: clamp(var(--fs-17), 1.42vw, var(--fs-18));
  letter-spacing: .01em;
  color: var(--site-ink);
}
body.ed-site .ed-article > p + p { margin-top: 1.15em; }
body.ed-site .ed-article > h2 {
  margin-top: clamp(40px, 5vw, 64px);
  margin-bottom: .8em;
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-24), 2.5vw, var(--fs-32));
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--site-ink);
  scroll-margin-top: 100px;
}
html:lang(zh) body.ed-site .ed-article > h2 {
  font-family: var(--site-serif-cjk);
  letter-spacing: .01em;
}
body.ed-site .ed-article > h2 + p { margin-top: 0; }
body.ed-site .ed-article blockquote {
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-22), 2vw, var(--fs-24));
  font-style: italic;
  line-height: 1.5;
  color: var(--site-ink);
  padding: 4px 0 4px clamp(20px, 3vw, 32px);
  border-left: 3px solid var(--sv-clay-bright);
  margin: clamp(28px, 4vw, 48px) auto;
}
html:lang(zh) body.ed-site .ed-article blockquote {
  font-family: var(--site-serif-cjk);
  font-style: normal;
  line-height: 1.78;
  letter-spacing: .01em;
}
body.ed-site .ed-article > figure { margin: clamp(24px, 3vw, 40px) auto; }
body.ed-site .ed-article > hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--site-line) 28%, var(--site-line) 72%, transparent);
  margin: clamp(36px, 5vw, 56px) auto;
}
body.ed-site .ed-article > .ed-result,
body.ed-site .ed-article > .ed-svg-bar-wrap,
body.ed-site .ed-article > .ed-timeline,
body.ed-site .ed-article > .ed-coming-next { margin-top: clamp(28px, 4vw, 44px); }
body.ed-site .ed-article > .ed-related { margin-top: 1.4em; margin-bottom: clamp(24px, 3vw, 40px); }
body.ed-site .ed-article > .ed-references { padding-top: 1.4em; border-top: 1px solid var(--site-line); }
body.ed-site .ed-article .ed-kicker { margin: 0 0 14px; }
/* TOC + lede: smaller max width so the side card stays useful. */
body.ed-site .ed-article-toc { max-width: 68ch; margin-left: auto; margin-right: auto; }
body.ed-site .ed-article > p.lede {
  margin: 0 0 2em;
  padding: 22px 26px;
  border-left: 2px solid var(--sv-clay-bright);
  border-radius: 0 14px 14px 0;
  background: var(--site-paper-soft);
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-18), 1.7vw, var(--fs-22));
  line-height: 1.48;
  font-style: italic;
  color: var(--site-ink);
  max-width: 68ch;
}
html:lang(zh) body.ed-site .ed-article > p.lede {
  font-family: var(--site-serif-cjk);
  font-style: normal;
  line-height: 1.78;
  letter-spacing: .01em;
}
/* Reference list (numbered) — tighten spacing + opacity. */
body.ed-site .ed-references ol {
  padding-left: 1.4em;
  font-family: var(--site-serif-latin);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--site-ink-soft);
}
body.ed-site .ed-references li { margin-bottom: .55em; padding-left: .35em; }
body.ed-site .ed-references em { color: var(--site-ink); }
/* ── R8. Forms & tables (account, api-keys, profile, checkout) ─────────── */
body.ed-site main input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=file]),
body.ed-site main textarea,
body.ed-site main select {
  min-height: var(--sv-input-min-h);
}
body.ed-site main table th,
body.ed-site main table td {
  padding: 14px 16px;
}
body.ed-site main table th {
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}
/* ── R9. Misc cleanup ─────────────────────────────────────────────────── */
/* Hairline separator used between dark bands and the next light section. */
body.ed-site .ed-section-line + .ed-section-line { border-top: 1px solid var(--site-line); }
/* Marquee on small phones: smaller logo cell width. */
@media (max-width: 760px) {
  .ed-logo-item { width: clamp(80px, 22vw, 110px); height: clamp(20px, 5vw, 28px); }
  .ed-marquee-seq { gap: clamp(28px, 8vw, 56px); padding-right: clamp(28px, 8vw, 56px); }
}
/* Showcase entry padding on mobile. */
@media (max-width: 760px) {
  body.ed-site .ed-showcase-entry { padding: 14px 0; }
  body.ed-site .ed-showcase-entry h2 { font-size: var(--fs-17); }
}
/* Reference / research hero stats strip: keep three columns but tighter. */
@media (max-width: 760px) {
  body.ed-site .ed-stats-strip { grid-template-columns: 1fr; }
  body.ed-site .ed-stats-strip > div { border-right: 0; border-bottom: 1px solid var(--site-line); }
  body.ed-site .ed-stats-strip > div:last-child { border-bottom: 0; }
}
@media (min-width: 721px) and (max-width: 1080px) {
  body.ed-site .ed-stats-strip > div { padding: 14px 16px; }
  body.ed-site .ed-stats-strip p { font-size: var(--fs-11); }
  body.ed-site .ed-stats-strip b { font-size: var(--fs-22); }
}
/* Reference hero: title sits on its own line above the right-side copy. */
body.ed-site .ed-reference-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
@media (max-width: 760px) {
  body.ed-site .ed-reference-hero-grid { grid-template-columns: 1fr; gap: 18px; }
}
/* Method note at end of articles: a small card with mono label. */
body.ed-site .ed-method-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px dashed var(--site-line);
  border-radius: 12px;
  background: var(--site-paper-soft);
  font-family: var(--site-serif-latin);
  font-size: var(--fs-15);
  line-height: 1.6;
  color: var(--site-ink-soft);
  margin-top: clamp(28px, 4vw, 40px) !important;
}
body.ed-site .ed-method-note .ed-method-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sv-clay);
  padding: 4px 8px;
  border: 1px solid var(--sv-clay);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}
/* Article foot nav cards. */
body.ed-site .ed-article-foot { padding: clamp(36px, 5vw, 56px) 0 clamp(48px, 6vw, 80px); }
body.ed-site .ed-article-foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 var(--sv-shell-pad);
  max-width: 1280px;
  margin: 0 auto;
}
body.ed-site .ed-article-foot a {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  background: var(--site-paper-soft);
  color: var(--site-ink);
  text-decoration: none;
  transition: border-color .18s ease, transform .25s var(--sv-ease), box-shadow .25s ease;
}
body.ed-site .ed-article-foot a:hover {
  border-color: var(--sv-clay-bright);
  transform: translateY(-2px);
}
body.ed-site .ed-article-foot .ed-meta {
  display: block;
  margin: 0 0 6px;
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
}
body.ed-site .ed-article-foot .ed-link-arrow {
  display: block;
  font-family: var(--site-serif-latin);
  font-size: var(--fs-17);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--site-ink);
}
html:lang(zh) body.ed-site .ed-article-foot .ed-link-arrow { font-family: var(--site-serif-cjk); }
@media (max-width: 760px) {
  body.ed-site .ed-article-foot-grid { grid-template-columns: 1fr; }
  body.ed-site .ed-article-foot a { padding: 18px 18px; }
}
/* Hero nebula (unused but kept for backward compat). */
body.ed-site .ed-hero-nebula { display: none; }
/* Hero flag (new/announcement) refinements. */
body.ed-site .ed-hero-flag { letter-spacing: .12em; }
body.ed-site .ed-hero-flag + .ed-display { margin-top: 6px; }
/* Stage index: small inline dots between items. */
body.ed-site .ed-stage-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 22px;
}
/* Chat demo wrapper: prevent overflow on smallest phones. */
@media (max-width: 380px) {
  body.ed-site .ed-chat-bubble { max-width: 88%; }
  body.ed-site .ed-chat-demo { padding: 14px; border-radius: 16px; }
}
/* ── R10. Subtle consistency: hairlines between sections, footer links ─ */
body.ed-site .ed-section-line { border-color: rgba(255, 255, 255, .12); }
body.ed-site .ed-hero-actions .ed-button-ghost { background: transparent; }
/* Article hero aside: gap between media and byline. */
body.ed-site .ed-article-hero-aside { gap: 18px; }
/* Research hero: kicker + meta below title. */
body.ed-site .ed-reference-hero .ed-reference-title { margin: 0; }
body.ed-site .ed-reference-hero .ed-reference-copy { margin: 0; line-height: 1.55; color: var(--site-ink-soft); }
body.ed-site .ed-reference-links {
  margin: 14px 0 0;
  font-size: var(--fs-13);
  color: var(--site-ink-muted);
}
body.ed-site .ed-reference-links strong { margin-right: 6px; font-weight: 600; }
body.ed-site .ed-reference-links a {
  display: inline-block;
  margin-right: 12px;
  color: var(--site-ink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 3px;
}
body.ed-site .ed-reference-links a:hover { color: var(--sv-clay-bright); text-decoration-color: currentColor; }
/* Filter bar: tighter spacing between buttons. */
body.ed-site .ed-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 18px;
}
body.ed-site .ed-filter-bar button {
  padding: 8px 14px;
  font-size: var(--fs-13);
  font-weight: 500;
}
@media (max-width: 760px) {
  body.ed-site .ed-filter-bar button { padding: 7px 12px; font-size: var(--fs-13); }
}
/* Search field: full width on mobile. */
body.ed-site .ed-search-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: var(--site-paper-soft);
  min-width: 220px;
  transition: border-color .18s ease, background .18s ease;
}
body.ed-site .ed-search-field:focus-within { border-color: var(--sv-clay-bright); background: var(--site-color-raised, #1f1f1f); }
body.ed-site .ed-search-field input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: var(--fs-14);
  color: var(--site-ink);
  padding: 4px 0;
}
body.ed-site .ed-search-field span {
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
}
@media (max-width: 760px) {
  body.ed-site .ed-search-field { width: 100%; min-width: 0; }
}
/* Footer: ensure brand column stretches on its own row. */
body.ed-site .ed-footer-brand .ed-brand { color: var(--site-color-ink); }
body.ed-site .ed-footer-brand .ed-brand-word { color: var(--site-color-ink); }
body.ed-site .ed-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
body.ed-site .ed-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 233, .18);
  color: rgba(244, 241, 233, .72);
}
body.ed-site .ed-footer-social a svg { width: 16px; height: 16px; }
body.ed-site .ed-footer-social a:hover { color: #fff; border-color: rgba(244, 241, 233, .42); }
body.ed-site .ed-footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(244, 241, 233, .18);
  border-radius: 999px;
  font-size: var(--fs-13);
  color: rgba(244, 241, 233, .72);
}
body.ed-site .ed-footer-lang:hover { color: #fff; border-color: rgba(244, 241, 233, .42); }
/* Essay rows: a little more breathing room between rows. */
body.ed-site .ed-essay-list { display: grid; gap: 4px; }
body.ed-site .ed-essay-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: baseline;
  padding: 22px 16px;
  border-bottom: 1px solid var(--site-line);
}
body.ed-site .ed-essay-row:last-child { border-bottom: 0; }
body.ed-site .ed-essay-date { font-family: var(--ed-mono, monospace); font-size: var(--fs-12); letter-spacing: .04em; color: var(--site-ink-muted); }
body.ed-site .ed-essay-title {
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-18), 1.5vw, var(--fs-22));
  font-weight: 500;
  letter-spacing: -.012em;
  color: var(--site-ink);
}
body.ed-site .ed-essay-tag {
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-12);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
}
html:lang(zh) body.ed-site .ed-essay-title { font-family: var(--site-serif-cjk); letter-spacing: .01em; }
@media (max-width: 760px) {
  body.ed-site .ed-essay-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 12px;
  }
  body.ed-site .ed-essay-tag { justify-self: start; }
}
/* Essay row hover wash: extends to title. */
body.ed-site .ed-essay-row:hover .ed-essay-title { color: var(--sv-clay-bright); }
/* Essay row: more comfortable padding in research index. */
body.ed-site .ed-publication-list { display: grid; gap: 0; }
body.ed-site .ed-publication-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  padding: clamp(22px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--site-line);
}
body.ed-site .ed-publication-row:last-child { border-bottom: 0; }
body.ed-site .ed-publication-row h2 {
  margin: 12px 0 10px;
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-22), 2vw, var(--fs-32));
  font-weight: 500;
  letter-spacing: -.014em;
  line-height: 1.18;
  color: var(--site-ink);
}
html:lang(zh) body.ed-site .ed-publication-row h2 { font-family: var(--site-serif-cjk); }
body.ed-site .ed-publication-row .ed-publication-copy p { margin: 0; font-size: var(--fs-16); line-height: 1.6; color: var(--site-ink-soft); }
@media (max-width: 760px) {
  body.ed-site .ed-publication-row { grid-template-columns: 1fr; gap: 16px; }
}
/* Row meta (date · read time). */
body.ed-site .ed-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
}
body.ed-site .ed-row-meta > span:not(.ed-pill) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body.ed-site .ed-row-meta > span + span:not(.ed-pill)::before {
  content: "·";
  color: var(--site-line);
  margin-right: 2px;
}
body.ed-site .ed-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: var(--site-paper-soft);
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-11);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--site-ink-soft);
}
body.ed-site .ed-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--sv-clay-bright);
}
/* Pill color tones per category — match the editorial design. */
body.ed-site .ed-pill[data-cat="Memory"]::before { background: #000000; }
body.ed-site .ed-pill[data-cat="Explanation"]::before { background: #000000; }
body.ed-site .ed-pill[data-cat="Practice"]::before { background: #000000; }
body.ed-site .ed-pill[data-cat="Knowledge mapping"]::before { background: #000000; }
body.ed-site .ed-pill[data-cat="Tutoring"]::before { background: #000000; }
/* Showcase entries (research index). */
body.ed-site .ed-showcase-rail { display: grid; gap: 6px; }
body.ed-site .ed-showcase-entry {
  display: block;
  padding: 22px 20px;
  border-bottom: 1px solid var(--site-line);
  text-decoration: none;
  color: inherit;
}
body.ed-site .ed-showcase-entry:last-child { border-bottom: 0; }
body.ed-site .ed-showcase-entry h2 {
  margin: 10px 0 6px;
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-22), 1.7vw, var(--fs-24));
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.22;
}
html:lang(zh) body.ed-site .ed-showcase-entry h2 { font-family: var(--site-serif-cjk); }
body.ed-site .ed-showcase-entry p { margin: 0; font-size: var(--fs-15); line-height: 1.55; color: var(--site-ink-soft); }
body.ed-site .ed-showcase-entry:hover h2 { color: var(--sv-clay-bright); }
/* Team grid (research threads). */
body.ed-site .ed-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px clamp(28px, 3vw, 48px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
}
body.ed-site .ed-team-grid h2 {
  margin: 0 0 8px;
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-22), 1.4vw, var(--fs-24));
  font-weight: 500;
  letter-spacing: -.012em;
  color: var(--site-ink);
}
html:lang(zh) body.ed-site .ed-team-grid h2 { font-family: var(--site-serif-cjk); }
/* Coda (bottom research statement). */
body.ed-site .ed-research-coda {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  padding: clamp(40px, 6vw, 80px) 0;
}
body.ed-site .ed-research-coda h2 {
  margin: 0;
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-32), 3vw, var(--fs-48));
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.014em;
  color: var(--site-ink);
}
html:lang(zh) body.ed-site .ed-research-coda h2 { font-family: var(--site-serif-cjk); }
body.ed-site .ed-research-coda p { margin: 0 0 14px; font-size: var(--fs-16); line-height: 1.6; color: var(--site-ink-soft); }
@media (max-width: 760px) { body.ed-site .ed-research-coda { grid-template-columns: 1fr; gap: 18px; } }
/* Publications toolbar (search + title row). */
body.ed-site .ed-publications-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(20px, 4vw, 48px);
  margin-bottom: 12px;
  padding: clamp(24px, 4vw, 36px) 0 clamp(8px, 1.4vw, 14px);
  border-bottom: 1px solid var(--site-line);
  flex-wrap: wrap;
}
body.ed-site .ed-publications-toolbar > div { flex: 1 1 280px; min-width: 0; }
body.ed-site .ed-publications-toolbar h2 { margin: 0 0 6px; }
body.ed-site .ed-publications-toolbar p { margin: 0; max-width: 52ch; font-size: var(--fs-15); line-height: 1.55; color: var(--site-ink-soft); }
/* Subject ledger (product page). */
body.ed-site .ed-ledger { display: grid; gap: 0; }
body.ed-site .ed-ledger-row {
  display: grid;
  grid-template-columns: 56px minmax(120px, 200px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 32px);
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--site-line);
}
body.ed-site .ed-ledger-row:last-child { border-bottom: 1px solid var(--site-line); }
body.ed-site .ed-ledger-row > span:first-child {
  font-family: var(--ed-mono, monospace);
  font-size: var(--fs-12);
  letter-spacing: .06em;
  color: var(--site-ink-muted);
}
body.ed-site .ed-ledger-row > strong {
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-17), 1.3vw, var(--fs-22));
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--site-ink);
}
html:lang(zh) body.ed-site .ed-ledger-row > strong { font-family: var(--site-serif-cjk); }
body.ed-site .ed-ledger-row > span:last-child {
  font-size: var(--fs-15);
  color: var(--site-ink-soft);
  line-height: 1.5;
}
@media (max-width: 760px) {
  body.ed-site .ed-ledger-row { grid-template-columns: 32px 1fr; row-gap: 4px; padding: 14px 0; }
  body.ed-site .ed-ledger-row > span:last-child { grid-column: 2; }
}
/* Hero flag & eyebrow: keep on light paper. */
body.ed-site .ed-home-hero .ed-hero-flag {
  background: transparent;
  border: 1px solid rgba(25, 25, 25, .18);
  color: rgba(26, 25, 24, .66);
}
/* Network copy in stage: better line-length. */
body.ed-site .ed-home-stage .ed-network-copy p { line-height: 1.55; max-width: 38ch; }
/* Inline-feature (product / research): standardize layout. */
body.ed-site .ed-inline-feature { padding: clamp(36px, 5vw, 60px); border-radius: 22px; }
body.ed-site .ed-inline-feature h2 {
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-24), 2.6vw, var(--fs-40));
  font-weight: 500;
  letter-spacing: -.014em;
  line-height: 1.18;
  color: var(--site-color-ink);
}
html:lang(zh) body.ed-site .ed-inline-feature h2 { font-family: var(--site-serif-cjk); }
body.ed-site .ed-inline-feature p { color: rgba(244, 241, 233, .74); line-height: 1.6; }
body.ed-site .ed-inline-feature .ed-kicker { color: rgba(244, 241, 233, .55); }
body.ed-site .ed-inline-feature .ed-link { color: rgba(244, 241, 233, .85); }
body.ed-site .ed-black-band h2,
body.ed-site .ed-black-band .ed-black-band-copy h2 {
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-32), 2.8vw, var(--fs-40));
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.18;
  color: var(--site-color-ink);
}
html:lang(zh) body.ed-site .ed-black-band h2,
html:lang(zh) body.ed-site .ed-black-band .ed-black-band-copy h2 { font-family: var(--site-serif-cjk); }
body.ed-site .ed-black-band p { color: rgba(244, 241, 233, .74); line-height: 1.6; }
/* Statement title copy block. */
body.ed-site .ed-home-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 760px) { body.ed-site .ed-home-statement { grid-template-columns: 1fr; gap: 18px; } }
body.ed-site .ed-home-statement-copy { display: grid; gap: 14px; }
body.ed-site .ed-home-statement-copy .ed-link { margin-top: 8px; }
/* Subject grid (product) - title + ledger side-by-side. */
body.ed-site .ed-subject-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 760px) { body.ed-site .ed-subject-grid { grid-template-columns: 1fr; gap: 22px; } }
/* Latest research heading row. */
body.ed-site .ed-home-research-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
/* Stats strip on home page sits in a more comfortable container. */
body.ed-site .ed-stats-strip { margin-top: clamp(28px, 4vw, 44px); }
/* Reference title kerning. */
body.ed-site .ed-reference-title {
  font-family: var(--site-serif-latin);
  font-size: var(--fs-48);
  font-weight: 500;
  letter-spacing: -.022em;
  line-height: 1.02;
  color: var(--site-ink);
}
html:lang(zh) body.ed-site .ed-reference-title { font-family: var(--site-serif-cjk); letter-spacing: .01em; }
/* Hero neon for home page bottom buttons: keep equal weight. */
body.ed-site .ed-hero-actions .ed-button-ghost {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--site-ink);
}
/* Page hero: title + lede layout. */
body.ed-site .ed-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: end;
}
body.ed-site .ed-page-hero-grid .ed-copy-serif { grid-column: 2; margin: 0; max-width: 44ch; }
@media (max-width: 760px) {
  body.ed-site .ed-page-hero-grid { grid-template-columns: 1fr; gap: 18px; }
  body.ed-site .ed-page-hero-grid .ed-copy-serif { grid-column: auto; }
}
/* Article hero (research notes). */
body.ed-site .ed-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 460px);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
body.ed-site .ed-article-hero-grid .ed-copy-serif { grid-column: 1; max-width: 52ch; margin: 18px 0 0; }
@media (max-width: 760px) {
  body.ed-site .ed-article-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  body.ed-site .ed-article-hero-grid .ed-copy-serif { grid-column: auto; }
}
/* Research page: hero stats sit right under hero. */
body.ed-site .ed-reference-hero + .ed-reference-rule { margin-top: 0; }
/* Tablet and mobile tweaks for publication rows. */
@media (max-width: 380px) {
  body.ed-site .ed-publication-row h2 { font-size: var(--fs-22); }
  body.ed-site .ed-publication-row .ed-publication-copy p { font-size: var(--fs-14); }
  body.ed-site .ed-row-meta { font-size: var(--fs-11); }
}
/* Reference publication side image: prevent oversized rendering. */
body.ed-site .ed-publication-side img { width: 100%; max-width: 280px; }
/* "Coming next" panel: align with content. */
body.ed-site .ed-coming-next h3 {
  font-family: var(--site-serif-latin);
  font-weight: 500;
  letter-spacing: -.01em;
}
html:lang(zh) body.ed-site .ed-coming-next h3 { font-family: var(--site-serif-cjk); }
/* Editor "Method note" pill-style at end of articles. */
body.ed-site .ed-method-note { font-family: var(--site-sans-latin); }
html:lang(zh) body.ed-site .ed-method-note { font-family: var(--site-serif-cjk); }
/* ── R11. Quiet focus on kicker + meta to keep uppercase labels readable on small screens. */
body.ed-site .ed-row-meta,
body.ed-site .ed-meta,
body.ed-site .ed-pill { letter-spacing: .04em; }
@media (max-width: 760px) {
  body.ed-site .ed-row-meta,
  body.ed-site .ed-meta,
  body.ed-site .ed-pill { letter-spacing: .02em; }
}
/* ── R12. Make sure footer column link lines breathe on dark background. */
body.ed-site .ed-footer-column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* =========================================================================
   2026-08-24 · Marketing detail refinement
   Anthropic/x.ai-inspired rhythm: calmer contrast, tighter grid, stronger
   paragraph cadence, and predictable responsive spacing.
   ========================================================================= */
body.ed-site {
  color: var(--sf-ink);
  background: var(--sf-paper);
  line-height: 1.6;
  letter-spacing: -.009em;
}
html:lang(zh) body.ed-site {
  line-height: 1.76;
  letter-spacing: .008em;
}
body.ed-site .ed-shell { width: min(1220px, calc(100% - 72px)); }
@media (max-width: 1080px) {
  body.ed-site .ed-shell { width: calc(100% - 56px); }
}
@media (max-width: 760px) {
  body.ed-site .ed-shell { width: calc(100% - 34px); }
}
body.ed-site .ed-page-hero,
body.ed-site .ed-reference-hero,
body.ed-site .ed-learning-hero,
body.ed-site .ed-news-hero { padding-top: clamp(58px, 8vw, 116px); }
body.ed-site .ed-section { padding: clamp(84px, 8vw, 132px) 0; }
body.ed-site .ed-section-tight { padding: clamp(56px, 6vw, 92px) 0; }
body.ed-site .ed-section-line { border-top-color: var(--sf-line); }
body.ed-site .ed-page-title,
body.ed-site .ed-display,
body.ed-site .ed-title,
body.ed-site .ed-statement-title {
  color: var(--sf-ink);
  letter-spacing: -.024em;
  line-height: 1.06;
}
html:lang(zh) body.ed-site .ed-page-title,
html:lang(zh) body.ed-site .ed-display,
html:lang(zh) body.ed-site .ed-title,
html:lang(zh) body.ed-site .ed-statement-title {
  line-height: 1.24;
  letter-spacing: .012em;
}
body.ed-site .ed-copy,
body.ed-site .ed-copy-serif,
body.ed-site p,
body.ed-site li {
  color: var(--sf-ink-soft);
  line-height: 1.72;
}
html:lang(zh) body.ed-site .ed-copy,
html:lang(zh) body.ed-site .ed-copy-serif,
html:lang(zh) body.ed-site p,
html:lang(zh) body.ed-site li { line-height: 1.9; }
body.ed-site .ed-copy,
body.ed-site .ed-copy-serif,
body.ed-site p { max-width: 68ch; }
body.ed-site .ed-product-block > p,
body.ed-site .ed-principle > p,
body.ed-site .ed-price-card > p,
body.ed-site .ed-black-band-copy p,
body.ed-site .ed-inline-feature p { max-width: 56ch; }
body.ed-site .ed-kicker,
body.ed-site .ed-meta,
body.ed-site .ed-row-meta {
  color: rgba(21, 19, 17, .62);
  letter-spacing: .05em;
}
body.ed-site .ed-button,
body.ed-site .ed-button-quiet,
body.ed-site .ed-link {
  min-height: 42px;
  gap: 8px;
  border-radius: 10px;
}
body.ed-site .ed-button {
  background: linear-gradient(180deg, #25211d, #171512);
  border-color: #1d1a17;
}
body.ed-site .ed-button:hover {
  background: linear-gradient(180deg, #2b2622, #191613);
  border-color: #171512;
}
body.ed-site .ed-button-quiet {
  border-color: var(--site-color-line);
  background: var(--site-color-fill);
  color: var(--site-color-ink);
}
body.ed-site .ed-button-quiet:hover {
  border-color: var(--site-color-line-strong);
  background: var(--site-color-fill-hover);
  color: var(--site-color-ink);
}
body.ed-site .ed-portal,
body.ed-site .ed-price-card,
body.ed-site .ed-product-block,
body.ed-site .ed-principle,
body.ed-site .ed-contact-card,
body.ed-site .ed-course-card,
body.ed-site .ed-featured,
body.ed-site .ed-story-card {
  border-color: var(--sf-line);
  background: var(--sf-card);
  backdrop-filter: blur(2px);
}
body.ed-site .ed-black-band,
body.ed-site .ed-inline-feature {
  border: 1px solid rgba(244, 241, 233, .14);
}
body.ed-site .ed-product-block,
body.ed-site .ed-principle { padding-block: clamp(26px, 3vw, 38px); }
body.ed-site .ed-pricing-grid { gap: clamp(16px, 1.8vw, 26px); }
body.ed-site .ed-black-band-media img,
body.ed-site .ed-inline-feature > img,
body.ed-site .ed-featured-media img,
body.ed-site .ed-story-card-media img,
body.ed-site .ed-article-hero-media img,
body.ed-site .ed-publication-side img {
  border-radius: 14px;
  object-fit: cover;
}
@media (max-width: 1080px) {
  body.ed-site .ed-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }
  body.ed-site .ed-page-hero-grid .ed-copy-serif { max-width: 40ch; }
}
@media (max-width: 760px) {
  body.ed-site .ed-header { padding: 12px 0 10px; }
  body.ed-site .ed-header-inner { gap: 14px; }
  body.ed-site .ed-nav-links a { font-size: var(--fs-15); line-height: 1.4; }
  body.ed-site .ed-button,
  body.ed-site .ed-button-quiet { min-height: 40px; padding: 9px 15px; }
  body.ed-site .ed-copy,
  body.ed-site .ed-copy-serif,
  body.ed-site p,
  body.ed-site li { line-height: 1.78; }
  html:lang(zh) body.ed-site .ed-copy,
  html:lang(zh) body.ed-site .ed-copy-serif,
  html:lang(zh) body.ed-site p,
  html:lang(zh) body.ed-site li { line-height: 1.94; }
}
@media (max-width: 760px) {
  body.ed-site .ed-page-title { font-size: clamp(var(--fs-32), 10.2vw, var(--fs-48)); }
  body.ed-site .ed-title { font-size: clamp(var(--fs-32), 8vw, var(--fs-40)); }
  body.ed-site .ed-kicker,
  body.ed-site .ed-meta,
  body.ed-site .ed-row-meta { font-size: var(--fs-11); }
  body.ed-site .ed-product-block,
  body.ed-site .ed-principle,
  body.ed-site .ed-price-card { padding: 20px 0; }
}
@media (min-width: 1460px) {
  body.ed-site .ed-shell { width: min(1320px, calc(100% - 120px)); }
  body.ed-site .ed-page-title { max-width: 13ch; }
  body.ed-site .ed-copy,
  body.ed-site .ed-copy-serif,
  body.ed-site p { max-width: 72ch; }
}
/* =========================================================================
   2026-08-24 · Anthropic / Claude fidelity pass
   Final shared layer for every English and Chinese marketing surface.
   ========================================================================= */
body.ed-site {
  background: var(--site-paper);
  color: var(--site-ink);
  font-size: var(--fs-16);
  line-height: 1.58;
  letter-spacing: -.008em;
}
html:lang(zh) body.ed-site {
  font-size: var(--fs-16);
  line-height: 1.78;
  letter-spacing: .006em;
}
body.ed-site .ed-shell { width: min(1312px, calc(100% - 64px)); }
body.ed-site .ed-header {
  padding: 0;
  border-bottom: 1px solid var(--site-color-line);
  background: var(--site-color-paper);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.ed-site .ed-header-inner { min-height: 70px; }
body.ed-site .ed-brand { gap: 10px; }
body.ed-site .ed-brand-word { font-size: var(--fs-17); line-height: 1; letter-spacing: -.02em; }
body.ed-site .ed-nav-links { gap: 26px; }
body.ed-site .ed-nav-links a,
body.ed-site .ed-header-language,
body.ed-site .ed-lang-toggle { font-size: var(--fs-14); line-height: 1.25; }
body.ed-site .ed-page-hero,
body.ed-site .ed-reference-hero,
body.ed-site .ed-learning-hero,
body.ed-site .ed-news-hero { padding: clamp(86px, 8vw, 124px) 0 clamp(64px, 6.5vw, 96px); }
body.ed-site .ed-home-hero { padding: clamp(88px, 8vw, 124px) 0 clamp(70px, 7vw, 108px); }
body.ed-site .ed-section { padding: clamp(72px, 6.7vw, 108px) 0; }
body.ed-site .ed-section-tight { padding: clamp(48px, 4.8vw, 76px) 0; }
body.ed-site .ed-section-line + .ed-section-line { padding-top: clamp(64px, 6.2vw, 100px); }
body.ed-site .ed-display {
  max-width: 11ch;
  font-size: var(--fs-48);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
}
body.ed-site .ed-page-title {
  max-width: 12ch;
  font-size: var(--fs-48);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -.048em;
}
body.ed-site .ed-title {
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-32), 3.25vw, var(--fs-48));
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.028em;
}
body.ed-site .ed-statement-title {
  font-size: clamp(var(--fs-40), 4.4vw, var(--fs-48));
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -.046em;
}
html:lang(zh) body.ed-site .ed-display,
html:lang(zh) body.ed-site .ed-page-title,
html:lang(zh) body.ed-site .ed-statement-title {
  font-family: var(--site-sans-cjk);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -.035em;
}
html:lang(zh) body.ed-site .ed-title {
  font-family: var(--site-serif-cjk);
  line-height: 1.28;
  letter-spacing: .01em;
}
body.ed-site .ed-copy-serif {
  max-width: 38ch;
  color: var(--site-ink-soft);
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-22), 1.75vw, var(--fs-24));
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -.014em;
}
html:lang(zh) body.ed-site .ed-copy-serif {
  font-family: var(--site-serif-cjk);
  font-size: clamp(var(--fs-18), 1.55vw, var(--fs-24));
  line-height: 1.76;
  letter-spacing: .01em;
}
body.ed-site .ed-copy,
body.ed-site p,
body.ed-site li { line-height: 1.66; }
html:lang(zh) body.ed-site .ed-copy,
html:lang(zh) body.ed-site p,
html:lang(zh) body.ed-site li { line-height: 1.86; }
body.ed-site p + p { margin-top: .9em; }
body.ed-site .ed-kicker,
body.ed-site .ed-meta,
body.ed-site .ed-row-meta {
  color: var(--site-ink-muted);
  font-size: var(--fs-11);
  line-height: 1.35;
  letter-spacing: .045em;
}
body.ed-site .ed-kicker::before { width: 22px; }
body.ed-site .ed-button,
body.ed-site .ed-button-quiet,
body.ed-site .ed-hero-actions .ed-button-ghost {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: var(--fs-14);
  font-weight: 600;
  line-height: 1;
}
body.ed-site .ed-button {
  color: var(--site-paper);
  border-color: var(--site-black);
  background: var(--site-black);
  box-shadow: none;
}
body.ed-site .ed-button:hover { color: #fff; border-color: #000; background: #000; }
body.ed-site .ed-button-quiet,
body.ed-site .ed-hero-actions .ed-button-ghost { background: transparent; }
body.ed-site .ed-hero-actions { gap: 10px; }
body.ed-site .ed-link { min-height: 0; border-radius: 0; font-weight: 600; }
body.ed-site .ed-page-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); }
body.ed-site .ed-home-hero .ed-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(56px, 7vw, 112px);
}
body.ed-site .ed-home-hero .ed-hero-sub { max-width: 30ch; }
body.ed-site .ed-home-hero .ed-hero-flag {
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: var(--fs-10);
}
body.ed-site .ed-home-stage,
body.ed-site .ed-black-band,
body.ed-site .ed-inline-feature,
body.ed-site .ed-footer-frame { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--site-color-line); }
body.ed-site .ed-home-stage { margin-top: clamp(70px, 7vw, 108px); }
body.ed-site .ed-black-band,
body.ed-site .ed-inline-feature { border-color: var(--site-color-line); background: var(--site-color-surface); }
body.ed-site .ed-black-band-media img,
body.ed-site .ed-inline-feature > img,
body.ed-site .ed-featured-media img,
body.ed-site .ed-story-card-media img,
body.ed-site .ed-article-hero-media img,
body.ed-site .ed-publication-side img { border-radius: 8px; }
body.ed-site .ed-portal,
body.ed-site .ed-price-card,
body.ed-site .ed-product-block,
body.ed-site .ed-principle,
body.ed-site .ed-contact-card,
body.ed-site .ed-course-card,
body.ed-site .ed-featured,
body.ed-site .ed-story-card {
  border-color: rgba(23, 22, 20, .14);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
body.ed-site .ed-product-grid { gap: 0; }
body.ed-site .ed-product-block { padding: clamp(28px, 3vw, 42px) 0; border-radius: 0; }
body.ed-site .ed-product-block h2 {
  font-family: var(--site-serif-latin);
  font-size: clamp(var(--fs-24), 2vw, var(--fs-32));
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.02em;
}
html:lang(zh) body.ed-site .ed-product-block h2 { font-family: var(--site-serif-cjk); line-height: 1.4; }
body.ed-site .ed-stats-strip { border-radius: 10px; background: rgba(255,255,255,.28); }
body.ed-site .ed-ledger-row { padding: 13px 0; }
body.ed-site .ed-footer { padding: 0 0 24px; }
body.ed-site .ed-footer-frame { padding: clamp(50px, 5vw, 72px); }
body.ed-site .ed-footer-top { gap: clamp(28px, 4vw, 56px); }
body.ed-site .ed-footer-column { gap: 10px; }
body.ed-site .ed-footer-column a { font-size: var(--fs-13); line-height: 1.4; }
body.ed-site .ed-footer-bottom { margin-top: clamp(46px, 5vw, 70px); }
body.ed-site.legal-page .ed-legal-body { width: min(100%, 760px); max-width: 760px; }
body.ed-site.legal-page .ed-legal-section { margin-bottom: 42px; }
body.ed-site.legal-page .ed-legal-section h3 { margin-bottom: 16px; }
body.ed-site.legal-page .ed-legal-section p,
body.ed-site.legal-page .ed-legal-section li { max-width: 70ch; font-size: var(--fs-17); line-height: 1.74; }
@media (max-width: 1080px) {
  body.ed-site .ed-shell { width: calc(100% - 48px); }
  body.ed-site .ed-nav-links { gap: 18px; }
  body.ed-site .ed-page-hero-grid,
  body.ed-site .ed-home-hero .ed-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  body.ed-site .ed-page-hero-grid .ed-copy-serif { grid-column: auto; max-width: 34ch; }
  body.ed-site .ed-home-hero .ed-hero-lead,
  body.ed-site .ed-home-hero .ed-hero-sub,
  body.ed-site .ed-home-hero .ed-hero-actions { grid-column: auto; grid-row: auto; }
  body.ed-site .ed-home-hero .ed-hero-actions { margin-top: 4px; }
}
@media (max-width: 760px) {
  body.ed-site .ed-shell { width: calc(100% - 36px); }
  body.ed-site .ed-header-inner { min-height: 64px; }
  body.ed-site .ed-brand-word { font-size: var(--fs-16); }
  body.ed-site .ed-page-hero,
  body.ed-site .ed-reference-hero,
  body.ed-site .ed-learning-hero,
  body.ed-site .ed-news-hero { padding: 64px 0 46px; }
  body.ed-site .ed-home-hero { padding: 62px 0 52px; }
  body.ed-site .ed-section { padding: 54px 0; }
  body.ed-site .ed-section-tight { padding: 38px 0; }
  body.ed-site .ed-section-line + .ed-section-line { padding-top: 50px; }
  body.ed-site .ed-display { max-width: none; font-size: clamp(var(--fs-40), 13vw, var(--fs-48)); line-height: .98; }
  body.ed-site .ed-page-title { max-width: none; font-size: clamp(var(--fs-40), 11.6vw, var(--fs-48)); line-height: 1.02; }
  body.ed-site .ed-title { font-size: clamp(var(--fs-32), 9vw, var(--fs-40)); line-height: 1.08; }
  body.ed-site .ed-statement-title { font-size: clamp(var(--fs-40), 10.8vw, var(--fs-48)); }
  html:lang(zh) body.ed-site .ed-display,
  html:lang(zh) body.ed-site .ed-page-title,
  html:lang(zh) body.ed-site .ed-statement-title { line-height: 1.14; }
  body.ed-site .ed-copy-serif { font-size: var(--fs-22); line-height: 1.48; }
  html:lang(zh) body.ed-site .ed-copy-serif { font-size: var(--fs-18); line-height: 1.72; }
  body.ed-site .ed-copy,
  body.ed-site p,
  body.ed-site li { font-size: var(--fs-15); line-height: 1.68; }
  html:lang(zh) body.ed-site .ed-copy,
  html:lang(zh) body.ed-site p,
  html:lang(zh) body.ed-site li { line-height: 1.84; }
  body.ed-site .ed-button,
  body.ed-site .ed-button-quiet,
  body.ed-site .ed-hero-actions .ed-button-ghost { min-height: 42px; padding: 10px 14px; font-size: var(--fs-13); }
  body.ed-site .ed-hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  body.ed-site .ed-hero-actions .ed-button { justify-content: center; text-align: center; }
  body.ed-site .ed-home-stage { margin-top: 52px; border-radius: 8px; }
  body.ed-site .ed-black-band,
  body.ed-site .ed-inline-feature,
  body.ed-site .ed-footer-frame { border-radius: 8px; }
  body.ed-site .ed-inline-feature { padding: 24px; }
  body.ed-site .ed-footer { padding-bottom: 14px; }
  body.ed-site .ed-footer-frame { padding: 36px 24px 28px; }
  body.ed-site .ed-footer-top { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  body.ed-site .ed-footer-brand { grid-column: 1 / -1; }
  body.ed-site .ed-footer-bottom { margin-top: 38px; }
  body.ed-site.legal-page .ed-legal-section p,
  body.ed-site.legal-page .ed-legal-section li { font-size: var(--fs-16); line-height: 1.78; }
}
@media (max-width: 380px) {
  body.ed-site .ed-shell { width: calc(100% - 28px); }
  body.ed-site .ed-display { font-size: clamp(var(--fs-40), 12.6vw, var(--fs-48)); }
  body.ed-site .ed-page-title { font-size: clamp(var(--fs-40), 11.2vw, var(--fs-48)); }
  body.ed-site .ed-hero-actions { grid-template-columns: 1fr; }
}
@media (min-width: 1460px) {
  body.ed-site .ed-shell { width: min(1360px, calc(100% - 128px)); }
}
/* ── Z1. Tokens ───────────────────────────────────────────────────────── */
body.ed-site {
  background: var(--an-paper);
  color: var(--an-ink);
  font-family: var(--an-sans);
  font-size: var(--fs-16);
  line-height: 1.6;
  letter-spacing: -.011em;
}
/* Calm paper: keep a whisper of grain, nothing more. */
body.ed-site::after { /* disabled — see line 1990 for the reasoning */ }
/* ── Z2. Typography ───────────────────────────────────────────────────── */
body.ed-site .ed-display,
body.ed-site .ed-page-title,
body.ed-site .ed-title,
body.ed-site .ed-statement-title,
body.ed-site .ed-reference-title,
body.ed-site .ed-news-hero h1,
body.ed-site .ed-learning-hero h1,
body.ed-site .ed-research-coda h2,
body.ed-site .ed-policy-manifesto h2,
body.ed-site .ed-policy-visual h2,
body.ed-site .ed-course-intro h2,
body.ed-site .ed-learning-object h2,
body.ed-site .ed-network-copy h2,
body.ed-site .ed-split-heading,
body.ed-site .ed-manifesto .ed-statement-title,
body.ed-site .ed-title.ed-artifact {
  font-family: var(--an-serif);
  font-weight: 500;
  letter-spacing: -.022em;
  line-height: 1.05;
  font-feature-settings: "kern", "liga", "calt";
  text-wrap: balance;
}
body.ed-site .ed-display { font-size: var(--fs-48); line-height: 1.02; }
body.ed-site .ed-page-title { max-width: 15ch; font-size: clamp(var(--fs-40), 4.9vw, var(--fs-48)); line-height: 1.04; }
body.ed-site .ed-title { font-size: clamp(var(--fs-32), 3.2vw, var(--fs-48)); line-height: 1.08; }
body.ed-site .ed-statement-title { font-size: clamp(var(--fs-32), 3.5vw, var(--fs-48)); line-height: 1.06; }
body.ed-site .ed-reference-title { font-size: clamp(var(--fs-40), 5vw, var(--fs-48)); line-height: 1.04; }
body.ed-site .ed-serif,
body.ed-site .ed-copy-serif {
  font-family: var(--an-serif);
  font-weight: 400;
  letter-spacing: -.008em;
}
body.ed-site .ed-serif { font-size: clamp(var(--fs-18), 1.6vw, var(--fs-24)); line-height: 1.45; }
body.ed-site .ed-copy-serif { font-size: clamp(var(--fs-18), 1.55vw, var(--fs-24)); line-height: 1.5; max-width: 34ch; color: var(--an-ink-soft); }
body.ed-site .ed-copy { font-size: var(--fs-17); line-height: 1.68; color: var(--an-ink-soft); max-width: 62ch; }
body.ed-site p + p { margin-top: 1em; }
/* Kickers — small clay-dash eyebrows, sentence case. */
body.ed-site .ed-kicker,
body.ed-site .ed-meta,
body.ed-site .ed-row-meta {
  font-family: var(--an-sans);
  color: var(--an-ink-muted);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.4;
  text-transform: none;
}
body.ed-site .ed-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
}
body.ed-site .ed-kicker::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-right: 10px;
  background: var(--an-clay);
  transform: translateY(-1px);
}
body.ed-site .ed-meta { font-size: var(--fs-13); letter-spacing: .01em; }
/* ── Z3. Header ───────────────────────────────────────────────────────── */
body.ed-site .ed-header {
  padding: 0;
  min-height: 0;
  background: var(--site-color-paper);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
body.ed-site .ed-header.is-scrolled {
  padding: 0;
  border-bottom-color: var(--an-line);
  background: var(--site-color-paper);
}
body.ed-site .ed-header .ed-shell { width: min(1280px, calc(100% - 48px)); }
body.ed-site .ed-header-inner {
  grid-template-columns: minmax(150px, 1fr) auto auto;
  gap: 24px;
  min-height: 64px;
}
body.ed-site .ed-brand { gap: 10px; font-family: var(--an-serif); font-size: var(--fs-18); font-weight: 600; letter-spacing: -.01em; }
body.ed-site .ed-brand img {
  width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 7px; padding: 0; background: transparent;
}
body.ed-site .ed-brand-word { font-family: var(--an-serif); font-weight: 600; letter-spacing: -.01em; }
body.ed-site .ed-nav-links { gap: 26px; }
body.ed-site .ed-nav-links a,
body.ed-site .ed-lang-toggle {
  color: var(--an-ink-soft);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: -.002em;
}
body.ed-site .ed-nav-links a:hover,
body.ed-site .ed-nav-links a[aria-current="page"],
body.ed-site .ed-lang-toggle:hover { color: var(--an-ink); }
body.ed-site .ed-header-actions { gap: 14px; }
body.ed-site .ed-lang-toggle { padding: 6px 4px; border: 0; }
/* ── Z4. Buttons & links ──────────────────────────────────────────────── */
body.ed-site .ed-button,
body.ed-site .ed-button-quiet,
body.ed-site .ed-hero-actions .ed-button-ghost {
  min-height: 40px;
  padding: 10px 18px;
  border-radius: var(--an-btn-radius);
  font-family: var(--an-sans);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: .002em;
  line-height: 1;
}
body.ed-site .ed-button {
  color: #000000;
  background: var(--site-color-btn-primary, #ececec);
  border-color: var(--site-color-btn-primary, #ececec);
  box-shadow: none;
}
body.ed-site .ed-button:hover { color: #000000; background: var(--site-color-btn-primary-hover, #ffffff); border-color: var(--site-color-btn-primary-hover, #ffffff); }
body.ed-site .ed-button-quiet,
body.ed-site .ed-hero-actions .ed-button-ghost {
  color: var(--an-ink);
  background: transparent;
  border: 1px solid var(--an-line-strong);
}
body.ed-site .ed-button-quiet:hover,
body.ed-site .ed-hero-actions .ed-button-ghost:hover {
  color: var(--an-ink);
  background: rgba(25, 25, 25, .05);
  border-color: rgba(25, 25, 25, .45);
}
body.ed-site .ed-price-card.is-featured .ed-button {
  color: var(--site-color-ink);
  background: var(--site-color-surface-strong);
  border-color: var(--site-color-line-strong);
}
body.ed-site .ed-link {
  color: var(--an-ink);
  font-size: var(--fs-14);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(25, 25, 25, .3);
  transition: color .15s ease, text-decoration-color .15s ease;
}
body.ed-site .ed-link:hover { color: var(--an-clay); text-decoration-color: currentColor; }
body.ed-site .ed-link-light { color: var(--site-color-ink); text-decoration-color: rgba(245, 243, 236, .35); }
body.ed-site .ed-link-light:hover { color: var(--an-clay-bright); }
/* ── Z5. Home hero ────────────────────────────────────────────────────── */
body.ed-site .ed-home-hero { padding: clamp(64px, 7.5vw, 116px) 0 clamp(56px, 6vw, 92px); }
body.ed-site .ed-home-hero .ed-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  grid-template-rows: auto auto;
  column-gap: clamp(48px, 7vw, 120px);
  align-items: end;
}
body.ed-site .ed-home-hero .ed-hero-lead { grid-column: 1; grid-row: 1 / span 2; max-width: none; }
body.ed-site .ed-home-hero .ed-hero-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: var(--an-mono);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--an-ink-muted);
}
body.ed-site .ed-home-hero .ed-hero-flag::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--an-clay);
}
body.ed-site .ed-home-hero .ed-hero-flag span { display: none; }
body.ed-site .ed-home-hero .ed-display { max-width: 13ch; }
body.ed-site .ed-home-hero .ed-hero-sub {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  max-width: 30ch;
  margin: 0;
  font-style: normal;
  font-size: clamp(var(--fs-17), 1.35vw, var(--fs-22));
  line-height: 1.55;
  color: var(--an-ink-soft);
}
body.ed-site .ed-home-hero .ed-hero-actions {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 4px;
}
body.ed-site .ed-home-hero + .ed-marquee { border-top-color: var(--an-line); border-bottom-color: var(--an-line); }
body.ed-site .ed-marquee-title {
  font-family: var(--an-mono);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--an-ink-muted);
}
body.ed-site .ed-logo-item { color: rgba(25, 25, 25, .55); }
body.ed-site .ed-logo-item:hover { color: var(--an-ink); }
/* Home stage panel. */
body.ed-site .ed-home-stage {
  margin-top: clamp(56px, 6.5vw, 96px);
  border-radius: var(--an-band-radius);
  box-shadow: 0 0 0 1px rgba(25, 25, 25, .08);
  overflow: hidden;
}
body.ed-site .ed-home-stage img { border-radius: 0; aspect-ratio: 16 / 8.4; }
body.ed-site .ed-home-stage::after { border-radius: 0; }
body.ed-site .ed-stage-index {
  gap: 8px;
  padding: 0;
  background: none;
}
body.ed-site .ed-stage-index a {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(20, 20, 19, .35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .85);
  font-size: var(--fs-13);
}
body.ed-site .ed-stage-index a:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .38); }
body.ed-site .ed-stage-caption {
  font-family: var(--an-mono);
  font-size: var(--fs-11);
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .45);
}
body.ed-site .ed-home-stage .ed-network-copy h2 {
  color: #faf9f4;
  font-size: clamp(var(--fs-32), 3.6vw, var(--fs-48));
  line-height: 1.04;
  letter-spacing: -.022em;
}
body.ed-site .ed-home-stage .ed-network-copy p { color: rgba(250, 249, 244, .66); line-height: 1.55; }
/* ── Z6. Page heroes ──────────────────────────────────────────────────── */
body.ed-site .ed-page-hero { padding: clamp(64px, 7.5vw, 112px) 0 clamp(44px, 5vw, 72px); }
body.ed-site .ed-page-hero .ed-kicker { margin-bottom: 20px; }
body.ed-site .ed-page-hero-grid,
body.ed-site .ed-reference-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  column-gap: clamp(48px, 7vw, 120px);
  align-items: end;
}
body.ed-site .ed-page-hero-grid .ed-copy-serif { grid-column: 2; margin: 0 0 6px; }
body.ed-site .ed-reference-hero { padding: clamp(64px, 7.5vw, 112px) 0 clamp(44px, 5vw, 72px); }
body.ed-site .ed-reference-copy {
  max-width: 34ch;
  font-family: var(--an-serif);
  font-size: clamp(var(--fs-18), 1.6vw, var(--fs-24));
  line-height: 1.45;
  color: var(--an-ink-soft);
}
body.ed-site .ed-reference-links { margin-top: 20px; font-size: var(--fs-14); }
/* ── Z7. Sections ─────────────────────────────────────────────────────── */
body.ed-site .ed-section { padding: clamp(72px, 7.5vw, 116px) 0; }
body.ed-site .ed-section-tight { padding: clamp(52px, 5.5vw, 84px) 0; }
body.ed-site .ed-section-line { border-top: 1px solid var(--an-line); }
body.ed-site .ed-section-line + .ed-section-line { padding-top: clamp(72px, 7.5vw, 116px); }
/* ── Z8. Dark bands ───────────────────────────────────────────────────── */
body.ed-site .ed-black-band,
body.ed-site .ed-inline-feature {
  border-radius: var(--an-band-radius);
  background: var(--an-black);
  border: 0;
  box-shadow: 0 0 0 1px rgba(25, 25, 25, .06);
  background-image: none;
}
body.ed-site .ed-black-band-copy { padding: clamp(36px, 4.5vw, 68px); }
body.ed-site .ed-black-band-copy h2 {
  max-width: 15ch;
  margin: 18px 0 0;
  color: var(--site-color-ink);
  font-family: var(--an-serif);
  font-size: clamp(var(--fs-32), 3.1vw, var(--fs-48));
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.022em;
}
body.ed-site .ed-black-band-copy p {
  max-width: 38ch;
  margin: 22px 0 0;
  color: rgba(245, 243, 236, .68);
  font-size: var(--fs-16);
  line-height: 1.65;
}
body.ed-site .ed-black-band .ed-kicker,
body.ed-site .ed-inline-feature .ed-kicker { color: rgba(245, 243, 236, .52); }
body.ed-site .ed-black-band .ed-kicker::before,
body.ed-site .ed-inline-feature .ed-kicker::before { background: var(--an-clay-bright); }
body.ed-site .ed-black-band-copy .ed-link,
body.ed-site .ed-inline-feature .ed-link {
  color: var(--an-clay-bright);
  text-decoration-color: rgba(217, 119, 87, .4);
}
body.ed-site .ed-black-band-copy .ed-link:hover,
body.ed-site .ed-inline-feature .ed-link:hover { color: #000000; text-decoration-color: currentColor; }
body.ed-site .ed-black-band-media img { border-radius: 0; }
body.ed-site .ed-inline-feature { padding: clamp(28px, 4vw, 56px); }
body.ed-site .ed-inline-feature > img { border-radius: var(--an-media-radius); aspect-ratio: 4 / 4.4; max-height: 620px; }
body.ed-site .ed-inline-feature h2 {
  max-width: 15ch;
  margin: 16px 0 0;
  font-family: var(--an-serif);
  font-size: clamp(var(--fs-32), 2.9vw, var(--fs-40));
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.022em;
  color: var(--site-color-ink);
}
body.ed-site .ed-inline-feature p { color: rgba(245, 243, 236, .68); font-size: var(--fs-16); line-height: 1.65; }
/* ── Z9. Product blocks ───────────────────────────────────────────────── */
body.ed-site .ed-product-grid { gap: 0; }
body.ed-site .ed-product-block {
  grid-template-columns: minmax(170px, 200px) minmax(0, 1fr) minmax(260px, .74fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
  padding: clamp(30px, 3.4vw, 44px) 0;
  border-top: 1px solid var(--an-line);
  background: transparent;
}
body.ed-site .ed-product-block:first-child { border-top: 0; }
body.ed-site .ed-product-block:last-child { border-bottom: 1px solid var(--an-line); }
body.ed-site .ed-product-block::before { display: none; }
body.ed-site .ed-product-block h2 {
  max-width: 21ch;
  margin: 0;
  font-family: var(--an-serif);
  font-size: clamp(var(--fs-22), 2vw, var(--fs-32));
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.018em;
  color: var(--an-ink);
}
body.ed-site .ed-product-block:hover h2 { color: var(--an-clay); }
body.ed-site .ed-product-block p {
  max-width: 40ch;
  margin: 0;
  color: var(--an-ink-soft);
  font-size: var(--fs-15);
  line-height: 1.68;
}
body.ed-site .ed-product-meta-col { gap: 16px; }
body.ed-site .ed-product-meta-text { gap: 5px; }
body.ed-site .ed-product-meta-text .ed-kicker { margin: 0; color: var(--an-ink); font-size: var(--fs-12); }
body.ed-site .ed-product-meta-text .ed-kicker::before { display: none; }
body.ed-site .ed-product-meta-text .ed-meta { margin: 0; font-size: var(--fs-13); }
body.ed-site .ed-mini-demo { border-radius: 12px; }
/* ── Z10. Path timeline ───────────────────────────────────────────────── */
body.ed-site .ed-path-timeline { margin: clamp(40px, 5vw, 64px) 0 8px; padding: 8px 0 0; }
body.ed-site .ed-path-timeline::before { top: 17px; left: 12%; right: 12%; background: var(--an-line); }
body.ed-site .ed-path-step { padding: 0 16px 8px; }
body.ed-site .ed-path-node {
  width: 11px; height: 11px;
  margin: 0 auto 16px;
  background: var(--an-paper);
  border: 1.5px solid var(--an-clay);
}
body.ed-site .ed-path-node::after { background: var(--an-clay); }
body.ed-site .ed-path-step strong { font-size: var(--fs-15); font-weight: 600; letter-spacing: -.005em; }
body.ed-site .ed-path-step span { margin: 5px auto 0; max-width: 24ch; font-size: var(--fs-13); line-height: 1.5; color: var(--an-ink-muted); }
/* ── Z11. Stats strip ─────────────────────────────────────────────────── */
body.ed-site .ed-stats-strip {
  margin-top: clamp(36px, 4.5vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border: 1px solid var(--an-line);
  border-radius: 16px;
  background: var(--an-paper-soft);
}
body.ed-site .ed-stats-strip > div { padding: 20px 24px 22px; border-right: 1px solid var(--an-line); }
body.ed-site .ed-stats-strip p {
  margin: 0 0 10px;
  font-family: var(--an-mono);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--an-ink-muted);
}
body.ed-site .ed-stats-strip b {
  font-family: var(--an-serif);
  font-size: clamp(var(--fs-24), 2.6vw, var(--fs-40));
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--an-ink);
}
/* ── Z12. Ledger ──────────────────────────────────────────────────────── */
body.ed-site .ed-ledger { border-top: 1px solid var(--an-line); }
body.ed-site .ed-ledger-row {
  grid-template-columns: 44px minmax(0, 1fr) minmax(150px, .38fr);
  gap: clamp(16px, 2.5vw, 40px);
  padding: 15px 0;
  border-top: 0;
  border-bottom: 1px solid var(--an-line);
}
body.ed-site .ed-ledger-row:last-child { border-bottom: 0; }
body.ed-site .ed-ledger-row > span:first-child { font-family: var(--an-mono); font-size: var(--fs-12); color: var(--an-ink-muted); }
body.ed-site .ed-ledger-row > strong {
  font-family: var(--an-serif);
  font-size: var(--fs-17);
  font-weight: 500;
  letter-spacing: -.01em;
}
body.ed-site .ed-ledger-row > span:last-child {
  font-family: var(--an-sans);
  font-size: var(--fs-14);
  line-height: 1.5;
  color: var(--an-ink-muted);
  text-align: right;
}
body.ed-site .ed-ledger-row:hover > strong { color: var(--an-clay); }
body.ed-site .ed-subject-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
body.ed-site .ed-subject-grid .ed-statement-title { max-width: 15ch; }
/* Statement split (home). */
body.ed-site .ed-home-statement { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(44px, 6vw, 104px); align-items: start; }
body.ed-site .ed-home-statement .ed-statement-title { max-width: 14ch; margin-top: 0; }
body.ed-site .ed-home-statement-copy { padding-top: 6px; }
body.ed-site .ed-home-statement-copy .ed-copy-serif { max-width: 30ch; }
body.ed-site .ed-home-statement-copy .ed-copy { margin-top: 18px; }
body.ed-site .ed-home-statement-copy .ed-link { margin-top: 24px; }
/* ── Z13. Essay rows ──────────────────────────────────────────────────── */
body.ed-site .ed-essay-list { margin-top: clamp(32px, 4vw, 52px); }
body.ed-site .ed-essay-row {
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 48px);
  padding: 22px 4px;
  border-top: 1px solid var(--an-line);
  border-radius: 0;
  background-image: none;
}
body.ed-site .ed-essay-row:last-child { border-bottom: 1px solid var(--an-line); }
body.ed-site .ed-essay-row .ed-essay-date { font-family: var(--an-mono); font-size: var(--fs-12); letter-spacing: .04em; }
body.ed-site .ed-essay-row .ed-essay-title {
  font-family: var(--an-serif);
  font-size: clamp(var(--fs-18), 1.6vw, var(--fs-24));
  font-weight: 500;
  letter-spacing: -.014em;
  line-height: 1.25;
}
body.ed-site .ed-essay-row:hover .ed-essay-title { color: var(--an-clay); }
body.ed-site .ed-essay-row .ed-essay-tag { font-family: var(--an-mono); font-size: var(--fs-11); letter-spacing: .05em; text-transform: uppercase; }
body.ed-site .ed-home-research-heading { align-items: end; margin-bottom: 0; }
body.ed-site .ed-home-research-heading .ed-title { max-width: 16ch; }
/* ── Z14. Chat demo ───────────────────────────────────────────────────── */
body.ed-site .ed-chat-demo {
  margin: clamp(36px, 4.5vw, 60px) auto 0;
  max-width: 880px;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--an-line);
  border-radius: 20px;
  background: var(--an-paper-soft);
  box-shadow: none;
}
body.ed-site .ed-chat-head { font-family: var(--an-mono); font-size: var(--fs-11); letter-spacing: .1em; }
body.ed-site .ed-chat-bubble { font-size: var(--fs-15); line-height: 1.6; }
body.ed-site .ed-chat-bubble.user { background: var(--an-ink); color: var(--an-paper-text); }
body.ed-site .ed-chat-bubble.tutor { background: var(--site-color-surface, #181818); border: 1px solid var(--an-line); }
/* ── Z15. Marquee ─────────────────────────────────────────────────────── */
/* ── Z16. Footer ──────────────────────────────────────────────────────── */
body.ed-site .ed-footer { padding: 24px 0 28px; }
body.ed-site .ed-footer-frame {
  padding: clamp(40px, 5vw, 64px);
  border-radius: var(--an-band-radius);
  background: var(--site-color-surface);
  box-shadow: inset 0 0 0 1px var(--site-color-line);
  color: var(--site-color-ink);
}
body.ed-site .ed-footer-top {
  grid-template-columns: minmax(200px, 1.3fr) repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding: 0 0 clamp(36px, 4.5vw, 56px);
}
body.ed-site .ed-footer .ed-brand { color: var(--site-color-ink); font-size: var(--fs-17); }
body.ed-site .ed-footer .ed-brand img { background: rgba(255, 255, 255, .08); }
body.ed-site .ed-footer-brand p {
  max-width: 26ch;
  margin: 18px 0 0;
  color: rgba(245, 243, 236, .6);
  font-family: var(--an-sans);
  font-size: var(--fs-14);
  line-height: 1.6;
}
body.ed-site .ed-footer-social { gap: 8px; margin-top: 24px; }
body.ed-site .ed-footer-social a {
  width: 34px; height: 34px;
  border-color: rgba(245, 243, 236, .18);
  color: rgba(245, 243, 236, .72);
}
body.ed-site .ed-footer-social a:hover { color: #fff; border-color: rgba(245, 243, 236, .4); background: rgba(255, 255, 255, .06); }
body.ed-site .ed-footer-column { gap: 2px; }
body.ed-site .ed-footer-column h2 {
  margin: 0 0 14px;
  font-family: var(--an-mono);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 243, 236, .44);
}
body.ed-site .ed-footer-column a { padding: 5px 0; color: rgba(245, 243, 236, .76); font-size: var(--fs-14); }
body.ed-site .ed-footer-column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body.ed-site .ed-footer-bottom {
  margin-top: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(245, 243, 236, .12);
  font-family: var(--an-mono);
  font-size: var(--fs-11);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245, 243, 236, .42);
}
/* ── Z17. CJK mirrors ─────────────────────────────────────────────────── */
html:lang(zh) body.ed-site {
  font-family: var(--site-sans-cjk, var(--an-sans));
  line-height: 1.78;
  letter-spacing: .005em;
}
html:lang(zh) body.ed-site .ed-display,
html:lang(zh) body.ed-site .ed-page-title,
html:lang(zh) body.ed-site .ed-title,
html:lang(zh) body.ed-site .ed-statement-title,
html:lang(zh) body.ed-site .ed-reference-title,
html:lang(zh) body.ed-site .ed-news-hero h1,
html:lang(zh) body.ed-site .ed-learning-hero h1,
html:lang(zh) body.ed-site .ed-research-coda h2,
html:lang(zh) body.ed-site .ed-policy-manifesto h2,
html:lang(zh) body.ed-site .ed-policy-visual h2,
html:lang(zh) body.ed-site .ed-network-copy h2,
html:lang(zh) body.ed-site .ed-black-band-copy h2,
html:lang(zh) body.ed-site .ed-inline-feature h2,
html:lang(zh) body.ed-site .ed-product-block h2,
html:lang(zh) body.ed-site .ed-title.ed-artifact {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: .015em;
}
html:lang(zh) body.ed-site .ed-display { line-height: 1.18; }
html:lang(zh) body.ed-site .ed-serif,
html:lang(zh) body.ed-site .ed-copy-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: .01em;
}
html:lang(zh) body.ed-site .ed-copy { line-height: 1.85; }
html:lang(zh) body.ed-site .ed-kicker { letter-spacing: .06em; }
html:lang(zh) body.ed-site .ed-stats-strip b { font-family: var(--font-serif); }
html:lang(zh) body.ed-site .ed-ledger-row > strong { font-family: var(--font-serif); }
html:lang(zh) body.ed-site .ed-essay-row .ed-essay-title { font-family: var(--font-serif); }
/* ── Z18. Responsive ──────────────────────────────────────────────────── */
@media (min-width: 1460px) {
  body.ed-site .ed-shell { width: min(1320px, calc(100% - 128px)); }
}
@media (max-width: 1180px) {
  body.ed-site .ed-product-block { grid-template-columns: minmax(150px, 180px) minmax(0, 1fr) minmax(220px, .8fr); gap: clamp(20px, 3vw, 40px); }
}
@media (max-width: 1080px) {
  body.ed-site .ed-shell { width: calc(100% - 48px); }
  body.ed-site .ed-home-hero .ed-hero-grid,
  body.ed-site .ed-page-hero-grid,
  body.ed-site .ed-reference-hero-grid { grid-template-columns: 1fr; row-gap: 20px; align-items: start; }
  body.ed-site .ed-home-hero .ed-hero-lead { grid-column: 1; grid-row: auto; }
  body.ed-site .ed-home-hero .ed-hero-sub { grid-column: 1; grid-row: auto; max-width: 36ch; }
  body.ed-site .ed-home-hero .ed-hero-actions { grid-column: 1; grid-row: auto; margin-top: 4px; }
  body.ed-site .ed-page-hero-grid .ed-copy-serif { grid-column: 1; max-width: 36ch; }
  body.ed-site .ed-product-block { grid-template-columns: minmax(130px, 160px) minmax(0, 1fr); row-gap: 14px; }
  body.ed-site .ed-product-block > p { grid-column: 2; }
  body.ed-site .ed-subject-grid,
  body.ed-site .ed-home-statement { grid-template-columns: 1fr; gap: 28px; }
  body.ed-site .ed-black-band-inner { grid-template-columns: 1fr; }
  body.ed-site .ed-black-band-media { min-height: 300px; }
  body.ed-site .ed-black-band-media img { aspect-ratio: 16 / 9; }
  body.ed-site .ed-inline-feature { grid-template-columns: 1fr; }
  body.ed-site .ed-inline-feature > img { aspect-ratio: 16 / 10; max-height: 460px; }
  body.ed-site .ed-ledger-row > span:last-child { text-align: left; }
  body.ed-site .ed-home-stage img { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  body.ed-site .ed-header-inner { min-height: 58px; }
  body.ed-site .ed-section { padding: 56px 0; }
  body.ed-site .ed-section-tight { padding: 44px 0; }
  body.ed-site .ed-section-line + .ed-section-line { padding-top: 56px; }
  body.ed-site .ed-black-band-copy { padding: 28px 24px; }
  body.ed-site .ed-black-band-copy h2 { font-size: clamp(var(--fs-24), 6.6vw, var(--fs-32)); }
  body.ed-site .ed-inline-feature { padding: 24px 22px; }
  body.ed-site .ed-inline-feature h2 { font-size: clamp(var(--fs-24), 6.2vw, var(--fs-32)); }
  body.ed-site .ed-stats-strip { grid-template-columns: 1fr 1fr; }
  body.ed-site .ed-stats-strip > div:nth-child(2n) { border-right: 0; }
  body.ed-site .ed-stats-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--an-line); }
  body.ed-site .ed-path-timeline { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  body.ed-site .ed-path-timeline::before { display: none; }
  body.ed-site .ed-footer-top { grid-template-columns: 1fr 1fr; gap: 30px 24px; padding-bottom: 8px; }
  body.ed-site .ed-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body.ed-site .ed-shell { width: calc(100% - 40px); }
  body.ed-site .ed-header .ed-shell { width: calc(100% - 40px); }
  body.ed-site .ed-home-hero { padding: 48px 0 40px; }
  body.ed-site .ed-home-hero .ed-hero-flag { margin-bottom: 18px; }
  body.ed-site .ed-display { font-size: clamp(var(--fs-40), 10.4vw, var(--fs-48)); line-height: 1.05; }
  body.ed-site .ed-page-title { font-size: clamp(var(--fs-32), 9.6vw, var(--fs-40)); }
  body.ed-site .ed-title { font-size: clamp(var(--fs-24), 7.2vw, var(--fs-32)); }
  body.ed-site .ed-statement-title { font-size: var(--fs-32); }
  body.ed-site .ed-copy { font-size: var(--fs-16); line-height: 1.7; }
  body.ed-site .ed-copy-serif { font-size: var(--fs-18); line-height: 1.55; }
  body.ed-site .ed-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  body.ed-site .ed-hero-actions .ed-button { justify-content: center; }
  body.ed-site .ed-home-stage { margin-top: 40px; border-radius: 16px; --ed-stage-inset: 30px; }
  body.ed-site .ed-home-stage img { aspect-ratio: 4 / 3.4; }
  body.ed-site .ed-home-stage .ed-stage-caption { color: rgba(255, 255, 255, .82); bottom: clamp(30px, 6vw, 40px); font-size: var(--fs-12); left: clamp(18px, 5vw, 30px); }
  body.ed-site .ed-home-stage::after { background: linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, .32) 100%), radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .07), transparent 58%); }
  body.ed-site .ed-page-hero { padding: 52px 0 36px; }
  body.ed-site .ed-section { padding: 52px 0; }
  body.ed-site .ed-section-tight { padding: 40px 0; }
  body.ed-site .ed-product-block { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  body.ed-site .ed-product-block > p { grid-column: 1; }
  body.ed-site .ed-product-block h2 { max-width: none; }
  body.ed-site .ed-stats-strip { grid-template-columns: 1fr; }
  body.ed-site .ed-stats-strip > div { border-right: 0; border-bottom: 1px solid var(--an-line); padding: 16px 18px; }
  body.ed-site .ed-stats-strip > div:last-child { border-bottom: 0; }
  body.ed-site .ed-path-timeline { grid-template-columns: 1fr; }
  body.ed-site .ed-essay-row { grid-template-columns: 1fr; gap: 5px; padding: 18px 2px; }
  body.ed-site .ed-essay-row .ed-essay-tag { justify-self: start; }
  body.ed-site .ed-ledger-row { grid-template-columns: 34px minmax(0, 1fr); row-gap: 3px; }
  body.ed-site .ed-ledger-row > span:last-child { grid-column: 2; }
  body.ed-site .ed-black-band,
  body.ed-site .ed-inline-feature,
  body.ed-site .ed-footer-frame { border-radius: 16px; }
  body.ed-site .ed-black-band-media { min-height: 220px; }
  body.ed-site .ed-footer-frame { padding: 32px 22px 26px; }
  body.ed-site .ed-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  html:lang(zh) body.ed-site .ed-display { line-height: 1.24; }
}
@media (max-width: 380px) {
  body.ed-site .ed-shell,
  body.ed-site .ed-header .ed-shell { width: calc(100% - 32px); }
  body.ed-site .ed-hero-actions { grid-template-columns: 1fr; }
}
/* ── Z22. Mobile polish (homepage focus) ─────────────────────────────────
   The earlier Z18 block handled broad column stacks; this block fixes
   the specific regressions that show up at iPhone widths: the hamburger
   toggle never gets a grid slot, the hero "research stage" stays dark
   with white overlay text, and a handful of pill decorations crowd the
   viewport. Stack at the end so it always wins over earlier body.ed-site
   rules. */
@media (max-width: 760px) {
  /* Header: switch to flex so the hamburger is guaranteed a slot,
     hide the inline nav (it lives inside the dropdown), hide the
     language globe (the footer carries the same switcher), keep the
     primary CTA visible. */
  body.ed-site .ed-header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
  }
  body.ed-site .ed-nav-links { display: none; }
  body.ed-site .ed-header-actions {
    margin-left: auto;
    gap: 8px;
  }
  body.ed-site .ed-header-actions .ed-lang { display: none; }
  body.ed-site .ed-header-actions .ed-button {
    min-height: 36px;
    padding: 8px 14px;
    font-size: var(--fs-13);
  }
  body.ed-site .ed-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    color: var(--an-ink);
    background: transparent;
    border: 1px solid var(--an-line);
    border-radius: 999px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .15s ease, border-color .15s ease;
  }
  body.ed-site .ed-menu-toggle:hover { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .25); }
  body.ed-site .ed-menu-icon { width: 18px; height: 12px; }
  body.ed-site .ed-menu-icon span { background: currentColor; height: 1.5px; }
  /* Reveal the nav as a dropdown sheet when the hamburger is open. */
  body.ed-site .ed-header-inner.is-open .ed-nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 6px);
    left: 12px;
    right: 12px;
    z-index: 25;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    background: var(--an-paper);
    border: 1px solid var(--an-line);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(20, 20, 19, .1);
    min-height: 0;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
  }
  body.ed-site .ed-header-inner.is-open .ed-nav-links a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: var(--fs-15);
    font-weight: 500;
  }
  body.ed-site .ed-header-inner.is-open .ed-nav-links a:hover,
  body.ed-site .ed-header-inner.is-open .ed-nav-links a[aria-current="page"] {
    background: rgba(255, 255, 255, .04);
    color: var(--an-ink);
  }

  /* Hero stage: drop the dark band, drop the gradient overlays, hide
     the floating stage-index pills, and let the network-copy inherit
     ink colour so it reads on the warm paper background. */
  body.ed-site .ed-home-stage {
    background: transparent;
    box-shadow: none;
    border-radius: 16px;
    overflow: visible;
  }
  body.ed-site .ed-home-stage::before,
  body.ed-site .ed-home-stage::after { display: none; }
  body.ed-site .ed-home-stage img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(25, 25, 25, .08);
  }
  body.ed-site .ed-stage-index { display: none; }
  body.ed-site .ed-stage-caption {
    position: static;
    display: block;
    margin-top: 12px;
    color: var(--an-ink-muted);
    font-size: var(--fs-11);
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  body.ed-site .ed-network-copy {
    position: static;
    display: block;
    padding: 22px 0 4px;
    color: var(--an-ink);
    text-align: left;
    pointer-events: auto;
  }
  body.ed-site .ed-home-stage .ed-network-copy h2 {
    color: var(--an-ink);
    font-family: var(--an-serif);
    font-size: clamp(var(--fs-24), 7vw, var(--fs-32));
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -.02em;
  }
  body.ed-site .ed-home-stage .ed-network-copy p {
    max-width: none;
    margin-top: 10px;
    color: var(--an-ink-soft);
    font-family: var(--an-serif);
    font-size: var(--fs-16);
    line-height: 1.55;
  }

  /* Hero: pill flag shouldn't show its 20px clay dash on narrow
     screens (it sits flush against the headline and reads as a
     typo). Drop it; keep the label. */
  body.ed-site .ed-home-hero .ed-hero-flag::before { display: none; }
  body.ed-site .ed-home-hero .ed-hero-flag { padding-left: 0; }

  /* Marquee band: tighter padding on narrow phones so the row of
     logos hugs the viewport edge instead of floating in a wide slab. */
  body.ed-site .ed-home-hero + .ed-marquee {
    margin-top: clamp(28px, 7vw, 48px);
    padding: clamp(18px, 5vw, 28px) 0;
  }
  body.ed-site .ed-marquee-title {
    padding: 0 clamp(16px, 5vw, 24px);
    margin-bottom: 14px;
  }
}
@media (max-width: 760px) {
  /* Chat demo: keep the head label and bubbles comfortable without
     letting the longest tutor line stretch the card beyond the
     viewport. */
  body.ed-site .ed-chat-demo { padding: 16px; border-radius: 14px; }
  body.ed-site .ed-chat-bubble { max-width: 92%; font-size: var(--fs-15); line-height: 1.55; }
  body.ed-site .ed-chat-head { font-size: var(--fs-11); letter-spacing: .06em; }

  /* Stats strip: tighten inner padding so each card stays a tidy
     rectangle rather than a long ribbon. */
  body.ed-site .ed-stats-strip > div { padding: 14px 16px; }
  body.ed-site .ed-stats-strip p { font-size: var(--fs-11); line-height: 1.45; }
  body.ed-site .ed-stats-strip b { font-size: var(--fs-32); }

  /* Footer: stack the meta row and tidy up column spacing. */
  body.ed-site .ed-footer-frame { padding: 28px 20px 24px; border-radius: 14px; }
  body.ed-site .ed-footer-top { gap: 26px 18px; }
  body.ed-site .ed-footer-column h2 { font-size: var(--fs-11); }
  body.ed-site .ed-footer-column a { font-size: var(--fs-14); }
  body.ed-site .ed-footer-bottom { font-size: var(--fs-10); gap: 6px; }

  /* Hero copy column: keep the sub-line from running edge to edge
     on phones by giving it a comfortable max-width. */
  body.ed-site .ed-home-hero .ed-hero-sub { max-width: none; }
}
/* ── Z19. Motion safety ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body.ed-site .ed-home-stage,
  body.ed-site .ed-button,
  body.ed-site .ed-button-quiet { transition: none !important; }
}
body.ed-site .ed-home-hero .ed-hero-lead .ed-display {
  font-family: var(--an-serif);
  font-weight: 500;
  letter-spacing: -.024em;
  line-height: 1.02;
}
html:lang(zh) body.ed-site .ed-home-hero .ed-hero-lead .ed-display {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .015em;
}
body.ed-site .ed-home-hero .ed-hero-grid {
  grid-template-rows: minmax(0, 1fr) auto;
}
body.ed-site .ed-home-hero::before,
body.ed-site .ed-home-hero::after { content: none; display: none; }
body.ed-site .ed-home-hero .ed-hero-sub {
  font-size: clamp(var(--fs-18), 1.45vw, var(--fs-22));
  line-height: 1.55;
}
/* ── Z21. Pricing cards ─────────────────────────────────────────────────
   The featured plan is the single dark panel on the shelf (an earlier
   layer flattened every card background, which left its paper text
   invisible). Restore the ink panel and give the row an even rhythm. */
body.ed-site .ed-price-card {
  border: 1px solid var(--an-line);
  border-radius: 16px;
  background: var(--an-paper-soft);
  box-shadow: none;
}
body.ed-site .ed-price-card.is-featured {
  color: var(--site-color-ink);
  border-color: var(--site-color-line);
  background: var(--site-color-surface);
  box-shadow: none;
}
body.ed-site .ed-price-card.is-featured p,
body.ed-site .ed-price-card.is-featured ul { color: rgba(245, 243, 236, .7); }
body.ed-site .ed-price-card.is-featured h2 { color: var(--site-color-ink); }
body.ed-site .ed-price-card.is-featured .ed-price { color: var(--site-color-ink); }
body.ed-site .ed-price-card.is-featured .ed-kicker { color: rgba(245, 243, 236, .52); }
body.ed-site .ed-price-card.is-featured .ed-kicker::before { background: var(--an-clay-bright); }
body.ed-site .ed-price-card h2 {
  font-family: var(--an-serif);
  font-size: var(--fs-32);
  font-weight: 500;
  letter-spacing: -.018em;
}
body.ed-site .ed-price-card .ed-price { font-family: var(--an-serif); letter-spacing: -.02em; }
body.ed-site .ed-price-card ul { gap: 9px; font-size: var(--fs-14); line-height: 1.55; }
body.ed-site .ed-pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) {
  body.ed-site .ed-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body.ed-site .ed-pricing-grid { grid-template-columns: 1fr; }
  body.ed-site .ed-price-card { min-height: 0; }
}
body.ed-site main blockquote,
body.ed-site .ed-article blockquote {
  border-left: 0;
  padding-left: 0;
  padding-right: 0;
}
body.ed-site .ed-article > p.lede,
body.ed-site .ed-article-summary {
  border-left: 0;
  border-radius: 14px;
  padding: 22px 26px;
}
body.ed-site .ed-coming-next {
  border-left: 1px solid var(--an-line);
  border-radius: 14px;
}
body.ed-site .ed-article-toc { display: none !important; }
body.ed-site code,
body.ed-site pre,
body.ed-site kbd,
body.ed-site samp {
  font-family: var(--font-mono);
  font-feature-settings: "kern" 0;
  letter-spacing: 0;
}
body.ed-site :not(pre) > code {
  padding: 2px 6px;
  border: 1px solid var(--an-line);
  border-radius: 6px;
  background: var(--an-paper-soft);
  font-size: .88em;
  color: var(--an-ink);
}
body.ed-site pre {
  padding: 18px 20px;
  border: 1px solid var(--site-color-line);
  border-radius: 12px;
  background: var(--site-color-surface);
  overflow-x: auto;
  line-height: 1.6;
  font-size: var(--fs-14);
}
body.ed-site pre code { border: 0; background: none; padding: 0; font-size: inherit; }
/* ── Z23. Newsroom split ────────────────────────────────────────────────
   The feed is the primary column; the sticky artwork supports it from
   the left. Mirrors the editorial hierarchy of the reference site. */
body.ed-site .ed-news-split {
  grid-template-columns: minmax(300px, .68fr) minmax(0, 1.32fr);
  column-gap: clamp(40px, 6vw, 96px);
}
body.ed-site .ed-news-split figure { height: clamp(340px, 34vw, 520px); }
@media (max-width: 1080px) {
  body.ed-site .ed-news-split { grid-template-columns: 1fr; }
  body.ed-site .ed-news-split figure { position: static; height: auto; min-height: 260px; }
}
/* ── Z24. Mobile login button: never wrap ─────────────────────────────── */
/* ==========================================================================
   RR. Research report template — Anthropic-style long-form articles.
   Centered hero, full-width media card, rich figures, takeaways, tables,
   author cards, related-content grid. Additive: wins the cascade.
   ========================================================================== */
/* ── RR1. Centered report hero ─────────────────────────────────────────── */
body.ed-site .ed-report-hero {
  padding: clamp(64px, 8.5vw, 116px) 0 0;
  text-align: center;
}
body.ed-site .ed-report-hero .ed-kicker { justify-content: center; }
body.ed-site .ed-report-title {
  max-width: 24ch;
  margin: 20px auto 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(var(--fs-40), 4.8vw, var(--fs-48));
  line-height: 1.07;
  letter-spacing: -.016em;
  text-wrap: balance;
}
body.ed-site .ed-report-standfirst {
  max-width: 54ch;
  margin: 24px auto 0;
  font-family: var(--font-serif);
  font-size: clamp(var(--fs-18), 1.5vw, var(--fs-22));
  line-height: 1.52;
  letter-spacing: -.008em;
  color: var(--site-ink-soft);
}
body.ed-site .ed-report-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 22px;
  margin: 26px 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
}
body.ed-site .ed-report-byline strong { color: var(--site-ink); font-weight: 600; }
body.ed-site .ed-report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
body.ed-site .ed-button-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 12px;
  background: var(--site-color-btn-primary, #ececec);
  border: 1px solid var(--site-color-btn-primary, #ececec);
  color: var(--site-color-btn-primary-ink, #000000);
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s var(--sv-ease);
}
body.ed-site .ed-button-dark:hover { background: var(--site-color-btn-primary-hover, #ffffff); border-color: var(--site-color-btn-primary-hover, #ffffff); color: var(--site-color-btn-primary-ink, #000000); transform: translateY(-1px); }
body.ed-site .ed-button-dark svg { width: 15px; height: 15px; }
/* ── RR2. Full-width hero media card ───────────────────────────────────── */
body.ed-site .ed-report-hero-media { margin: clamp(44px, 6vw, 76px) auto 0; }
body.ed-site .ed-report-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: var(--report-tint, #000000);
  aspect-ratio: 16 / 8;
  display: grid;
  place-items: center;
  padding: 0;
}
body.ed-site .ed-report-hero-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.ed-site .ed-report-hero-card.is-illustration > svg,
body.ed-site .ed-report-hero-card.is-illustration > img {
  width: auto;
  height: 74%;
  max-width: 72%;
  object-fit: contain;
}
body.ed-site .ed-report-hero-caption {
  margin: 14px auto 0;
  max-width: 72ch;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
}
/* ── RR3. Inline links inside article body ─────────────────────────────── */
body.ed-site .ed-article p a,
body.ed-site .ed-article li a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
body.ed-site .ed-article p a:hover,
body.ed-site .ed-article li a:hover {
  color: var(--sv-clay, #000000);
  text-decoration-color: currentColor;
}
/* ── RR4. Key takeaways box ────────────────────────────────────────────── */
body.ed-site .ed-key-takeaways {
  margin: 2.8em 0;
  padding: 28px 32px;
  border: 1px solid var(--site-line);
  border-radius: 16px;
  background: var(--site-paper-soft);
}
body.ed-site .ed-key-takeaways h2 {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
}
body.ed-site .ed-key-takeaways ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.ed-site .ed-key-takeaways li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 22px;
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: 1.6;
  letter-spacing: -.005em;
  color: var(--site-ink-soft);
}
body.ed-site .ed-key-takeaways li:last-child { margin-bottom: 0; }
body.ed-site .ed-key-takeaways li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sv-clay, #000000);
}
body.ed-site .ed-key-takeaways li strong { color: var(--site-ink); font-weight: 600; }
/* ── RR5. Pull quote ───────────────────────────────────────────────────── */
body.ed-site .ed-pull-quote {
  margin: 3em auto;
  max-width: 30ch;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(var(--fs-24), 2.4vw, var(--fs-32));
  line-height: 1.32;
  letter-spacing: -.016em;
  color: var(--site-ink);
}
body.ed-site .ed-pull-quote::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin: 0 auto 24px;
  background: var(--sv-clay, #000000);
}
body.ed-site .ed-pull-quote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: var(--fs-11);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
}
/* ── RR6. Data table ───────────────────────────────────────────────────── */
body.ed-site .ed-table-wrap {
  margin: 2.4em 0;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  background: var(--site-paper-soft);
  overflow-x: auto;
}
body.ed-site table.ed-data-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: var(--fs-15);
}
body.ed-site .ed-data-table th {
  padding: 13px 20px;
  text-align: left;
  border-bottom: 1px solid var(--site-line);
  background: var(--site-paper);
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
  white-space: nowrap;
}
body.ed-site .ed-data-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--site-line);
  color: var(--site-ink-soft);
  line-height: 1.5;
}
body.ed-site .ed-data-table tr:last-child td { border-bottom: 0; }
body.ed-site .ed-data-table td.num {
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-weight: 600;
  color: var(--site-ink);
  white-space: nowrap;
}
body.ed-site .ed-data-table td.hl { color: var(--sv-clay, #000000); font-weight: 600; }
/* ── RR7. Chart frame (line charts, distributions) ─────────────────────── */
body.ed-site .ed-chart-frame {
  margin: 2.6em 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--site-line);
  border-radius: 18px;
  background: var(--site-paper-soft);
}
body.ed-site .ed-chart-title {
  margin: 0 0 18px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--site-ink);
}
body.ed-site .ed-chart-frame svg { display: block; width: 100%; height: auto; }
body.ed-site .ed-chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: var(--fs-13);
  color: var(--site-ink-soft);
}
body.ed-site .ed-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.ed-site .ed-chart-legend i {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 3px solid var(--sw, var(--site-ink));
  border-radius: 2px;
}
body.ed-site .ed-chart-legend i.is-dotted { border-top-style: dotted; }
body.ed-site .ed-chart-legend i.is-dashed { border-top-style: dashed; }
body.ed-site .ed-chart-axis {
  stroke: rgba(255, 255, 255, .18);
  stroke-width: 1;
}
body.ed-site .ed-chart-grid {
  stroke: rgba(255, 255, 255, .07);
  stroke-width: 1;
}
body.ed-site .ed-chart-tick text {
  fill: var(--site-ink-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-10);
  letter-spacing: .04em;
}
body.ed-site .ed-chart-label text {
  fill: var(--site-ink-soft);
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.ed-site .ed-chart-anno {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  fill: var(--site-ink-muted);
}
/* ── RR8. Figure with number ───────────────────────────────────────────── */
body.ed-site .ed-figure { margin: 2.6em 0; }
body.ed-site .ed-figure .ed-figure-caption { margin-top: 14px; }
body.ed-site .ed-figure .ed-fig-no {
  color: var(--sv-clay, #000000);
  font-weight: 600;
}
/* ── RR9. Author cards ─────────────────────────────────────────────────── */
body.ed-site .ed-author-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 2.6em 0;
}
body.ed-site .ed-author-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  background: var(--site-paper-soft);
}
body.ed-site .ed-author-card .ed-author-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--site-color-surface-strong);
  color: var(--site-color-ink);
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .04em;
}
body.ed-site .ed-author-card .ed-author-meta {
  display: grid;
  gap: 2px;
  font-family: var(--font-sans);
}
body.ed-site .ed-author-card .ed-author-meta strong {
  font-size: var(--fs-15);
  font-weight: 600;
  color: var(--site-ink);
}
body.ed-site .ed-author-card .ed-author-meta span {
  font-size: var(--fs-13);
  color: var(--site-ink-muted);
}
/* ── RR10. Related content grid ────────────────────────────────────────── */
body.ed-site .ed-related-section {
  margin: 3.4em 0 0;
  padding-top: 2.2em;
  border-top: 1px solid var(--site-line);
}
body.ed-site .ed-related-section > h2 {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(var(--fs-24), 2.4vw, var(--fs-32));
  font-weight: 500;
  letter-spacing: -.016em;
}
body.ed-site .ed-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 44px);
}
body.ed-site .ed-related-card {
  display: grid;
  align-content: start;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
body.ed-site .ed-related-card .ed-row-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-10);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
}
body.ed-site .ed-related-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-22);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.012em;
  color: var(--site-ink);
}
body.ed-site .ed-related-card p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-15);
  line-height: 1.6;
  color: var(--site-ink-muted);
}
body.ed-site .ed-related-card .ed-link {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--site-ink);
}
body.ed-site .ed-related-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* ── RR11. Report end matter ───────────────────────────────────────────── */
body.ed-site .ed-report-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 3.2em 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--site-line);
}
body.ed-site .ed-report-end .ed-endmark {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--site-ink-muted);
}
@media (max-width: 1080px) {
  body.ed-site .ed-related-grid { grid-template-columns: 1fr; gap: 26px; }
  body.ed-site .ed-report-hero-card { border-radius: 18px; aspect-ratio: 4 / 3; }
  body.ed-site .ed-key-takeaways { padding: 22px 20px; }
}
body.ed-site .ed-article-hero {
  padding: clamp(64px, 8vw, 104px) 0 clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--ed-line);
}
body.ed-site .ed-article-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
body.ed-site .ed-article-hero-media { display: none; }
body.ed-site .ed-article-hero .ed-page-title {
  font-family: var(--ed-sans);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  font-size: clamp(var(--fs-32), 5vw, var(--fs-48));
  color: var(--ed-ink);
}
body.ed-site .ed-article-hero .ed-copy-serif {
  font-family: var(--ed-sans);
  font-weight: 400;
  color: var(--ed-ink-soft);
  max-width: 56ch;
}
body.ed-site .ed-article-byline {
  font-family: var(--ed-sans);
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--fs-13);
  color: var(--ed-ink-muted);
  margin-top: 18px;
}
body.ed-site .ed-article-byline strong { font-weight: 600; color: var(--ed-ink); }
/* body copy: clean sans, neutral */
body.ed-site .ed-article { width: min(720px, calc(100% - 40px)); padding-bottom: clamp(56px, 8vw, 112px); }
body.ed-site .ed-article p {
  font-family: var(--ed-sans);
  color: var(--ed-ink);
  font-size: clamp(var(--fs-17), .4vw + var(--fs-16), var(--fs-18));
  line-height: 1.74;
  letter-spacing: 0;
  margin: 0 0 1.55em;
}
body.ed-site .ed-article ul,
body.ed-site .ed-article ol { font-family: var(--ed-sans); font-size: var(--fs-17); line-height: 1.7; color: var(--ed-ink); }
body.ed-site .ed-article li { margin-bottom: .5em; }
/* lede: plain intro, drop the clay box */
body.ed-site .ed-article p.lede {
  border: 0; border-radius: 0; background: none; padding: 0;
  font-family: var(--ed-sans) !important;
  font-size: clamp(var(--fs-18), .6vw + var(--fs-17), var(--fs-22));
  line-height: 1.5; color: var(--ed-ink);
  margin: 0 0 2.4em;
}
/* headings: simpler, neutral */
body.ed-site .ed-article h2 {
  font-family: var(--ed-sans); font-weight: 650; letter-spacing: -.02em;
  font-size: clamp(var(--fs-22), 1.6vw, var(--fs-32)); margin: 2.6em 0 .9em; color: var(--ed-ink);
}
body.ed-site .ed-article h3 {
  font-family: var(--ed-sans); font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(var(--fs-18), 1.2vw, var(--fs-22)); margin: 2.2em 0 .8em; color: var(--ed-ink);
}
body.ed-site .ed-article blockquote {
  border-left: 2px solid var(--ed-ink); border-radius: 0;
  font-family: var(--ed-sans); font-style: normal;
  font-size: var(--fs-18); line-height: 1.55; color: var(--ed-ink);
  padding: 4px 0 4px 20px; margin: 1.9em 0;
}
/* method note: flatten */
body.ed-site .ed-article p.ed-method-note {
  border: 0; border-top: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line);
  border-left: 0; border-radius: 0; background: none;
  padding: 16px 0; font-family: var(--ed-sans); font-size: var(--fs-13); line-height: 1.7;
}
body.ed-site .ed-article p.ed-method-note .ed-method-label { font-family: var(--ed-sans); }
/* key takeaways: structured monograph brief */
body.ed-site .ed-key-takeaways {
  border: 1px solid var(--site-color-line);
  border-left: 2px solid var(--site-color-ink);
  background: var(--site-color-surface);
  padding: 24px 28px;
  margin: 0 0 2.6em;
  border-radius: 0 8px 8px 0;
}
body.ed-site .ed-key-takeaways h2 {
  font-family: var(--ed-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: var(--fs-12);
  color: var(--ed-ink);
  margin: 0 0 1em;
}
body.ed-site .ed-key-takeaways ul {
  padding-left: 18px;
  margin: 0;
}
body.ed-site .ed-key-takeaways li {
  font-family: var(--ed-sans);
  font-size: var(--fs-15);
  line-height: 1.65;
  color: var(--site-color-copy);
}
body.ed-site .ed-key-takeaways li + li {
  margin-top: 8px;
}
body.ed-site .ed-report-byline {
  font-variant-numeric: tabular-nums;
}
body.ed-site .ed-chart-tick text,
body.ed-site .ed-chart-anno text {
  font-variant-numeric: tabular-nums;
}
/* neutralise warm clay accents -> ink (monochrome, OpenAI-like) */
body.ed-site .ed-bar-fill { fill: var(--ed-ink) !important; }
body.ed-site .ed-result-track i { background: var(--ed-ink) !important; }
body.ed-site .ed-figure-caption,
body.ed-site .ed-fig-no { color: var(--ed-ink-muted); font-family: var(--ed-sans); }
/* timeline + data table: lighten */
body.ed-site .ed-timeline { background: none; border: 0; padding: 0; }
body.ed-site .ed-timeline-row { border-top: 1px solid var(--ed-line); padding: 16px 0; }
body.ed-site table.ed-data-table { border: 0; }
body.ed-site table.ed-data-table th,
body.ed-site table.ed-data-table td { border-bottom: 1px solid var(--ed-line); }
body.ed-site .ed-article-foot a { border-radius: 10px; }
/* ═══ END RESEARCH simplification ═══ */
/* ensure research headings read in ink (override later brand rule) */
body.ed-site .ed-article h2,
body.ed-site .ed-article h3 { color: var(--ed-ink) !important; }
/* ── Research cleanup pass 2 ──
   Remove the "方法说明" (Method note) box and its divider,
   and drop the 01-04 step numbers on the methodology timeline. */
body.ed-site .ed-article p.ed-method-note { display: none; }
body.ed-site .ed-article hr:has(+ p.ed-method-note) { display: none; }
body.ed-site .ed-timeline-step { display: none !important; }
body.ed-site .ed-timeline-row { grid-template-columns: 1fr; }
/* ── END Research cleanup pass 2 ── */
/* ── Z24. Primary nav density ───────────────────────────────────────────
   The primary nav now carries all seven destinations in one order
   (Product, Research, Principles, Learn, Developers, Pricing, Company)
   on every page, including this editorial/app shell. Between ~980px and
   1200px the full-size nav no longer fits beside the brand and the
   actions, so tighten the type and the gap before the mobile breakpoint
   takes over. Above 1200px the generous spacing is restored. */
@media (max-width: 1180px) {
  body.ed-site .ed-header-inner {
    grid-template-columns: minmax(118px, 1fr) auto auto;
    gap: 16px;
  }

  body.ed-site .ed-nav-links { gap: 14px; }
  body.ed-site .ed-nav-links a { font-size: var(--fs-13); }

  /* The language globe stays; the word does not fit. The button keeps its
     aria-label, so the control stays labelled. */
  body.ed-site .ed-lang-label { display: none; }
  body.ed-site .ed-lang-toggle { padding-inline: 6px; }
}
/* ── Z25. Narrow-viewport fit ───────────────────────────────────────────
   The result rows used fixed minimum column widths (120px + 140px), which
   together are wider than the content box on a 360px phone. The page then
   scrolled sideways. Let the tracks shrink instead. */
@media (max-width: 760px) {
  body.ed-site .ed-result-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 52px;
    gap: 10px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   Merged from content.css
   ══════════════════════════════════════════════════════════════════ */

/* Shared reading-page primitives. Header/footer remain owned by chrome.css. */
.content-page {
  --content-ink: var(--site-color-ink, #ffffff);
  --content-muted: var(--site-color-muted, #8e8e8e);
  --content-line: var(--site-color-line, rgba(255, 255, 255, 0.1));
  margin: 0;
  background: var(--site-color-paper, #000000);
  color: var(--content-ink);
  font-family: 'Geist Sans', 'Noto Sans SC', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.content-page *, .content-page *::before, .content-page *::after { box-sizing: border-box; }
.content-page :where(h1, h2, h3, p, figure, blockquote) { margin: 0; }
.content-page main a { color: inherit; text-decoration: none; }
.content-page main :focus-visible { outline: 2px solid var(--content-ink); outline-offset: 5px; }
.content-shell { width: min(100% - 64px, 1280px); margin-inline: auto; }
.content-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; padding-block: 64px 48px; }
.content-eyebrow { color: var(--content-muted); font-size: var(--fs-13); line-height: 1.6; }
.content-title { margin-top: 16px; font-size: clamp(var(--fs-40), 4.8vw, var(--fs-48)); font-weight: 500; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
:lang(zh) .content-title { letter-spacing: -.035em; }
.content-intro { max-width: 620px; color: var(--content-muted); font-size: var(--fs-18); line-height: 1.7; text-wrap: pretty; }
.content-hero-copy > .content-link { margin-top: 14px; }
.content-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--fs-14); line-height: 1.6; }
.content-page .content-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.content-page .content-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 12px 22px; background: var(--content-ink); color: #000; border-radius: 28px; font-size: var(--fs-14); font-weight: 500; line-height: 1.5; }
.content-page .content-button:hover { background: var(--site-color-ink-hover, #e5e5e5); color: #000; }
.content-section { padding-block: 64px; border-top: 1px solid var(--content-line); scroll-margin-top: 88px; }
.content-heading { font-size: clamp(var(--fs-32), 3vw, var(--fs-40)); font-weight: 500; line-height: 1.2; letter-spacing: -.04em; text-wrap: balance; }
.content-prose { max-width: 700px; font-size: var(--fs-16); line-height: 1.8; color: var(--content-muted); }
.content-prose p + p { margin-top: 20px; }
.content-caption { margin-top: 14px; color: var(--content-muted); font-size: var(--fs-12); line-height: 1.7; }
.content-skip { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 12px 18px; color: #fff; background: #141414; border-radius: 8px; transform: translateY(-160%); }
.content-skip:focus { transform: translateY(0); }
@media (max-width: 1024px) {
  .content-hero { gap: 40px; }
}
@media (max-width: 760px) {
  .content-shell { width: calc(100% - 48px); }
  .content-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 40px 32px; }
  .content-title { font-size: clamp(var(--fs-40), 7vw, var(--fs-48)); line-height: 1.14; }
  .content-intro { font-size: var(--fs-16); }
  .content-section { padding-block: 44px; }
  .content-heading { font-size: var(--fs-32); }
}
@media (max-width: 380px) {
  .content-shell { width: calc(100% - 40px); }
}
