:root {
  --ink: #1d1d1f; --muted: #626267; --line: #e7e7e9; --surface: #f7f7f8;
  --blue: #1557c0; --blue-soft: #f0f5fd; --amber: #8a4b08; --red: #b42318;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; line-height: 1.4; letter-spacing: -.7px; font-weight: 650; }
h2 { font-size: 20px; line-height: 1.5; letter-spacing: -.3px; font-weight: 650; }
h3 { font-size: 16px; font-weight: 650; }
p + p { margin-top: 16px; }
code, pre { font-family: var(--mono); font-size: 14px; }
code { overflow-wrap: anywhere; background: var(--surface); padding: 2px 5px; border-radius: 4px; }
pre { margin: 20px 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: auto; line-height: 1.65; }
pre code { padding: 0; background: none; overflow-wrap: normal; }
button { min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; font-weight: 550; }
button:hover { background: var(--surface); }
button:disabled { color: #929298; cursor: default; background: var(--surface); }
.skip { position: absolute; top: -100px; left: 20px; padding: 12px; background: #fff; z-index: 20; }
.skip:focus { top: 10px; }
.shell { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fffffff5; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; font-weight: 650; letter-spacing: -.3px; white-space: nowrap; min-height: 44px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 24px; height: 24px; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.site-nav a { color: var(--muted); min-height: 44px; display: flex; align-items: center; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .9px; font-weight: 600; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 20px; font-size: 12px; font-weight: 550; white-space: nowrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.fine { font-size: 12px; color: var(--muted); }
.blue { color: var(--blue); }
.amber { color: var(--amber); }
.red { color: var(--red); }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 550; }
.button:hover { background: var(--surface); text-decoration: none; }
.button.primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.button.primary:hover { background: #124ca8; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 72px 0 64px; }
.hero-copy h1 { margin: 16px 0 20px; }
.hero-copy > p { color: var(--muted); max-width: 460px; }
.hero-note { margin-top: 16px; font-size: 12px; color: var(--muted); }
.preview { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.preview-head { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.preview-body { padding: 20px; }
.sample-request { background: var(--surface); padding: 14px 16px; border-radius: 8px; font-size: 14px; }
.record { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 16px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.record:last-child { border-bottom: 0; padding-bottom: 0; }
.record-symbol { color: var(--muted); font-size: 16px; }
.record strong { display: block; font-weight: 600; }
.record p { color: var(--muted); margin-top: 4px; }
.section { padding: 48px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 28px; }
.three-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature-num { font: 12px var(--mono); color: var(--muted); margin-bottom: 12px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.quiet-list { list-style: none; padding: 0; margin: 16px 0 0; }
.quiet-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.quiet-list li strong { display: block; font-weight: 550; }
.stage-track { display: flex; gap: 24px; margin-top: 24px; font-size: 14px; }
.stage-track span { flex: 1; border-top: 2px solid var(--line); padding-top: 12px; }
.stage-track .active { border-color: var(--blue); color: var(--blue); }
.site-footer { margin-top: 32px; border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 12px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.notice { padding: 14px 16px; background: var(--surface); border-radius: 8px; font-size: 14px; color: var(--muted); }
.doc-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 48px; padding-top: 40px; }
.doc-sidebar { align-self: start; position: sticky; top: 108px; max-height: calc(100vh - 132px); overflow: auto; padding-bottom: 20px; }
.doc-sidebar .eyebrow { margin-bottom: 12px; }
.doc-nav { display: flex; flex-direction: column; font-size: 14px; }
.doc-nav a { display: flex; min-height: 44px; align-items: center; padding: 8px 12px; color: var(--muted); border-radius: 8px; line-height: 1.5; }
.doc-nav a:hover, .doc-nav a[aria-current="location"] { background: var(--surface); color: var(--ink); text-decoration: none; }
.doc-main { min-width: 0; max-width: 800px; }
.doc-intro { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0 20px; font-size: 14px; color: var(--muted); }
.doc-content { padding-bottom: 40px; }
.doc-content h2 { margin: 40px 0 20px; scroll-margin-top: 108px; }
.doc-content h3 { margin: 28px 0 12px; scroll-margin-top: 108px; }
.doc-content p { margin: 16px 0; }
.doc-content li { margin: 10px 0; }
.doc-content ul, .doc-content ol { padding-left: 24px; }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); min-width: 130px; }
th { background: var(--surface); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.section-link { font-size: 14px; margin-left: 10px; font-weight: 400; color: var(--muted); }
.mobile-toc { display: none; }
.copy-status { min-height: 24px; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .hero { gap: 32px; } .doc-layout { gap: 28px; grid-template-columns: 192px minmax(0, 1fr); } }
@media (max-width: 767px) {
  .shell { width: calc(100% - 40px); } .header-inner { min-height: 68px; gap: 12px; } .site-nav { gap: 16px; } .brand { font-size: 14px; gap: 7px; }
  .brand-mark { width: 20px; height: 20px; } .hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; } .hero-copy > p { max-width: none; }
  .section { padding: 32px 0; } .section-heading { display: block; margin-bottom: 20px; } .section-heading > p { margin-top: 8px; }
  .three-columns, .split { grid-template-columns: 1fr; gap: 24px; } .stage-track { gap: 12px; font-size: 12px; } .site-footer { margin-top: 12px; }
  .doc-layout { display: block; padding-top: 24px; } .doc-sidebar { display: none; } .mobile-toc { display: block; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 8px; }
  .mobile-toc summary { min-height: 44px; padding: 10px 14px; font-size: 14px; } .mobile-toc nav { padding: 0 8px 8px; }
  .doc-content h2 { margin-top: 32px; } th, td { min-width: 150px; } .doc-meta { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
