/* Glimpse landing page — palette shared with the workspace panel. */
:root {
  color-scheme: dark;
  --bg: #0d1424;
  --sidebar: #0a101d;
  --panel: #141e36;
  --border: #26334f;
  --text: #eef2fa;
  --muted: #a1acc7;
  --blue: #3b6fff;
  --green: #60d79b;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #90adff; outline-offset: 5px; }
button { color: inherit; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.75; }
svg { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }
::selection { background: #3151a0; color: white; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 14px 20px; background: var(--blue); border-radius: 8px; }
.skip-link:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Header and navigation */
.header { position: sticky; top: 0; z-index: 20; background: #0d1424ed; border-bottom: 1px solid #26334f85; backdrop-filter: blur(18px); }
.nav-wrap { height: 80px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 700; letter-spacing: -1.2px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 11px; background: var(--blue); color: white; }
.brand-mark svg { width: 23px; height: 23px; }
.brand-dot { color: #7d9eff; margin-left: -10px; }
.nav { display: flex; gap: 30px; margin-inline: auto; font-size: 13px; color: var(--muted); }
.nav a { transition: color .2s; }
.nav a:hover { color: white; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 16px; font-size: 12px; border: 1px solid #3b4c73; border-radius: 8px; background: #17223b; transition: background .2s, border-color .2s; }
.nav-cta:hover { background: #203255; border-color: #6e91e5; }
.nav-cta svg { width: 15px; height: 15px; }
.language-picker { position: relative; display: inline-flex; flex-shrink: 0; }
.language-trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; width: 64px; height: 40px; padding: 0 11px; font-size: 12px; font-weight: 600; color: var(--text); background: #17223b; border: 1px solid #3b4c73; border-radius: 8px; transition: border-color .2s, background .2s; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { background: #1c2b49; border-color: #6486cf; }
.language-trigger:disabled { cursor: default; opacity: .6; }
.language-trigger > svg { width: 12px; height: 12px; color: var(--muted); transition: transform .2s; }
.language-trigger[aria-expanded="true"] > svg { transform: rotate(180deg); }
.language-menu { position: absolute; top: calc(100% + 9px); right: 0; width: 80px; max-width: calc(100vw - 32px); padding: 6px; border: 1px solid #35496f; border-radius: 11px; background: #141e36; box-shadow: 0 16px 36px #03081380, 0 2px 8px #03081340; animation: language-menu-in .14s ease-out; }
.language-option { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid transparent; border-radius: 7px; color: #c5d0e7; background: transparent; font-size: 12px; text-align: left; transition: background .15s, color .15s; }
.language-option + .language-option { margin-top: 3px; }
.language-option:hover, .language-option:focus-visible { background: #223354; color: white; }
.language-option:focus-visible { outline-offset: -2px; }
.language-option[aria-checked="true"] { background: #3b6fff1c; color: #d9e5ff; }
.language-code { font-size: 12px; font-weight: 600; color: inherit; }
.language-option > svg { width: 14px; height: 14px; margin-left: auto; color: #88acff; visibility: hidden; }
.language-option[aria-checked="true"] > svg { visibility: visible; }
@keyframes language-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border); background: var(--panel); border-radius: 8px; }

/* Intro and product preview */
.hero { position: relative; overflow: hidden; padding-top: 74px; }
.hero-glow { pointer-events: none; position: absolute; inset: 0 0 auto; height: 950px; background: radial-gradient(ellipse at 50% 45%, #284dbe22, transparent 63%); z-index: -1; }
.hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 720px; z-index: -1; background-image: linear-gradient(#869de905 1px, transparent 1px), linear-gradient(90deg, #869de905 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(black, transparent); }
.hero-content { text-align: center; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 11px; padding: 8px 13px; color: #b1c4fb; border: 1px solid #36538c7a; background: #16274970; border-radius: 30px; font-size: 10px; font-weight: 600; letter-spacing: 1.3px; }
.eyebrow-pill svg { width: 13px; height: 13px; margin-left: 4px; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.eyebrow-pill .status-dot { background: #799dff; box-shadow: 0 0 12px #7698ff77; }
h1 { margin-top: 27px; font-size: clamp(48px, 5.6vw, 78px); font-weight: 650; line-height: 1.08; letter-spacing: -4px; }
h1 > span, .cta-section h2 > span { background: linear-gradient(110deg, #bfd2ff 0%, #779aff 55%, #5980ed 100%); color: #89a9ff; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { margin-top: 25px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 13px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 13px 23px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 600; transition: background .2s, transform .2s, border-color .2s; }
.button svg { width: 17px; height: 17px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 5px 25px #255cff26, inset 0 1px 0 #ffffff24; border-color: #7096ff55; }
.button-primary:hover { background: #507fff; }
.button-secondary { background: #141e3280; border-color: #34425e; color: #d2daec; }
.button-secondary:hover { background: #1a2842; border-color: #6379a7; }
.hero-checks { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 21px; font-size: 10px; color: var(--muted); }
.hero-checks span { display: inline-flex; align-items: center; gap: 6px; }
.hero-checks svg { color: #86a7ff; width: 12px; height: 12px; }
.demo-wrap { position: relative; margin-top: 51px; max-width: 1020px; scroll-margin-top: 105px; }
.demo-wrap::before { content: ''; pointer-events: none; position: absolute; inset: -30px -60px; z-index: -1; background: radial-gradient(ellipse, #3159ca25, transparent 70%); }
.demo { border: 1px solid #364767; border-radius: 12px; background: #0b1221; overflow: hidden; box-shadow: 0 35px 90px #02071366, 0 0 0 5px #738ed405; text-align: left; }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 39px; padding: 0 18px; border-bottom: 1px solid #26334f; background: #162039; font-size: 10px; color: #a1acc7; }
.window-bar > span { display: inline-flex; align-items: center; gap: 7px; }
.window-bar svg { width: 10px; height: 10px; }
.window-dots { display: flex; gap: 6px; width: 116px; }
.window-dots b { display: block; width: 7px; height: 7px; border-radius: 50%; background: #53617c; }
.window-dots b:first-child { background: #ec8484; }
.window-dots b:nth-child(2) { background: #e3bc73; }
.window-dots b:nth-child(3) { background: #6db99a; }
.demo-label { letter-spacing: 1px; font-size: 8px; }
.demo-toolbar { min-height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 15px 22px; border-bottom: 1px solid var(--border); gap: 10px; }
.demo-repo { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; }
.repo-icon { display: inline-flex; padding: 7px; border: 1px solid #345080; border-radius: 7px; background: #18294c; color: #92b0ff; }
.repo-icon svg { width: 17px; height: 17px; }
.private-badge { padding: 3px 7px; border: 1px solid #33415b; border-radius: 20px; font-size: 9px; color: #aab7d0; }
.read-only { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; color: #9dc8b5; }
.read-only .status-dot { width: 5px; height: 5px; }
.demo-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.file-sidebar { background: #10192a; border-right: 1px solid var(--border); padding: 16px 12px; position: relative; }
.branch { display: flex; gap: 9px; align-items: center; border: 1px solid #30405c; border-radius: 5px; padding: 8px 10px; font: 11px Consolas, monospace; color: #c2cce0; margin-bottom: 22px; }
.branch svg { width: 13px; height: 13px; }
.branch svg:last-child { margin-left: auto; }
.folder { display: flex; gap: 6px; align-items: center; margin: 0 0 9px 4px; font-size: 10px; color: #bbc7df; }
.folder svg { width: 12px; height: 12px; color: #8399c6; }
.file-button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 12px 9px 24px; background: none; border: 1px solid transparent; text-align: left; font-size: 11px; color: #a9b6ce; border-radius: 5px; margin-top: 2px; }
.file-button svg { width: 13px; height: 13px; color: #7a95d0; }
.file-button:hover { background: #1c2946; }
.file-button.selected { background: #3b6fff22; color: #cfddff; border-color: #3b6fff35; }
.sidebar-note { position: absolute; bottom: 16px; left: 18px; display: flex; gap: 7px; align-items: center; font-size: 9px; color: #8698b9; }
.sidebar-note svg { width: 12px; height: 12px; }
.editor { min-width: 0; }
.editor-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 16px; min-height: 44px; border-bottom: 1px solid #26334f80; background: #111a2c; font-size: 10px; color: #bbc8e3; }
.editor-toolbar > span { display: inline-flex; align-items: center; gap: 8px; }
.editor-toolbar svg { width: 12px; height: 12px; }
.view-controls { display: flex; gap: 4px; }
.view-controls button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid transparent; border-radius: 4px; background: transparent; font-size: 10px; color: #96a7c5; }
.view-controls button.active { color: #cfddff; background: #1b2d51; border-color: #324b7a; }
.view-controls button:hover { color: white; }
.code { margin: 0; padding: 19px 22px 22px 0; height: 331px; overflow: auto; font: 11px/19px Consolas, 'Cascadia Code', 'SFMono-Regular', monospace; tab-size: 2; color: #cbd6eb; }
.code-line { display: flex; min-height: 19px; }
.line-number { display: inline-block; flex-shrink: 0; width: 51px; padding-right: 18px; text-align: right; color: #667b9c; user-select: none; }
.code-line > span:last-child { white-space: pre; }
.token-string { color: #98d9ba; }
.token-keyword { color: #ae9df0; }
.token-comment { color: #8292ae; }
.editor-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 15px; border-top: 1px solid #26334f80; font: 9px Consolas, monospace; color: #91a2be; }
.editor-footer > span { display: inline-flex; align-items: center; gap: 7px; }
.editor-footer svg { width: 12px; height: 12px; }
.editor-footer .status-dot { width: 5px; height: 5px; }
.footer-divider { color: #405372; margin-inline: 5px; }
.demo-history { height: 331px; padding: 26px; }
.demo-history > p { font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.commit { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border); font-size: 12px; }
.commit > svg { color: #8cacff; }
.commit strong { display: block; font-weight: 500; }
.commit small { display: block; margin-top: 6px; color: #96a7c5; font-family: Consolas, monospace; font-size: 10px; }
.diff-counts { margin-left: auto; display: flex; gap: 9px; font: 11px Consolas, monospace; }
.diff-counts b { color: #8ed0ae; font-weight: 400; }
.diff-counts em { color: #ed9ea8; font-style: normal; }
.demo-history > small { display: block; color: var(--muted); margin-top: 15px; font-size: 10px; }
.demo-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 17px; font-size: 10px; color: #93a3c0; }
.demo-hint .status-dot { width: 4px; height: 4px; background: #7497ef; }
.use-cases { text-align: center; padding: 54px 0 64px; border-bottom: 1px solid var(--border); }
.use-cases > p { font-size: 9px; letter-spacing: 2px; color: #8899b9; margin-bottom: 23px; }
.use-cases > div { display: flex; justify-content: center; gap: 52px; color: #b7c3db; font-size: 14px; }
.use-cases div > span { display: inline-flex; align-items: center; gap: 10px; }
.use-cases svg { color: #8b9dc2; width: 17px; height: 17px; }

/* Features and workflow */
.section { padding-block: 94px; }
.kicker { color: #8caaff; letter-spacing: 1.8px; font-size: 9px; font-weight: 600; margin-bottom: 16px; }
h2 { font-size: clamp(29px, 3.3vw, 40px); font-weight: 600; letter-spacing: -1.7px; line-height: 1.2; }
h2 > span { color: #8797b9; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section-intro > p { color: var(--muted); font-size: 13px; padding-bottom: 4px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { padding: 25px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(120deg, #141e3699, #111a2d88); transition: border-color .25s, transform .25s; }
.feature-card:hover { border-color: #466397; transform: translateY(-3px); }
.feature-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 25px; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; flex-shrink: 0; border-radius: 10px; color: #8babff; background: #3b6fff15; border: 1px solid #3b6fff30; }
.feature-icon svg { width: 20px; height: 20px; }
.feature-tag { font-size: 9px; color: #9eaed0; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -.45px; line-height: 1.4; margin-bottom: 11px; }
.feature-card > p { font-size: 12px; line-height: 1.85; color: var(--muted); }
.mini-link, .language-tags, .mini-preview { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 24px; min-height: 34px; color: #aebedb; font-size: 9px; }
.mini-link { padding: 9px; background: #0b1323; border: 1px solid #26334f; border-radius: 6px; font-family: Consolas, monospace; }
.mini-link svg { width: 12px; height: 12px; }
.language-tags { justify-content: flex-start; flex-wrap: wrap; }
.language-tags span { padding: 5px 7px; border: 1px solid #2c3c5b; border-radius: 4px; background: #101a2d; font-family: Consolas, monospace; }
.preview-feature { border-color: #385181; background: radial-gradient(ellipse at 100% 0%, #3456a92b, transparent 75%), #121d32; }
.mini-preview > span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #344a76; border-radius: 5px; padding: 9px; flex: 1; }
.mini-preview > span:last-child { background: #3b6fff1a; color: #adc3ff; }
.mini-preview svg { width: 12px; height: 12px; }
.workflow-band { border-block: 1px solid #26334f99; background: #0b1220; }
.center-intro { text-align: center; margin-bottom: 43px; }
.center-intro > p:last-child { color: var(--muted); font-size: 13px; margin-top: 17px; }
.mobile-break { display: none; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.step { position: relative; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 26px; left: calc(100% + 12px); width: 32px; border-top: 1px dashed #35476c; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.step-top > span { font-size: 41px; color: #50638d; font-weight: 300; letter-spacing: -2px; }
.step-top > svg { color: #87a7ff; width: 23px; height: 23px; }
.step p { color: var(--muted); font-size: 12px; }
.step-detail { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px solid #26334f; font-size: 10px; color: #93adeb; }
.step-detail svg { width: 14px; height: 14px; }

/* Access controls and FAQ */
.security-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 95px; }
.security-copy > p:not(.kicker) { margin-top: 22px; font-size: 13px; color: var(--muted); max-width: 410px; }
.security-copy ul { list-style: none; padding: 0; margin: 30px 0 0; }
.security-copy li { display: flex; align-items: flex-start; gap: 13px; margin-top: 21px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.security-copy li > svg { color: #87a7ff; width: 18px; height: 18px; margin-top: 3px; }
.security-copy strong { display: block; color: #dce5f7; font-size: 12px; font-weight: 500; margin-bottom: 2px; }
.access-visual { position: relative; background: linear-gradient(130deg, #17233b, #10192b); border: 1px solid #34486e; border-radius: 13px; padding: 25px; box-shadow: 0 24px 60px #03091450; }
.access-visual::before { content: ''; position: absolute; z-index: -1; inset: -10px; background: radial-gradient(ellipse, #315ed221, transparent 70%); }
.access-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.access-heading strong { display: block; font-size: 12px; font-weight: 500; }
.access-heading div > span { display: block; color: #93a5c5; margin-top: 4px; font-size: 10px; }
.active-badge { margin-left: auto; display: inline-flex; gap: 5px; align-items: center; padding: 5px 7px; background: #60d79b0d; border: 1px solid #60d79b30; border-radius: 20px; color: #89d8af; font-size: 9px; }
.active-badge .status-dot { width: 4px; height: 4px; }
.access-link { display: flex; align-items: center; gap: 10px; padding: 12px; background: #0c1527; border: 1px solid #2d3e60; border-radius: 6px; font: 11px Consolas, monospace; color: #9cafd0; }
.access-link svg { width: 13px; height: 13px; }
.access-link > svg:last-child { margin-left: auto; }
.access-visual dl { margin: 15px 0 21px; }
.access-visual dl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #2c3a54; font-size: 11px; }
.access-visual dt { color: #9aaccb; }
.access-visual dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.access-visual dd svg { width: 12px; height: 12px; color: #89bba2; }
.access-foot { display: flex; justify-content: center; align-items: center; gap: 8px; color: #91a7ce; font-size: 10px; }
.access-foot svg { width: 13px; height: 13px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 65px; border-top: 1px solid var(--border); padding-top: 75px; }
.faq-section > div > p:last-child { margin-top: 20px; color: var(--muted); font-size: 13px; }
.questions details { border-bottom: 1px solid #2a3956; }
.questions details:first-child { border-top: 1px solid #2a3956; }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 13px; font-weight: 500; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary svg { width: 16px; height: 16px; color: #8da1c5; transition: transform .2s; }
.questions details[open] summary svg { transform: rotate(180deg); }
.questions summary:hover { color: #a8c1ff; }
.questions details > p { color: var(--muted); font-size: 12px; line-height: 1.85; padding: 0 28px 23px 0; }

/* Closing CTA and footer */
.cta-section { position: relative; text-align: center; padding: 69px 0 76px; background: radial-gradient(ellipse at 50% 100%, #294c9c30, transparent 68%); border-top: 1px solid #26334f90; }
.cta-orb { display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; width: 57px; height: 57px; border-radius: 17px; color: #a7beff; background: linear-gradient(135deg, #233b6c, #122140); border: 1px solid #42609b; box-shadow: 0 0 0 7px #3b6fff08, 0 0 0 15px #3b6fff04; }
.cta-orb svg { width: 30px; height: 30px; }
.cta-section .kicker { font-size: 9px; }
.cta-section h2 { font-size: clamp(40px, 4.5vw, 57px); line-height: 1.1; letter-spacing: -2.4px; }
.cta-section h2 + p { margin: 23px 0; font-size: 13px; color: var(--muted); }
.cta-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; font-size: 9px; color: #9baacc; }
.cta-note svg { width: 11px; height: 11px; }
.footer { min-height: 131px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #26334f; }
.footer .brand { font-size: 21px; }
.footer .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.footer .brand-mark svg { width: 19px; height: 19px; }
.footer p { font-size: 10px; color: #8d9cbc; margin-top: 10px; }
.footer > span, .back-to-top { font-size: 10px; color: #98a8c6; }
.back-to-top { display: inline-flex; align-items: center; gap: 9px; }
.back-to-top svg { width: 13px; height: 13px; }
.back-to-top:hover { color: white; }

/* Not found page (404.html for static hosting) */
.not-found { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 48px 16px; text-align: center; background: radial-gradient(ellipse at 50% 40%, #284dbe22, transparent 63%); }
.not-found .brand { margin-bottom: 28px; }
.not-found .kicker { margin-bottom: 0; }
.not-found h1 { margin-top: 0; font-size: clamp(38px, 6vw, 60px); letter-spacing: -2px; }
.not-found p:not(.kicker) { max-width: 440px; color: var(--muted); font-size: 14px; }
.not-found .button { margin-top: 10px; }

/* Responsive layouts */
@media (min-width: 1500px) { .hero { padding-top: 90px; } }
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-cases > div { gap: 28px; font-size: 12px; }
  .security-section { gap: 40px; }
  .access-visual { padding: 20px; }
  .access-heading { flex-wrap: wrap; }
  .access-heading .active-badge { margin-left: 0; }
  .steps { gap: 30px; }
  .step:not(:last-child)::after { width: 16px; left: calc(100% + 7px); }
  .nav { gap: 13px; font-size: 12px; }
  .nav-wrap { gap: 12px; }
  .nav-cta { padding-inline: 12px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .nav-wrap { height: 68px; gap: 12px; }
  .brand { font-size: 23px; }
  .nav-cta { margin-left: auto; font-size: 11px; padding: 10px 12px; }
  .language-picker { margin-left: auto; }
  .nav-cta + .language-picker { margin-left: 0; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 67px; left: 0; right: 0; padding: 16px 20px; background: #101a2dfc; border-bottom: 1px solid var(--border); box-shadow: 0 15px 25px #02081550; }
  .nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .nav a { padding: 12px; border-radius: 6px; }
  .nav a:hover { background: #1b2b49; }
  .hero { padding-top: 52px; }
  h1 { font-size: clamp(45px, 8vw, 65px); letter-spacing: -2.7px; }
  .hero-description { font-size: 14px; }
  .hero-checks { gap: 9px 16px; font-size: 9px; }
  .demo-wrap { margin-top: 36px; }
  .demo-body { grid-template-columns: 174px minmax(0, 1fr); }
  .file-sidebar { padding: 13px 9px; }
  .folder { font-size: 8px; gap: 4px; }
  .folder svg { width: 10px; height: 10px; }
  .file-button { padding-left: 12px; font-size: 10px; }
  .sidebar-note { left: 13px; font-size: 8px; }
  .demo-label { display: none !important; }
  .window-bar { justify-content: flex-start; }
  .window-dots { width: auto; margin-right: auto; }
  .window-bar > span { margin-right: auto; }
  .code { font-size: 10px; }
  .line-number { width: 38px; padding-right: 12px; }
  .editor-toolbar { padding-inline: 10px; }
  .editor-toolbar > span { font-size: 9px; gap: 4px; }
  .view-controls button { font-size: 9px; padding-inline: 5px; }
  .editor-footer { font-size: 8px; padding-inline: 9px; }
  .editor-footer .footer-divider { display: none; }
  .use-cases { padding: 35px 0 42px; }
  .use-cases > div { display: grid; grid-template-columns: repeat(2, max-content); gap: 22px 35px; }
  .section { padding-block: 64px; }
  .section-intro { align-items: flex-start; flex-direction: column; gap: 17px; }
  h2 { font-size: 32px; letter-spacing: -1.2px; }
  .feature-card { padding: 21px; }
  .feature-tag { font-size: 8px; }
  .feature-top { margin-bottom: 20px; }
  .feature-card h3 { font-size: 16px; }
  .feature-card > p { font-size: 12px; }
  .steps { gap: 23px; }
  .step h3 { font-size: 16px; }
  .step p { font-size: 11px; }
  .step-detail { font-size: 9px; gap: 5px; }
  .security-section { grid-template-columns: 1fr; gap: 36px; }
  .security-copy > p:not(.kicker) { max-width: 100%; }
  .access-visual { max-width: 520px; width: 100%; padding: 25px; }
  .access-heading .active-badge { margin-left: auto; }
  .faq-section { grid-template-columns: 1fr; gap: 28px; }
  .faq-section > div > p:last-child br { display: none; }
  .footer { flex-wrap: wrap; padding-block: 30px; }
  .footer > div { width: 100%; }
}
@media (max-width: 520px) {
  .nav-cta { display: none; }
  .nav-cta + .language-picker { margin-left: auto; }
  .hero { padding-top: 41px; }
  .eyebrow-pill { font-size: 8px; letter-spacing: .9px; gap: 8px; }
  .hero-description { font-size: 13px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 10px; }
  .button { padding: 12px 15px; font-size: 11px; min-height: 45px; gap: 8px; }
  .button svg { width: 15px; height: 15px; }
  .hero-checks span:first-child { width: 100%; justify-content: center; }
  .demo-toolbar { padding: 12px; }
  .demo-repo { font-size: 10px; gap: 8px; }
  .private-badge { font-size: 8px; }
  .read-only { display: none; }
  .demo-body { grid-template-columns: 1fr; }
  .file-sidebar { border-right: 0; border-bottom: 1px solid var(--border); padding: 8px; }
  .branch, .folder, .sidebar-note { display: none; }
  .file-list { display: flex; gap: 4px; }
  .file-button { width: auto; flex: 1; justify-content: center; padding: 8px 4px; font-size: 9px; gap: 5px; }
  .file-button svg { width: 12px; height: 12px; }
  .editor-toolbar { padding: 8px 12px; }
  .editor-toolbar > span { font-size: 10px; }
  .view-controls button { font-size: 10px; }
  .code { height: 322px; padding-top: 17px; font-size: 10px; }
  .demo-history { height: 322px; padding: 20px 15px; }
  .commit { font-size: 10px; gap: 9px; }
  .diff-counts { font-size: 9px; }
  .editor-footer { font-size: 8px; }
  .demo-hint { font-size: 8px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 23px; }
  .feature-top { margin-bottom: 20px; }
  .feature-tag { font-size: 10px; }
  .feature-card h3 { font-size: 18px; }
  .feature-card > p { font-size: 13px; }
  .mini-link, .language-tags, .mini-preview { font-size: 10px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step:not(:last-child)::after { display: none; }
  .step-top { margin-bottom: 10px; }
  .step-top > span { font-size: 36px; }
  .step h3 { font-size: 19px; }
  .step p { font-size: 13px; }
  .step-detail { font-size: 11px; margin-top: 19px; }
  .mobile-break { display: block; }
  .center-intro h2 { font-size: 29px; }
  .center-intro > p:last-child { font-size: 12px; }
  .access-visual { padding: 20px; }
  .access-heading { gap: 9px; }
  .access-heading strong { font-size: 10px; }
  .access-heading div > span { font-size: 9px; }
  .access-heading .feature-icon { width: 32px; height: 32px; }
  .active-badge { font-size: 8px; }
  .questions summary { font-size: 12px; line-height: 1.6; }
  .cta-section .kicker { font-size: 8px; letter-spacing: 1.1px; }
  .cta-section { padding-block: 58px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 28px); }
  .nav-wrap { gap: 8px; }
  .brand { font-size: 21px; gap: 7px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-dot { margin-left: -7px; }
  .nav-cta { padding: 9px; gap: 6px; font-size: 10px; }
  h1 { font-size: 41px; }
  .button { font-size: 10px; padding-inline: 11px; }
  .access-visual { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
