:root {
  --paper: #f7f9f8;
  --surface: #fff;
  --ink: #202c26;
  --muted: #627068;
  --line: #dce4de;
  --accent: #16665e;
  --mint: #a2e3c3;
  --rose: #ad544d;
  --blue: #456897;
  --landing-muted: var(--muted);
  --landing-line: var(--line);
  --landing-teal: var(--accent);
  font-family: "Aptos", "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button[hidden], [hidden] { display: none !important; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
img { max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: 44px; line-height: 1.2; font-weight: 600; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
p { line-height: 1.75; text-wrap: pretty; }
.inner { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 23px Georgia, serif; white-space: nowrap; }
.site-brand img { display: block; }
.site-navigation, .landing-nav-actions { display: flex; align-items: center; gap: 24px; }
.site-navigation { font-size: 14px; color: var(--muted); }
.landing-nav-actions { gap: 16px; }
.site-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--accent); border-radius: 6px; color: white; background: var(--accent); font-size: 14px; font-weight: 600; transition: transform var(--motion-fast, 120ms) var(--motion-enter, ease-out), background-color var(--motion-fast, 120ms) ease-out; }
.site-button.small { min-height: 40px; padding: 8px 14px; gap: 8px; }
.site-button svg, .text-link svg { width: 17px; height: 17px; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--surface); padding: 0; }
.nav-toggle { display: none; }
.site-hero { position: relative; isolation: isolate; background: #17201c; color: #f2f6f3; min-height: min(640px, calc(100svh - 172px)); overflow: hidden; }
.hero-content { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 100px; pointer-events: none; }
.hero-copy { width: 46%; max-width: 540px; }
.hero-copy a { pointer-events: auto; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 20px; line-height: 1.5; }
.accent-rule { width: 24px; height: 2px; background: var(--mint); }
.site-hero .eyebrow { color: var(--mint); }
.site-hero h1 { font: 500 96px/1.08 Georgia, serif; }
.hero-tagline { font-size: 30px; line-height: 1.35; margin-top: 20px; font-weight: 500; }
.hero-tagline span { color: var(--mint); }
.hero-description { margin-top: 20px; max-width: 470px; color: #c4cfc8; font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.site-hero .site-button, .closing-section .site-button { background: var(--mint); color: #17201c; border-color: var(--mint); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.hero-access { display: flex; gap: 8px; margin-top: 20px; max-width: 430px; font-size: 12px; color: #aebfb4; line-height: 1.6; }
.hero-access svg { width: 14px; height: 14px; margin-top: 3px; }
.hero-scene { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-scene canvas { width: 100%; height: 100%; display: block; }
.scene-fallback { position: absolute; inset: 0; display: block; }
.scene-fallback img { width: 100%; height: 100%; object-fit: contain; }
[data-scene="ready"] .scene-fallback { display: none; }
[data-scene="fallback"] canvas { visibility: hidden; }
.hero-bottom { position: absolute; z-index: 2; bottom: 24px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #aebfb4; font-size: 12px; }
.hero-tools { display: flex; align-items: center; gap: 20px; font: 11px Consolas, monospace; }
.scene-pause { border-radius: 50%; border-color: #4c6656; background: #24372c; color: #f2f6f3; }
.site-hero :focus-visible { outline-color: var(--mint); }
.workflow-strip { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }
.workflow-strip a { display: flex; align-items: center; gap: 12px; padding: 28px 16px; font-size: 14px; }
.workflow-strip a:first-child { padding-left: 0; }
.workflow-strip svg { margin-left: auto; width: 16px; color: var(--muted); }
.step-number, .section-number { font: 12px Consolas, monospace; color: var(--muted); }
.section { padding-block: 100px; }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; margin-bottom: 40px; }
.section-heading > p { max-width: 450px; color: var(--muted); font-size: 16px; }
.muted-heading { color: var(--muted); }
.workspace-switcher { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 20px; }
.workspace-switcher p { max-width: 430px; font-size: 13px; color: var(--muted); }
.site-tabs { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.site-tabs button { min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.site-tabs button[aria-selected="true"] { background: var(--surface); color: var(--accent); border-color: var(--line); box-shadow: 0 2px 3px #182c2010; }
.site-tabs svg { width: 17px; height: 17px; }
.workspace-product { min-width: 0; }
.writing-scene { border: 1px solid #cad8cf; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 56px #22403010; background: var(--surface); }
.writing-topbar { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 16px 24px; border-bottom: 1px solid var(--line); gap: 24px; }
.writing-topbar > span { display: flex; align-items: center; gap: 12px; min-width: 0; }
.writing-topbar strong { font-size: 14px; font-weight: 500; }
.writing-presence { display: flex; gap: 4px; flex-shrink: 0; }
.writing-presence span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #d1e6d7; color: #3d7050; font-size: 11px; }
.writing-presence span:nth-child(2) { background: #e2eaf7; color: #486aa0; }
.writing-presence span:nth-child(3) { background: #f4e0db; color: #a7584c; }
.writing-panels { display: grid; grid-template-columns: 164px minmax(0, 1.2fr) minmax(0, 1fr); height: 520px; }
.writing-files { padding: 24px 12px; background: #f4f7f5; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.writing-files small { padding: 0 12px 8px; font-size: 11px; color: var(--muted); }
.writing-files > span { display: flex; align-items: center; gap: 8px; padding: 8px; font: 11px Consolas, monospace; color: #6f7e74; }
.writing-files svg { width: 15px; height: 15px; }
.writing-files .file-active { background: #e2eee6; color: #246b48; border-radius: 4px; }
.writing-files b { font-weight: 500; }
.writing-editor { display: flex; flex-direction: column; background: #192720; position: relative; color: #d7e2da; overflow: hidden; }
.writing-pane-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 44px; padding: 0 24px; font: 12px Consolas, monospace; border-bottom: 1px solid #34483b; }
.source-indicator { color: #94a89c; font-size: 10px; }
.writing-code { flex: 1; min-height: 0; overflow: hidden; margin: 16px 0 24px; padding-left: 64px; padding-right: 24px; font: 14px/24px Consolas, "SFMono-Regular", monospace; }
.writing-code li { padding-left: 12px; }
.writing-code li::marker { color: #576d60; font-size: 11px; }
.writing-code code { font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-command { color: #a7d6bb; }
.code-comment { color: #7e9789; font-style: italic; }
.code-math { color: #efbb9b; }
.writing-selection { position: relative; align-self: start; flex-shrink: 0; margin: 0 24px 20px 64px; padding: 8px 12px; background: #466daa35; border-left: 2px solid #85abdd; color: #c0d7f4; font: 12px/1.7 Consolas, monospace; }
.collaborator-tag { position: absolute; bottom: 100%; right: 0; background: #678fc4; color: white; padding: 2px 8px; border-radius: 3px 3px 0 0; font: 10px/1.6 sans-serif; }
.writing-output { background: #edf2ee; overflow: hidden; }
.writing-output > .writing-pane-heading { background: #f7faf8; border-color: var(--line); color: var(--muted); }
.writing-output > .writing-pane-heading svg { width: 14px; color: var(--accent); }
.typeset-paper { margin: 24px 28px 0; min-height: 450px; padding: 28px 32px; background: #fff; color: #303b33; box-shadow: 0 4px 20px #2a433512; font-family: Georgia, serif; }
.paper-overline { font: 9px Consolas, monospace; color: #7d9786; }
.typeset-paper h3 { font: 500 26px/1.2 Georgia, serif; margin-top: 20px; }
.paper-authors { font-size: 10px; margin-top: 12px; color: #859288; }
.paper-rule { height: 1px; background: #e2e9e3; margin: 20px 0; }
.typeset-paper h4 { font: 600 13px Georgia, serif; margin: 16px 0 8px; }
.typeset-paper > p:not(.paper-overline):not(.paper-authors):not(.paper-chart-caption) { font: 12px/1.7 Georgia, serif; color: #718076; }
.paper-equation { text-align: center; margin: 24px 0; font: italic 22px Georgia, serif; }
.paper-chart { display: flex; gap: 16px; align-items: end; height: 60px; margin-top: 12px; border-bottom: 1px solid #d8e3db; padding-inline: 12px; }
.paper-chart span { flex: 1; height: var(--bar); background: #bfd9c9; }
.paper-chart span:nth-child(2) { background: #6a9f85; }
.paper-chart span:nth-child(3) { background: #2e7153; }
.paper-chart-caption { font-size: 8px; color: #809086; text-align: center; margin-top: 8px; }
.writing-status { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 36px; padding: 0 24px; background: #f4f8f5; border-top: 1px solid var(--line); color: #799081; font: 10px Consolas, monospace; }
.writing-status > span:first-child { display: flex; align-items: center; gap: 8px; }
.writing-status svg { width: 12px; }
figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.5; }
figcaption > :last-child { white-space: nowrap; font-family: Consolas, monospace; }
.detail-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 40px; }
.detail-columns article > svg { color: var(--accent); margin-bottom: 16px; }
.detail-columns p, .collaboration-item > p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.ai-section { background: #eaf0ec; border-block: 1px solid var(--line); }
.ai-layout { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 80px; }
.section-lede { margin-top: 24px; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; font-size: 14px; line-height: 1.6; }
.check-list li { display: flex; align-items: start; gap: 12px; }
.check-list svg { width: 16px; color: var(--accent); }
.fine-print { font-size: 12px; color: var(--muted); }
.ai-example { border: 1px solid #c6d4ca; border-radius: 8px; background: var(--surface); overflow: hidden; box-shadow: 0 12px 40px #233b2c0a; }
.example-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.example-header > span { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.example-header small { font-size: 11px; color: var(--muted); }
.ai-tabs { padding: 12px 16px; border-bottom: 1px solid var(--line); gap: 0; }
.ai-tabs button { font-size: 12px; padding-inline: 12px; flex: 1; }
.ai-tabs button[aria-selected="true"] { box-shadow: none; background: #edf5f0; border-color: transparent; }
.example-body { padding: 24px; min-height: 382px; }
.example-context { display: flex; align-items: center; gap: 8px; font: 12px Consolas, monospace; color: var(--muted); }
.example-context svg { width: 15px; height: 15px; }
.example-request { margin: 20px 0; font-size: 15px; line-height: 1.6; }
.example-removed, .example-added, .example-finding { padding: 14px 16px; border-left: 2px solid; font-size: 14px; }
.example-removed { border-color: #b76e62; background: #fbf0ed; }
.example-added { border-color: #559878; background: #edf7f0; }
.example-finding { background: #f0f4f9; border-color: var(--blue); margin-bottom: 12px; }
.example-removed span, .example-added span, .example-finding span { font-size: 11px; color: var(--muted); display: block; margin-bottom: 6px; }
.example-footer { display: flex; gap: 8px; align-items: center; margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.example-footer svg { width: 16px; }
.collaboration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.collaboration-item { border-top: 1px solid var(--line); padding-top: 24px; min-width: 0; }
.feature-topline { display: flex; align-items: center; gap: 12px; color: var(--accent); font-size: 12px; margin-bottom: 20px; }
.comment-specimen { padding: 24px 0 0; margin-top: 24px; border-top: 1px dashed var(--line); font-size: 13px; }
.comment-person { display: flex; align-items: center; gap: 8px; }
.comment-person > :last-child { margin-left: auto; color: var(--muted); font-size: 11px; }
.person-avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #dceddf; color: var(--accent); font-size: 12px; }
.person-avatar.secondary { background: #e5ecf5; color: var(--blue); }
blockquote { margin: 16px 0 0 36px; line-height: 1.7; }
.comment-reply { display: grid; grid-template-columns: 28px 1fr; align-items: center; column-gap: 8px; margin: 20px 0 0 36px; }
.comment-reply p { grid-column: 2; font-size: 13px; margin-top: 8px; color: var(--muted); }
.version-specimen { display: grid; margin-top: 28px; padding-left: 8px; }
.version-specimen > div { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 16px; min-height: 62px; position: relative; }
.version-specimen > div:not(:last-child)::before { content: ''; position: absolute; left: 5px; top: 34px; bottom: -28px; width: 1px; background: var(--line); }
.version-dot { width: 11px; height: 11px; border: 2px solid #a5b6a9; border-radius: 50%; z-index: 1; background: var(--paper); }
.version-dot.current { border-color: var(--accent); background: var(--accent); }
.version-specimen strong { font-size: 14px; font-weight: 500; }
.version-specimen small { font-size: 11px; color: var(--muted); }
.permission-band { display: grid; grid-template-columns: 24px 1fr 1.2fr; align-items: center; gap: 24px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 32px; }
.permission-band > svg { color: var(--accent); }
.permission-band h3 { font-size: 18px; }
.permission-band p { color: var(--muted); font-size: 14px; }
.delivery-section { background: #eef1f6; border-block: 1px solid #dce2ec; }
.delivery-section .eyebrow { color: var(--blue); }
.delivery-flow { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr; align-items: center; padding: 32px 0; }
.delivery-flow > div { display: grid; justify-items: center; gap: 12px; text-align: center; }
.delivery-flow > div > svg { width: 32px; height: 32px; color: var(--blue); }
.delivery-flow strong { font-size: 20px; font-weight: 500; }
.delivery-flow span { font-size: 13px; color: var(--muted); }
.flow-arrow { color: #8c9bb1; }
.delivery-details { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 32px; margin-top: 24px; border-top: 1px solid #d3dce7; }
.delivery-details p { display: flex; gap: 16px; font-size: 14px; color: var(--muted); }
.delivery-details svg { margin-top: 4px; color: var(--blue); }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-section h2 { font-size: 36px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 16px; cursor: pointer; list-style: none; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 16px; transition: transform var(--motion-normal, 200ms) var(--motion-enter, ease-out); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { margin-top: 16px; color: var(--muted); font-size: 14px; }
.faq-list .text-link { margin-top: 16px; color: var(--accent); }
.closing-section { background: #17201c; color: #f1f5f2; padding-block: 64px; }
.closing-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.closing-section .eyebrow { color: var(--mint); }
.closing-section h2 { font-size: 36px; }
.closing-section p:not(.eyebrow) { color: #afc0b5; margin-top: 16px; font-size: 14px; }
.closing-section .site-button { flex-shrink: 0; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-block: 32px; }
.site-footer p, .site-footer small, .site-footer nav { font-size: 12px; color: var(--muted); }
.site-footer nav { display: flex; gap: 20px; margin-left: auto; }
.site-footer .site-brand { font-size: 19px; }
/* Reserve the one-shot entrance for the delivery illustration. */
.delivery-flow.reveal-ready { opacity: 0; transform: translateY(8px); transition: opacity 280ms var(--motion-enter, ease-out), transform 280ms var(--motion-enter, ease-out); }
.delivery-flow.reveal-ready.is-visible { opacity: 1; transform: none; }
.text-link svg, .workflow-strip svg { transition: transform var(--motion-fast, 120ms) var(--motion-enter, ease-out); }
.nav-toggle svg path { transform-box: fill-box; transform-origin: center; transition: transform var(--motion-normal, 200ms) var(--motion-enter, ease-out), opacity var(--motion-fast, 120ms) ease-out; }
.is-open .nav-toggle svg path:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle svg path:nth-child(2) { opacity: 0; }
.is-open .nav-toggle svg path:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (hover: hover) and (pointer: fine) {
  .site-navigation > a:hover, .site-footer a:hover, .workflow-strip a:hover { color: var(--accent); }
  .site-button:hover { background-color: #104f49; }
  .icon-button:hover { background-color: var(--paper); }
  .site-hero .site-button:hover, .closing-section .site-button:hover { background-color: #beeeda; }
  .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
  .text-link:hover svg { transform: translate(2px, -2px); }
  .hero-actions .text-link:hover svg { transform: translateY(2px); }
  .workflow-strip a:hover svg { transform: translate(2px, 2px); }
  .scene-pause:hover { background-color: #34503f; }
  .site-tabs button:not([aria-selected="true"]):hover { color: var(--ink); background-color: #edf2ef; }
}
@media (max-width: 1100px) {
  .site-navigation { gap: 16px; font-size: 12px; }
  .landing-nav-actions { gap: 12px; }
  .site-hero h1 { font-size: 76px; }
  .hero-tagline { font-size: 26px; }
  .ai-layout { gap: 40px; }
  .example-header { padding-inline: 16px; }
  .example-body { padding: 20px; }
}
@media (max-width: 960px) {
  .writing-panels { grid-template-columns: 128px minmax(0, 1.2fr) minmax(0, 1fr); height: 490px; }
  .writing-files { padding-inline: 4px; }
  .writing-code { font-size: 12px; padding-left: 40px; padding-right: 12px; }
  .writing-code li { padding-left: 4px; }
  .writing-selection { margin-left: 40px; margin-right: 12px; }
  .typeset-paper { margin-inline: 16px; padding: 24px 20px; }
  .typeset-paper h3 { font-size: 22px; }
  .nav-toggle { display: grid; }
  .site-navigation { position: absolute; left: 24px; right: 24px; top: 72px; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px; box-shadow: 0 12px 24px #233b2c14; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity var(--motion-exit, 140ms) var(--motion-enter, ease-out), transform var(--motion-exit, 140ms) var(--motion-enter, ease-out), visibility 0s var(--motion-exit, 140ms); }
  .is-open .site-navigation { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-duration: var(--motion-normal, 200ms), var(--motion-normal, 200ms), 0s; transition-delay: 0s; }
  .site-navigation > a { padding: 12px; font-size: 14px; }
  .landing-nav-actions { padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); flex-wrap: wrap; }
  .site-nav { min-height: 72px; }
  .workspace-switcher { align-items: start; flex-direction: column; gap: 12px; }
  .workspace-switcher p { max-width: none; }
  .section-heading { gap: 32px; }
  h2 { font-size: 36px; }
  .collaboration-grid { gap: 40px; }
  .hero-copy { width: 48%; }
  .hero-actions { gap: 16px; }
  .hero-description { font-size: 14px; }
}
@media (max-width: 760px) {
  .writing-panels { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); height: 380px; }
  .writing-files { display: none; }
  .writing-topbar { padding: 12px; min-height: 48px; gap: 8px; }
  .writing-topbar strong { font-size: 11px; }
  .writing-topbar img { width: 20px; height: 20px; }
  .writing-presence { gap: 2px; }
  .writing-presence span { width: 18px; height: 18px; font-size: 8px; }
  .writing-presence span:last-child { display: none; }
  .writing-pane-heading { height: 36px; padding: 0 12px; font-size: 10px; }
  .source-indicator { display: none; }
  .writing-code { padding-left: 26px; padding-right: 8px; margin-top: 16px; font-size: 10px; line-height: 20px; }
  .writing-code li::marker { font-size: 8px; }
  .writing-selection { margin-left: 26px; margin-right: 8px; font-size: 8px; padding: 4px 8px; }
  .collaborator-tag { font-size: 8px; }
  .typeset-paper { margin: 16px 10px 0; padding: 18px 12px; min-height: 340px; }
  .paper-overline { font-size: 7px; }
  .typeset-paper h3 { font-size: 17px; margin-top: 14px; }
  .paper-authors { font-size: 8px; }
  .paper-rule { margin-block: 14px; }
  .typeset-paper h4 { font-size: 10px; }
  .typeset-paper > p:not(.paper-overline):not(.paper-authors):not(.paper-chart-caption) { font-size: 9px; }
  .paper-equation { font-size: 14px; margin-block: 16px; }
  .paper-chart { gap: 8px; height: 40px; padding-inline: 4px; }
  .paper-chart-caption { font-size: 6px; }
  .writing-status { padding-inline: 12px; font-size: 8px; gap: 8px; }
  .inner { width: calc(100% - 40px); }
  .section { padding-block: 64px; }
  h2 { font-size: 32px; }
  h3 { font-size: 18px; }
  .section-heading, .ai-layout, .faq-section { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading > p { font-size: 14px; max-width: 520px; }
  .site-hero { min-height: 0; }
  .hero-content { padding: 28px 0 250px; }
  .hero-copy { width: 100%; max-width: 520px; }
  .site-hero h1 { font-size: 64px; }
  .site-hero .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .hero-tagline { font-size: 24px; margin-top: 12px; }
  .hero-tagline br { display: none; }
  .hero-description { font-size: 14px; margin-top: 12px; line-height: 1.6; }
  .hero-actions { margin-top: 20px; gap: 16px; }
  .hero-actions a { font-size: 12px; }
  .hero-access { font-size: 11px; margin-top: 16px; }
  .hero-scene { inset: auto 0 40px; height: 214px; }
  .hero-bottom { bottom: 16px; }
  .hero-caption { display: none; }
  .hero-tools { margin-left: auto; }
  .workflow-strip { grid-template-columns: 1fr 1fr; }
  .workflow-strip a { padding: 16px 8px; font-size: 12px; }
  .workflow-strip a:nth-child(odd) { padding-left: 0; }
  .detail-columns { grid-template-columns: 1fr; gap: 28px; }
  .detail-columns article { display: grid; grid-template-columns: 24px 1fr; gap: 0 16px; }
  .detail-columns article > svg { margin-top: 2px; }
  .detail-columns p { grid-column: 2; margin-top: 8px; }
  .workspace-switcher { gap: 12px; }
  .site-tabs { width: 100%; }
  .site-tabs button { flex: 1; padding-inline: 10px; font-size: 12px; }
  .site-tabs button svg { width: 15px; }
  figcaption { font-size: 10px; }
  .ai-layout { gap: 32px; }
  .example-body { min-height: 396px; padding: 20px 16px; }
  .example-header { padding: 16px; }
  .example-header small { font-size: 10px; }
  .ai-tabs { padding: 8px; }
  .ai-tabs button { font-size: 11px; padding-inline: 8px; }
  .collaboration-grid { grid-template-columns: 1fr; gap: 40px; }
  .permission-band { grid-template-columns: 24px 1fr; gap: 16px; }
  .permission-band p { grid-column: 2; }
  .delivery-flow { grid-template-columns: 1fr 20px 1fr 20px 1fr; }
  .delivery-flow strong { font-size: 14px; }
  .delivery-flow span { font-size: 11px; }
  .delivery-flow > div > svg { width: 24px; height: 24px; }
  .flow-arrow { width: 16px; }
  .delivery-details { grid-template-columns: 1fr; gap: 20px; }
  .faq-section h2 { font-size: 32px; }
  .closing-content { align-items: start; flex-direction: column; gap: 24px; }
  .closing-section h2 { font-size: 32px; }
  .site-footer { gap: 20px; }
  .site-footer p { width: 100%; order: 1; }
  .site-footer nav { margin-left: 0; }
  .site-footer small { margin-left: auto; }
}
@media (max-width: 360px) {
  .site-hero h1 { font-size: 54px; }
  .hero-actions { gap: 12px; }
  .hero-actions .site-button { padding-inline: 14px; }
  .hero-tagline { font-size: 22px; }
  .site-tabs button { padding-inline: 8px; gap: 4px; }
}
@media (max-height: 740px) and (max-width: 760px) {
  .hero-content { padding-top: 24px; padding-bottom: 144px; }
  .hero-scene { height: 132px; }
  .hero-description { display: none; }
  .hero-access { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .delivery-flow.reveal-ready { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition: none !important; }
}
