/* ctlsurf marketing. Color and type roles: frontend/LANDING_DESIGN.md. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  color-scheme: light;
  --bg: #fbf7ef;
  --surface: #fffdf8;
  --soft: #efebe1;
  --fg: #24251f;
  --muted: #646458;
  --line: #d9d5c9;
  --accent: #b83820;
  --accent-hover: #a52e19;
  --tint: #f9e7da;
  --human: #b73a23;
  --human-bg: #ffe9d8;
  --agent: #216758;
  --agent-bg: #dceee5;
  --stage: #24251f;
  --stage-muted: #c8c8b7;
  --on-accent: #fffaf0;
  --stage-ink: #f4f0e5;
  --stage-accent: #f2db9c;
  --stage-accent-hover: #ffeab6;
  --stage-on-accent: #2b2c1c;
  --stage-border: #57594c;
  --terminal-bg: #1a1c17;
  --terminal-rule: #424439;
  --terminal-hover: #34382b;
  --terminal-text: #ecebdc;
  --chrome-human-bg: #ffcbaf;
  --chrome-human-ink: #842d1b;
  --chrome-agent-bg: #bfe1d3;
  --chrome-agent-ink: #164d40;
  --closing-bg: #c64026;
  --closing-fg: #fffaf0;
  --closing-muted: #fffaf0;
  --closing-accent: #fffaf0;
  --closing-action: #fffaf0;
  --closing-on-action: #9e301b;
  --action: #c64026; --action-hover: #b43620; --on-action: #fffaf0;
  --shadow: 0 22px 60px -35px #24251f45;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-editorial: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --motion-feedback: 140ms; --motion-content: 240ms; --motion-enter: 560ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #191b17;
  --surface: #22251f;
  --soft: #2b2e26;
  --fg: #f4f0e5;
  --muted: #babdb0;
  --line: #404439;
  --accent: #ff9875;
  --accent-hover: #ffb497;
  --tint: #452e23;
  --human: #ffb497;
  --human-bg: #483027;
  --agent: #9cd7bf;
  --agent-bg: #203e30;
  --stage: #10120e;
  --stage-muted: #c8c8b7;
  --on-accent: #341a10;
  --action: #ff9875; --action-hover: #ffb497; --on-action: #341a10;
  --shadow: 0 22px 60px -35px #000a;
}
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.055em; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.2vw, 56px); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--tint); color: var(--fg); }
.wrap { width: min(1280px, 100%); padding-inline: 48px; margin-inline: auto; }
.eyebrow { display: block; color: var(--muted); font: 500 11px/1.5 var(--font-mono); letter-spacing: .11em; text-transform: uppercase; }
.section-number { color: var(--accent); margin-right: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-size: 14px; font-weight: 550; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 13px 21px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 550; line-height: 1.4; transition: background var(--motion-feedback), transform var(--motion-feedback) var(--ease-out); }
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-primary:hover { background: var(--action-hover); transform: translateY(-1px); }
.btn-secondary { border-color: var(--line); background: var(--surface); }
.btn-secondary:hover { background: var(--soft); }
.btn:active { transform: translateY(1px); }
.btn > span[aria-hidden], .text-link > span[aria-hidden] { display: inline-block; transition: transform var(--motion-feedback) var(--ease-out); }
.btn:hover > span[aria-hidden], .text-link:hover > span[aria-hidden] { transform: translate(2px, -2px); }
.hero-actions .text-link:hover > span[aria-hidden] { transform: translateY(3px); }
.skip-link { position: fixed; top: 8px; left: 12px; transform: translateY(-160%); z-index: 100; padding: 10px 20px; background: var(--fg); color: var(--bg); border-radius: 5px; }
.skip-link:focus { transform: none; }
.nav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 27px; font-weight: 650; letter-spacing: -.065em; line-height: 1; }
.brand > span { color: var(--accent); }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-links, .login { font-size: 13px; color: var(--muted); }
.nav-links a:hover, .login:hover { color: var(--accent); }
.nav-actions { gap: 18px; }
.nav .btn { min-height: 40px; padding: 10px 16px; font-size: 12px; gap: 16px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; border-radius: 5px; color: var(--muted); transition: background var(--motion-feedback), transform var(--motion-feedback) var(--ease-out); }
.icon-btn:hover { background: var(--soft); }
.icon-btn:active { transform: scale(.94); }
.moon, .hamburger { display: none; }
[data-theme="dark"] .sun { display: none; }
[data-theme="dark"] .moon { display: block; }
.mobile-menu { padding: 12px 24px 24px; border-top: 1px solid var(--line); }
.mobile-menu a { display: block; padding: 12px 0; font-size: 15px; }
.hero { padding: 62px 0 0; }
.hero-copy { display: grid; grid-template-columns: 1.6fr 1fr; column-gap: 64px; align-items: end; }
.hero-heading .eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.hero h1 { margin-top: 23px; font-size: clamp(52px, 5.65vw, 80px); line-height: 1.04; letter-spacing: -.065em; }
.hero h1 em { color: var(--accent); font-family: var(--font-editorial); font-weight: 400; letter-spacing: -.065em; }
.hero-intro { padding-bottom: 3px; max-width: 350px; }
.hero-intro > p { color: var(--muted); font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.hero-intro > p strong { color: var(--fg); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.hero-actions .text-link { font-size: 13px; }
.hero-intro > .hero-note { margin-top: 14px; color: var(--muted); font-size: 11px; }
.demo { margin-top: 49px; scroll-margin-top: 104px; }
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.demo-heading p { color: var(--muted); font-size: 12px; }
.demo-heading p strong { color: var(--fg); font-weight: 550; }
.demo-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--muted); font-size: 11px; line-height: 1.4; }
.demo-toggle:hover { color: var(--accent); border-color: var(--accent); }
.demo-toggle svg { width: 13px; height: 13px; }
.demo-toggle .glyph-play { display: none; }
.demo-toggle.is-paused .glyph-pause { display: none; }
.demo-toggle.is-paused .glyph-play { display: inline; fill: currentColor; }
.workspace { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.workspace-chrome { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 22px; background: var(--stage); color: var(--stage-ink); font-size: 12px; }
.workspace-chrome-title { display: flex; align-items: center; gap: 10px; }
.workspace-chrome-title svg { width: 15px; height: 15px; color: var(--stage-accent); }
.workspace-chrome-title > span { color: var(--stage-muted); }
.collaborators { display: flex; align-items: center; gap: 9px; color: var(--stage-muted); font-size: 10px; }
.collaborator { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--chrome-agent-bg); color: var(--chrome-agent-ink); font-size: 9px; font-weight: 650; }
.collaborator.you { background: var(--chrome-human-bg); color: var(--chrome-human-ink); }
.demo-tabs { display: flex; background: var(--soft); padding: 0 14px; border-bottom: 1px solid var(--line); }
.demo-tab { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 12px; min-height: 54px; border: 0; background: transparent; color: var(--muted); font-size: 12px; transition: color var(--motion-feedback), background var(--motion-feedback); }
.demo-tab:hover { background: var(--tint); }
.demo-tab::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--motion-content) var(--ease-out); }
.demo-tab[aria-selected="true"] { color: var(--accent); font-weight: 600; }
.demo-tab[aria-selected="true"]::after { transform: scaleX(1); }
.step-number { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid var(--line); border-radius: 50%; font: 10px var(--font-mono); }
.demo-tab[aria-selected="true"] .step-number { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.workspace-body { display: grid; grid-template-columns: minmax(0, 1fr) 270px; }
.presentation { min-width: 0; align-self: center; }
.editor-capture { position: relative; display: block; background: var(--surface); }
.editor-capture img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 648; }
.capture-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--fg); font-size: 10px; }
.editor-capture:hover .capture-zoom { background: var(--tint); }
.editor-capture:focus-visible { outline-offset: -4px; }
.mobile-caption { display: none; }
.handoff { border-left: 1px solid var(--line); padding: 23px; display: flex; flex-direction: column; background: var(--surface); }
.handoff-label { margin-bottom: 21px; color: var(--muted); font: 10px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.handoff-event { display: grid; grid-template-columns: 25px 1fr; gap: 10px; align-items: start; }
.avatar { display: grid; place-items: center; width: 25px; height: 25px; background: var(--agent-bg); color: var(--agent); border-radius: 50%; font-size: 9px; font-weight: 650; }
.avatar.human { background: var(--human-bg); color: var(--human); }
.handoff-event h3 { font-size: 12px; line-height: 1.55; font-weight: 600; letter-spacing: -.015em; }
.handoff-event p { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.65; }
.handoff-line { height: 21px; margin: 7px 0 7px 12px; border-left: 1px dashed var(--line); }
.handoff-status { margin: 18px 0 0 35px; font-size: 11px; color: var(--agent); }
.demo-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding: 18px 0 0; background: transparent; border: 0; color: var(--accent); font-size: 11px; font-weight: 550; text-align: left; }
.demo-next:hover { text-decoration: underline; text-underline-offset: 4px; }
.demo-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 13px; color: var(--muted); font-size: 10px; }
.demo-caption a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.demo-caption .demo-legend { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.legend-item { display: inline-flex; align-items: center; gap: 5px; }
.legend-item::before { content: ''; width: 6px; height: 6px; background: var(--agent); border-radius: 50%; }
.legend-item.human::before { background: var(--human); }
.formats { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 31px; padding: 32px 0 39px; color: var(--muted); font-size: 12px; }
.formats-label { font: 10px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.formats span { display: inline-flex; align-items: center; gap: 8px; }
.formats svg { width: 15px; height: 15px; color: var(--accent); }
.context, .review, .ecosystem, .pricing, .faq-section { padding: 100px 0; border-top: 1px solid var(--line); }
.context-grid, .review-grid { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: 110px; }
.context h2, .review h2, .ecosystem h2, .pricing h2, .film h2 { margin-top: 20px; }
.context-copy > p, .review-copy > p { margin: 23px 0; max-width: 390px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.project { position: relative; padding: 27px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 8px 8px 0 var(--soft); }
.project-heading { padding: 0 0 21px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.project-heading h3 { font-size: 22px; }
.project-heading > span { font: 10px var(--font-mono); color: var(--muted); }
.project-row { display: flex; align-items: center; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.file-icon { display: grid; place-items: center; width: 30px; height: 34px; color: var(--accent); }
.file-icon svg { width: 20px; height: 20px; }
.project-row h4 { font-size: 13px; font-weight: 550; letter-spacing: -.02em; }
.project-row p { margin-top: 3px; font-size: 11px; color: var(--muted); }
.project-row .file-state { font-size: 10px; color: var(--agent); margin-left: auto; white-space: nowrap; }
.project-row.edited .file-state { color: var(--human); }
.project-note { display: flex; gap: 12px; margin: 20px -10px -7px; padding: 14px 11px; border-radius: 3px; background: var(--human-bg); color: var(--human); font-size: 11px; }
.project-note strong { font-weight: 600; }
.review { background: var(--soft); }
.review-grid { grid-template-columns: 1fr .95fr; }
.review-copy { grid-column: 2; grid-row: 1; }
.record { grid-column: 1; grid-row: 1; padding: 26px 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: var(--shadow); }
.record-topline { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; font: 10px var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.record-topline svg { width: 14px; height: 14px; color: var(--accent); }
.record-head { padding-bottom: 19px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.record-head h3 { font-size: 19px; line-height: 1.35; }
.record-state { font-size: 10px; color: var(--agent); background: var(--agent-bg); padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.record-row { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.record-key { flex: 0 0 65px; font: 10px/1.7 var(--font-mono); color: var(--agent); padding-top: 2px; }
.record-row p { font-size: 12px; color: var(--muted); }
.record-row:last-of-type .record-key { color: var(--human); }
.record-note { margin-top: 17px; font-size: 10px; color: var(--muted); }
.ecosystem-head, .pricing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.ecosystem-head > p { max-width: 310px; color: var(--muted); font-size: 14px; }
.surface-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 28px; margin-top: 45px; counter-reset: surfaces; }
.surface { padding-top: 17px; border-top: 1px solid var(--line); }
.surface::before { counter-increment: surfaces; content: '0' counter(surfaces); display: block; margin-bottom: 24px; color: var(--accent); font: 11px var(--font-mono); }
.surface h3 { font-size: 16px; letter-spacing: -.03em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.surface p { margin-top: 10px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.soon { font-size: 9px; font-weight: 550; letter-spacing: .02em; color: var(--muted); border: 1px solid var(--line); padding: 2px 5px; border-radius: 3px; white-space: nowrap; }
.setup { background: var(--stage); color: var(--stage-ink); padding: 76px 0 34px; }
.setup-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 88px; align-items: center; }
.setup-grid > * { min-width: 0; }
.setup .eyebrow { color: var(--stage-muted); }
.setup h2 { margin-top: 19px; font-size: clamp(36px, 4vw, 52px); }
.setup-copy > p { color: var(--stage-muted); max-width: 370px; margin: 21px 0 26px; font-size: 14px; line-height: 1.8; }
.setup .btn { background: var(--stage-accent); color: var(--stage-on-accent); }
.setup .btn:hover { background: var(--stage-accent-hover); }
.setup :focus-visible { outline-color: var(--stage-accent); }
.terminal { border: 1px solid var(--stage-border); border-radius: 6px; background: var(--terminal-bg); min-width: 0; overflow: hidden; }
.terminal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--terminal-rule); font-size: 11px; color: var(--stage-muted); }
.terminal-head > span { display: inline-flex; align-items: center; gap: 7px; }
.terminal-head svg { width: 15px; height: 15px; }
.copy-command { min-height: 32px; border: 1px solid var(--stage-border); border-radius: 3px; padding: 5px 9px; background: transparent; font-size: 10px; color: var(--terminal-text); }
.copy-command:hover { background: var(--terminal-hover); }
.copy-command { transition: color var(--motion-feedback), background var(--motion-feedback), opacity var(--motion-feedback); }
.copy-command:disabled { cursor: progress; opacity: .65; }
.copy-command[data-state="copied"] { background: var(--stage-accent); color: var(--stage-on-accent); border-color: var(--stage-accent); }
.command-scroll { padding: 28px 20px 20px; overflow-x: auto; scrollbar-color: var(--stage-border) var(--terminal-bg); }
.command-scroll code { font: 12px/1.8 var(--font-mono); color: var(--stage-accent); white-space: pre; }
.command-mobile { display: none; }
.terminal-note { padding: 0 20px 23px; color: var(--stage-muted); font-size: 11px; }
.setup-after { margin: 17px 0 0; color: var(--stage-muted); font-size: 11px; }
.setup-after a { color: var(--terminal-text); text-decoration: underline; text-underline-offset: 4px; }
.setup-agents { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 36px; margin-top: 50px; padding-top: 27px; border-top: 1px solid var(--stage-border); color: var(--terminal-text); font-size: 15px; font-weight: 500; letter-spacing: -.03em; }
.setup-agents .agents-label { margin-right: auto; color: var(--stage-muted); font: 10px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.pricing h2 { font-size: clamp(36px, 4.2vw, 56px); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 39px; }
.price { display: flex; flex-direction: column; padding: 28px 25px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.price:first-child { background: var(--tint); border-color: var(--accent); }
.price h3 { font-size: 20px; letter-spacing: -.035em; }
.price .who { margin-top: 9px; font-size: 12px; color: var(--muted); }
.amount { margin-top: 25px; font-size: 44px; font-weight: 500; letter-spacing: -.065em; line-height: 1.3; font-variant-numeric: tabular-nums; }
.amount small { font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.price-note { font-size: 10px; color: var(--muted); margin-top: 5px; }
.price ul { flex: 1; list-style: none; padding: 20px 0 0; margin: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.price li { display: flex; gap: 9px; margin-top: 9px; }
.price li:first-child { margin-top: 0; }
.price li::before { content: '✓'; color: var(--accent); }
.price .btn { width: 100%; font-size: 12px; }
.pricing-note { margin-top: 23px; color: var(--muted); font-size: 11px; }
.film { padding: 70px 0; border-top: 1px solid var(--line); }
.film-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.film h2 { font-size: 42px; }
.film-head > p { margin-top: 22px; max-width: 340px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.film-frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #eeeeec; }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6%; border: 0; background: transparent; cursor: pointer; }
.film-play > span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border-radius: 4px; background: var(--stage); color: var(--stage-ink); font-size: 12px; font-weight: 500; transition: transform .18s; }
.film-play:hover > span { transform: translateY(-2px); }
.film-play:focus-visible { outline-offset: -6px; }
.film-play svg { width: 12px; height: 12px; }
.film-frame.playing .film-play { display: none; }
.film-foot { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 10px; color: var(--muted); }
.film-foot .text-link { font-size: 11px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq-intro h2 { font-size: 42px; margin-top: 19px; }
.faq-intro > p { max-width: 260px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.faq-intro > p a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; list-style: none; cursor: pointer; padding: 21px 0; font-size: 13px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq p { padding: 0 24px 22px 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.faq p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.closing { padding: 78px 0 83px; text-align: center; background: var(--closing-bg); color: var(--closing-fg); border-top: 1px solid var(--line); }
.closing .eyebrow { color: var(--closing-accent); }
.closing h2 { margin-top: 20px; font-size: clamp(44px, 5.5vw, 76px); }
.closing h2 em { color: var(--closing-accent); font-family: var(--font-editorial); font-weight: 400; }
.closing .btn-primary { background: var(--closing-action); color: var(--closing-on-action); }
.closing .btn-primary:hover { background: var(--closing-action); }
.closing p { color: var(--closing-muted); margin: 20px 0 27px; font-size: 14px; }
footer { padding: 38px 0; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 11px; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.copyright { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 28px; font-size: 10px; color: var(--muted); }
.editor-dialog { width: min(1488px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--fg); box-shadow: 0 25px 100px #0005; }
.editor-dialog::backdrop { background: #11150fcc; }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; }
.dialog-toolbar h2 { font-size: 19px; letter-spacing: -.03em; }
.dialog-toolbar p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.editor-dialog-scroll { overflow-x: auto; border-block: 1px solid var(--line); }
.editor-dialog-scroll img { display: block; width: 100%; min-width: 960px; height: auto; }
.dialog-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 14px 22px; font-size: 12px; color: var(--muted); }
.dialog-caption a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.motion-pending { opacity: 0; }
/* Measured edits over real workspace captures, independent of the marketing palette. */
.capture-before { position: absolute; inset: 0; width: 100%; height: auto; opacity: 0; transition: opacity .35s ease; }
.editor-capture[data-phase="before"] .capture-before { opacity: 1; }
.editor-capture.no-fade .capture-before { transition: none; }
.gesture { position: absolute; inset: 0; container-type: inline-size; pointer-events: none; overflow: hidden; --human-ink: #813e2d; --human-fill: #fce8dc; --edit: #aa442e; }
[data-theme="dark"] .gesture { --human-ink: #ffb89b; --human-fill: #493025; }
.gesture > * { position: absolute; }
.g-mask { background: var(--human-fill); display: none; }
.g-type { font: 400 calc(100cqw * 16 / 1440) / 1.5 ui-sans-serif, system-ui, sans-serif; color: var(--human-ink); display: none; white-space: normal; }
.g-spacer { display: inline-block; height: 1px; vertical-align: top; }
.g-caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -.15em; background: currentColor; animation: g-blink 1s steps(2) infinite; }
.g-node { display: none; align-items: center; justify-content: center; text-align: center; padding: 0 3%; border: 2px solid var(--edit); border-radius: 6px; background: var(--human-fill); color: var(--human-ink); font: 500 calc(100cqw * 13 / 1440) / 1.35 ui-sans-serif, system-ui, sans-serif; }
.g-edge { inset: 0; width: 100%; height: 100%; display: none; }
.g-edge path { fill: none; stroke: var(--edit); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.g-toast { display: none; transform: translate(-100%, -130%); padding: .35em .7em; border-radius: 999px; background: var(--fg); color: var(--bg); font: 500 calc(100cqw * 13 / 1440) / 1.3 ui-sans-serif, system-ui, sans-serif; white-space: nowrap; }
.g-click { width: calc(100cqw * 34 / 1440); aspect-ratio: 1; border: 2px solid var(--edit); border-radius: 50%; transform: translate(-50%, -50%) scale(var(--s, 0)); opacity: var(--o, 0); }
.g-cursor { width: calc(100cqw * 22 / 1440); height: auto; fill: #fff; stroke: #111; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 1px 2px #0006); transform: translate(-3px, -2px); }
@keyframes g-blink { to { opacity: 0; } }
@media (max-width: 1120px) {
  .wrap { padding-inline: 36px; }
  .nav-links { gap: 20px; } .nav-actions { gap: 10px; }
  .hero-copy { column-gap: 36px; grid-template-columns: 1.45fr 1fr; }
  .hero h1 { font-size: 62px; }
  .hero-intro > p { font-size: 14px; }
  .hero-actions { gap: 14px; }
  .workspace-body { grid-template-columns: minmax(0, 1fr) 245px; }
  .handoff { padding: 20px; } .handoff-label { margin-bottom: 15px; }
  .context-grid, .review-grid { gap: 65px; }
  .setup-grid { gap: 45px; }
  .film-layout, .faq-grid { gap: 55px; }
  .price { padding: 24px 20px; }
}
@media (max-width: 900px) {
  .nav-inner { gap: 20px; } .nav-links { display: none; } .hamburger { display: grid; }
  .hero { padding-top: 45px; } .hero-copy { grid-template-columns: 1fr; gap: 25px; }
  .hero h1 { font-size: 72px; } .hero-intro { max-width: 570px; }
  .hero-intro > p { font-size: 16px; } .hero-actions { margin-top: 20px; }
  .hero-intro > .hero-note { margin-left: 0; } .demo { margin-top: 35px; }
  .workspace-body { grid-template-columns: minmax(0, 1fr); }
  .handoff { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 15px 24px; padding: 23px; }
  .handoff-label { grid-column: 1 / -1; margin: 0; } .handoff-line { display: none; }
  .handoff-status { margin: 0; } .demo-next { margin: 0; padding: 0; justify-content: flex-end; }
  .context, .review, .ecosystem, .pricing, .faq-section { padding: 72px 0; }
  .context-grid, .review-grid { gap: 40px; } .project, .record { padding: 22px; }
  .context h2, .review h2 { font-size: 40px; }
  .context-copy > p, .review-copy > p { font-size: 14px; }
  .project-row .file-state { display: none; }
  .surface-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setup-grid { grid-template-columns: 1fr; gap: 34px; } .setup-copy > p { max-width: 550px; }
  .price-grid { gap: 12px; } .price { padding: 22px 16px; }
  .price .who { min-height: 3.3em; } .amount { font-size: 38px; } .amount small { font-size: 10px; }
  .film-layout { gap: 35px; } .film h2 { font-size: 36px; }
  .film-foot { align-items: flex-start; flex-direction: column; gap: 5px; }
  .faq-grid { grid-template-columns: .7fr 1fr; gap: 40px; }
  .footer-top { align-items: flex-start; } .footer-links { max-width: 420px; justify-content: flex-end; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 84px; } .wrap { padding-inline: 22px; }
  .nav-inner { min-height: 68px; gap: 12px; } .brand { font-size: 25px; gap: 7px; }
  .nav-actions { gap: 2px; }
  .nav .btn { padding: 10px 12px; font-size: 11px; } .login { display: none; }
  .hero { padding-top: 37px; } .hero-copy { gap: 22px; }
  .hero-heading .eyebrow { font-size: 9px; letter-spacing: .05em; gap: 8px; }
  .hero h1 { font-size: clamp(41px, 10.5vw, 61px); margin-top: 21px; line-height: 1.06; }
  .hero-intro > p { font-size: 14px; line-height: 1.75; max-width: 390px; }
  .hero-actions { gap: 16px; margin-top: 20px; } .hero-actions .btn { font-size: 12px; gap: 18px; padding: 13px 16px; }
  .hero-actions .text-link { font-size: 12px; gap: 8px; } .hero-intro > .hero-note { margin-top: 13px; font-size: 10px; }
  .demo { margin-top: 30px; scroll-margin-top: 87px; }
  .demo-heading { gap: 10px; } .demo-heading p { font-size: 10px; max-width: 230px; line-height: 1.6; }
  .demo-toggle { font-size: 10px; min-height: 36px; flex-shrink: 0; }
  .workspace { border-radius: 6px; } .workspace-chrome { padding: 12px 13px; font-size: 10px; }
  .workspace-chrome-title { gap: 7px; } .workspace-chrome-title > span, .collaborators > span:last-child { display: none; }
  .collaborators { gap: 5px; } .collaborator { width: 21px; height: 21px; font-size: 8px; }
  .demo-tabs { padding: 0 4px; } .demo-tab { padding: 12px 4px; font-size: 10px; gap: 5px; min-height: 48px; }
  .step-number { width: 17px; height: 17px; font-size: 8px; } .demo-tab::after { left: 4px; right: 4px; }
  .capture-zoom { right: 7px; bottom: 7px; min-height: 28px; padding: 4px 8px; font-size: 9px; }
  .handoff { display: flex; flex-direction: column; gap: 0; padding: 20px; }
  .handoff-label { margin-bottom: 18px; } .handoff-event { grid-template-columns: 24px 1fr; }
  .handoff-event h3, .handoff-event p { font-size: 11px; } .handoff-event p { margin-top: 3px; }
  .handoff-line { display: block; height: 16px; margin-block: 6px; }
  .handoff-status { margin: 15px 0 0 34px; font-size: 10px; }
  .demo-next { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); justify-content: space-between; min-height: 44px; }
  .demo-caption { font-size: 10px; margin-top: 12px; } .desktop-caption { display: none; } .mobile-caption { display: inline; }
  .demo-caption .demo-legend { display: none; }
  .formats { gap: 13px 21px; padding: 27px 0 30px; font-size: 11px; } .formats-label { justify-content: center; width: 100%; font-size: 9px; }
  .formats svg { width: 14px; height: 14px; }
  .context, .review, .ecosystem, .pricing, .faq-section { padding: 53px 0; }
  .context-grid, .review-grid { grid-template-columns: 1fr; gap: 32px; }
  .context h2, .review h2 { font-size: 39px; } .context-copy > p, .review-copy > p { margin: 20px 0; }
  .review-copy, .record { grid-column: auto; grid-row: auto; }
  .project, .record { padding: 23px; } .project-row .file-state { display: block; font-size: 9px; }
  .project-heading h3 { font-size: 21px; } .project-row { padding: 16px 0; gap: 10px; }
  .project-row h4 { font-size: 12px; } .project-row p { font-size: 10px; }
  .project-note { font-size: 10px; } .record-head h3 { font-size: 18px; }
  .record-row { gap: 12px; } .record-key { flex-basis: 58px; font-size: 9px; } .record-row p { font-size: 11px; }
  .ecosystem-head, .pricing-head { flex-direction: column; align-items: flex-start; gap: 21px; }
  .ecosystem h2, .pricing h2 { font-size: 39px; } .ecosystem-head > p { font-size: 13px; max-width: 360px; }
  .surface-grid { gap: 28px 23px; margin-top: 32px; } .surface::before { margin-bottom: 17px; }
  .surface h3 { font-size: 15px; } .surface p { font-size: 11px; } .soon { font-size: 8px; }
  .setup { padding: 51px 0 29px; } .setup-grid { gap: 28px; }
  .setup h2 { font-size: 39px; } .setup-copy > p { font-size: 13px; margin: 20px 0 24px; }
  .setup .btn { font-size: 12px; } .terminal-head { padding: 11px 14px; font-size: 10px; }
  .command-scroll { padding: 21px 16px 16px; } .command-scroll code { font-size: 12px; }
  .terminal-note { padding: 0 16px 19px; font-size: 10px; } .setup-after { font-size: 10px; }
  .command-desktop { display: none; } .command-mobile { display: block; }
  .setup-agents { gap: 14px 24px; margin-top: 29px; padding-top: 25px; font-size: 13px; }
  .setup-agents .agents-label { width: 100%; text-align: center; margin-right: 0; font-size: 9px; }
  .price-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 29px; } .price { padding: 27px; }
  .price .who { min-height: 0; } .amount { margin-top: 19px; font-size: 43px; }
  .amount small { font-size: 11px; } .price ul { margin-block: 20px; } .pricing-note { font-size: 10px; }
  .film { padding: 52px 0; } .film-layout { grid-template-columns: 1fr; gap: 29px; }
  .film h2 { font-size: 39px; } .film-head > p { font-size: 13px; margin-top: 19px; }
  .film-play > span { font-size: 11px; padding: 9px 12px; } .film-foot { flex-direction: row; font-size: 9px; gap: 12px; }
  .film-foot .text-link { font-size: 10px; }
  .faq-grid { grid-template-columns: 1fr; gap: 29px; } .faq-intro h2 { font-size: 39px; }
  .faq-intro > p { max-width: 100%; margin-top: 17px; font-size: 13px; }
  .faq summary { padding: 19px 0; font-size: 12px; } .faq p { font-size: 12px; }
  .closing { padding: 56px 0 61px; } .closing h2 { font-size: clamp(42px, 10vw, 58px); }
  .closing p { font-size: 13px; margin-top: 18px; } .closing .btn { font-size: 13px; }
  footer { padding: 30px 0; } .footer-top { flex-direction: column; gap: 25px; }
  .footer-links { justify-content: flex-start; gap: 13px 23px; } .copyright { margin-top: 25px; font-size: 9px; }
  .editor-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-toolbar { padding: 14px 16px; } .dialog-toolbar h2 { font-size: 17px; } .dialog-toolbar p { font-size: 10px; }
  .dialog-caption { font-size: 10px; padding: 13px 16px; }
  .g-cursor { width: calc(100cqw * 34 / 1440); }
}
@media (max-width: 370px) {
  .wrap { padding-inline: 17px; } .nav .btn { padding-inline: 10px; } .nav-actions { gap: 0; }
  .nav .icon-btn { width: 36px; } .hero h1 { font-size: 40px; }
  .hero-heading .eyebrow { font-size: 8px; } .hero-actions { gap: 14px; }
  .project, .record { padding: 19px; } .project-row .file-state { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-pending { opacity: 1; }
}
@media (forced-colors: active) {
  .btn, .avatar, .step-number, .collaborator { border: 1px solid ButtonText; }
  .demo-tab[aria-selected="true"]::after { background: Highlight; }
}
