:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --ink: #f7f6ff;
  --muted: #bcbed3;
  --muted-dim: #a4a7c2;
  --night: #141524;
  --night-line: #383a55;
  --accent: #cfceff;
  --accent-ink: #22224d;
  --paper: #f1f2fa;
  --paper-ink: #20223b;
  --paper-muted: #494d6b;
  --paper-line: #d1d4e7;
  --link: #45449a;
  --focus: #c5c5ff;
  background: var(--night);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; }
button, summary { cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
::selection { color: #171739; background: #e3deff; }
p { line-height: 1.6; }
main, [id] { scroll-margin-top: 24px; }

.shell { width: min(100% - 96px, 1200px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; inset: 8px auto auto 8px; clip-path: inset(50%); padding: 12px 15px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); }
.skip-link:focus { clip-path: none; }
.site-header { border-bottom: 1px solid #343650; }
.site-nav, .footer-inner { display: flex; align-items: center; gap: 28px; min-height: 73px; }
.site-nav > nav, .footer-inner > nav { margin-left: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 27px; }
.site-nav nav a, .footer-inner nav a { display: inline-flex; align-items: center; min-height: 42px; text-decoration: none; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.site-nav nav a:hover, .site-nav nav a[aria-current="page"], .footer-inner nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 10px; font-size: 1.1rem; font-weight: 670; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.brand-mark { position: relative; display: inline-grid; place-items: center; width: 27px; height: 27px; flex: none; color: var(--accent); }
.brand-mark i { position: absolute; display: block; width: 23px; height: 1.65px; border-radius: 10px; background: currentColor; }
.brand-mark i:nth-child(2) { transform: rotate(90deg); }
.brand-mark i:nth-child(3) { transform: rotate(45deg); width: 18px; }
.brand-mark i:nth-child(4) { transform: rotate(-45deg); width: 18px; }
.site-footer { border-top: 1px solid var(--night-line); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid transparent; border-radius: 8px; font-size: .925rem; font-weight: 650; line-height: 1.3; white-space: nowrap; text-decoration: none; transition: background-color 150ms, border-color 150ms; }
.button-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button-primary:hover { background: #e4e2ff; border-color: #e4e2ff; }
.button-outline { background: #22243a; border-color: #575b82; color: var(--ink); }
.button-outline:hover { background: #2e3250; border-color: #9b9cd9; }
.button-quiet { background: transparent; color: #e3e1fa; border-color: #575b82; }
.button-quiet:hover { background: #292c46; border-color: #a1a3de; }
.header-cta { min-height: 42px; }
.text-link { color: inherit; font-size: .91rem; font-weight: 650; text-decoration-color: currentColor; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }

.hero { isolation: isolate; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 83% 33%, #2a2d55 0, #1c1e37 32%, transparent 68%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(34px, 4.5vw, 76px); align-items: center; padding-block: clamp(66px, 7.5vw, 116px); }
.hero h1 { margin: 0; font-size: clamp(3.25rem, 6vw, 5.55rem); line-height: .99; letter-spacing: -.066em; font-weight: 650; }
.hero h1 em { display: inline-block; margin-top: .02em; color: var(--accent); font: italic 400 1em/.98 Georgia, "Times New Roman", serif; letter-spacing: -.067em; }
.hero-copy > p { color: var(--muted); max-width: 47ch; margin: 24px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.17rem); text-wrap: pretty; }
.hero-copy > p strong { color: #f2f0ff; font-weight: 620; }
.hero-figure { position: relative; min-width: 0; }
.figure-orbit { position: absolute; z-index: -1; inset: -72px -105px -72px -74px; opacity: .68; background: repeating-radial-gradient(ellipse at 54% 49%, transparent 0 34px, #9b9cec43 35px, transparent 36px 59px); mask-image: radial-gradient(ellipse at 58% 50%, #000 38%, transparent 77%); pointer-events: none; }
.brief { position: relative; max-width: 520px; margin: 0 auto; background: #f5f4ff; color: var(--paper-ink); border: 1px solid #e2e3f9; border-radius: 13px; box-shadow: 0 0 0 8px #b2aaff13, 0 16px 70px #08091a93; --focus: #5653ad; }
.brief-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 53px; padding: 10px 19px; background: #e9e8fb; border-bottom: 1px solid #d9d7ee; border-radius: 13px 13px 0 0; font-size: .875rem; font-weight: 650; }
.brief-top > span:first-child { display: inline-flex; gap: 8px; align-items: center; }
.brief-main { padding: 20px 23px 18px; }
.sample-tag { display: inline-flex; align-items: center; flex: none; min-height: 25px; padding: 2px 7px; border: 1px solid currentColor; border-radius: 5px; font-size: .78rem; font-weight: 550; line-height: 1.2; white-space: nowrap; }
.brief .sample-tag { color: #595b84; }
.brief-project { margin: 0 0 6px; color: #555881; font-size: .875rem; font-weight: 650; }
.brief-finding { margin: 0; font-size: clamp(1.3rem, 2.1vw, 1.68rem); font-weight: 670; line-height: 1.16; letter-spacing: -.027em; }
.metric-label { margin: 19px 0 5px; color: var(--paper-muted); font-size: .875rem; font-weight: 570; }
.result-bars { margin: 0 0 15px; }
.result-bars > div { display: grid; grid-template-columns: 70px 1fr; gap: 7px; align-items: center; min-height: 29px; }
.result-bars dt, .result-bars strong { font-size: .875rem; }
.result-bars dd { display: grid; grid-template-columns: minmax(45px, 1fr) 62px; align-items: center; gap: 12px; margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.result-bars strong span { color: #535778; font-weight: 520; }
.result-bar { display: block; background: #e2e3f2; border-radius: 4px; height: 8px; overflow: hidden; }
.result-bar > span { display: block; width: var(--length); height: 100%; background: #6468c7; border-radius: inherit; }
.result-bars > div:nth-child(2) .result-bar > span { background: #9295bc; }
.brief-change { display: flex; align-items: flex-start; gap: 9px; padding: 10px 11px; border: 1px solid #d5d5ec; border-radius: 7px; background: #edecfa; font-size: .875rem; line-height: 1.45; }
.brief-change > .icon { margin-top: 2px; color: #55549a; }
.brief-change p { margin: 2px 0 0; color: var(--paper-muted); line-height: 1.45; }
.brief-main > .text-link { display: inline-flex; min-height: 42px; align-items: center; color: var(--link); }
.brief-main > .text-link:last-child { margin-bottom: -8px; }

.sample-section { padding: clamp(48px, 7vw, 90px) 0 clamp(55px, 7vw, 91px); background: var(--paper); color: var(--paper-ink); color-scheme: light; --focus: #5653ad; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 26px; }
.section-head h2, .agent-copy h2, .closing h2, .questions > h2 { margin: 0; font-size: clamp(2.3rem, 4.6vw, 4.25rem); line-height: 1.02; letter-spacing: -.058em; font-weight: 640; text-wrap: balance; }
.section-head p { margin: 10px 0 0; color: var(--paper-muted); font-size: 1.075rem; max-width: 51ch; }
.section-head > .text-link { flex: none; margin-bottom: 4px; color: var(--link); }

.demo-context { margin: 0 0 9px; color: var(--paper-muted); font-size: .875rem; }
.demo {
  /* The dark workspace colors match the shipped Galaxy Notes stylesheet. */
  --demo-bg: #101411;
  --demo-ink: #f5f8f3;
  --demo-text: #d8e2d7;
  --demo-muted: #b5c4b6;
  --demo-surface: #202622;
  --demo-raised: #282f2a;
  --demo-line: #444f46;
  --demo-control: #c1d8b8;
  --demo-link: #b8dfd2;
  --focus: var(--demo-control);
  background: var(--demo-bg);
  color: var(--demo-ink);
  color-scheme: dark;
  border: 1px solid var(--demo-line);
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 17px 37px #32365b20;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.demo-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 55px; padding: 7px 20px; border-bottom: 1px solid var(--demo-line); }
.demo-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 1.2rem; font-weight: 650; letter-spacing: -.025em; }
.demo-brand .brand-mark { color: var(--demo-ink); }
.demo-control { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: transparent; border: 1px solid transparent; border-radius: 6px; color: var(--demo-muted); min-height: 44px; padding: 0 9px; white-space: nowrap; text-decoration: none; font-size: .875rem; }
.demo-control:hover { background: var(--demo-raised); color: var(--demo-ink); }
.demo-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
[data-interactive]:not([data-reader-open]) .demo-body { grid-template-columns: minmax(0, 1fr); }
[data-interactive]:not([data-reader-open]) .demo-reader { display: none; }

.demo-tree { min-width: 0; padding: clamp(18px, 3vw, 35px); }
.demo-tree h3 { margin: 0; font-size: 1.28rem; font-weight: 630; letter-spacing: -.022em; }
.demo-tree > p { margin: 7px 0 16px; color: var(--demo-muted); font-size: .9rem; line-height: 1.45; }
.demo-tree-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.demo-children { margin: 8px 0 0 14px; padding-left: 14px; border-left: 1px solid var(--demo-line); }
.demo-children > li { position: relative; }
.demo-children > li::before { content: ""; position: absolute; inset: 24px 100% auto auto; width: 14px; border-top: 1px solid var(--demo-line); }
.demo-card { display: flex; align-items: center; min-width: 0; background: var(--demo-surface); border: 1px solid var(--demo-line); border-radius: 8px; }
.demo-card:hover { border-color: var(--demo-muted); }
.demo-card:has([aria-current="true"]) { border-color: var(--demo-control); }
.demo-card-link { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 12px; text-decoration: none; }
.demo-card-link:focus-visible { outline-offset: -3px; border-radius: 7px; }
.demo-card-kind { color: var(--demo-muted); font-size: .78rem; letter-spacing: .025em; }
.demo-card-link strong { color: var(--demo-ink); font-size: .95rem; font-weight: 600; line-height: 1.35; }
.demo-card-summary { color: var(--demo-text); font-size: .875rem; line-height: 1.38; }
.demo-disclosure { flex: none; margin-right: 5px; }
.demo-disclosure[aria-expanded="true"] .icon-chevron::before { transform: translateY(-1px) rotate(45deg); }

.icon { display: inline-block; position: relative; width: 16px; height: 16px; flex: none; }
.icon::before, .icon::after { content: ""; position: absolute; }
.icon-tree::before { width: 12px; height: 12px; left: 2px; top: 2px; border-left: 1.5px solid; border-bottom: 1.5px solid; border-radius: 0 0 0 3px; }
.icon-tree::after { width: 7px; height: 6px; left: 5px; top: 3px; border-top: 1.5px solid; border-bottom: 1.5px solid; }
.icon-file::before { inset: 1px 2px; border: 1.5px solid; border-radius: 2px; }
.icon-file::after { inset: 5px 5px auto; height: 5px; border-top: 1.5px solid; border-bottom: 1.5px solid; }
.icon-history::before { inset: 0; border: 1.5px solid; border-radius: 50%; }
.icon-history::after { width: 5px; height: 6px; left: 7px; top: 3px; border-left: 1.5px solid; border-bottom: 1.5px solid; }
.icon-highlight::before { inset: 0 5px 3px; border: 1.5px solid; border-radius: 2px; transform: rotate(36deg); }
.icon-highlight::after { left: 0; right: 0; bottom: 0; border-bottom: 1.5px solid; }
.icon-activity::before { inset: 1px; border: 1.5px solid; border-radius: 50%; }
.icon-activity::after { inset: 5px; border-radius: 50%; background: currentColor; }
.icon-chevron { width: 15px; height: 15px; }
.icon-chevron::before { inset: 3px 5px 5px 3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }

.demo-reader { border-left: 1px solid var(--demo-line); min-width: 0; }
.demo-reader-bar { display: flex; align-items: center; min-height: 49px; padding: 2px 13px; border-bottom: 1px solid var(--demo-line); }
.note-slot { padding: clamp(17px, 3.2vw, 38px); }
.demo-note > p { margin: 10px 0 16px; color: var(--demo-text); font-size: 1rem; line-height: 1.6; }
.demo-note > .note-meta { margin: 0 0 6px; color: var(--demo-muted); font-size: .875rem; }
.note-title { margin: 0; color: var(--demo-ink); font-size: clamp(1.37rem, 2.5vw, 1.78rem); line-height: 1.2; letter-spacing: -.032em; font-weight: 630; }
.note-next h5, .demo-sources h5 { margin: 0 0 5px; color: var(--demo-ink); font-size: .94rem; font-weight: 610; }
.note-next p { margin: 0; color: var(--demo-text); line-height: 1.55; }
.demo-sources { margin-top: 20px; padding-top: 5px; border-top: 1px solid var(--demo-line); }
.demo-sources summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; color: var(--demo-text); font-size: .9rem; font-weight: 610; list-style: none; }
.demo-sources summary::-webkit-details-marker { display: none; }
.demo-sources summary::after { content: "+"; font-size: 1.12rem; font-weight: 400; color: var(--demo-muted); }
.demo-sources[open] summary::after { content: "−"; }
.demo-sources ul { display: grid; padding-left: 17px; gap: 7px; margin-block: 7px 13px; color: var(--demo-muted); font-size: .92rem; }
.demo-sources dl { margin: 0; color: var(--demo-muted); font-size: .875rem; }
.demo-sources dl > div { display: flex; gap: 8px; }
.demo-sources dd { margin: 0; }
.demo-note a { color: var(--demo-link); text-underline-offset: 3px; }
.demo-note a:has(mark) { display: inline-block; text-decoration-color: #ffd65b; }

.demo-dialog { width: min(calc(100% - 32px), 550px); padding: clamp(14px, 3vw, 22px); max-height: calc(100dvh - 32px); background: var(--demo-bg); border: 1px solid var(--demo-line); border-radius: 10px; color: var(--demo-ink); overflow: auto; }
.demo-dialog::backdrop { background: #050705a6; }
.demo-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.demo-dialog-heading h3 { margin: 0; font-size: 1.2rem; font-weight: 630; letter-spacing: -.015em; }
.demo-dialog-heading .demo-control { border-color: var(--demo-line); }
.demo-dialog > p { margin: 9px 0 16px; color: var(--demo-text); }
.demo-dialog .change-list li { border-color: var(--demo-line); }
.demo-dialog .change-list strong { color: var(--demo-ink); }
.demo-dialog .change-list p, .demo-dialog .change-list time { color: var(--demo-muted); }
.demo-dialog blockquote { margin: 12px 0 6px; padding: 8px 12px; border-left: 2px solid var(--demo-line); }
.demo mark { color: #2e2513; background: #ffd65b; }

.change-list { list-style: none; margin: 0; padding: 0; }
.change-list li { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 11px; align-items: start; border-bottom: 1px solid #dbdcec; max-width: 66ch; padding: 8px 0; }
.change-list li:first-child { padding-top: 0; }
.change-list time { color: #56597c; font-size: .875rem; padding-top: 2px; }
.change-list strong { color: var(--paper-ink); }
.change-list p { margin: 2px 0 0; }
.full-highlight blockquote { margin: 0; padding: 9px 12px; border-left: 2px solid #8a86cc; background: #eeedfb; }
mark { color: #33290c; background: #f8e399; padding: 0 2px; }
.demo-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: var(--paper-muted); font-size: .9rem; line-height: 1.5; }
.demo-caption .text-link { color: var(--link); }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #c9cce1; margin-top: clamp(32px, 5.2vw, 65px); }
.benefits article { padding: 23px clamp(15px, 2vw, 31px) 0; }
.benefits article:first-child { padding-left: 0; }
.benefits article:last-child { padding-right: 0; }
.benefits article + article { border-left: 1px solid #c9cce1; }
.benefit-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #c2c4e4; border-radius: 7px; background: #e5e5f7; color: #4d4a9c; margin-bottom: 13px; }
.benefits h3, .questions h3 { margin: 0; font-size: 1.17rem; line-height: 1.25; letter-spacing: -.02em; }
.benefits p { margin: 8px 0 0; color: var(--paper-muted); text-wrap: pretty; }
.benefits .text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); }

.agent-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(28px, 6vw, 90px); align-items: center; margin-block: clamp(53px, 8vw, 105px) clamp(53px, 7vw, 88px); }
.agent-copy h2, .closing h2 { font-size: clamp(2.28rem, 4vw, 3.5rem); }
.agent-copy p { max-width: 53ch; margin: 16px 0 0; color: var(--muted); }
.agent-copy .button { margin-top: 25px; }
.handoff { min-width: 0; border: 1px solid #4d5076; border-radius: 12px; overflow: hidden; background: #191b30; color: var(--ink); color-scheme: dark; --focus: #c8c7ff; }
.handoff-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 11px; min-height: 53px; background: #262944; border-bottom: 1px solid #414667; padding: 7px 13px; font-size: .875rem; font-weight: 650; }
.handoff-top > span { display: inline-flex; align-items: center; gap: 6px; }
.handoff-top .text-link { color: var(--accent); }
.handoff-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 13px; }
.handoff-fields li { display: flex; align-items: center; gap: 8px; padding: 9px 8px; border: 1px solid #444869; border-radius: 6px; background: #222540; color: #e3e2fa; font-size: .9rem; line-height: 1.35; }
.handoff-fields .icon { color: #bdbcfa; }
.handoff pre { padding: 13px; margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; font: .84rem/1.49 ui-monospace, SFMono-Regular, Consolas, monospace; color: #dfdff8; }
.handoff-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 11px; padding: 0 13px 13px; }
.handoff-actions .button { min-height: 43px; font-size: .875rem; }
.copy-status { color: #bebdda; font-size: .875rem; line-height: 1.4; }
.handoff-actions:has(.copy-button[hidden]) { display: none; }

.questions { border-top: 1px solid var(--night-line); padding-top: 28px; }
.questions > h2 { font-size: clamp(1.9rem, 3.1vw, 2.7rem); }
.question-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 19px; }
.questions p { margin: 7px 0 0; color: var(--muted); text-wrap: pretty; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 22px; background: radial-gradient(ellipse at 83% 20%, #353964, #22243c 75%); border: 1px solid #4e527a; border-radius: 13px; padding: clamp(19px, 4vw, 45px); margin-block: clamp(40px, 6vw, 72px) 42px; }
.closing h2 { font-size: clamp(1.85rem, 3.45vw, 3.1rem); }
.closing p { margin: 8px 0 0; color: var(--muted); }

.document { padding-block: clamp(36px, 6vw, 70px); }
.document-header { max-width: 76ch; }
.breadcrumbs { color: var(--muted-dim); font-size: .9rem; margin: 0 0 15px; }
.breadcrumbs a { color: var(--accent); text-underline-offset: 3px; }
.document h1 { font-size: clamp(2.55rem, 5.6vw, 5.1rem); line-height: 1.02; letter-spacing: -.062em; margin: 0; font-weight: 650; text-wrap: balance; }
.document-header > p:not(.breadcrumbs) { color: var(--muted); margin: 12px 0 0; }
.document-header .document-lede { color: var(--ink) !important; font-size: 1.18rem; }
.document-layout { display: grid; grid-template-columns: minmax(150px, .24fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; margin-top: 35px; }
.document-toc { display: flex; flex-direction: column; gap: 1px; position: sticky; top: 20px; }
.document-toc h2 { margin: 0 0 5px; color: #d8d6f1; font-size: .9rem; }
.document-toc a { color: var(--muted); font-size: .9rem; line-height: 1.35; min-height: 43px; display: flex; align-items: center; text-underline-offset: 3px; }
.document-toc a:hover { color: var(--ink); }
.document-body { min-width: 0; padding: clamp(20px, 4.3vw, 50px); border: 1px solid #c5c6de; border-radius: 12px; background: #f6f5fc; color: #242440; color-scheme: light; --focus: #5653ad; }
.document-section + .document-section { border-top: 1px solid #d2d2e6; padding-top: 24px; margin-top: 28px; }
.document-section .document-kicker { margin: 0 0 4px; color: #555381; font-size: .875rem; font-weight: 650; }
.document-section h2 { font-size: clamp(1.65rem, 3.2vw, 2.55rem); margin: 0 0 10px; line-height: 1.1; letter-spacing: -.04em; }
.document-section h3 { font-size: 1.12rem; margin: 18px 0 7px; }
.document-section p { margin: 8px 0; line-height: 1.6; }
.document-section a { color: var(--link); text-underline-offset: 3px; overflow-wrap: anywhere; }
.document-section ul, .document-section ol:not(.change-list) { padding-left: 21px; margin-block: 6px 12px; line-height: 1.58; }
.document-section li + li { margin-top: 4px; }
.document-section .change-list p { margin: 2px 0 0; }
.document-section > pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #e6e5f6; border: 1px solid #cccee9; padding: 10px; border-radius: 7px; font: .875rem/1.52 ui-monospace, SFMono-Regular, Consolas, monospace; margin: 8px 0; }
.document-section code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.document-section .handoff { margin-top: 14px; }
.full-source + .full-source { margin-top: 24px; }
.full-source time { color: #595a79; font-size: .875rem; }
.document-body :target { scroll-margin-top: 24px; }
.document-body :target > h2, .document-body :target > h3 { color: #504e9d; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
}
@media (max-width: 960px) {
  .demo-body { display: block; }
  [data-interactive][data-reader-open] .demo-tree { display: none; }
  .demo-reader { border-left: none; }
}
@media (max-width: 880px) {
  .hero-inner { gap: 30px; }
  .hero h1 { font-size: clamp(3rem, 6.25vw, 4.9rem); }
  .brief-main { padding: 14px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 41px; padding-block: 53px 54px; }
  .hero::before { background: radial-gradient(ellipse at 78% 58%, #2a2c51 0, #1c1e37 38%, transparent 80%); }
  .hero h1 { font-size: clamp(3.3rem, 9vw, 4.85rem); }
  .hero-copy > p { margin-top: 15px; }
  .hero .actions { margin-top: 22px; }
  .hero-figure { width: min(100%, 460px); }
  .brief-main { padding: 15px 15px 12px; }
  .figure-orbit { inset: -40px -50px; }
  .section-head { display: block; }
  .section-head > .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 0; }
  .section-head p { margin-top: 8px; }
  .section-head { margin-bottom: 11px; }
  .agent-section { grid-template-columns: minmax(0, 1fr); }
  .document-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .document-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 0 12px; }
  .document-toc h2 { width: 100%; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; gap: 4px 17px; padding-block: 17px; }
  .footer-inner > nav { margin: 0; gap: 5px 15px; }
}
@media (max-width: 530px) {
  .shell { width: calc(100% - 32px); }
  .site-nav { gap: 5px 12px; min-height: 0; flex-wrap: wrap; padding-block: 9px 2px; }
  .site-nav > nav { order: 3; width: 100%; margin: 0; gap: 17px; }
  .site-nav > nav a { min-height: 36px; }
  .site-nav .header-cta { margin-left: auto; min-height: 40px; padding-inline: 9px; font-size: .84rem; }
  .site-nav .brand { font-size: 1.025rem; gap: 6px; }
  .site-nav .brand-mark { width: 23px; height: 23px; }
  .hero-inner { padding-top: 42px; }
  .hero h1 { font-size: clamp(2.85rem, 10.35vw, 3.7rem); }
  .actions .button { padding-inline: 10px; font-size: .875rem; }
  .demo-header { padding-inline: 11px; }
  .demo-tree { padding: 15px 12px; }
  .demo-card { flex-wrap: wrap; }
  .demo-card-link { min-width: 60%; }
  .demo-card:has(.demo-disclosure) .demo-card-link { flex-basis: 100%; padding-bottom: 1px; }
  .demo-disclosure { margin: 0 0 1px 3px; }
  .note-slot { padding: 14px 13px 17px; }
  .demo-caption { gap: 2px; }
  .demo-caption a { display: inline-flex; align-items: center; min-height: 44px; }
  .benefits, .question-grid { grid-template-columns: minmax(0, 1fr); }
  .benefits article { padding: 16px 0; }
  .benefits article + article { border-left: 0; border-top: 1px solid #c9cce1; }
  .benefit-icon { margin-bottom: 8px; }
  .questions { padding-top: 22px; }
  .question-grid { gap: 14px; margin-top: 13px; }
  .closing { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 338px) {
  .hero .actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
