:root { color-scheme: light; --bg: #fff; --ink: #17233b; --muted: #556176; --line: #dce3ee; --wash: #f4f7fb; --panel: #fff; --accent: #2563eb; --soft: #eaf1ff; }
html[data-theme='dark'] { color-scheme: dark; --bg: #101827; --ink: #e8eef8; --muted: #b0bdd2; --line: #303d54; --wash: #172235; --panel: #1b293e; --accent: #98baff; --soft: #243b61; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.75 Arial, 'Segoe UI', sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, select { font: inherit; }
button { cursor: pointer; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
:is(a, button, select, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.22; text-wrap: balance; }
h1 { font-size: clamp(40px, 4.5vw, 61px); letter-spacing: -.045em; max-width: 620px; }
h2 { font-size: clamp(27px, 3vw, 38px); letter-spacing: -.03em; }
h3 { font-size: 19px; letter-spacing: -.015em; }
p { color: var(--muted); }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; inset-inline-start: 16px; z-index: 20; padding: 10px 16px; background: var(--panel); border: 2px solid var(--accent); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-main { display: flex; gap: 28px; align-items: center; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { object-fit: contain; }
.brand strong { font-size: 24px; line-height: 1.2; letter-spacing: -.04em; }
.brand small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.section-navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 25px; margin-inline-start: auto; font-size: 12px; font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 7px; font-size: 13px; font-weight: 650; line-height: 1.4; text-align: center; background: var(--panel); }
.button-primary { color: #fff; background: #2563eb; border-color: #2563eb; }
.button-primary:hover { color: #fff; background: #1d4ed8; }
.button-small { flex-shrink: 0; min-height: 40px; padding: 9px 13px; font-size: 12px; }
.preferences { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 18px; padding-block: 0 13px; font-size: 11px; color: var(--muted); }
.preferences label { display: flex; align-items: center; gap: 8px; }
.preferences select { max-width: 220px; min-height: 34px; padding: 5px 9px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 12px; }
.language-select-wrap { min-width: 175px; }
.hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: 65px; align-items: center; padding-block: 84px 76px; }
.eyebrow { color: var(--accent); font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 18px; }
.lead { font-size: 16px; line-height: 1.9; margin-top: 25px; max-width: 560px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.text-link { color: var(--accent); font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
.hero-note { font-size: 11px; line-height: 1.8; max-width: 460px; margin-top: 21px; }
.writing-demo { min-width: 0; }
.demo-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 13px; color: var(--muted); font-size: 11px; }
.demo-state { color: var(--accent); text-align: end; }
.demo-window { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px #142b4e12; background: var(--wash); }
.demo-tools { display: flex; align-items: center; gap: 12px; min-height: 47px; padding: 12px 17px; background: var(--panel); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.demo-tools-end { display: flex; gap: 14px; margin-inline-start: auto; }
.demo-canvas { position: relative; padding: 31px 36px; min-height: 306px; }
.demo-handle { display: none; position: absolute; top: -38px; left: calc(50% - 14px); width: 28px; height: 3px; border-radius: 4px; background: var(--muted); opacity: .5; }
.demo-paper { min-height: 257px; background: var(--panel); border: 1px solid var(--line); padding: 34px 30px; box-shadow: 0 3px 14px #142b4e08; }
.demo-paper h3 { font: 500 20px/1.4 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; margin-bottom: 16px; }
.demo-paper p { display: inline; color: var(--muted); font: 13px/1.95 Georgia, 'Times New Roman', serif; }
.demo-paper h3 + p { display: inline; }
.demo-caret { display: inline-block; width: 1px; height: 13px; background: var(--accent); vertical-align: text-bottom; margin-inline-start: 3px; }
.demo-window.is-focused .demo-tools { visibility: hidden; }
.demo-window.is-focused .demo-handle { display: block; }
.demo-toggle { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; width: 100%; padding: 13px 0 0; border: 0; color: var(--accent); background: transparent; font-size: 12px; font-weight: 600; text-align: start; }
.section { padding-block: 66px; scroll-margin-top: 24px; }
.section-heading { max-width: 800px; margin-bottom: 35px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.feature { border-top: 1px solid var(--line); padding-top: 22px; }
.feature-mark { display: block; color: var(--accent); font-size: 27px; line-height: 1.3; margin-bottom: 18px; }
.feature p, .control-grid p, .steps p { margin-top: 13px; font-size: 14px; line-height: 1.85; }
.section-wash { background: var(--wash); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 37px; }
.steps li { display: flex; gap: 17px; min-width: 0; scroll-margin-top: 20px; }
.step-number { flex: 0 0 auto; white-space: nowrap; padding-top: 2px; color: var(--accent); font: 500 15px/1.5 Consolas, monospace; }
.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.control-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; color: var(--accent); background: var(--wash); font-size: 22px; margin-bottom: 18px; }
.shortcuts { margin: 15px 0 0; }
.shortcuts > div { display: flex; align-items: start; gap: 14px; margin-top: 13px; }
.shortcuts dd { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
kbd { display: inline-flex; justify-content: center; min-width: 36px; padding: 3px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--panel); color: var(--ink); font: 11px/1.4 Consolas, monospace; }
.exit-note { display: flex; align-items: start; gap: 20px; margin-top: 42px; padding-top: 25px; border-top: 1px solid var(--line); }
.exit-note h3 { font-size: 15px; }
.exit-note p { max-width: 900px; font-size: 13px; line-height: 1.85; margin-top: 9px; }
.scope-note { border-inline-start: 3px solid var(--accent); padding: 22px 27px; background: var(--wash); }
.scope-note h2 { font-size: 21px; }
.scope-note p { margin-top: 12px; max-width: 980px; font-size: 13px; line-height: 1.85; }
.faq { max-width: 930px; }
.faq h2 { margin-bottom: 25px; }
.faq details { padding-block: 20px; border-bottom: 1px solid var(--line); }
.faq summary { font-size: 15px; font-weight: 650; cursor: pointer; padding-inline-end: 15px; }
.faq details p { font-size: 14px; line-height: 1.9; margin-top: 14px; }
.cta { border: 1px solid var(--line); border-radius: 10px; background: var(--wash); padding: 40px; margin-bottom: 66px; }
.cta p { font-size: 14px; margin-top: 15px; }
.cta .button { margin-top: 24px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); padding-block: 27px 36px; font-size: 12px; }
.footer-brand { font-weight: 650; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 13px 24px; color: var(--muted); }
@media (max-width: 1050px) { .header-main { flex-wrap: wrap; padding-block: 18px; gap: 18px; } .section-navigation { order: 3; width: 100%; justify-content: start; } .header-main > .button { margin-inline-start: auto; } .hero { gap: 35px; padding-block: 56px; } .demo-canvas { padding-inline: 22px; } .demo-paper { padding-inline: 23px; } .feature-grid, .steps, .control-grid { gap: 27px; } }
@media (max-width: 740px) { .shell { width: calc(100% - 36px); } .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 43px 35px; } .hero-copy { max-width: 600px; } .lead { font-size: 15px; margin-top: 21px; } h1 { font-size: 42px; } .section { padding-block: 43px; } .feature-grid, .steps, .control-grid { grid-template-columns: 1fr; gap: 27px; } .feature-mark { margin-bottom: 12px; } .control-icon { margin-bottom: 13px; } .preferences { justify-content: start; gap: 13px; } .preferences label { align-items: start; flex-direction: column; gap: 5px; } .preferences select { font-size: 16px; min-height: 44px; } .language-select-wrap { min-width: 160px; } .brand strong { font-size: 21px; } .brand small { font-size: 10px; } .brand img { width: 36px; height: 36px; } .button-small { font-size: 11px; min-height: 44px; } .section-navigation { font-size: 11px; gap: 10px 19px; } .demo-canvas { min-height: 285px; padding: 25px; } .demo-paper { min-height: 250px; padding: 29px 24px; } .demo-caption { font-size: 10px; } .exit-note { margin-top: 27px; gap: 15px; } .scope-note { padding: 20px; } .scope-note h2 { font-size: 21px; } .cta { padding: 28px 23px; margin-bottom: 43px; } .site-footer { flex-direction: column; align-items: start; gap: 18px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .skip-link, .actions, .demo-toggle, .cta, .site-footer { display: none; } body { color: #111; background: #fff; } .shell { width: 100%; } .hero { padding-block: 0 25px; gap: 25px; } .section { padding-block: 25px; } .feature, .steps li, .control-grid article { break-inside: avoid; } .demo-window { box-shadow: none; } .faq details > p { display: block; } }
