:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-deep: #040a12;
  --surface: #0d1a2a;
  --surface-2: #132236;
  --surface-3: #182b43;
  --text: #f5f9ff;
  --muted: #9fb0c5;
  --faint: #71849c;
  --line: rgba(170, 202, 236, .14);
  --line-strong: rgba(170, 202, 236, .26);
  --brand: #2a8be0;
  --brand-bright: #68c8ff;
  --brand-soft: rgba(42, 139, 224, .14);
  --green: #63d391;
  --orange: #f39a54;
  --violet: #b18cff;
  --shadow: 0 30px 80px rgba(0, 0, 0, .36);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Code", "Cascadia Mono", Consolas, monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8fc;
  --bg-deep: #eaf0f7;
  --surface: #ffffff;
  --surface-2: #f5f8fc;
  --surface-3: #eaf1f8;
  --text: #102033;
  --muted: #56697f;
  --faint: #78899c;
  --line: rgba(21, 64, 105, .12);
  --line-strong: rgba(21, 64, 105, .22);
  --brand-soft: rgba(0, 95, 184, .1);
  --shadow: 0 30px 80px rgba(35, 62, 91, .16);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #f5f8fc;
    --bg-deep: #eaf0f7;
    --surface: #ffffff;
    --surface-2: #f5f8fc;
    --surface-3: #eaf1f8;
    --text: #102033;
    --muted: #56697f;
    --faint: #78899c;
    --line: rgba(21, 64, 105, .12);
    --line-strong: rgba(21, 64, 105, .22);
    --brand-soft: rgba(0, 95, 184, .1);
    --shadow: 0 30px 80px rgba(35, 62, 91, .16);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 3px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 8px 12px; background: var(--text); color: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 76px; display: flex; align-items: center; gap: 34px;
  padding: 0 clamp(24px, 5vw, 76px); border-bottom: 1px solid transparent; transition: .22s ease;
}
.site-header.scrolled { height: 66px; background: color-mix(in srgb, var(--bg) 88%, transparent); border-color: var(--line); backdrop-filter: blur(18px); }
.site-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.site-brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 18px rgba(0, 95, 184, .3); }
.site-brand span { display: flex; flex-direction: column; line-height: 1.05; }
.site-brand strong { font: 650 14px/1.1 var(--display); }
.site-brand small { margin-top: 5px; color: var(--faint); font-size: 8px; font-weight: 750; letter-spacing: .13em; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { position: relative; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--brand-bright); transition: right .18s ease; }
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { right: 0; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.theme-toggle, .menu-toggle { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; }
.theme-toggle:hover, .menu-toggle:hover { color: var(--text); background: var(--surface-2); }
.theme-toggle svg, .menu-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-toggle { display: none; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 8px; font-weight: 650; font-size: 14px; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 36px; padding: 0 14px; font-size: 12px; }
.button-primary { border-color: #1976c9; color: white; background: linear-gradient(135deg, #2085dd, #005fb8); box-shadow: 0 10px 30px rgba(0, 95, 184, .28); }
.button-primary:hover { background: linear-gradient(135deg, #3396ed, #076bc7); }
.button-quiet { background: var(--surface-2); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 14px; text-decoration: none; }
.text-link span { color: var(--brand-bright); transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero { position: relative; min-height: 790px; display: grid; grid-template-columns: minmax(360px, .86fr) minmax(570px, 1.14fr); align-items: center; gap: clamp(36px, 6vw, 94px); padding: 136px clamp(24px, 6vw, 96px) 82px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 520px; height: 520px; right: -100px; top: 70px; background: radial-gradient(circle, rgba(29, 122, 209, .19), transparent 68%); }
.hero-glow-two { width: 420px; height: 420px; left: 4%; bottom: -220px; background: radial-gradient(circle, rgba(83, 204, 255, .09), transparent 66%); }
.hero-copy, .hero-product { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--brand-bright); font-size: 11px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1 { max-width: 760px; margin: 0; font: 650 clamp(48px, 5.6vw, 86px)/.98 var(--display); letter-spacing: -.05em; }
.hero h1 em { color: transparent; background: linear-gradient(100deg, #49a7f4 12%, #7ad8ff 88%); background-clip: text; font-style: normal; }
.hero-lede { max-width: 600px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; color: var(--faint); font-size: 12px; font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 15px; height: 15px; fill: none; stroke: var(--green); stroke-width: 2.2; }

.hero-product { min-width: 0; transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); transform-origin: center; }
.product-window { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.03) inset; }
.window-chrome { height: 50px; display: flex; align-items: center; gap: 16px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.window-brand { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.window-brand img { width: 23px; height: 23px; border-radius: 6px; }
.window-tabs { display: flex; align-self: stretch; gap: 1px; color: var(--faint); font-size: 9px; }
.window-tabs span { display: flex; align-items: center; padding: 0 8px; border-bottom: 2px solid transparent; }
.window-tabs .active { color: var(--text); border-color: var(--brand); }
.apply-pill { margin-left: auto; padding: 5px 9px; border-radius: 5px; color: white; background: #0969bf; font-size: 8px; font-weight: 700; white-space: nowrap; }
.window-controls { display: flex; gap: 6px; margin-left: 4px; }
.window-controls i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.studio-grid { min-height: 390px; display: grid; grid-template-columns: 57% 43%; }
.entry-pane { position: relative; padding: 12px; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 88%, var(--bg)); }
.entry-toolbar { display: grid; grid-template-columns: 74px 1fr; gap: 8px; margin-bottom: 18px; font-size: 9px; }
.new-entry { padding: 7px 8px; border-radius: 5px; color: #8fcfff; background: var(--brand-soft); font-weight: 700; text-align: center; }
.fake-search { padding: 7px 9px; color: var(--faint); background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; }
.entry-section { margin: 0 7px 7px; color: var(--faint); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.entry { min-height: 52px; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid transparent; border-radius: 7px; }
.entry.active { background: var(--brand-soft); border-color: rgba(61, 159, 241, .24); }
.entry-icon, .mini-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; font: 700 11px/1 var(--mono); }
.asset-icon { overflow: hidden; padding: 0; background: transparent; }
.asset-icon img { width: 100%; height: 100%; object-fit: contain; }
.blue { color: #7cc9ff; background: rgba(42,139,224,.16); }
.violet { color: #c2a6ff; background: rgba(142,98,232,.15); }
.orange { color: #ffb57c; background: rgba(224,116,38,.15); }
.green { color: #7bdea0; background: rgba(45,160,91,.15); }
.gray { color: var(--muted); background: var(--surface-3); }
.entry span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.entry b { font-size: 10px; }
.entry small { color: var(--faint); font-size: 8px; }
.entry > i { color: var(--faint); font-style: normal; }
.drag-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px; color: var(--faint); background: var(--surface-2); border-top: 1px solid var(--line); font-size: 8px; text-align: center; }
.drag-note span { margin-right: 5px; color: var(--brand-bright); }
.editor-pane { padding: 22px; }
.editor-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.editor-heading small { color: #78c7ff; font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.editor-heading h3 { margin: 3px 0 0; font: 650 16px/1.2 var(--display); }
.enabled-pill { padding: 4px 7px; border-radius: 10px; color: var(--green); background: rgba(56,170,99,.12); font-size: 7px; }
.editor-pane label { display: flex; flex-direction: column; gap: 4px; margin-top: 15px; color: var(--muted); font-size: 8px; font-weight: 650; }
.field-value { display: flex; align-items: center; height: 30px; padding: 0 9px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 5px; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr .65fr; gap: 9px; }
.mono { font-family: var(--mono); }
.editor-callout { display: flex; gap: 9px; align-items: center; margin-top: 19px; padding: 10px; color: #95d5ff; background: var(--brand-soft); border-radius: 6px; }
.editor-callout > span { font-size: 17px; }
.editor-callout p { display: flex; flex-direction: column; margin: 0; }
.editor-callout b { font-size: 9px; }
.editor-callout small { color: var(--muted); font-size: 7px; }
.window-status { height: 27px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: var(--faint); background: var(--surface-2); border-top: 1px solid var(--line); font-size: 7px; }
.window-status span:first-child { color: var(--green); }
.window-status i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: var(--green); }
.context-preview { position: absolute; right: -30px; bottom: -32px; width: 205px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: 0 20px 45px rgba(0,0,0,.35); backdrop-filter: blur(14px); }
.preview-label { display: block; margin: 0 0 7px 4px; color: var(--brand-bright); font-size: 6px; font-weight: 800; letter-spacing: .16em; }
.context-menu-card > div, .demo-menu > div { min-height: 31px; display: flex; align-items: center; gap: 8px; padding: 3px 6px; border-radius: 4px; font-size: 8px; }
.context-menu-card > div:first-child { background: var(--brand-soft); }
.context-menu-card b, .demo-menu b { margin-left: auto; }
.context-menu-card hr { height: 1px; margin: 4px 7px; border: 0; background: var(--line); }
.mini-icon { width: 21px; height: 21px; border-radius: 5px; font-size: 8px; }

/* Context menu in action */
.action-section { padding-top: 104px; background: var(--bg-deep); border-top: 1px solid var(--line); }
.action-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 9vw, 140px); align-items: end; margin-bottom: 48px; }
.action-heading h2 { max-width: 720px; margin: 0; font: 630 clamp(42px, 5.2vw, 72px)/1 var(--display); letter-spacing: -.05em; }
.action-intro { max-width: 620px; justify-self: end; }
.action-intro p { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.action-intro .button { cursor: pointer; }
.action-demo { max-width: 1180px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 16px; background: #07111f; box-shadow: 0 34px 90px rgba(0, 0, 0, .34); }
.action-demo-bar { height: 46px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; color: #9fb0c5; background: #101c2a; border-bottom: 1px solid rgba(190, 220, 249, .12); font-size: 10px; }
.action-demo-bar > span:first-child { display: flex; align-items: center; gap: 8px; color: #dcecff; font-weight: 650; }
.action-demo-bar i { width: 9px; height: 9px; border-radius: 3px; background: #2a8be0; box-shadow: 0 0 14px rgba(70, 175, 255, .75); }
.action-demo-label { color: #6f849a; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.action-clock { justify-self: end; font-family: var(--mono); }
.action-desktop { position: relative; min-height: 520px; overflow: hidden; color: #f5f9ff; background: radial-gradient(circle at 78% 20%, rgba(121, 76, 210, .34), transparent 30%), radial-gradient(circle at 23% 75%, rgba(10, 146, 211, .32), transparent 35%), linear-gradient(138deg, #07101d 0%, #111c31 48%, #0b1323 100%); isolation: isolate; }
.action-desktop::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(circle at 50% 50%, black, transparent 82%); }
.desktop-orb { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; filter: blur(.2px); transform: rotate(-24deg); }
.orb-one { width: 410px; height: 130px; right: -80px; top: 110px; background: linear-gradient(110deg, rgba(255,100,75,.34), rgba(126,64,226,.5)); }
.orb-two { width: 330px; height: 100px; left: 25%; bottom: 38px; background: linear-gradient(110deg, rgba(18,177,216,.18), rgba(89,100,235,.42)); }
.demo-file { position: absolute; left: 11%; top: 31%; width: 116px; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 11px 8px; color: #f7fbff; background: transparent; border: 1px solid transparent; border-radius: 8px; cursor: context-menu; text-shadow: 0 2px 5px rgba(0,0,0,.6); }
.demo-file:hover, .action-demo:not([data-stage="ready"]) .demo-file { background: rgba(60, 148, 224, .2); border-color: rgba(136, 203, 255, .28); }
.demo-file > span:last-child { font-size: 11px; line-height: 1.25; }
.demo-file-icon { position: relative; width: 48px; height: 58px; display: grid; place-items: end center; padding-bottom: 7px; border-radius: 5px; color: white; background: linear-gradient(145deg, #effff4 0 70%, #c5e8d1 70%); filter: drop-shadow(0 8px 12px rgba(0,0,0,.24)); }
.demo-file-icon::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; border-radius: 0 0 5px 5px; background: #16834b; }
.demo-file-icon b { position: relative; z-index: 1; font: 750 17px/1 var(--display); }
.action-pointer { position: absolute; z-index: 8; left: 22%; top: 49%; display: flex; align-items: center; gap: 9px; color: #dcecff; transition: left .65s cubic-bezier(.2,.8,.2,1), top .65s cubic-bezier(.2,.8,.2,1), opacity .2s ease; filter: drop-shadow(0 3px 5px rgba(0,0,0,.65)); pointer-events: none; }
.action-pointer svg { width: 28px; height: 34px; fill: white; stroke: #132033; stroke-width: 1.5; }
.action-pointer span { padding: 4px 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; background: rgba(6,14,25,.72); font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.live-context-menu { position: absolute; z-index: 5; left: 38%; top: 19%; width: 258px; padding: 7px; opacity: 0; visibility: hidden; color: #f3f7fb; background: rgba(36, 37, 40, .96); border: 1px solid rgba(255,255,255,.11); border-radius: 9px; box-shadow: 0 20px 55px rgba(0,0,0,.52); transform: translateY(8px) scale(.98); transform-origin: top left; transition: opacity .18s ease, transform .22s ease, visibility .22s; backdrop-filter: blur(18px); }
.live-context-menu > button, .live-submenu button { width: 100%; min-height: 39px; display: flex; align-items: center; gap: 10px; padding: 4px 8px; color: inherit; background: transparent; border: 0; border-radius: 5px; font-size: 12px; text-align: left; cursor: pointer; }
.live-context-menu > button:hover, .live-context-menu .ai-menu-row.active, .live-submenu button:hover, .live-submenu button.active { background: rgba(255,255,255,.09); }
.live-context-menu button b { margin-left: auto; font-size: 19px; font-weight: 400; }
.live-context-menu hr { height: 1px; margin: 5px 8px; border: 0; background: rgba(255,255,255,.11); }
.menu-glyph { width: 25px; height: 25px; display: grid; place-items: center; flex: none; border-radius: 5px; font: 750 8px/1 var(--mono); text-shadow: none; }
.live-submenu { position: absolute; left: calc(100% + 9px); top: 43px; width: 260px; padding: 7px; opacity: 0; visibility: hidden; background: rgba(36, 37, 40, .98); border: 1px solid rgba(255,255,255,.11); border-radius: 9px; box-shadow: 0 20px 55px rgba(0,0,0,.52); transform: translateX(-7px); transition: opacity .18s ease, transform .22s ease, visibility .22s; }
.ai-progress { position: absolute; z-index: 6; left: 50%; top: 50%; width: min(440px, 78%); display: grid; grid-template-columns: 48px 1fr 24px; gap: 14px; align-items: center; padding: 18px; opacity: 0; visibility: hidden; background: rgba(12, 23, 38, .94); border: 1px solid rgba(116, 199, 255, .3); border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.48); transform: translate(-50%, -42%) scale(.98); transition: opacity .25s ease, transform .25s ease, visibility .25s; backdrop-filter: blur(20px); }
.ai-progress-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; color: #d8c7ff; background: linear-gradient(145deg, rgba(113,76,206,.85), rgba(46,126,206,.85)); font: 750 12px/1 var(--mono); }
.ai-progress > span:not(.ai-progress-icon) { display: flex; flex-direction: column; }
.ai-progress strong { font-size: 14px; }
.ai-progress small { margin-top: 3px; color: #9fb0c5; font-size: 11px; }
.ai-progress > i { width: 19px; height: 19px; border: 2px solid rgba(255,255,255,.18); border-top-color: #68c8ff; border-radius: 50%; animation: action-spin .75s linear infinite; }
.ai-complete { display: none !important; }
.action-hint { position: absolute; left: 50%; bottom: 22px; margin: 0; padding: 7px 11px; color: #b9c8d9; background: rgba(5,12,22,.58); border: 1px solid rgba(255,255,255,.1); border-radius: 7px; font-size: 10px; transform: translateX(-50%); backdrop-filter: blur(9px); }
.action-steps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 22px; background: #101c2a; border-top: 1px solid rgba(190, 220, 249, .12); }
.action-steps > span { position: relative; display: flex; align-items: center; gap: 9px; min-height: 66px; color: #6f849a; font-size: 10px; font-weight: 650; }
.action-steps > span:not(:last-child)::after { content: ""; position: absolute; right: 20px; width: calc(100% - 150px); height: 1px; background: rgba(190,220,249,.13); }
.action-steps i { width: 24px; height: 24px; display: grid; place-items: center; flex: none; border: 1px solid rgba(190,220,249,.2); border-radius: 50%; font: 650 9px/1 var(--mono); font-style: normal; }

.action-demo[data-stage="menu"] .live-context-menu,
.action-demo[data-stage="submenu"] .live-context-menu { opacity: 1; visibility: visible; transform: none; }
.action-demo[data-stage="submenu"] .live-submenu { opacity: 1; visibility: visible; transform: none; }
.action-demo[data-stage="submenu"] .ai-menu-row { background: rgba(255,255,255,.09); }
.action-demo[data-stage="menu"] .action-pointer { left: 48%; top: 29%; }
.action-demo[data-stage="submenu"] .action-pointer { left: 70%; top: 35%; }
.action-demo[data-stage="working"] .action-pointer,
.action-demo[data-stage="done"] .action-pointer { opacity: 0; }
.action-demo[data-stage="working"] .ai-progress,
.action-demo[data-stage="done"] .ai-progress { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.action-demo[data-stage="done"] .ai-working { display: none; }
.action-demo[data-stage="done"] .ai-complete { display: flex !important; }
.action-demo[data-stage="done"] .ai-progress > i { border: 0; animation: none; }
.action-demo[data-stage="done"] .ai-progress > i::after { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #07111f; background: #63d391; font-size: 13px; font-style: normal; font-weight: 800; }
.action-demo[data-stage="menu"] [data-action-step="menu"],
.action-demo[data-stage="submenu"] [data-action-step="menu"],
.action-demo[data-stage="submenu"] [data-action-step="submenu"],
.action-demo[data-stage="working"] [data-action-step="menu"],
.action-demo[data-stage="working"] [data-action-step="submenu"],
.action-demo[data-stage="working"] [data-action-step="working"],
.action-demo[data-stage="done"] .action-steps > span { color: #dcecff; }
.action-demo[data-stage="menu"] [data-action-step="menu"] i,
.action-demo[data-stage="submenu"] [data-action-step="menu"] i,
.action-demo[data-stage="submenu"] [data-action-step="submenu"] i,
.action-demo[data-stage="working"] [data-action-step="menu"] i,
.action-demo[data-stage="working"] [data-action-step="submenu"] i,
.action-demo[data-stage="working"] [data-action-step="working"] i,
.action-demo[data-stage="done"] .action-steps i { color: #07111f; background: #63d391; border-color: #63d391; }
@keyframes action-spin { to { transform: rotate(360deg); } }

.problem-band { padding: 100px clamp(24px, 7vw, 112px); background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-kicker { margin-bottom: 28px; color: var(--faint); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.problem-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 10vw, 160px); align-items: end; }
.problem-grid h2 { margin: 0; font: 620 clamp(37px, 4.5vw, 66px)/1.05 var(--display); letter-spacing: -.045em; }
.problem-grid h2 span { color: var(--brand-bright); }
.problem-grid > p { max-width: 580px; margin: 0 0 5px; color: var(--muted); font-size: 17px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 72px; background: var(--line); border: 1px solid var(--line); }
.principles article { padding: 28px 30px 32px; background: var(--bg-deep); }
.principles span { color: var(--brand-bright); font: 650 11px/1 var(--mono); }
.principles h3 { margin: 19px 0 9px; font: 630 18px/1.25 var(--display); }
.principles p { margin: 0; color: var(--muted); font-size: 13px; }

.section { padding: 112px clamp(24px, 7vw, 112px); }
.section-heading { max-width: 760px; margin-bottom: 72px; }
.section-heading h2, .tools-intro h2, .faq-title h2 { margin: 0; font: 630 clamp(38px, 4.6vw, 64px)/1.05 var(--display); letter-spacing: -.045em; }
.section-heading > p:last-child, .tools-intro > p:last-child { max-width: 610px; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.feature-section { padding-bottom: 132px; }
.feature-story { min-height: 480px; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); align-items: center; padding: 70px 0; border-top: 1px solid var(--line); }
.feature-story.reverse { grid-template-columns: 1.2fr .8fr; }
.feature-story.reverse .feature-copy { order: 2; }
.feature-number { color: var(--line-strong); font: 500 60px/1 var(--mono); }
.feature-overline { margin: 26px 0 8px; color: var(--brand-bright); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.feature-copy h3 { max-width: 500px; margin: 0; font: 630 clamp(28px, 3vw, 42px)/1.1 var(--display); letter-spacing: -.035em; }
.feature-copy > p:not(.feature-overline) { margin: 20px 0 0; color: var(--muted); }
.check-list { display: flex; flex-direction: column; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--green); }
.feature-art { min-height: 350px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.art-toolbar { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 650; }
.art-toolbar i { padding: 6px 10px; color: #8fd0ff; background: var(--brand-soft); border-radius: 5px; font-size: 10px; font-style: normal; }
.art-tree { padding: 22px; }
.art-tree > div { position: relative; min-height: 50px; display: grid; grid-template-columns: 18px 12px 1fr auto; align-items: center; gap: 9px; padding: 0 12px; border-radius: 6px; }
.art-tree .nested { margin-left: 34px; }
.art-tree .selected { color: #dcbfff; background: rgba(151, 104, 236, .1); border: 1px solid rgba(151, 104, 236, .22); }
.art-tree strong { font-size: 12px; }
.art-tree small { color: var(--faint); font-size: 9px; }
.art-tree b { color: var(--faint); font-weight: 400; }
.art-tree i { width: 9px; height: 9px; border-radius: 3px; }
.folder-dot { background: var(--faint); }
.purple-dot { background: var(--violet); }
.orange-dot { background: var(--orange); }
.green-dot { background: var(--green); }
.blue-dot { background: var(--brand-bright); }
.tree-line { position: absolute; left: -18px; top: -26px; width: 17px; height: 51px; border-left: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.tree-line.last { height: 26px; }
.drop-zone { margin: 0 22px 20px 56px; padding: 10px; color: #c6a9ff; border: 1px dashed rgba(177,140,255,.45); border-radius: 5px; background: rgba(177,140,255,.07); font-size: 10px; text-align: center; }

.preview-art { display: flex; flex-direction: column; }
.preview-controls { display: flex; gap: 5px; padding: 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.preview-controls button { padding: 7px 13px; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 5px; font-size: 10px; cursor: pointer; }
.preview-controls button:hover { color: var(--text); }
.preview-controls button.active { color: var(--text); background: var(--surface); border-color: var(--line-strong); }
.preview-canvas { position: relative; flex: 1; display: grid; place-items: center; min-height: 300px; background-image: radial-gradient(var(--line-strong) .7px, transparent .7px); background-size: 14px 14px; }
.folder-shape { position: absolute; left: 13%; top: 25%; width: 100px; height: 69px; border: 1px solid rgba(42,139,224,.26); border-radius: 7px; background: rgba(42,139,224,.08); transform: rotate(-5deg); }
.folder-shape span { position: absolute; left: 0; top: -12px; width: 42px; height: 14px; border: 1px solid rgba(42,139,224,.26); border-bottom: 0; border-radius: 5px 5px 0 0; background: rgba(42,139,224,.08); }
.demo-menu { position: relative; z-index: 2; width: 220px; margin-left: 20%; padding: 7px; border: 1px solid var(--line-strong); border-radius: 8px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 20px 40px rgba(0,0,0,.28); }
.demo-menu > div { font-size: 10px; }
.demo-menu > div:hover { background: var(--brand-soft); }
.preview-foot { height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; color: var(--faint); background: var(--surface-2); border-top: 1px solid var(--line); font-size: 9px; }
.preview-foot span:first-child { color: var(--green); }
.preview-foot i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--green); }

.flow-art { padding-bottom: 20px; }
.flow-heading { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.flow-heading span { font-weight: 650; }
.flow-heading small { color: var(--violet); }
.flow-step { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; margin: 20px 22px 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 7px; }
.flow-step.active { border-color: rgba(42,139,224,.4); background: var(--brand-soft); }
.flow-step > b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--brand-bright); background: var(--surface-3); font: 650 10px/1 var(--mono); }
.flow-step > span { display: flex; flex-direction: column; min-width: 0; }
.flow-step strong { font-size: 11px; }
.flow-step small { overflow: hidden; color: var(--faint); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.flow-step > i { color: var(--faint); font-size: 10px; font-style: normal; }
.flow-link { width: 1px; height: 20px; margin: 0 0 -20px 53px; background: var(--line-strong); }

.tools-section { background: #071a2d; color: #f5f9ff; }
:root[data-theme="light"] .tools-section { background: #09233c; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .tools-section { background: #09233c; } }
.eyebrow.light { color: #83d3ff; }
.tools-intro > p:last-child { color: #adc0d5; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 54px; }
.tool-card { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 28px; border: 1px solid rgba(165,204,240,.14); border-radius: 10px; background: rgba(255,255,255,.035); transition: transform .18s ease, background .18s ease; }
.tool-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.055); }
.tool-glyph { display: grid; place-items: center; width: 48px; height: 48px; padding: 4px; border-radius: 10px; color: #9bdcff; background: rgba(71,169,241,.08); font: 650 17px/1 var(--mono); }
.tool-glyph img { width: 40px; height: 40px; border-radius: 9px; }
.tool-card small { color: #70bdec; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.tool-card h3 { margin: 4px 0 6px; font: 630 20px/1.2 var(--display); }
.tool-card p { margin: 0; color: #9fb3c9; font-size: 13px; }
.tool-card > b { color: #6e93b5; font-weight: 400; }
.shortcut-strip { display: flex; align-items: center; gap: 44px; margin-top: 14px; padding: 22px 28px; border: 1px solid rgba(165,204,240,.14); border-radius: 10px; background: rgba(255,255,255,.035); }
.shortcut-strip > div { display: flex; align-items: center; gap: 7px; }
.shortcut-strip > div > span { margin-right: 12px; color: #70bdec; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.shortcut-strip kbd { min-width: 39px; padding: 6px 9px; border: 1px solid rgba(175,211,244,.3); border-bottom-width: 2px; border-radius: 5px; background: rgba(255,255,255,.06); font: 600 10px/1 var(--mono); text-align: center; }
.shortcut-strip i { color: #6e8398; font-style: normal; }
.shortcut-strip p { margin: 0; color: #a9bbcd; font-size: 13px; }

.edition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 1040px; }
.edition-card { position: relative; display: flex; flex-direction: column; padding: 38px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
.pro-card { border-color: rgba(53, 157, 238, .5); box-shadow: 0 24px 70px rgba(0, 95, 184, .12); }
.pro-ribbon { position: absolute; top: 17px; right: 18px; padding: 5px 8px; border-radius: 4px; color: var(--brand-bright); background: var(--brand-soft); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.edition-top { display: flex; align-items: center; gap: 14px; }
.edition-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; font: 700 18px/1 var(--display); }
.edition-mark.free { color: var(--muted); background: var(--surface-3); }
.edition-mark.pro { color: #a4deff; background: linear-gradient(135deg, #1878ce, #00559f); }
.edition-top p { margin: 0; color: var(--faint); font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.edition-top h3 { margin: 3px 0 0; font: 650 26px/1 var(--display); }
.edition-description { min-height: 52px; margin: 28px 0 0; color: var(--muted); }
.edition-list { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 34px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 13px; }
.edition-list span { margin-right: 9px; color: var(--green); }
.edition-card .button { margin-top: auto; }

.release-section { padding: 30px clamp(24px, 7vw, 112px) 112px; }
.release-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 38px 42px; overflow: hidden; border: 1px solid rgba(52, 157, 239, .38); border-radius: 14px; background: linear-gradient(110deg, var(--surface), var(--brand-soft)); }
.release-icon img { width: 74px; height: 74px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,95,184,.26); }
.release-copy .eyebrow { margin-bottom: 8px; }
.release-copy h2 { margin: 0; font: 630 32px/1.15 var(--display); letter-spacing: -.03em; }
.release-copy > p:not(.eyebrow) { max-width: 680px; margin: 11px 0 0; color: var(--muted); font-size: 14px; }
.release-facts { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 19px; color: var(--muted); font-size: 11px; }
.release-facts span { display: flex; gap: 6px; }
.release-facts b { color: var(--text); }
.release-link span { transform: none; }
.release-link:hover span { transform: translateY(3px); }

.faq-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(50px, 10vw, 150px); background: var(--bg-deep); border-top: 1px solid var(--line); }
.faq-title { position: sticky; top: 110px; align-self: start; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font: 620 17px/1.4 var(--display); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--brand-bright); font-size: 20px; font-weight: 400; transition: transform .18s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -6px 42px 24px 0; color: var(--muted); font-size: 14px; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 24px 50px; align-items: center; padding: 40px clamp(24px, 7vw, 112px); border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 10px; }
.footer-brand span { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 13px; }
.footer-brand small { color: var(--faint); font-size: 10px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 11px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.site-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 22px; color: var(--faint); border-top: 1px solid var(--line); font-size: 10px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .62s ease, transform .62s ease; }
.js .reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .menu-toggle { display: grid; }
  .site-nav {
    position: absolute; top: calc(100% + 8px); right: clamp(18px, 5vw, 76px); width: min(320px, calc(100vw - 36px));
    display: none; flex-direction: column; gap: 2px; padding: 10px; background: color-mix(in srgb, var(--surface) 96%, transparent);
    border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow); backdrop-filter: blur(18px);
  }
  .site-header.menu-open .site-nav { display: flex; }
  .site-nav a { padding: 11px 12px; border-radius: 7px; }
  .site-nav a:hover { background: var(--surface-2); }
  .site-nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 780px; }
  .hero-product { width: min(820px, 94%); margin: 20px auto 30px; }
  .context-preview { right: -3%; }
  .feature-story, .feature-story.reverse { grid-template-columns: 1fr 1.2fr; gap: 50px; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .site-header { height: 66px; padding: 0 18px; }
  .site-brand small, .header-actions .button { display: none; }
  .hero { min-height: auto; padding: 122px 20px 76px; }
  .hero h1 { font-size: clamp(44px, 12vw, 68px); }
  .hero-product { width: 100%; transform: none; }
  .window-tabs, .context-preview { display: none; }
  .studio-grid { grid-template-columns: 58% 42%; }
  .editor-pane { padding: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .problem-band, .section { padding: 82px 22px; }
  .action-heading { grid-template-columns: 1fr; gap: 24px; }
  .action-intro { justify-self: start; }
  .action-desktop { min-height: 600px; }
  .demo-file { left: 7%; top: 19%; }
  .live-context-menu { left: 28%; top: 20%; }
  .live-submenu { left: 22px; top: calc(100% + 8px); }
  .action-demo[data-stage="menu"] .action-pointer { left: 43%; top: 27%; }
  .action-demo[data-stage="submenu"] .action-pointer { left: 48%; top: 57%; }
  .action-steps { grid-template-columns: repeat(2, 1fr); padding: 8px 18px; }
  .action-steps > span { min-height: 44px; }
  .action-steps > span::after { display: none; }
  .problem-grid, .feature-story, .feature-story.reverse, .faq-section { grid-template-columns: 1fr; }
  .problem-grid { gap: 26px; }
  .principles, .tool-grid, .edition-grid { grid-template-columns: 1fr; }
  .principles { margin-top: 48px; }
  .feature-story, .feature-story.reverse { gap: 34px; padding: 52px 0; }
  .feature-story.reverse .feature-copy { order: 0; }
  .feature-number { font-size: 42px; }
  .shortcut-strip { align-items: flex-start; flex-direction: column; gap: 16px; }
  .release-section { padding: 20px 22px 84px; }
  .release-card { grid-template-columns: auto 1fr; padding: 28px; }
  .release-link { grid-column: 1 / -1; }
  .faq-title { position: static; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 540px) {
  .site-brand strong { font-size: 12px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .product-window { border-radius: 9px; }
  .studio-grid { min-height: 350px; grid-template-columns: 1fr; }
  .entry-pane { border-right: 0; }
  .editor-pane { display: none; }
  .window-brand span, .apply-pill { font-size: 7px; }
  .problem-grid h2, .section-heading h2, .tools-intro h2, .faq-title h2 { font-size: 38px; }
  .feature-art { min-height: 320px; }
  .action-demo-bar { grid-template-columns: 1fr auto; }
  .action-demo-label { display: none; }
  .action-desktop { min-height: 620px; }
  .demo-file { left: 4%; top: 10%; }
  .live-context-menu { left: 8%; top: 29%; width: 240px; }
  .live-submenu { left: 13px; width: 240px; }
  .action-pointer { left: 27%; top: 24%; }
  .action-demo[data-stage="menu"] .action-pointer { left: 31%; top: 35%; }
  .action-demo[data-stage="submenu"] .action-pointer { left: 35%; top: 62%; }
  .ai-progress { width: 88%; grid-template-columns: 42px 1fr 22px; }
  .action-hint { width: max-content; max-width: 88%; text-align: center; }
  .action-steps { grid-template-columns: 1fr; padding: 10px 18px; }
  .action-steps > span { min-height: 36px; }
  .art-tree { padding: 14px 10px; }
  .art-tree .nested { margin-left: 25px; }
  .demo-menu { width: 190px; margin-left: 12%; }
  .tool-card { grid-template-columns: 44px 1fr; padding: 22px; }
  .tool-card > b { display: none; }
  .shortcut-strip > div { flex-wrap: wrap; }
  .shortcut-strip > div > span { width: 100%; }
  .edition-card { padding: 28px 24px; }
  .pro-ribbon { display: none; }
  .release-card { grid-template-columns: 1fr; }
  .release-icon img { width: 58px; height: 58px; }
}
