/* Public marketing foundations. Page files own composition; chrome.css owns navigation.
   This sheet bridges older article templates into the same public-site system.

   Visual language: OpenAI clean dark aesthetic. A black ground, a tight
   neutral elevation ladder (subtle panel → surface → raised → strong), crisp
   white headings, a neutral gray ramp for copy, hairline borders,
   no distracting colored accents, geometric sans at medium 500 weight with
   tight tracking, fully rounded pill controls and soft 16-24px card radii. */
:root {
  /* Colour: one neutral ladder on a black canvas. Every step is a real step:
     a panel only ever sits on the surface below it, so a card reads as an
     object instead of a muddy rectangle.
     Contrast on black: ink 21:1 (#ffffff), copy 14.5:1 (#d6d6d6),
     muted 7.8:1 (#9a9a9a), quiet 5.7:1 (#7c7c7c). */
  --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);
  /* A line that only hints at an edge; used inside cards and on dividers. */
  --site-color-line-faint: rgba(255, 255, 255, 0.055);
  /* Neutral monochromatic accent */
  --site-color-accent: #ffffff;
  --site-color-ink-hover: #e5e5e5;
  --site-color-fill: rgba(255, 255, 255, 0.07);
  --site-color-fill-hover: rgba(255, 255, 255, 0.12);
  /* Inverse / night tokens */
  --site-color-night: #000000;
  --site-color-night-copy: #ffffff;
  --site-color-night-muted: #9a9a9a;
  --site-color-night-line: rgba(255, 255, 255, 0.09);
  /* Shadows: neutral deep ambient */
  --site-shadow-raised: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 12px 36px -12px rgba(0, 0, 0, 0.85);
  --site-shadow-ring: 0 0 0 1px rgba(255, 255, 255, 0.16);
  /* Hairline and soft dark shadows */
  --site-hairline: rgba(255, 255, 255, 0.07);
  --site-shadow-1: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 24px -12px rgba(0, 0, 0, 0.7);
  --site-shadow-2: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 2px 6px rgba(0, 0, 0, 0.5), 0 16px 40px -16px rgba(0, 0, 0, 0.8);
  --site-shadow-3: 0 0 0 1px rgba(255, 255, 255, 0.11), 0 4px 12px rgba(0, 0, 0, 0.55), 0 28px 64px -24px rgba(0, 0, 0, 0.9);
  /* One elevation recipe for every card in the system: a hairline edge, a
     one-pixel highlight along the top (the light source is above), and a
     deep ambient shadow that only registers against the black ground. */
  --site-elevation-card: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(255, 255, 255, 0.07), 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  /* Highlights */
  --site-inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --site-inner-highlight-dark: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  /* Film grain: a 160px fractal-noise tile of light particles at about 4%,
     laid over large panels only. On black the particles read as a quiet
     tooth; black grain would disappear into the ground. Static, rasterised
     once and tiled. */
  --site-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 -.32'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  --site-font: 'Geist Sans', 'Noto Sans SC', sans-serif;
  /* Display shares the sans family: one typeface, as on the reference. */
  --site-font-display: var(--site-font);
  --site-font-mono: 'Geist Mono', 'Noto Sans SC', monospace;
  /* 1440px of content plus gutters, as the reference container (90rem).
     The box is border-box, so the measure is 1440 − 2 × 32 = 1376px, the
     same content width openai.com uses for its 1440px container. */
  --site-width: 1440px;
  --site-gutter: 32px;
  --site-header-height: 64px;

  --space-25: 2px;
  --space-50: 4px;
  --space-75: 8px;
  --space-100: 12px;
  --space-150: 14px;
  --space-200: 16px;
  --space-300: 24px;
  --space-400: 32px;
  --space-500: 40px;
  --space-600: 48px;
  --space-700: 64px;
  --space-800: 80px;
  --space-900: 96px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-full: 9999px;
  --site-radius: var(--radius-xl);
  --site-space-section: var(--space-900);

  /* Size and line-height rungs. Every text style below is assembled from
     these, and every page-level sheet (home, inner, chrome) picks sizes
     from the same list, so a card title is the same size wherever it
     appears. The numbers are measured off openai.com (the / and
     /zh-Hans-CN/ home pages, 1440px viewport) rather than invented here:

       28 / 34     hero        "有什么可以帮忙的？" / "What can I help with?"
       48 / 55.68  feature     "推出 GPT-6.1 Terra", "开始使用 ChatGPT"
       22 / 27.72  section     "最新动态", "客户案例", "Recent news"
       18 / 23.76  card title  "图像 2.6 隆重登场", "Introducing Images"
       17 / 28     p1          body copy
       16 / 24     p2          body copy, controls
       14 / 20     button      pills, footer links
       13 / 19.68  nav         header links */
  --fs-48: 3rem;
  --fs-40: 2.5rem;
  --fs-32: 2rem;
  --fs-24: 1.5rem;
  --fs-28: 1.75rem;
  --fs-22: 1.375rem;
  --fs-18: 1.125rem;
  --fs-17: 1.0625rem;
  --fs-16: 1rem;
  --fs-15: .9375rem;
  --fs-14: .875rem;
  --fs-13: .8125rem;
  --fs-12: .75rem;
  --fs-11: .6875rem;
  --fs-10: .625rem;
  /* The home hero is the one display statement that stays above the
     reference ceiling: it is the page's opening line, not a section
     headline, so it keeps its own rung. */
  --fs-64: 4rem;
  --lh-48: 1.16;
  --lh-32: 1.2;
  --lh-28: 1.214;
  --lh-22: 1.26;
  --lh-18: 1.32;
  --lh-17: 1.647;
  --lh-16: 1.5;
  --lh-15: 1.6;
  --lh-14: 1.43;
  --lh-13: 1.515;
  --lh-12: 1.6;
  --lh-11: 1.5;
  --lh-10: 1.5;

  /* Named text styles: weight size/line-height family. */
  --type-hero: 600 var(--fs-28)/var(--lh-28) var(--site-font-display);
  --type-heading-1: 500 var(--fs-48)/var(--lh-48) var(--site-font-display);
  --type-heading-2: 500 var(--fs-32)/var(--lh-32) var(--site-font-display);
  --type-heading-3: 500 var(--fs-22)/var(--lh-22) var(--site-font-display);
  --type-heading-4: 500 var(--fs-18)/var(--lh-18) var(--site-font-display);
  --type-heading-5: 500 var(--fs-16)/var(--lh-16) var(--site-font-display);
  --type-heading-6: 400 var(--fs-15)/var(--lh-15) var(--site-font-display);
  --type-title-1: 500 var(--fs-18)/var(--lh-18) var(--site-font);
  --type-title-2: 500 var(--fs-16)/var(--lh-16) var(--site-font);
  --type-title-3: 500 var(--fs-15)/var(--lh-15) var(--site-font);
  --type-title-4: 500 var(--fs-14)/var(--lh-14) var(--site-font);
  --type-title-5: 400 var(--fs-13)/var(--lh-13) var(--site-font);
  --type-body-1: 400 var(--fs-17)/var(--lh-17) var(--site-font);
  --type-body-2: 400 var(--fs-16)/var(--lh-16) var(--site-font);
  --type-body-3: 400 var(--fs-16)/var(--lh-16) var(--site-font);
  --type-body-4: 400 var(--fs-14)/var(--lh-14) var(--site-font);
  --type-body-5: 400 var(--fs-14)/var(--lh-14) var(--site-font);
  /* Small body copy: 14px is the floor for anything that reads as interface
     text (diagram labels, chat bubbles, table cells). */
  --type-body-6: 400 var(--fs-14)/var(--lh-14) var(--site-font);
  /* Body 7: lead paragraphs, the reference p1 (17px / 28px). */
  --type-body-7: 400 var(--fs-17)/var(--lh-17) var(--site-font);
  --type-button-lg: 500 var(--fs-14)/var(--lh-14) var(--site-font);
  --type-button-md: 500 var(--fs-13)/var(--lh-13) var(--site-font);
  --type-button-sm: 500 var(--fs-13)/var(--lh-13) var(--site-font);
  --type-button-xsm: 500 var(--fs-12)/var(--lh-12) var(--site-font);
  --type-caption-1: 500 var(--fs-14)/var(--lh-14) var(--site-font);
  --type-caption-2: 400 var(--fs-14)/var(--lh-14) var(--site-font);
  --type-caption-3: 400 var(--fs-13)/var(--lh-13) var(--site-font);
  --type-caption-4: 500 var(--fs-13)/var(--lh-13) var(--site-font);
  --type-caption-5: 400 var(--fs-12)/var(--lh-12) var(--site-font);

  /* Motion: quiet. 150ms colour changes, 200ms small moves. */
  --site-ease: cubic-bezier(.22, 1, .36, 1);
  --site-motion-fast: 150ms;
  --site-motion-medium: 200ms;
  --site-motion-slow: 400ms;
  --site-motion-color: var(--site-motion-fast) var(--site-ease);
  --site-motion-move: var(--site-motion-medium) var(--site-ease);
  /* Entrances and layout-scale moves: about 500ms; colour and opacity 300ms. */
  --site-motion-enter: 500ms;
  --site-motion-fade: 300ms;
}
/* Text style classes, kebab-case names from the B1 table. */
.heading-1 { font: var(--type-heading-1); letter-spacing: -.03em; }
.heading-2 { font: var(--type-heading-2); letter-spacing: -.025em; }
.heading-3 { font: var(--type-heading-3); letter-spacing: -.015em; }
.heading-4 { font: var(--type-heading-4); letter-spacing: -.01em; }
.heading-5 { font: var(--type-heading-5); letter-spacing: -.01em; }
.heading-6 { font: var(--type-heading-6); letter-spacing: -.005em; }
.title-1 { font: var(--type-title-1); letter-spacing: -.015em; }
.title-2 { font: var(--type-title-2); letter-spacing: -.01em; }
.title-3 { font: var(--type-title-3); }
.title-4 { font: var(--type-title-4); }
.title-5 { font: var(--type-title-5); }
.body-1 { font: var(--type-body-1); }
.body-2 { font: var(--type-body-2); }
.body-3 { font: var(--type-body-3); }
.body-4 { font: var(--type-body-4); }
.body-5 { font: var(--type-body-5); }
.body-6 { font: var(--type-body-6); }
.body-7 { font: var(--type-body-7); }
.button-lg { font: var(--type-button-lg); }
.button-md { font: var(--type-button-md); }
.button-sm { font: var(--type-button-sm); }
.button-xsm { font: var(--type-button-xsm); }
.caption-1 { font: var(--type-caption-1); }
.caption-2 { font: var(--type-caption-2); }
.caption-3 { font: var(--type-caption-3); letter-spacing: .01em; }
.caption-4 { font: var(--type-caption-4); letter-spacing: .01em; }
.caption-5 { font: var(--type-caption-5); letter-spacing: .01em; }
:is(.heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6) { text-wrap: balance; }
:is(.body-3, .body-6, .body-7) { text-wrap: pretty; }
/* Chinese has no word spaces to tighten and needs air between lines. */
:lang(zh) :is(.heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6) { letter-spacing: 0; line-height: 1.3; }
[data-site-public] {
  --font-sans: var(--site-font);
  --font-serif: var(--site-font);
  --font-display: var(--site-font);
  --site-serif-latin: var(--site-font);
  --site-serif-cjk: var(--site-font);
  --ed-serif: var(--site-font);
  --ed-sans: var(--site-font);
  /* The alias layer below closes the type gap that used to leak a second
     and a third typeface onto the Chinese pages. A custom property
     substitutes where it is *declared*, not where it is used: fonts.css
     declares `--font-serif` and `--font-sans` on :root, so an alias such as
     `--an-serif: var(--font-serif)` resolved to Newsreader on <html> and the
     re-mapping on <body> never reached it. The Chinese inner pages were
     therefore set in a serif and the Latin fallback in Inter, while the
     English pages used Geist Sans.
     One typeface for the whole site: Geist Sans with Noto Sans SC for
     Chinese, exactly as the reference does. */
  --site-sans-latin: var(--site-font);
  --site-sans-cjk: var(--site-font);
  --site-mono: var(--site-font-mono);
  --font-mono: var(--site-font-mono);
  --an-serif: var(--site-font);
  --an-sans: var(--site-font);
  --an-mono: var(--site-font-mono);
  --site-ink: var(--site-color-ink);
  --site-ink-soft: var(--site-color-copy);
  --site-ink-muted: var(--site-color-muted);
  --site-paper: var(--site-color-paper);
  --site-paper-soft: var(--site-color-surface);
  --site-paper-strong: var(--site-color-surface-strong);
  --site-sand: var(--site-color-subtle);
  --site-black: var(--site-color-night);
  --site-clay: var(--site-color-accent);
  --site-line: var(--site-color-line);
  --ed-paper: var(--site-color-paper);
  --ed-paper-strong: var(--site-color-raised);
  --ed-paper-soft: var(--site-color-surface);
  --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);
  --ed-black: var(--site-color-night);
  --ed-black-soft: #141414;
  --ed-line-dark: var(--site-color-night-line);
  --content-ink: var(--site-color-ink);
  --content-muted: var(--site-color-muted);
  --content-line: var(--site-color-line);
  --pad: var(--site-gutter);
  --shell: var(--site-width);
  --header-h: var(--site-header-height);
  --ed-header-h: var(--site-header-height);
  /* Legacy bridge. site.css shipped its own light tokens (--bg, --ink, --muted,
     --line, --dark) and half the older templates still resolve them. Pointing
     them at the live palette here — instead of restating the same values in
     every legacy component — is what keeps a "soft" band or a card dark
     instead of leaving a white panel with white type on it. */
  --bg: var(--site-color-paper);
  --bg-soft: var(--site-color-surface);
  --bg-soft-2: var(--site-color-raised);
  --ink: var(--site-color-ink);
  --ink-2: var(--site-color-copy);
  --muted: var(--site-color-muted);
  --faint: var(--site-color-quiet);
  --line: var(--site-color-line);
  --line-2: var(--site-color-line-strong);
  --dark: var(--site-color-night);
  --dark-2: var(--site-color-surface);
  /* brand.css's own layer (--sf-*) was pinned to plain white; on the dark
     site it must resolve to the palette or every ed-site page turns white
     under the dark chrome. */
  --sf-paper: var(--site-color-paper);
  --sf-paper-deep: var(--site-color-subtle);
  --sf-ink: var(--site-color-ink);
  --sf-ink-soft: var(--site-color-copy);
  --sf-line: var(--site-color-line);
  --sf-card: var(--site-color-surface);
  --sf-accent: var(--site-color-accent);
  /* The remaining legacy palettes, bridged the same way. They used to live
     in the :root blocks of site.css, editorial.css and brand.css; those
     blocks are element-level rules and the merged sheet keeps one curated
     element layer, so the palettes are declared here instead — one place,
     pointed at the live palette. */
  --ease: var(--site-ease);
  --gap: 24px;
  --sec: clamp(88px, 10vw, 152px);
  --ed-ease: cubic-bezier(.22, .76, .26, 1);
  --ed-mono: var(--site-font-mono);
  --ed-radius-md: 20px;
  --an-paper: var(--site-color-paper);
  --an-paper-soft: var(--site-color-subtle);
  --an-paper-deep: var(--site-color-surface);
  --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);
  --an-line-strong: var(--site-color-line-strong);
  --an-black: var(--site-color-night);
  --an-clay: var(--site-color-accent);
  --an-clay-bright: var(--site-color-ink);
  --an-paper-text: var(--site-color-paper);
  --an-serif: var(--site-font);
  --an-sans: var(--site-font);
  --an-mono: var(--site-font-mono);
  --an-band-radius: 24px;
  --an-media-radius: 12px;
  --an-btn-radius: 10px;
  --sv-ease: cubic-bezier(.16, 1, .3, 1);
  --sv-speed: .35s;
  --sv-clay: var(--site-color-accent);
  --sv-clay-bright: var(--site-color-ink);
  --sv-glow-clay: rgba(255, 255, 255, .10);
  --sv-glow-sand: rgba(255, 255, 255, .22);
  --sv-shadow-sm: none;
  --sv-shadow-md: none;
  --sv-shadow-lg: none;
  --sv-prose-rhythm: 1.55em;
  --sv-prose-max: 68ch;
  --sv-shell-pad: clamp(20px, 5vw, 60px);
  --sv-btn-pad-y: 9px;
  --sv-btn-pad-x: 18px;
  --sv-btn-min-h: 38px;
  --sv-input-min-h: 38px;
  margin: 0;
  background: var(--site-color-paper);
  color: var(--site-color-ink);
  font-family: var(--site-font);
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}
[data-site-public] ::selection { background: var(--site-color-ink); color: var(--site-color-paper); }
/* One offset per anchor; scroll-padding and scroll-margin must not add up. */
html { scroll-padding-top: 0; background: var(--site-color-paper); color-scheme: dark; }
[data-site-public] main [id] { scroll-margin-top: calc(var(--site-header-height) + 24px); }
[data-site-public] :is(.home-shell, .shell) { width: 100%; max-width: var(--site-width); margin-inline: auto; padding-inline: var(--site-gutter); }
[data-site-public] :is(.content-shell, .product-shell), [data-site-public].ed-site .ed-shell { width: min(calc(100% - var(--site-gutter) * 2), calc(var(--site-width) - var(--site-gutter) * 2)); margin-inline: auto; }
[data-site-public] :is(.content-title, .page-title, .ed-report-title, .ed-page-title) { font-family: var(--site-font); font-weight: 500; letter-spacing: -.03em; }
[data-site-public] :is(.page-title, .ed-report-title, .ed-page-title) { font-size: clamp(var(--fs-32), 3.6vw, var(--fs-48)); line-height: 1.12; }
[data-site-public] .page-head { padding-block: var(--space-700) var(--space-600); }
[data-site-public] .page-lede { line-height: 1.7; }
[data-site-public] .content-hero { padding-block: var(--space-700) var(--space-600); }
[data-site-public] :is(.content-prose, .page-prose, .ed-article) { line-height: 1.8; }
[data-site-public] :is(.content-button, .product-button, .home-button, .btn) { transition: background-color var(--site-motion-color), color var(--site-motion-color), transform var(--site-motion-move); }
[data-site-public] :is(.content-button, .product-button, .home-button, .btn):active { transform: scale(.98); }
/* Links move their arrow, never their gap: only transform and opacity animate. */
[data-site-public] :is(.content-link, .product-text-link, .home-text-link, .section-link) { transition: color var(--site-motion-color); }
[data-site-public] :is(.content-link, .product-text-link, .home-text-link, .section-link) > :is(svg, [aria-hidden="true"]):last-child { display: inline-block; transition: transform var(--site-motion-move); }
[data-site-public] .section-link::after { display: inline-block; transition: transform var(--site-motion-move); }
:where([data-site-public]) :focus-visible { outline: 2px solid var(--site-color-ink); outline-offset: 3px; border-radius: var(--radius-sm); }
[data-site-public] :is(.content-link, .product-text-link, .home-text-link, .section-link):hover > :is(svg, [aria-hidden="true"]):last-child,
[data-site-public] .section-link:hover::after { transform: translateX(var(--space-50)); }
[data-site-public] :is(.research-filters button, .ask-chip) { transition: background-color var(--site-motion-color), color var(--site-motion-color), border-color var(--site-motion-color), transform var(--site-motion-move); }
[data-site-public] :is(.research-filters button, .ask-chip):active { transform: scale(.98); }
[data-site-public] :is(.research-note-arrow, .story-step > span:last-child, .company-work-list a > span:last-child) { transition: transform var(--site-motion-medium) var(--site-ease); }
[data-site-public] :is(.story-step, .company-work-list a):hover > span:last-child { transform: translateX(4px); }
[data-site-public] .research-note-media, [data-site-public] .company-visual-frame { border-radius: var(--site-radius); overflow: hidden; }
[data-site-public] :is(.research-note-media img, .story-media img, .home-research-media img, .hero-art, .company-visual img) { transition: transform var(--site-motion-slow) var(--site-ease); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-site-public] .research-note a:hover .research-note-media img,
  [data-site-public] .home-research-note:hover img,
  [data-site-public] .hero-plate:hover .hero-art,
  [data-site-public] .story-visual:hover .story-media img,
  [data-site-public] .company-visual:hover img { transform: scale(1.035); }
}
[data-site-public] .product-sample--recall { background: var(--site-color-surface); }
[data-site-public] .product-recall-card { border-color: var(--site-color-line); }
[data-site-public] .product-preview, [data-site-public] .product-sample { border-radius: var(--site-radius); }
[data-site-public].ed-site :is(.ed-copy-serif, .ed-report-standfirst, .ed-article .lede) { font-family: var(--site-font); }
[data-site-public] [data-site-reveal] { scroll-margin-top: calc(var(--site-header-height) + 24px); }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: site-page-out 150ms var(--site-ease) both; }
::view-transition-new(root) { animation: site-page-in 200ms var(--site-ease) both; }
@keyframes site-page-out { to { opacity: 0; } }
@keyframes site-page-in { from { opacity: 0; } }

@media (max-width: 1080px) {
  :root { --type-heading-1: 500 2.75rem/1.12 var(--site-font-display); --type-heading-2: 500 2.125rem/1.18 var(--site-font-display); }
}
@media (max-width: 760px) {
  :root { --site-gutter: 24px; --site-header-height: 56px; --site-space-section: var(--space-700); }
  [data-site-public] .page-head, [data-site-public] .content-hero { padding-block: 40px 32px; }
  :root { --type-heading-1: 500 2.25rem/1.15 var(--site-font-display); --type-heading-2: 500 1.875rem/1.2 var(--site-font-display); --type-heading-3: 500 1.5rem/1.3 var(--site-font-display); --type-heading-4: 500 1.25rem/1.35 var(--site-font-display); }
}
@media (max-width: 380px) {
  :root { --site-gutter: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --site-motion-fast: 0ms; --site-motion-medium: 0ms; --site-motion-slow: 0ms; }
  html { scroll-behavior: auto; }
  [data-site-public] :is(.content-link, .product-text-link, .home-text-link, .section-link):hover > :is(svg, [aria-hidden="true"]):last-child,
  [data-site-public] .section-link:hover::after { transform: none; }
  [data-site-public] :is(.research-note-media img, .story-media img, .home-research-media img, .hero-art, .company-visual img) { transform: none; }
  @view-transition { navigation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* B11 word-by-word tagline. Words exist only after motion.js splits them, so
   no-JS and reduced-motion readers always get full-colour text. */
[data-word-ready] .site-word { opacity: .3; transition: opacity var(--site-motion-move); }
[data-word-ready] .site-word.is-lit { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  [data-word-ready] .site-word { opacity: 1; transition: none; }
}

/* Inner pages (learn, guide, documents, about, principles, announcements,
   contact, developers, legal, research and its articles): one system with
   the home page. Eyebrows lose their old dot and become small gray pills;
   media bands align to the page container with 24px radii and no borders;
   older card radii resolve to the 12 / 16 / 24 scale. */
[data-site-public] { --r-md: 12px; --r-lg: 16px; --r-xl: 24px; }
[data-site-public] .eyebrow:not(.sec-eyebrow), [data-site-public].ed-site .ed-page-hero .ed-kicker, [data-site-public].ed-site .ed-article-hero .ed-kicker { display: inline-flex; width: fit-content; height: 28px; align-items: center; gap: 0; padding-inline: 12px; border-radius: var(--radius-full); background: var(--site-color-fill); color: var(--site-color-muted); font: var(--type-caption-4); letter-spacing: 0; text-transform: none; }
[data-site-public] .eyebrow::before, [data-site-public].ed-site .ed-kicker::before { display: none !important; content: none !important; }
[data-site-public] .sec-eyebrow { color: var(--site-color-muted); font: var(--type-caption-4); letter-spacing: 0; text-transform: none; }
[data-site-public] .page-head .eyebrow { margin-bottom: var(--space-300); }
[data-site-public] .page-title { max-width: 20ch; text-wrap: balance; }
[data-site-public] .page-lede { color: var(--site-color-muted); text-wrap: pretty; }
[data-site-public] .page-media-shell { width: min(calc(100% - var(--site-gutter) * 2), calc(var(--site-width) - var(--site-gutter) * 2)); }
[data-site-public] .page-media-grid { gap: var(--space-300); }
[data-site-public] .page-media-frame { border: 0; border-radius: var(--radius-3xl); background: var(--site-color-surface); }
[data-site-public] .page-media-inline .page-media-frame, [data-site-public] .page-media-inline img { border-radius: var(--radius-3xl); }
[data-site-public] .page-media-card figcaption { margin-top: var(--space-100); padding-inline: var(--space-50); color: var(--site-color-muted); font: var(--type-caption-5); }
[data-site-public] .page-media-card:hover .page-media-frame img { transform: scale(1.025); transition: transform var(--site-motion-slow) var(--site-ease); }
[data-site-public] :is(.card, .topic, .step3) { border-radius: var(--radius-2xl); }
[data-site-public] :is(.faq details, .ed-related-card, .ed-author-card, .ed-table-wrap, .ed-figure) { border-radius: var(--radius-2xl); }
[data-site-public] :is(.btn--ghost, .btn--light) { border-radius: var(--radius-full); }
@media (max-width: 760px) {
  [data-site-public] .page-media-grid { gap: var(--space-200); }
  [data-site-public] .page-media-frame { border-radius: var(--radius-2xl); }
}
@media (prefers-reduced-motion: reduce) {
  [data-site-public] .page-media-card:hover .page-media-frame img { transform: none; }
}
/* Older editorial heroes (zh inner pages) drew a blurred gray glow behind
   the title; the white ground stays plain, as on the home page. */
[data-site-public].ed-site :is(.ed-page-hero, .ed-news-hero, .ed-home-hero, .ed-reference-hero, .ed-learning-hero)::before,
[data-site-public].ed-site :is(.ed-page-hero, .ed-news-hero)::after { display: none !important; }
[data-site-public].ed-site :is(.ed-page-hero, .ed-learning-hero) :is(.ed-page-title, h1) { font-size: clamp(var(--fs-32), 3.6vw, var(--fs-48)); }

/* Texture layer (round 4). Shared by every public page that loads this
   sheet: tabular figures where numbers line up, a highlight on dark pills,
   and film grain on the few large gray panels. */
[data-site-public] :is(time, .pricing-price, .price, .m-table td, .home-research-meta, .m-rail-meta, .news-meta) { font-variant-numeric: tabular-nums; }
[data-site-public] :is(.home-button, .site-try, .content-button, .product-button, .ui-btn:not(.ui-btn--soft)) { box-shadow: var(--site-inner-highlight-dark), 0 1px 2px rgb(0 0 0 / .12); }
/* Grain sits over the panel's own fill: background-image only, no layer. */
[data-site-public] :is(.m-panel, .m-graph-stage, .home-cta-inner, .m-story-stage) { background-image: var(--site-noise); background-size: 160px 160px; }

/* Round 9 polish: Chinese headings trim the leading half of an opening
   bracket or quote at the start of a line, so the left edge stays flush. */
:lang(zh) :is(h1, h2, h3) { text-spacing-trim: trim-start; }
