/* SynergyOS — original visual system. Indigo, cyan and graphite. */
:root {
  color-scheme: dark;
  --bg: #08070d;
  --bg-2: #0c0b14;
  --surface: rgba(19, 18, 30, 0.72);
  --surface-solid: #13121e;
  --surface-2: #191827;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f6f4ff;
  --muted: #aaa6bd;
  --muted-2: #7d7893;
  --accent: #7c5cff;
  --accent-2: #a78bfa;
  --accent-3: #5ee7ff;
  --pink: #ff6bd6;
  --good: #57e3a4;
  --warn: #ffcf6b;
  --accent-soft: rgba(124, 92, 255, 0.16);
  --accent-glow: rgba(124, 92, 255, 0.34);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --max: 1240px;
  --font: "Segoe UI Variable Display", "Segoe UI", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f6fb;
  --bg-2: #efedf7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-2: #f1eff9;
  --line: rgba(20, 18, 40, 0.1);
  --line-strong: rgba(20, 18, 40, 0.2);
  --text: #151322;
  --muted: #5f5a73;
  --muted-2: #837e95;
  --accent: #5b3df5;
  --accent-2: #7c5cff;
  --accent-3: #0891b2;
  --pink: #db2777;
  --good: #0f9d6d;
  --warn: #9a6a00;
  --accent-soft: rgba(91, 61, 245, 0.1);
  --accent-glow: rgba(91, 61, 245, 0.2);
  --shadow: 0 30px 80px rgba(37, 30, 80, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .5s ease, color .5s ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 8% -10%, rgba(124, 92, 255, .16), transparent 60%),
    radial-gradient(700px 500px at 100% 8%, rgba(94, 231, 255, .09), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
[data-theme="light"] body::before {
  background:
    radial-gradient(900px 600px at 8% -10%, rgba(124, 92, 255, .12), transparent 60%),
    radial-gradient(700px 500px at 100% 8%, rgba(8, 145, 178, .07), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; }
button { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.4vw, 6.2rem); font-weight: 760; }
h2 { font-size: clamp(2rem, 4.2vw, 3.7rem); font-weight: 720; }
h3 { font-size: 1.13rem; font-weight: 650; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: .84em; letter-spacing: .02em; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--text); color: var(--bg); padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent-3); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
.noise {
  position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.scroll-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 130; background: transparent; }
.scroll-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--pink)); box-shadow: 0 0 18px var(--accent-glow); }
.eyebrow { display: flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .19em; font-size: .7rem; font-weight: 800; color: var(--accent-2); margin: 0 0 14px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(87, 227, 164, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(87, 227, 164, .55); } 70% { box-shadow: 0 0 0 10px rgba(87, 227, 164, 0); } 100% { box-shadow: 0 0 0 0 rgba(87, 227, 164, 0); } }
.gradient-text { background: linear-gradient(100deg, #fff 8%, var(--accent-2) 42%, var(--accent-3) 76%, #fff 100%); background-size: 180% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
[data-theme="light"] .gradient-text { background: linear-gradient(100deg, #1a1530 5%, var(--accent) 42%, var(--accent-3) 76%, #1a1530 100%); background-size: 180% auto; -webkit-background-clip: text; background-clip: text; }
@keyframes shimmer { to { background-position: 180% center; } }
.lead { font-size: clamp(1.05rem, 1.55vw, 1.22rem); color: var(--muted); max-width: 49em; }
.section { position: relative; padding: clamp(76px, 9vw, 132px) 0; }
.section.alt { background: color-mix(in srgb, var(--surface-solid) 45%, transparent); border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head h2 { margin-bottom: .35em; }
.section-head .lead { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 650; font-size: .94rem; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s; white-space: nowrap; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.primary { background: linear-gradient(135deg, var(--accent), #5c3cf0 60%, #4324d6); color: #fff; box-shadow: 0 14px 38px -12px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.24); }
.button.primary:hover { box-shadow: 0 20px 50px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.3); }
.button.ghost { background: color-mix(in srgb, var(--surface-solid) 60%, transparent); border-color: var(--line-strong); color: var(--text); backdrop-filter: blur(12px); }
.button.ghost:hover { background: var(--surface-2); border-color: var(--accent); }
.button.small { min-height: 40px; padding: 0 15px; font-size: .86rem; border-radius: 10px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--surface-solid) 55%, transparent); cursor: pointer; transition: .2s; }
.icon-button:hover { border-color: var(--accent); background: var(--surface-2); }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 720; font-size: 1.06rem; letter-spacing: -.03em; }
.brand img { border-radius: 9px; box-shadow: 0 6px 18px rgba(70, 48, 200, .28); }
.brand em { font-style: normal; color: var(--accent-2); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-size: .88rem; font-weight: 560; transition: .2s; }
.nav a:hover { color: var(--text); background: color-mix(in srgb, var(--surface-solid) 60%, transparent); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }
.header-cta { min-height: 40px; padding: 0 16px; font-size: .86rem; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 96px; overflow: hidden; }
.hero-canvas { position: absolute; inset: -10% -5% 0; width: 110%; height: 110%; opacity: .78; pointer-events: none; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 50% 35%, transparent 30%, var(--bg) 92%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-copy h1 { margin-bottom: .32em; }
.hero-copy .lead { max-width: 37em; }
.hero-note { margin-top: 20px; color: var(--muted-2); font-size: .8rem; letter-spacing: .03em; }
.hero-stage { position: relative; min-height: 470px; display: flex; align-items: center; justify-content: center; }
.orbit { position: absolute; border: 1px solid rgba(124, 92, 255, .22); border-radius: 50%; pointer-events: none; }
.orbit-a { width: 520px; height: 520px; animation: spin 34s linear infinite; border-style: dashed; }
.orbit-b { width: 660px; height: 660px; animation: spin 52s linear infinite reverse; border-color: rgba(94, 231, 255, .12); }
@keyframes spin { to { transform: rotate(360deg); } }
.os-window { position: relative; width: min(100%, 540px); border: 1px solid var(--line-strong); border-radius: 18px; background: color-mix(in srgb, var(--surface-solid) 88%, transparent); box-shadow: var(--shadow), 0 0 0 1px rgba(124,92,255,.08), 0 0 80px -20px var(--accent-glow); overflow: hidden; transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); backdrop-filter: blur(20px); }
.hero-stage:hover .os-window { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-5px); }
.os-titlebar { display: flex; align-items: center; gap: 7px; padding: 13px 15px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.os-dot { width: 9px; height: 9px; border-radius: 50%; }
.os-dot.red { background: #ff6b6b; } .os-dot.amber { background: #ffcf6b; } .os-dot.green { background: #57e3a4; }
.os-title { margin-left: 8px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.os-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(87, 227, 164, .12); border: 1px solid rgba(87, 227, 164, .25); color: var(--good); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.os-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.os-body { display: grid; grid-template-columns: 122px minmax(0, 1fr); min-height: 320px; }
.os-side { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; border-right: 1px solid var(--line); background: rgba(0,0,0,.08); }
.os-side span { padding: 8px 10px; border-radius: 7px; color: var(--muted-2); font-size: .72rem; font-weight: 600; }
.os-side span.active { color: var(--text); background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent); }
.os-main { padding: 20px 22px; }
.os-topline { display: flex; justify-content: space-between; color: var(--muted-2); font-size: .7rem; }
.os-headline { margin: 9px 0 2px; font-size: 1.62rem; font-weight: 750; letter-spacing: -.04em; }
.os-sub { color: var(--muted); font-size: .78rem; margin: 0 0 18px; }
.os-metrics { display: grid; gap: 11px; }
.os-metric { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .73rem; }
.os-metric span { color: var(--muted); }
.os-metric strong { color: var(--text); font-weight: 650; }
.os-metric strong b { color: var(--accent-3); }
.os-track { grid-column: 1 / -1; height: 5px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.os-track em { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-3)); box-shadow: 0 0 12px var(--accent-glow); animation: grow 1.6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { width: 0; } }
.os-checks { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.os-checks span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: .66rem; background: rgba(255,255,255,.025); }
.os-checks svg { width: 12px; height: 12px; fill: none; stroke: var(--good); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.os-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .66rem; }
.os-ready { display: inline-flex; align-items: center; gap: 5px; color: var(--good); }
.os-ready i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: 12px; background: color-mix(in srgb, var(--surface-solid) 82%, transparent); box-shadow: 0 20px 44px rgba(0,0,0,.32); backdrop-filter: blur(16px); animation: float 6s ease-in-out infinite; }
.float-chip b { display: block; font-size: .72rem; font-weight: 700; }
.float-chip small { display: block; color: var(--muted-2); font-size: .62rem; }
.chip-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-2); }
.chip-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip-a { top: -7%; left: 16%; animation-delay: -1s; }
.chip-b { bottom: -7%; right: 3%; animation-delay: -3s; }
.chip-c { top: 58%; left: -24%; animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-2); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-scroll span { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Stats */
.stat-strip { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface-solid) 38%, transparent); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.stat:last-child { border-right: 0; }
.stat strong { font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 720; letter-spacing: -.03em; }
.stat span { color: var(--muted-2); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, color-mix(in srgb, var(--surface-solid) 82%, transparent), color-mix(in srgb, var(--surface-solid) 46%, transparent)); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; }
.feature-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 240px at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 62%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.feature-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 24px 50px -24px rgba(0,0,0,.5); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 18px; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.feature-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin-bottom: .4em; }
.feature-card p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.tag { display: inline-flex; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted-2); font-size: .66rem; font-weight: 650; letter-spacing: .04em; }

/* Playbook configurator */
.playbook-section { overflow: hidden; }
.configurator { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch; }
.config-panel, .preview-panel { border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(160deg, color-mix(in srgb, var(--surface-solid) 88%, transparent), color-mix(in srgb, var(--surface-solid) 58%, transparent)); box-shadow: 0 24px 60px -30px rgba(0,0,0,.6); }
.config-panel { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.config-group { display: flex; flex-direction: column; gap: 10px; }
.config-label { color: var(--muted-2); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 750; }
.switch-row { display: flex; align-items: center; gap: 14px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); cursor: pointer; transition: .25s; }
.switch-row:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--accent-soft); }
.switch-row span { flex: 1; }
.switch-row b { display: block; font-size: .84rem; font-weight: 650; }
.switch-row small { display: block; color: var(--muted-2); font-size: .7rem; line-height: 1.45; margin-top: 2px; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; flex: 0 0 40px; width: 40px; height: 23px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-strong); transition: .25s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--muted-2); transition: .25s cubic-bezier(.2,.8,.2,1); }
.switch-row input:checked + .switch { background: linear-gradient(135deg, var(--accent), #4f2ee8); border-color: transparent; box-shadow: 0 0 18px var(--accent-glow); }
.switch-row input:checked + .switch::after { left: 20px; background: #fff; }
.wallpaper-config { padding-top: 4px; border-top: 1px dashed var(--line); }
.wallpaper-question { font-size: .95rem; font-weight: 650; margin-top: 2px; }
.segmented { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,.08); width: fit-content; }
.seg { border: 0; background: transparent; padding: 7px 12px; border-radius: 7px; color: var(--muted); font-size: .76rem; font-weight: 650; cursor: pointer; transition: .2s; }
.seg.is-active { background: var(--surface-solid); color: var(--text); box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.theme-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; transition: opacity .3s, transform .3s; }
.theme-choice.is-off { opacity: .38; filter: grayscale(.5); pointer-events: none; }
.theme-card { border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); padding: 5px; cursor: pointer; text-align: left; transition: .25s; }
.theme-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 7px; }
.theme-card span { display: block; padding: 6px 4px 2px; font-size: .72rem; font-weight: 650; color: var(--muted); }
.theme-card.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 10px 30px -16px var(--accent-glow); }
.theme-card.is-active span { color: var(--text); }
.preview-panel { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.preview-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); min-height: 300px; background: var(--surface-2); }
.preview-frame img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; transition: opacity .4s ease, transform .6s ease; }
.preview-frame img.switching { opacity: .2; transform: scale(1.03); }
.preview-overlay { position: absolute; inset: 14px 14px auto; display: flex; justify-content: space-between; align-items: center; }
.preview-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(8,7,13,.62); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: .68rem; font-weight: 700; backdrop-filter: blur(10px); }
.preview-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.preview-version { color: rgba(255,255,255,.78); font-size: .64rem; }
.preview-taskbar { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border-radius: 9px; background: rgba(10,8,18,.62); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); }
.preview-taskbar span { width: 18px; height: 18px; border-radius: 5px; background: rgba(255,255,255,.14); }
.preview-taskbar span:first-child { background: linear-gradient(135deg, var(--accent), var(--accent-3)); }
.preview-taskbar b { margin-left: auto; color: rgba(255,255,255,.8); font-size: .62rem; font-weight: 600; }
.preview-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 2px 0; }
.preview-summary span { display: block; color: var(--muted-2); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; }
.preview-summary strong { display: block; font-size: .92rem; }
.config-note { color: var(--muted-2); font-size: .78rem; margin: 18px 0 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--surface-solid) 58%, transparent); transition: .3s; }
.step:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-4px); }
.step-num { display: block; color: var(--accent-2); font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; margin-bottom: 28px; }
.step-icon { position: absolute; right: 18px; top: 18px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-2); }
.step-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 1rem; }
.step p { color: var(--muted); font-size: .82rem; margin: 0; }

/* Changes */
.change-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.change-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: linear-gradient(160deg, color-mix(in srgb, var(--surface-solid) 74%, transparent), color-mix(in srgb, var(--surface-solid) 42%, transparent)); }
.change-kicker { display: inline-block; color: var(--accent-2); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 750; margin-bottom: 12px; }
.change-card h3 { font-size: 1.22rem; }
.change-card p { color: var(--muted); font-size: .88rem; }
.meter { height: 5px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin: 16px 0 12px; }
.meter i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-3)); box-shadow: 0 0 14px var(--accent-glow); }
.change-foot { color: var(--muted-2); font-size: .7rem; letter-spacing: .04em; }

/* Download */
.download-section { padding-top: 0; }
.download-card { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; padding: clamp(28px, 4vw, 54px); border: 1px solid var(--line-strong); border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 13%, var(--surface-solid)), color-mix(in srgb, var(--surface-solid) 78%, transparent)); box-shadow: var(--shadow); }
.download-glow { position: absolute; width: 560px; height: 360px; right: -120px; top: -100px; background: radial-gradient(circle, var(--accent-glow), transparent 65%); filter: blur(20px); pointer-events: none; }
.download-copy { position: relative; z-index: 2; }
.download-copy h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.download-copy .lead { margin-bottom: 24px; }
.download-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; color: var(--muted-2); font-size: .76rem; }
.download-meta b { color: var(--text); }
.download-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.download-visual img { position: relative; z-index: 2; border-radius: 28px; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 60px -10px var(--accent-glow); animation: float 6s ease-in-out infinite; }
.download-ring { position: absolute; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(124,92,255,.3); box-shadow: 0 0 80px -20px var(--accent-glow), inset 0 0 80px -20px var(--accent-glow); animation: spin 26s linear infinite; border-style: dashed; }
.download-chip { position: absolute; z-index: 3; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: color-mix(in srgb, var(--surface-solid) 80%, transparent); backdrop-filter: blur(10px); font-size: .66rem; font-weight: 700; }
.chip-1 { top: 9%; right: 7%; } .chip-2 { bottom: 13%; left: 4%; } .chip-3 { bottom: 3%; right: 13%; }
.download-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.download-steps div { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--surface-solid) 48%, transparent); }
.download-steps .mono { color: var(--accent-2); display: block; margin-bottom: 7px; }
.download-steps b { display: block; font-size: .9rem; }
.download-steps p { margin: 2px 0 0; color: var(--muted); font-size: .78rem; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 13px; background: color-mix(in srgb, var(--surface-solid) 54%, transparent); overflow: hidden; transition: border-color .3s, background .3s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: color-mix(in srgb, var(--surface-solid) 72%, transparent); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 650; font-size: .95rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; left: 3px; top: 8px; width: 12px; height: 2px; border-radius: 2px; background: var(--accent-2); transition: transform .3s; }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details div { padding: 0 20px 18px; color: var(--muted); font-size: .9rem; }
.faq details div p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { padding: 0 0 100px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 18%, var(--surface-solid)), color-mix(in srgb, var(--surface-solid) 62%, transparent)); }
.cta-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin: 0; }
.cta-inner .eyebrow { margin-bottom: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface-solid) 38%, transparent); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand p { color: var(--muted); font-size: .84rem; max-width: 30em; margin: 14px 0 16px; }
.footer-brand p a { color: var(--accent-2); font-weight: 600; }
.site-footer h2 { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-2); margin: 4px 0 14px; font-weight: 750; }
.site-footer a:not(.brand) { display: block; color: var(--muted); font-size: .83rem; padding: 4px 0; transition: .2s; }
.site-footer a:not(.brand):hover { color: var(--text); transform: translateX(2px); }
.socials { display: flex; gap: 8px; }
.socials a { display: inline-flex !important; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-solid); padding: 0 !important; }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .7rem; }
.footer-bottom p { margin: 0; max-width: 42em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s cubic-bezier(.2,.8,.2,1), transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.reveal:nth-child(5) { transition-delay: .24s; }
.reveal:nth-child(6) { transition-delay: .3s; }

/* Inner pages */
.page-hero { padding: 150px 0 60px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.page-hero .lead { max-width: 50em; }
.page-section { padding: 40px 0 90px; }
.doc-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; }
.doc-nav { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 3px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--surface-solid) 55%, transparent); }
.doc-nav span { color: var(--muted-2); font-size: .65rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; margin-bottom: 6px; }
.doc-nav a { color: var(--muted); font-size: .82rem; padding: 6px 8px; border-radius: 7px; }
.doc-nav a:hover { background: var(--accent-soft); color: var(--text); }
.doc-content h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 48px; scroll-margin-top: 110px; }
.doc-content h2:first-child { margin-top: 0; }
.doc-content h3 { margin-top: 30px; }
.doc-content p, .doc-content li { color: var(--muted); font-size: .94rem; }
.doc-content ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.doc-content li { margin-bottom: .4em; }
.doc-content code { padding: .12em .38em; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--mono); font-size: .84em; }
.doc-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--surface-solid) 58%, transparent); margin: 18px 0; }
.doc-card b { font-size: .82rem; color: var(--accent-2); text-transform: uppercase; letter-spacing: .12em; }
.doc-card p:last-child { margin-bottom: 0; }
.download-page-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.download-box { padding: 26px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(160deg, color-mix(in srgb, var(--surface-solid) 80%, transparent), color-mix(in srgb, var(--surface-solid) 48%, transparent)); }
.download-box h2 { font-size: 1.4rem; }
.download-box p { color: var(--muted); font-size: .88rem; }
.asset-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.asset-row:first-of-type { border-top: 0; }
.asset-row b { display: block; font-size: .86rem; }
.asset-row small { color: var(--muted-2); font-size: .72rem; }
.release-list { display: flex; flex-direction: column; gap: 12px; }
.release-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--surface-solid) 54%, transparent); }
.release-item header { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.release-item h2 { font-size: 1.1rem; margin: 0; }
.release-item time { color: var(--muted-2); font-size: .72rem; }
.release-item p { color: var(--muted); font-size: .86rem; margin: 0 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: .92rem; }
.legal h2 { margin-top: 36px; font-size: 1.3rem; }
.redirect-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 24px; }
.redirect-page .logo { width: 74px; height: 74px; border-radius: 18px; margin: 0 auto 20px; box-shadow: 0 20px 50px -16px var(--accent-glow); }
.redirect-page p { color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.mt-4 { margin-top: 24px; }
.hide { display: none !important; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .actions, .hero-copy .eyebrow { justify-content: center; }
  .hero-stage { min-height: 430px; margin-top: 10px; }
  .chip-a { left: 0; } .chip-b { right: 0; } .chip-c { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .doc-nav span { width: 100%; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 76px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; padding: 12px; border: 1px solid var(--line-strong); border-radius: 14px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .configurator { grid-template-columns: 1fr; }
  .preview-panel { order: -1; }
  .change-grid { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .download-visual { min-height: 220px; }
  .download-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .wrap, .narrow { width: min(100% - 30px, var(--max)); }
  .hero { padding-top: 108px; }
  .hero-stage { min-height: 380px; }
  .os-window { transform: none; }
  .os-body { grid-template-columns: 1fr; }
  .os-side { display: none; }
  .float-chip { display: none; }
  .feature-grid, .steps, .footer-grid, .download-page-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .section { padding: 64px 0; }
  .hero-copy h1 { font-size: clamp(2.7rem, 12vw, 4.1rem); }
  .theme-choice { grid-template-columns: 1fr; }
  .preview-frame, .preview-frame img { min-height: 230px; }
  .download-card { border-radius: 20px; }
  .cta-inner { padding: 24px; }
  .footer-bottom { font-size: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-canvas { display: none; }
}
