:root {
  color-scheme: light dark;
  --canvas: light-dark(#f7f7f4, #14120b);
  --surface: light-dark(#f2f1ed, #1f1d17);
  --raised: light-dark(#fff, #353229);
  --ink: light-dark(#26251e, #f7f7f4);
  --muted: light-dark(#6f6d64, #b8b5aa);
  --line: light-dark(#ddddd5, #3b382f);
  --accent: light-dark(#b63d09, #ff9e64);
  --focus: light-dark(#f54e00, #ff9e64);
  --action: light-dark(#26251e, #f7f7f4);
  --action-ink: light-dark(#f7f7f4, #26251e);
  --accent-hover: light-dark(#3b3a33, #e6e5e0);
  --action-pressed: light-dark(#14120b, #d5d3c9);
  --stage: light-dark(#e6e5e0, #29261e);
  --sage: light-dark(#f2f1ed, #1b1913);
  --stage-ink: light-dark(#625f54, #c5c0b1);
  --sage-ink: light-dark(#6b685e, #c5c0b1);
  --shadow-paper: 0 12px 28px -18px rgb(38 37 30 / 28%);
  --shadow-note: 0 14px 32px -14px rgb(38 37 30 / 32%);
  --section-space: clamp(64px, 7vw, 100px);
  --nav-hover: light-dark(#3b3a33, #e6e5e0);
  --track: light-dark(#ebeae5, #29261e);
  --frame-line: light-dark(#d8d7ce, #464236);
  --control-line: light-dark(#aaa79a, #817a68);
  --preview-canvas: light-dark(#fcfcf9, #211e17);
  --preview-text: light-dark(#5f5d52, #c5c0b1);
  --tint: light-dark(#efeee8, #302b21);
  --blue-tint: light-dark(#e8e7df, #373226);
  --blue-ink: light-dark(#555044, #e1dac7);
  --green-tint: light-dark(#e5e9df, #303c2d);
  --green-ink: light-dark(#4d6743, #bfd1b0);
  --quote-bg: light-dark(#f0e6c8, #4b3f22);
  --quote-ink: light-dark(#645329, #f3dfa0);
  --selection-bg: light-dark(#f2dcc8, #67442c);
  --selection-ink: light-dark(#26251e, #f7f7f4);
  --scrollbar: light-dark(#b9b6a9, #766f5e);
  --radius: 12px;
  --page: 1200px;
  --ease: cubic-bezier(.16,1,.3,1);
  font-family: "Avenir Next", Avenir, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  scrollbar-color: var(--scrollbar) var(--surface);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; font-size: 16px; line-height: 1.65; }
::selection { background: var(--selection-bg); color: var(--selection-ink); }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; vertical-align: middle; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 3px; }
#main-content:focus { outline: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { letter-spacing: -.035em; line-height: 1.12; }
h3 { letter-spacing: -.016em; line-height: 1.4; }
p { text-wrap: pretty; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--canvas); padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--canvas); position: sticky; top: 0; z-index: 30; }
.header-inner { max-width: 1328px; min-height: 88px; margin: auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; width: fit-content; }
.brand span { font-size: 30px; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.brand img { width: 30px; height: 30px; }
#site-navigation { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
#site-navigation > a { text-decoration: none; padding-block: 12px; }
#site-navigation > a:hover, #site-navigation > a[aria-current] { color: var(--accent); }
#site-navigation > a[aria-current] { text-decoration: underline; text-underline-offset: 8px; }
#site-navigation > .nav-cta { background: var(--ink); color: var(--canvas); border-radius: 6px; padding: 9px 15px; display: inline-flex; align-items: center; gap: 22px; margin-left: 4px; }
#site-navigation > .nav-cta:hover { color: var(--canvas); background: var(--nav-hover); }
.header-controls { display: flex; align-items: center; gap: 10px; flex: none; }
.theme-control { position: relative; display: flex; flex: none; }
.theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); transition: background .15s var(--ease), color .15s var(--ease); }
.theme-toggle > span { display: flex; }
.theme-toggle:hover, .theme-toggle[aria-expanded="true"] { color: var(--ink); background: var(--surface); }
.theme-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.theme-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 160px; max-width: calc(100vw - 32px); padding: 4px; border-radius: 8px; background: var(--raised); color: var(--ink); box-shadow: var(--shadow-note); }
.theme-option { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 4px; background: transparent; color: inherit; font-size: 13px; line-height: 20px; text-align: left; }
.theme-option > svg { color: var(--muted); }
.theme-option:hover, .theme-option[aria-checked="true"] { background: var(--track); }
.theme-option:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.theme-check { display: flex; margin-left: auto; color: var(--accent); visibility: hidden; }
.theme-option[aria-checked="true"] .theme-check { visibility: visible; }
@media (pointer: coarse), (max-width: 760px) {
  .theme-toggle { width: 44px; height: 44px; }
  .theme-option { min-height: 44px; }
}
.menu-button { display: none; border: 0; padding: 10px; background: var(--surface); color: var(--ink); border-radius: 6px; width: 44px; height: 44px; }
.button-primary { display: inline-flex; gap: 14px; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border-radius: 7px; color: var(--action-ink); background: var(--action); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s var(--ease); }
.button-primary:hover { background: var(--accent-hover); }
.button-primary:active { background: var(--action-pressed); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; font-size: 14px; width: fit-content; }
.text-link svg, .button-primary svg, .nav-cta svg { transition: transform .25s var(--ease); }
.text-link:hover { color: var(--accent); }
.text-link:hover svg, .button-primary:hover svg, .nav-cta:hover svg { transform: translateX(3px); }
.hero { max-width: 1328px; padding: 40px 40px 48px; margin: auto; display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: 40px; }
.hero-copy { padding-bottom: 20px; }
.hero h1 { font-size: clamp(56px,5vw,72px); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; }
.hero h1 > span { display: block; }
.hero-description { max-width: 420px; font-size: 17px; color: var(--muted); line-height: 1.8; margin: 26px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin-top: 30px; }
.hero-detail { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 12px; color: var(--muted); text-decoration: none; margin-top: 24px; }
.hero-detail:hover { color: var(--accent); }
.hero-visual { min-width: 0; }
.shared-sheet .sheet-stage { position: relative; background: var(--stage); border-radius: 24px 24px 56px 24px; padding: 24px 28px 20px; }
.sheet-context { display: flex; gap: 9px; align-items: center; font-size: 11px; color: var(--stage-ink); margin-bottom: 18px; }
.context-slash { opacity: .6; margin-inline: 1px; }
.sheet-members { display: flex; margin-left: auto; padding-right: 4px; }
.sheet-members .avatar { width: 26px; height: 26px; border: 2px solid var(--stage); font-size: 10px; margin-right: -6px; }
.sheet-paper { background: var(--preview-canvas); border-radius: 8px 8px 16px 8px; padding: 24px 26px 18px; margin-right: 24px; box-shadow: var(--shadow-paper); }
.sheet-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); }
.sheet-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.sheet-writing { padding-top: 22px; }
.sheet-writing h2 { font: 400 clamp(26px,2.2vw,32px)/1.2 Georgia, serif; letter-spacing: -.035em; margin-bottom: 16px; }
.sheet-writing > p { font: 14px/1.8 Georgia, serif; color: var(--preview-text); }
.sheet-writing h3 { font-size: 12px; font-weight: 600; margin: 18px 0 8px; }
.sheet-writing > .sheet-quote { font-size: 14px; line-height: 1.7; background: var(--quote-bg); color: var(--quote-ink); padding: 4px 7px; margin-inline: -7px; max-width: 270px; border-radius: 2px; }
.sheet-writing > .sheet-source { font: 11px/1.7 "Avenir Next", "Segoe UI", sans-serif; color: var(--muted); margin-top: 8px; }
.sheet-writing .preview-task { font-size: 12px; margin: 7px 0; gap: 8px; }
.sheet-bottom { display: flex; align-items: center; gap: 7px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 12px; color: var(--muted); font-size: 11px; }
.sheet-note { position: absolute; right: 16px; top: 330px; width: 276px; min-height: 228px; background: var(--raised); border-radius: 12px; padding: 18px; box-shadow: var(--shadow-note); transform: rotate(-2deg); }
.note-author { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; }
.note-author strong { font-size: 12px; font-weight: 600; }
.note-author > span:last-child:not(.avatar) { margin-left: auto; font-size: 11px; color: var(--muted); }
.note-author .avatar, .note-reply .avatar { width: 24px; height: 24px; font-size: 10px; }
.sheet-note blockquote { border-left: 1px solid var(--control-line); color: var(--muted); font-size: 11px; line-height: 1.7; padding-left: 10px; margin-bottom: 10px; }
.sheet-note p { color: var(--ink); font-size: 12px; line-height: 1.75; }
.note-reply { display: flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1.65; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.sheet-note pre { font: 11px/1.85 ui-monospace, SFMono-Regular, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--blue-ink); margin: 14px 0; }
.note-result { display: flex; align-items: flex-start; gap: 8px; color: var(--green-ink); font-size: 12px; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.note-result small { font-size: 11px; color: var(--muted); }
.shared-sheet .preview-controls > .sheet-example { font-size: 11px; color: var(--stage-ink); letter-spacing: 0; width: auto; text-align: left; }
.shared-sheet .preview-controls { margin: 56px 0 0; min-height: 44px; justify-content: space-between; }
.shared-sheet .preview-modes { background: transparent; padding: 0; gap: 2px; }
.shared-sheet .preview-modes button { font-size: 12px; padding: 8px 10px; min-height: 44px; border-radius: 6px; color: var(--stage-ink); }
.shared-sheet .preview-modes button[aria-pressed="true"] { background: var(--preview-canvas); box-shadow: none; color: var(--accent); }
.shared-sheet .preview-modes button:hover { color: var(--accent); background: var(--tint); }
.showcase.shared-sheet figcaption { max-width: 440px; margin-top: 14px; font-size: 12px; line-height: 1.7; min-height: 41px; }
.showcase { max-width: var(--page); margin: auto; text-align: left; }
.preview-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 45px; margin-bottom: 14px; }
.preview-controls > span { font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.preview-modes { display: flex; gap: 4px; padding: 4px; background: var(--track); border-radius: 7px; }
.preview-modes button { border: 0; border-radius: 5px; background: transparent; color: var(--muted); padding: 7px 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; min-height: 38px; }
.preview-modes button:hover { color: var(--accent); }
.preview-modes button[aria-pressed="true"] { color: var(--ink); background: var(--raised); box-shadow: 0 1px 5px rgb(38 37 30 / 9%); }
.product-window { display: grid; grid-template-columns: 174px minmax(0,1fr) 326px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--frame-line); background: var(--preview-canvas); text-align: left; }
.preview-sidebar { background: var(--surface); border-right: 1px solid var(--line); padding: 23px 12px 18px; display: flex; flex-direction: column; min-width: 0; font-size: 12px; }
.preview-brand { display: flex; align-items: center; gap: 8px; padding: 0 9px; }
.preview-brand strong { font-size: 21px; font-weight: 650; letter-spacing: -.03em; }
.preview-nav { display: grid; gap: 16px; color: var(--muted); margin: 35px 9px 28px; }
.preview-nav > span { display: flex; align-items: center; gap: 8px; }
.preview-sidebar > p { color: var(--muted); font-size: 12px; margin: 2px 9px 12px; }
.preview-space { display: flex; align-items: center; gap: 7px; margin-inline: 9px; font-weight: 600; }
.space-mark { width: 20px; height: 20px; background: var(--blue-tint); border-radius: 5px; display: grid; place-items: center; color: var(--blue-ink); font-size: 10px; }
.selected-document { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 8px 9px; background: var(--blue-tint); color: var(--blue-ink); border-radius: 5px; font-size: 12px; }
.preview-account { margin-top: auto; padding: 32px 9px 0; display: flex; align-items: center; gap: 8px; }
.preview-account small { display: block; font-size: 11px; color: var(--muted); }
.avatar { flex: none; width: 29px; height: 29px; font-size: 12px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 600; }
.avatar-blue { background: var(--blue-tint); color: var(--blue-ink); }
.avatar-green { background: var(--green-tint); color: var(--green-ink); }
.preview-main { min-width: 0; }
.preview-toolbar { border-bottom: 1px solid var(--line); min-height: 52px; padding: 0 24px; display: flex; gap: 10px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.slash { margin-inline: 8px; color: var(--muted); }
.saved { display: inline-flex; align-items: center; gap: 4px; color: var(--green-ink); }
.preview-body { padding: 32px 38px 36px; }
.document-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.document-meta > span { font-size: 11px; }
.preview-body h2 { font: 400 34px/1.2 Georgia, serif; letter-spacing: -.035em; margin-bottom: 20px; }
.preview-body > p { font-size: 14px; line-height: 1.8; color: var(--preview-text); }
.preview-body h3 { font-size: 15px; margin: 24px 0 10px; font-weight: 620; }
.highlighted-passage { position: relative; font-size: 14px; margin-top: 14px; background: var(--quote-bg); padding: 8px 11px; color: var(--quote-ink); width: fit-content; max-width: calc(100% - 12px); border-radius: 2px; }
.highlighted-passage > span { display: flex; align-items: center; gap: 3px; font-size: 11px; position: absolute; right: -14px; top: -12px; background: var(--quote-bg); padding: 3px 5px; border-radius: 4px; }
.preview-body > .research-source { margin-top: 10px; font-size: 12px; }
.preview-task { display: flex; gap: 9px; align-items: center; font-size: 13px; color: var(--preview-text); margin: 9px 0; }
.task-check, .task-box { display: grid; place-items: center; width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--control-line); flex: none; }
.task-check { color: var(--action-ink); background: var(--action); border-color: var(--action); }
.preview-panel { min-width: 0; border-left: 1px solid var(--line); }
.panel-heading { padding: 15px 22px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 550; min-height: 52px; }
.discussion { padding: 26px 22px 22px; }
.preview-message { display: flex; gap: 10px; margin-bottom: 25px; font-size: 14px; line-height: 1.75; }
.preview-message > div { min-width: 0; flex: 1; }
.preview-message strong { font-size: 13px; font-weight: 600; }
.preview-message strong > span { color: var(--muted); font-size: 11px; font-weight: 400; padding-left: 5px; }
.preview-message p { color: var(--preview-text); margin-top: 5px; }
.preview-message blockquote { font-size: 13px; color: var(--quote-ink); background: var(--quote-bg); padding: 9px 11px; border-radius: 4px; margin-top: 10px; }
.preview-composer { margin-top: 25px; border: 1px solid var(--line); border-radius: 6px; padding: 12px; color: var(--muted); font-size: 12px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.writing-preview, .agent-preview { padding: 26px 22px; }
.preview-source-label { font-size: 12px; color: var(--muted); }
.writing-preview pre { margin: 18px 0 25px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.9; color: var(--preview-text); }
.writing-note { border-top: 1px solid var(--line); padding-top: 21px; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.writing-note p { font-size: 13px; line-height: 1.8; }
.agent-prompt { padding: 15px; background: var(--tint); border-radius: 6px; font-size: 14px; color: var(--preview-text); }
.agent-response { padding: 24px 4px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); }
.agent-response strong { color: var(--blue-ink); font-size: 19px; line-height: 1.5; font-weight: 550; }
.agent-response span { display: flex; align-items: center; gap: 7px; color: var(--green-ink); }
.agent-response small { margin-top: 7px; color: var(--muted); font-size: 12px; }
.showcase figcaption { color: var(--muted); text-align: center; font-size: 14px; margin: 20px auto 0; min-height: 46px; max-width: 660px; }
.content-section { max-width: var(--page); padding-block: var(--section-space); margin: auto; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.section-intro h2 { font-size: 46px; font-weight: 500; max-width: 490px; }
.section-intro p { color: var(--muted); font-size: 16px; line-height: 1.85; max-width: 430px; }
.essentials { display: grid; grid-template-columns: repeat(3,1fr); gap: 56px; margin-top: 64px; }
.feature-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); margin-bottom: 24px; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); }
.tone-1, .tone-2, .tone-3 { color: var(--ink); background: var(--surface); }
.essentials h3 { font-size: 20px; font-weight: 600; }
.essentials p { color: var(--muted); margin-top: 13px; font-size: 14px; line-height: 1.85; }
.agent-band { background: var(--sage); color: var(--ink); }
.agent-band-inner { max-width: var(--page); margin: auto; padding: 80px 0 38px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 100px; align-items: center; }
.agent-symbols { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; color: var(--green-ink); }
.agent-symbols > span { font-size: 20px; font-weight: 300; color: var(--muted); }
.agent-band h2 { font-size: 46px; font-weight: 500; letter-spacing: -.04em; }
.agent-band-copy p { color: var(--sage-ink); margin: 23px 0 28px; font-size: 16px; max-width: 420px; line-height: 1.8; }
.agent-band .text-link { color: var(--ink); text-decoration-color: var(--control-line); }
.agent-band .text-link:hover { color: var(--accent); }
.handoff { background: var(--preview-canvas); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); transform: rotate(1.5deg); }
.handoff-heading { display: flex; align-items: center; gap: 9px; font-size: 11px; padding: 18px 24px; border-bottom: 1px solid var(--line); color: var(--ink); }
.handoff-heading > span { margin-left: auto; color: var(--muted); font-size: 11px; }
.handoff-prompt { font-size: 14px; line-height: 1.8; margin: 23px 24px; max-width: 330px; }
.handoff-steps { margin: 22px 24px; color: var(--muted); display: grid; gap: 14px; font-size: 12px; }
.handoff-steps > span { display: flex; align-items: center; gap: 11px; }
.handoff-result { display: flex; align-items: center; gap: 12px; margin: 25px 24px; padding: 15px 0 0; border-top: 1px solid var(--line); }
.handoff-result > div { flex: 1; }
.handoff-result strong { font-size: 12px; font-weight: 550; display: block; }
.handoff-result span { color: var(--muted); font-size: 12px; display: block; margin-top: 3px; }
.agent-facts { grid-column: 1/-1; display: flex; gap: 48px; justify-content: center; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--control-line); color: var(--sage-ink); font-size: 12px; }
.agent-facts > span { display: flex; align-items: center; gap: 8px; }
.everyday-features { display: grid; grid-template-columns: 1fr 1fr; gap: 39px 100px; margin-top: 52px; }
.everyday-features > article { display: flex; gap: 21px; padding-top: 12px; }
.everyday-features .feature-icon { margin: 2px 0 0; }
.everyday-features h3 { font-size: 17px; font-weight: 600; }
.everyday-features p { font-size: 14px; margin-top: 10px; color: var(--muted); line-height: 1.85; }
.section-link { margin-top: 34px; }
.home-questions { border-top: 1px solid var(--line); max-width: var(--page); margin: auto; padding: 85px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; }
.home-questions h2 { font-size: 46px; font-weight: 500; margin: 9px 0 24px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 0; cursor: pointer; font-weight: 550; font-size: 15px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-plus { width: 13px; height: 13px; display: block; position: relative; flex: none; color: var(--muted); }
.faq-plus::before, .faq-plus::after { content: ''; background: currentColor; position: absolute; left: 0; top: 6px; width: 13px; height: 1px; }
.faq-plus::after { transform: rotate(90deg); transition: transform .2s var(--ease); }
details[open] .faq-plus::after { transform: rotate(0); }
.faq-list details > div { padding-bottom: 24px; max-width: 66ch; }
.faq-list details p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.start-section { background: var(--stage); max-width: var(--page); margin: 0 auto 90px; padding: 56px 60px; border-radius: 20px; display: flex; gap: 70px; align-items: center; justify-content: space-between; }
.start-section > div:first-child { max-width: 535px; }
.start-section h2 { font-size: 38px; font-weight: 500; }
.start-section p { color: var(--muted); margin-top: 18px; font-size: 14px; line-height: 1.8; }
.start-section > div:last-child { display: grid; gap: 18px; justify-items: start; flex: none; }
.start-section .button-primary { min-width: 220px; }
.start-section .text-link { font-size: 12px; }
.site-footer { border-top: 1px solid var(--line); max-width: 1328px; margin: auto; padding: 48px 40px 26px; }
.footer-top { display: flex; justify-content: space-between; gap: 44px; }
.footer-top > div:first-child p { font-size: 13px; color: var(--muted); margin-top: 16px; }
.footer-top > nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 48px; font-size: 13px; align-content: start; }
.footer-top > nav a { text-decoration: none; }
.footer-top > nav a:hover { color: var(--accent); }
.footer-action { display: grid; gap: 13px; align-content: start; }
.footer-action span { font-size: 11px; color: var(--muted); text-align: center; }
.footer-action .button-primary { min-height: 40px; padding-block: 8px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 43px; font-size: 14px; color: var(--muted); }
.footer-bottom > div { display: flex; gap: 22px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom a:last-child svg { transform: rotate(-90deg); margin-left: 4px; }
.page-hero { max-width: 1200px; margin: auto; text-align: left; padding: 66px 0 68px; }
.page-hero h1 { max-width: 850px; font-size: clamp(38px,4.7vw,64px); font-weight: 500; }
.page-hero > p { max-width: 660px; margin: 25px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.page-hero-action { margin-top: 28px; }
.product-preview-wrap { margin: -10px 32px 63px; }
.reading-layout { display: grid; grid-template-columns: 220px minmax(0,740px); max-width: 1050px; gap: 85px; margin: 12px auto 90px; }
.reading-content { min-width: 0; overflow-wrap: anywhere; }
.page-contents { padding-top: 2px; }
.page-contents-inner { position: sticky; top: 120px; }
.contents-disclosure > summary { font-size: 14px; font-weight: 600; padding: 8px 0 15px; cursor: pointer; }
.page-contents nav, .contents-group { display: grid; gap: 3px; align-content: start; }
.page-contents nav a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 7px 0; line-height: 1.65; }
.page-contents nav a:hover { color: var(--accent); }
.contents-group + .contents-group { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.page-contents nav .contents-heading { color: var(--ink); font-weight: 600; }
.markdown-link { font-size: 14px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; margin-top: 24px; text-decoration: none; }
.reading-section { padding: 0 0 52px; scroll-margin-top: 113px; }
.reading-section + .reading-section { border-top: 1px solid var(--line); padding-top: 42px; }
.reading-section > h2 { font-size: 30px; font-weight: 600; margin-bottom: 20px; }
.reading-section > p { font-size: 16px; line-height: 1.9; color: var(--muted); max-width: 68ch; }
.reading-section > p + p { margin-top: 15px; }
.feature-list { margin-top: 28px; display: grid; gap: 23px; }
.feature-list article { display: flex; gap: 19px; }
.feature-list article > div { min-width: 0; }
.feature-list .feature-icon { margin: 3px 0 0; }
.feature-list h3 { font-size: 16px; font-weight: 600; }
.feature-list p { color: var(--muted); font-size: 14px; line-height: 1.85; margin-top: 6px; }
.guide-step { color: var(--accent); font-size: 12px; font-weight: 550; display: inline-block; margin-bottom: 13px; }
.guide-next { padding: 30px 33px; background: var(--tint); border-radius: var(--radius); }
.guide-next h2 { font-size: 27px; font-weight: 600; }
.guide-next p { color: var(--muted); font-size: 14px; margin: 14px 0 20px; }
.context-diagram { display: grid; grid-template-columns: 1fr 48px 1.7fr 48px 1fr; gap: 15px; align-items: center; margin: 40px 0 0; padding: 30px 25px; max-width: 790px; background: var(--stage); border-radius: var(--radius); }
.context-diagram > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.context-diagram strong { font-size: 13px; font-weight: 550; margin-top: 5px; }
.context-diagram div > span { font-size: 10px; color: var(--muted); }
.diagram-connector { height: 1px; background: var(--control-line); position: relative; }
.diagram-connector::after { content: ''; display: block; position: absolute; right: -1px; top: -2px; width: 5px; height: 5px; border-top: 1px solid var(--control-line); border-right: 1px solid var(--control-line); transform: rotate(45deg); }
@media (max-width: 1230px) {
  .content-section, .home-questions, .start-section, .agent-band-inner { margin-inline: 48px; }
  .agent-band-inner { column-gap: 60px; }
  .reading-layout { margin-inline: 48px; gap: 60px; grid-template-columns: 200px minmax(0,1fr); }
  .product-window { grid-template-columns: 160px minmax(0,1fr) 310px; }
  .preview-body { padding-inline: 27px; }
  .preview-body h2 { font-size: 27px; }
  .section-intro { gap: 70px; }
}
@media (max-width: 1000px) {
  .header-inner { padding-inline: 26px; gap: 16px; }
  #site-navigation { gap: 18px; }
  .product-window { grid-template-columns: minmax(0,1fr) 310px; }
  .preview-sidebar { display: none; }
  .preview-body { padding: 30px; }
  .preview-body h2 { font-size: 30px; }
  .document-meta > span { display: none; }
  .preview-toolbar { padding-inline: 24px; }
  .essentials { gap: 30px; }
  .section-intro { gap: 45px; }
  .section-intro h2, .agent-band h2 { font-size: 35px; }
  .agent-band-inner { column-gap: 38px; }
  .everyday-features { column-gap: 45px; }
  .home-questions { gap: 45px; }
  .start-section { gap: 38px; padding: 40px; }
  .start-section h2 { font-size: 29px; }
  .start-section .button-primary { min-width: 170px; }
  .footer-top { gap: 30px; }
  .footer-top > nav { column-gap: 28px; }
  .reading-layout { grid-template-columns: 160px minmax(0,1fr); gap: 40px; }
}
@media (max-width: 760px) {
  :root { scroll-padding-top: 88px; }
  .header-inner { padding: 0 22px; min-height: 70px; flex-wrap: wrap; gap: 0; }
  .header-controls { margin-left: auto; order: 1; }
  .brand span { font-size: 27px; }
  .brand img { width: 28px; height: 28px; }
  .menu-button:not([hidden]) { display: grid; place-items: center; }
  #site-navigation { order: 2; width: 100%; flex-wrap: wrap; gap: 8px 22px; padding: 16px 0 22px; font-size: 13px; }
  #site-navigation[data-enhanced]:not([data-open]) { display: none; }
  #site-navigation > .nav-cta { margin-left: auto; }
  .preview-controls { justify-content: center; flex-wrap: wrap; margin-bottom: 13px; }
  .preview-controls > span { font-size: 11px; width: 100%; text-align: center; }
  .preview-modes button { padding: 7px 12px; min-height: 44px; }
  .product-window { grid-template-columns: minmax(0,1fr); }
  .preview-panel { grid-row: 1; border-left: 0; border-bottom: 1px solid var(--line); }
  .preview-main { grid-row: 2; }
  .preview-body { padding: 26px; }
  .preview-body h2 { font-size: 29px; }
  .preview-toolbar { padding-inline: 26px; }
  .preview-composer { display: none; }
  .discussion { padding: 22px 26px 4px; }
  .writing-preview, .agent-preview { padding: 24px 26px; }
  .showcase figcaption { max-width: 450px; padding-inline: 6px; margin-top: 17px; }
  .content-section { margin-inline: 26px; padding: 66px 0; }
  .section-intro { grid-template-columns: 1fr; gap: 20px; }
  .section-intro h2 { font-size: 35px; max-width: 410px; }
  .section-intro p { font-size: 15px; max-width: 530px; }
  .essentials { gap: 28px; margin-top: 36px; }
  .essentials h3 { font-size: 16px; }
  .essentials p { font-size: 12px; }
  .agent-band-inner { margin-inline: 26px; padding-top: 49px; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .agent-symbols { margin-bottom: 25px; }
  .agent-band h2 { font-size: 30px; }
  .agent-band-copy p { font-size: 13px; margin: 18px 0; }
  .handoff-heading { padding: 17px; font-size: 10px; }
  .handoff-prompt { margin: 17px; font-size: 12px; }
  .handoff-steps { margin: 17px; font-size: 10px; }
  .handoff-result { margin: 20px 17px; gap: 8px; }
  .handoff-result span { font-size: 12px; }
  .agent-facts { font-size: 10px; gap: 20px; padding-top: 26px; margin-top: 30px; }
  .everyday-features { column-gap: 34px; row-gap: 30px; margin-top: 36px; }
  .everyday-features h3 { font-size: 16px; }
  .everyday-features p { font-size: 13px; }
  .everyday-features > article { gap: 14px; }
  .home-questions { margin-inline: 26px; padding: 57px 0; gap: 28px; grid-template-columns: 1fr; }
  .home-questions h2 { font-size: 34px; margin-bottom: 17px; }
  .home-questions h2 br { display: none; }
  .faq-list summary { padding: 20px 0; font-size: 14px; }
  .start-section { margin: 0 26px 60px; padding: 30px; flex-direction: column; align-items: flex-start; gap: 25px; }
  .start-section > div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
  .start-section .button-primary { min-width: 150px; }
  .site-footer { padding: 35px 26px 25px; }
  .footer-top { flex-wrap: wrap; gap: 30px; }
  .footer-top > div:first-child { width: calc(60% - 15px); }
  .footer-top > nav { width: calc(40% - 15px); grid-template-columns: 1fr; gap: 10px; }
  .footer-action { display: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 16px; padding-top: 33px; }
  .footer-bottom > div { flex-wrap: wrap; gap: 20px; }
  .page-hero { padding: 53px 26px 43px; }
  .page-hero h1 { font-size: 42px; max-width: 600px; }
  .page-hero > p { font-size: 16px; max-width: 510px; }
  .product-preview-wrap { margin-inline: 22px; margin-bottom: 43px; }
  .reading-layout { margin: 0 26px 60px; grid-template-columns: 1fr; gap: 33px; }
  .page-contents { padding: 12px 0; border-block: 1px solid var(--line); }
  .page-contents-inner { position: static; }
  .contents-disclosure > summary { min-height: 44px; padding: 10px 0; }
  .page-contents nav a { min-height: 44px; display: flex; align-items: center; }
  .markdown-link { margin-top: 4px; min-height: 44px; }
  .reading-section > h2 { font-size: 27px; }
  .reading-section > p { font-size: 15px; }
  .reading-section { padding-bottom: 36px; }
  .reading-section + .reading-section { padding-top: 33px; }
  .context-diagram { grid-template-columns: 1fr 20px 1.5fr 20px 1fr; gap: 8px; padding: 25px 15px; margin-top: 30px; }
  .context-diagram strong { font-size: 12px; }
  .context-diagram div > span { font-size: 9px; }
  .guide-next { padding: 27px; }
}
@media (max-width: 520px) {
  .preview-body, .writing-preview, .agent-preview { padding-inline: 22px; }
  .preview-toolbar { padding-inline: 22px; font-size: 11px; }
  .preview-toolbar .saved { display: none; }
  .panel-heading { padding-inline: 22px; }
  .discussion { padding-inline: 18px; }
  .essentials { grid-template-columns: 1fr; gap: 28px; }
  .essentials > article { display: flex; gap: 20px; }
  .essentials .feature-icon { margin: 3px 0 0; }
  .essentials h3 { font-size: 17px; }
  .essentials p { font-size: 14px; margin-top: 9px; }
  .section-intro h2 { font-size: 33px; }
  .agent-band-inner { grid-template-columns: 1fr; gap: 33px; padding-bottom: 30px; }
  .agent-band h2 { font-size: 36px; }
  .agent-band-copy p { font-size: 14px; }
  .handoff-heading { padding: 19px 23px; font-size: 12px; }
  .handoff-prompt { margin: 23px; font-size: 14px; }
  .handoff-steps { margin: 23px; font-size: 12px; }
  .handoff-result { margin: 23px; }
  .handoff-result strong { font-size: 12px; }
  .handoff-result span { font-size: 12px; }
  .agent-facts { margin-top: 0; padding-top: 26px; flex-direction: column; gap: 13px; font-size: 12px; }
  .everyday-features { grid-template-columns: 1fr; gap: 27px; }
  .everyday-features h3 { font-size: 17px; }
  .everyday-features p { font-size: 14px; }
  .start-section { padding: 28px; }
  .start-section h2 { font-size: 31px; }
  .start-section > div:last-child { align-items: flex-start; flex-direction: column; gap: 20px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero > p { font-size: 15px; }
  .context-diagram { grid-template-columns: 1fr; gap: 17px; padding-block: 25px; }
  .diagram-connector { width: 1px; height: 24px; justify-self: center; }
  .diagram-connector::after { right: -2px; top: auto; bottom: -1px; transform: rotate(135deg); }
  .context-diagram > div { gap: 4px; }
  .context-diagram strong { font-size: 14px; }
  .context-diagram div > span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .button-primary, .nav-cta, .task-check { border: 1px solid ButtonText; }
  .product-window, .preview-modes button[aria-pressed="true"] { border: 1px solid CanvasText; }
}

.faq-primary + .reading-section { border-top: 0; padding-top: 3px; }
.faq-list details[id] { scroll-margin-top: 108px; }

/* Installation extends the reading layout with real, selectable setup commands. */
.install-path { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-top: 29px; font-size: 13px; color: var(--muted); }
.install-path a { text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.install-path a:hover { color: var(--accent); }
.install-path > span { color: var(--muted); }
.command-block { margin-top: 24px; background: var(--tint); border-radius: 8px; padding: 15px 19px 12px; min-width: 0; }
.command-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 14px; color: var(--muted); min-height: 32px; }
.command-heading > span { min-width: 0; overflow-wrap: anywhere; }
.copy-command { border: 1px solid var(--control-line); border-radius: 5px; background: var(--canvas); color: var(--ink); font-size: 13px; display: inline-flex; flex: none; white-space: nowrap; align-items: center; gap: 7px; min-height: 32px; padding: 5px 10px; }
.copy-command:hover { border-color: var(--accent); color: var(--accent); }
.command-block pre { overflow: auto; margin: 13px 0 8px; padding: 3px 0 8px; font-size: 13px; line-height: 1.9; scrollbar-color: var(--scrollbar) transparent; }
.command-block code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--blue-ink); }
.copy-feedback { font-size: 12px; line-height: 1.6; color: var(--muted); min-height: 20px; }
.download-availability { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 24px; font-size: 14px; color: var(--ink); }
.download-availability strong { font-weight: 550; }
.download-availability > span { color: var(--muted); }
.page-hero > .connector-availability, .connector-availability { font-size: 14px; font-weight: 550; color: var(--ink); margin-top: 24px; }
.page-hero > .browser-workspace { font-size: 14px; margin-top: 8px; }
.step-outcome { font-size: 14px; color: var(--muted); border-left: 1px solid var(--control-line); padding-left: 16px; margin-top: 24px; }
.step-outcome strong { display: block; color: var(--ink); font-weight: 550; margin-bottom: 4px; }
.reading-section .section-link + .section-link { display: flex; margin-top: 16px; }
.manual-download { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 12px; }
.manual-download summary { cursor: pointer; color: var(--muted); padding: 8px 0; }
.manual-download p { color: var(--muted); margin: 12px 0; line-height: 1.85; }
.download-file { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 17px 0; }
.download-file a { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); }
.download-file > span { color: var(--muted); }
.download-file > code { width: 100%; overflow-wrap: anywhere; color: var(--muted); font-size: 11px; }
.first-task { margin-top: 24px; padding: 23px 25px; background: var(--tint); border-radius: 8px; }
.first-task > p { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.first-task blockquote { font-size: 16px; line-height: 1.9; }
@media(max-width:760px) {
  .copy-command { min-height: 44px; min-width: 70px; }
  .command-block { padding-inline: 15px; }
  .command-block pre { font-size: 12px; }
  .first-task { padding: 20px; }
  .first-task blockquote { font-size: 15px; }
  .install-path { gap: 12px; font-size: 12px; }
}

.agent-band-copy { min-width: 0; }
.agent-install { grid-column: 1/-1; max-width: 720px; width: 100%; min-width: 0; margin: 28px auto 0; }
.agent-install .connector-availability { margin-top: 0; color: var(--sage-ink); font-size: 12px; }
.agent-install .command-block { background: var(--preview-canvas); margin-top: 10px; border: 1px solid var(--line); }
.agent-band-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

@media (max-width: 1300px) {
  .page-hero { margin-inline: 48px; }
  .hero { gap: 28px; }
  .shared-sheet .sheet-stage { padding-inline: 24px; }
  .sheet-paper { margin-right: 18px; padding-inline: 22px; }
  .sheet-note { right: 12px; width: 260px; }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; max-width: 780px; padding-top: 36px; padding-bottom: 32px; gap: 32px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { max-width: 680px; font-size: 64px; }
  .hero-description { max-width: 490px; }
  .hero-detail { margin-top: 16px; }
  .shared-sheet .sheet-stage { padding: 24px 32px 20px; }
  .sheet-paper { margin-right: 44px; padding: 24px 28px 18px; }
  .sheet-writing h2 { font-size: 32px; }
  .sheet-note { right: 20px; width: 286px; }
}
@media (max-width: 760px) {
  .hero { padding-inline: 26px; }
  .hero h1 { font-size: clamp(40px,8vw,58px); }
  .hero-description { font-size: 16px; margin-top: 22px; }
  .hero-actions { margin-top: 24px; }
  .hero-detail { font-size: 12px; }
  .page-hero { margin-inline: 0; }
  .essentials { grid-template-columns: 1fr; gap: 30px; }
  .essentials > article { display: flex; gap: 18px; }
  .essentials .feature-icon { margin-top: 2px; }
  .essentials p { font-size: 14px; }
  .everyday-features .feature-icon { width: 36px; height: 36px; }
  .agent-band-inner { grid-template-columns: 1fr; gap: 32px; }
  .agent-band h2 { font-size: 38px; }
  .agent-band-copy p { font-size: 15px; max-width: 520px; }
  .handoff { max-width: 520px; width: calc(100% - 10px); margin: auto; transform: rotate(1deg); }
  .handoff-prompt { font-size: 14px; }
  .handoff-steps { font-size: 12px; }
  .agent-install { margin-top: 0; }
  .agent-facts { margin-top: 0; gap: 18px; flex-wrap: wrap; justify-content: flex-start; font-size: 12px; }
}
@media (max-width: 520px) {
  .hero { padding: 28px 22px 28px; gap: 22px; }
  .hero h1 { font-size: clamp(34px,10.4vw,52px); line-height: 1.1; }
  .hero-description { font-size: 15px; margin-top: 18px; }
  .hero-actions { gap: 22px; margin-top: 22px; }
  .hero-actions .button-primary { padding-inline: 18px; font-size: 14px; }
  .hero-actions .text-link { font-size: 14px; min-height: 44px; }
  .hero-detail { margin-top: 14px; font-size: 11px; }
  .shared-sheet .sheet-stage { border-radius: 18px 18px 32px 18px; padding: 18px 14px 16px; }
  .sheet-context { gap: 6px; margin-bottom: 16px; font-size: 10px; }
  .sheet-context .sheet-members { display: none; }
  .sheet-paper { margin-right: 0; padding: 20px 18px 16px; }
  .sheet-writing { padding-top: 20px; }
  .sheet-writing h2 { font-size: clamp(25px,7vw,32px); }
  .sheet-writing > p { font-size: 13px; }
  .sheet-writing > .sheet-quote { font-size: 13px; }
  .sheet-note { position: relative; right: auto; top: auto; width: calc(100% - 8px); min-height: 228px; margin: 4px -3px 0 auto; padding: 18px; transform: rotate(-1.5deg); }
  .shared-sheet .preview-controls { margin-top: 18px; flex-direction: column-reverse; flex-wrap: nowrap; gap: 10px; }
  .shared-sheet .preview-modes button { padding-inline: 10px; font-size: 12px; }
  .shared-sheet .preview-controls > .sheet-example { font-size: 10px; }
  .showcase.shared-sheet figcaption { font-size: 12px; margin-top: 12px; }
  .agent-facts { flex-direction: column; gap: 13px; }
  .start-section { border-radius: 16px; }
}
