@font-face { font-family: Manrope; src: url("/assets/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #060709;
  --surface: #0b0c10;
  --surface-2: #101217;
  --app: #0b1019;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #eceef4;
  --soft: #a4a9b8;
  --muted: #7a8092;
  --faint: #656b7a;
  --accent: #7c89ff;
  --accent-strong: #6272ff;
  --teal: #5fe3cc;
  --green: #3ddc97;
  --amber: #f5a524;
  --red: #ff6b7f;
  --shell: min(1200px, calc(100% - 48px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-width: 320px; margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code, kbd { font-family: var(--mono); }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg.icon-fill { fill: currentColor; stroke: none; }
::selection { background: rgba(124, 137, 255, .35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; transform: translateY(-160%); padding: 9px 14px; border-radius: 8px; background: var(--text); color: var(--bg); }
.skip-link:focus { transform: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; font-weight: 650; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s; }
.btn svg { width: 17px; height: 17px; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 15px; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 13px; }
.btn-primary, .btn-light { background: var(--text); color: #07080b; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 10px 30px -10px rgba(124, 137, 255, .6); }
.btn-primary:hover, .btn-light:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 14px 40px -8px rgba(124, 137, 255, .75); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled { border-color: var(--line); background: rgba(6, 7, 9, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.header-inner { display: flex; height: 64px; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.brand img { border-radius: 7px; }
.nav { display: flex; gap: 28px; margin-inline: auto; }
.nav a, .nav-link { color: var(--soft); font-size: 14px; font-weight: 550; transition: color .2s; }
.nav a:hover, .nav-link:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.menu-button, .mobile-nav { display: none; }

/* Hero */
.hero { position: relative; padding: 150px 0 0; isolation: isolate; }
.hero::before { position: absolute; inset: 0 0 auto; z-index: -2; height: 900px; content: ""; background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(124, 137, 255, .16), transparent 70%); pointer-events: none; }
.hero-beams { position: absolute; inset: 0 0 auto; z-index: -1; height: 1000px; overflow: hidden; pointer-events: none; mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent); }
.hero-beams svg { width: 100%; height: 100%; }
.hero-beams .lanes path { stroke: rgba(255, 255, 255, .075); stroke-width: 1; }
.hero-beams .pulse { stroke: url(#pulse-gradient); stroke-width: 1.6; stroke-dasharray: 60 940; stroke-dashoffset: 1000; filter: drop-shadow(0 0 5px rgba(124, 137, 255, .9)); animation: beam var(--duration, 6s) linear var(--delay, 0s) infinite; }
.hero-beams .node { fill: var(--bg); stroke: rgba(255, 255, 255, .22); stroke-width: 1.4; }
@keyframes beam { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }

.hero-copy { text-align: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--soft); font-size: 13px; font-weight: 550; transition: border-color .2s, color .2s; }
.hero-pill:hover { border-color: rgba(255, 255, 255, .22); color: var(--text); }
.hero-pill i { width: 1px; height: 12px; background: var(--line-2); }
.live-dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.live-dot::after { position: absolute; inset: -4px; border-radius: 50%; content: ""; border: 1px solid var(--teal); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { opacity: .8; transform: scale(.6); } to { opacity: 0; transform: scale(1.8); } }

.hero-title { margin: 28px 0 0; font-size: clamp(44px, 7.4vw, 94px); font-weight: 650; letter-spacing: -.048em; line-height: .98; }
.hero-title .line { display: block; }
.beam-text { color: transparent; background: linear-gradient(90deg, #eceef4 0%, #aab3ff 30%, #7c89ff 48%, #5fe3cc 62%, #eceef4 85%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 9s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.reveal-word { animation: blur-in 1s var(--ease) both; }
.reveal-word + .reveal-word { animation-name: blur-in, shimmer; animation-duration: 1s, 9s; animation-timing-function: var(--ease), ease-in-out; animation-delay: .14s, 0s; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; }
@keyframes blur-in { from { opacity: 0; filter: blur(14px); transform: translateY(20px); } }
.hero-lede { max-width: 660px; margin: 26px auto 0; color: var(--soft); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-proof a { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); font-size: 14px; font-weight: 550; transition: color .2s; }
.hero-proof a::before { width: 6px; height: 6px; border-radius: 50%; content: ""; background: var(--teal); box-shadow: 0 0 0 4px rgba(95, 227, 204, .14); }
.hero-proof a:hover { color: var(--text); }

.hero-stage { position: relative; margin-top: 72px; perspective: 2200px; }
.stage-glow { position: absolute; inset: 6% 8% -2%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(98, 114, 255, .38), rgba(95, 227, 204, .08) 60%, transparent); filter: blur(50px); opacity: var(--glow, .6); }
.stage-window { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--app); box-shadow: 0 50px 140px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset; transform: rotateX(var(--tilt, 4deg)) scale(var(--scale, .985)); transform-origin: 50% 0; will-change: transform; }
.stage-window::before { position: absolute; inset: 0 0 auto; z-index: 2; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(170, 179, 255, .9) 35%, rgba(95, 227, 204, .9) 65%, transparent); }
.stage-window img { width: 100%; }
.callout { position: absolute; z-index: 3; margin: 0; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(12, 13, 18, .82); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8); color: var(--soft); font-size: 13px; white-space: nowrap; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: var(--callouts, 0); transform: translateY(calc((1 - var(--callouts, 0)) * 12px)); }
.callout-right { top: 22%; right: -26px; }

/* Sections */
.section { position: relative; padding: 150px 0; }
.section-head { max-width: 960px; }
.section-head.center { max-width: 900px; margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--soft); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.kicker span { color: var(--accent); }
.section h2 { margin: 18px 0 0; font-size: clamp(36px, 5.2vw, 64px); font-weight: 650; letter-spacing: -.042em; line-height: 1.02; }
.section h2, .page-hero h1 { text-wrap: balance; }
.dim { color: var(--muted); }
.section-head > p:not(.kicker), .sessions-copy > p.lead { max-width: 620px; margin: 22px 0 0; color: var(--soft); font-size: 17px; line-height: 1.7; }
.section-head.center > p:not(.kicker) { margin-inline: auto; }
.section-note { margin: 24px 0 0; color: var(--muted); font-size: 13.5px; text-align: center; }
.section-note a, .text-link { border-bottom: 1px solid var(--line-2); color: var(--soft); transition: color .2s; }
.section-note a:hover, .text-link:hover { color: var(--text); }
.frame { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--app); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .85); }
.frame img { width: 100%; }

/* Tap-to-zoom screenshot viewer (phones only) */
.zoom-hint { display: none; }
.zoom-viewer { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(6, 7, 9, .97); color: var(--text); }
.zoom-viewer::backdrop { background: rgba(0, 0, 0, .7); }
.zoom-bar { display: flex; height: 60px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--soft); font-size: 13px; }
.zoom-close { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.zoom-scroll { display: flex; height: calc(100dvh - 60px); align-items: center; overflow: auto; -webkit-overflow-scrolling: touch; }
.zoom-scroll img { flex: none; max-width: none; height: auto; margin: 16px; border: 1px solid var(--line-2); border-radius: 10px; }

/* Playground */
.playground { margin-top: 60px; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008)); }
.pg-tabs { display: flex; gap: 4px; padding: 4px; overflow-x: auto; scrollbar-width: none; }
.pg-tabs::-webkit-scrollbar { display: none; }
.pg-tabs button { flex: 1 0 auto; padding: 12px 18px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.pg-tabs button:hover { color: var(--text); }
.pg-tabs button[aria-pressed="true"] { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.pg-body { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.3fr); gap: 10px; margin-top: 10px; }
.pg-side { display: flex; flex-direction: column; gap: 10px; }
.terminal { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #050608; }
.terminal-bar { display: flex; height: 38px; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.terminal-bar i { width: 9px; height: 9px; border-radius: 50%; background: #23262e; }
.terminal-bar span { margin-left: auto; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.terminal-body { min-height: 150px; margin: 0; padding: 22px 20px 24px; color: #d9dce5; font: 14px/1.7 var(--mono); white-space: pre-wrap; word-break: break-word; }
.terminal-body .prompt { color: var(--teal); }
.caret { display: inline-block; width: 8px; height: 1.15em; margin-left: 2px; background: #d9dce5; vertical-align: text-bottom; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.terminal-note { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; transition: opacity .4s, transform .4s var(--ease); }
.terminal-note.is-hidden { opacity: 0; transform: translateY(4px); }
.translate { flex: 1; padding: 22px 20px; border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(130% 120% at 0% 0%, rgba(124, 137, 255, .12), transparent 60%), var(--surface); }
.translate-label { margin: 0; color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.translate-path { margin: 10px 0 0; font-size: 16px; font-weight: 650; line-height: 1.45; }
.translate-summary { margin: 8px 0 0; color: var(--soft); font-size: 14px; line-height: 1.65; }
.pg-dialog { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid rgba(124, 137, 255, .18); border-radius: 14px; background: var(--app); }
.pg-dialog-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pg-dialog-head strong { font-size: 16px; font-weight: 650; }
.pg-badge { padding: 4px 10px; border: 1px solid rgba(124, 137, 255, .28); border-radius: 999px; background: rgba(124, 137, 255, .1); color: #b4bcff; font-size: 12px; font-weight: 600; }
.pg-graphs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 8px; }
.pg-graph { position: relative; overflow: hidden; padding: 12px 12px 6px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .015); }
.pg-graph > p { margin: 0 0 8px; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.pg-graph ol { position: relative; min-height: 196px; margin: 0; padding: 0; list-style: none; }
.pg-graph ol::before { position: absolute; top: 12px; bottom: 16px; left: 6px; width: 2px; border-radius: 2px; content: ""; background: linear-gradient(#6272ff, #3fb8a5); opacity: .55; }
.pg-graph.scan::after { position: absolute; inset: 0 0 auto; height: 40%; content: ""; background: linear-gradient(to bottom, transparent, rgba(124, 137, 255, .14), transparent); animation: scan .9s var(--ease) forwards; pointer-events: none; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.node { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; min-height: 48px; padding: 6px 0; }
.node .dot { position: relative; z-index: 1; width: 14px; height: 14px; margin-top: 3px; border: 2px solid #6d7bff; border-radius: 50%; background: var(--app); box-shadow: 0 0 0 3px var(--app); }
.node strong { display: block; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.node small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 3px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.node em { padding: 1px 6px; border-radius: 4px; background: rgba(124, 137, 255, .12); color: #b4bcff; font: 600 10.5px/1.5 var(--sans); font-style: normal; }
.node.tone-created .dot { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 3px var(--app), 0 0 16px rgba(61, 220, 151, .65); }
.node.tone-created em { background: rgba(61, 220, 151, .12); color: #86f0c3; }
.node.tone-removed strong { color: var(--muted); text-decoration: line-through; }
.node.tone-removed .dot { border-color: var(--red); }
.node.tone-target .dot { border-color: var(--amber); }
.node.tone-target em { background: rgba(245, 165, 36, .12); color: #ffc76b; }
.pg-graph.waiting .node { opacity: 0; }
.pg-graph.animate .node { animation: node-in .55s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes node-in { from { opacity: 0; filter: blur(4px); transform: translateY(-10px); } }
.pg-arrow { display: grid; place-items: center; color: var(--faint); }
.pg-arrow svg { width: 18px; height: 18px; }
.pg-consequences, .download-facts { display: grid; gap: 6px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; list-style: none; }
.pg-consequences li, .download-facts li { position: relative; padding-left: 22px; color: var(--soft); font-size: 13px; }
.pg-consequences li::before, .download-facts li::before { position: absolute; top: 6px; left: 2px; width: 10px; height: 5px; content: ""; border-bottom: 2px solid var(--teal); border-left: 2px solid var(--teal); transform: rotate(-45deg); }
.pg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.pg-foot span { color: var(--muted); font-size: 12.5px; }
.pg-foot .btn { border-radius: 9px; background: var(--accent-strong); color: #fff; box-shadow: 0 8px 24px -8px rgba(98, 114, 255, .8); }
.pg-foot .btn:hover { background: #7280ff; }
.pg-foot .btn.done { background: var(--green); color: #03140c; box-shadow: 0 8px 24px -8px rgba(61, 220, 151, .7); }

.support { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; margin: 40px 0 0; padding: 32px 0 0; border-top: 1px solid var(--line); list-style: none; }
.support strong { display: block; font-size: 14.5px; font-weight: 650; }
.support span { display: block; margin-top: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.support b { color: var(--soft); font-weight: 600; }

/* Conflicts */
.section-conflicts { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .018) 35%, transparent); }
.hotspots { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 28px; margin-top: 64px; }
.hotspot { position: absolute; top: var(--y); left: var(--x); z-index: 2; display: grid; width: 28px; height: 28px; margin: -14px 0 0 -14px; place-items: center; border: 0; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 6px rgba(124, 137, 255, .28), 0 8px 24px rgba(0, 0, 0, .6); color: #07080b; font: 700 12px/1 var(--mono); cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s; }
.hotspot::after { position: absolute; inset: -7px; border: 1px solid rgba(170, 179, 255, .7); border-radius: 50%; content: ""; animation: ping 2.6s var(--ease) infinite; }
.hotspot:hover, .hotspot.active { background: var(--accent-strong); color: #fff; transform: scale(1.15); }
.hotspot[data-hotspot="1"] { --x: 58%; --y: 46%; }
.hotspot[data-hotspot="2"] { --x: 67%; --y: 56%; }
.hotspot[data-hotspot="3"] { --x: 62%; --y: 74%; }
.hotspot[data-hotspot="4"] { --x: 77%; --y: 91%; }
.hotspot[data-hotspot="5"] { --x: 94%; --y: 85%; }
.hotspot-legend { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hotspot-legend li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 16px 14px; border: 1px solid transparent; border-radius: 12px; transition: background .25s, border-color .25s; }
.hotspot-legend li.active { border-color: var(--line); background: rgba(255, 255, 255, .04); }
.hotspot-legend b { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--soft); font: 600 12px var(--mono); transition: background .25s, color .25s; }
.hotspot-legend li.active b { border-color: transparent; background: var(--text); color: #07080b; }
.hotspot-legend strong { display: block; font-size: 15px; font-weight: 650; }
.hotspot-legend p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* Coding Sessions */
.section-sessions::before { position: absolute; inset: 0; content: ""; background: radial-gradient(ellipse 45% 55% at 78% 50%, rgba(95, 227, 204, .06), transparent 70%); pointer-events: none; }
.sessions { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; gap: 72px; }
.sessions-copy h2 { font-size: clamp(34px, 3.8vw, 50px); }
.timeline { position: relative; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: step; }
.timeline::before { position: absolute; top: 12px; bottom: 24px; left: 11px; width: 1px; content: ""; background: linear-gradient(var(--accent), var(--teal) 70%, transparent); opacity: .6; }
.timeline li { position: relative; padding: 0 0 20px 44px; counter-increment: step; }
.timeline li::before { position: absolute; top: 0; left: 0; display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; content: counter(step); background: var(--bg); color: var(--soft); font: 11px/1 var(--mono); }
.timeline strong { display: block; font-size: 15px; font-weight: 650; }
.timeline span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.timeline code, .plain code, .steps code, .honest-note code { color: var(--soft); font-size: .85em; }
.honest-note { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 14px; line-height: 1.55; }
.honest-note svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--soft); }
.sessions-visual { position: sticky; top: 140px; margin-top: 40px; padding-bottom: 14%; }
.frame-float { position: absolute; right: -5%; bottom: 0; width: 46%; border-color: rgba(124, 137, 255, .3); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(124, 137, 255, .1); transform: translateY(var(--parallax, 0px)); }

/* Everyday workflow tour */
.tour { margin-top: 48px; }
.tour-tabs { display: flex; width: fit-content; max-width: 100%; gap: 4px; margin-bottom: 14px; padding: 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 999px; scrollbar-width: none; }
.tour-tabs::-webkit-scrollbar { display: none; }
.tour-tabs button { flex: 0 0 auto; padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.tour-tabs button:hover { color: var(--text); }
.tour-tabs button[aria-pressed="true"] { background: rgba(255, 255, 255, .08); color: var(--text); }
.tour-frame { aspect-ratio: 16 / 10; }
.tour-frame img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity .6s var(--ease), transform 1s var(--ease); }
.tour-frame img.active { opacity: 1; transform: none; }
.also { margin: 20px 0 0; color: var(--muted); font-size: 14px; }

/* Download */
.section-download { overflow: hidden; padding-bottom: 80px; border-top: 1px solid var(--line); }
.download-glow { position: absolute; top: -260px; left: 50%; width: 960px; height: 520px; margin-left: -480px; border-radius: 50%; background: radial-gradient(closest-side, rgba(98, 114, 255, .24), transparent); pointer-events: none; }
.download { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 72px; }
.download-icon { border-radius: 16px; box-shadow: 0 20px 50px -10px rgba(98, 114, 255, .55); }
.download-copy h2 { margin-top: 28px; font-size: clamp(32px, 3.4vw, 44px); }
.download-copy > p:not(.release-meta) { max-width: 480px; margin: 22px 0 0; color: var(--soft); font-size: 17px; }
.download-facts { gap: 8px; margin: 20px 0 0; padding: 0; border: 0; }
.download-facts li { font-size: 14.5px; line-height: 1.55; }
.download-facts li::before { top: 7px; }
.download-copy .release-meta { margin: 22px 0 0; color: var(--muted); font-family: var(--mono); font-size: 12.5px; }
.release-meta strong { color: var(--soft); font-weight: 500; }
.store-badge { display: inline-block; margin-top: 22px; border-radius: 6px; transition: opacity .2s, transform .25s var(--ease); }
.store-badge:hover { opacity: .85; transform: translateY(-1px); }
.store-badge img { display: block; width: 182px; height: 56px; }
.download-card { padding: 10px; border: 1px solid var(--line-2); border-radius: 20px; background: rgba(12, 13, 18, .85); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.dl { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px; border-radius: 12px; transition: background .2s; }
.dl:hover { background: rgba(255, 255, 255, .04); }
.dl-featured { margin-bottom: 4px; background: rgba(124, 137, 255, .08); box-shadow: inset 0 0 0 1px rgba(124, 137, 255, .25); }
.dl-featured:hover { background: rgba(124, 137, 255, .13); }
.dl-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface-2); color: var(--soft); }
.dl-icon svg { width: 20px; height: 20px; color: #b4bcff; }
.dl-icon-text { font: 700 10px/1.1 var(--mono); text-align: center; }
.dl-text strong { display: block; font-size: 15px; font-weight: 650; }
.dl-text small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.dl-go { padding: 8px 14px; border-radius: 999px; background: var(--text); color: #07080b; font-size: 13px; font-weight: 650; }
.dl:not(.dl-featured) .dl-go { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); }
.commands.snap-command { margin: 0 0 4px; padding-top: 0; border-top: 0; }
.other-linux { margin-top: 6px; border-top: 1px solid var(--line); }
.other-linux summary { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 14px; border-radius: 12px; color: var(--soft); font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; transition: background .2s, color .2s; }
.other-linux summary::-webkit-details-marker { display: none; }
.other-linux summary:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.other-linux summary small { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.other-linux summary::after { width: 8px; height: 8px; margin: -4px 4px 0 auto; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); content: ""; transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s; }
.other-linux[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.other-linux-note { margin: 0 14px 8px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.commands { display: grid; gap: 6px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.copy-command { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #050608; text-align: left; cursor: pointer; transition: border-color .2s; }
.copy-command:hover { border-color: var(--line-2); }
.copy-kind { color: var(--muted); font: 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.copy-command code { overflow: hidden; color: var(--soft); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.copy-label { color: var(--accent); font-size: 12px; font-weight: 650; }
.copy-command.copied { border-color: rgba(61, 220, 151, .4); }
.copy-command.copied .copy-label { color: var(--green); }
.requires { margin: 12px 4px 0; color: var(--muted); font-size: 12.5px; }
.requires a { border-bottom: 1px solid var(--line-2); color: var(--soft); }
.requires code { font-size: 12px; }
.download-footer { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px 4px; }
.download-footer a { color: var(--muted); font-size: 12.5px; transition: color .2s; }
.download-footer a:hover { color: var(--text); }

/* Guide links */
.guide-links-inner { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.guide-links-inner .kicker { padding: 0 14px 0 10px; }
.guide-links-inner a:not(.guide-links-all) { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid transparent; border-radius: 12px; transition: background .2s, border-color .2s; }
.guide-links-inner a:not(.guide-links-all):hover { border-color: var(--line); background: rgba(255, 255, 255, .04); }
.guide-links-inner strong { font-size: 14.5px; font-weight: 650; }
.guide-links-inner span { color: var(--muted); font-size: 13px; }
.guide-links-all { padding: 0 14px; color: var(--accent); font-size: 14px; font-weight: 600; white-space: nowrap; }

/* FAQ */
.section-faq { padding-top: 120px; }
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: 56px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 40px 22px 0; font-size: 16px; font-weight: 600; list-style: none; cursor: pointer; transition: color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 50%; right: 6px; width: 9px; height: 9px; margin-top: -7px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); content: ""; transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s; }
.faq-list details[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.faq-list summary:hover { color: #fff; }
.faq-list details p { max-width: 640px; margin: -6px 0 22px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Footer */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; }
.footer-brand p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.maker-note { display: flex; align-items: center; gap: 12px; padding: 7px 16px 7px 7px; border: 1px solid var(--line); border-radius: 999px; }
.maker-note img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.maker-note span { display: block; color: var(--muted); font-size: 11.5px; }
.maker-note strong { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.3; }
.maker-note a { margin-left: 6px; color: var(--soft); font-size: 12.5px; }
.maker-note a:hover { color: var(--text); }
.footer-floor { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-floor small { font-size: 12.5px; }

/* Guide pages */
.page-hero { position: relative; padding: 140px 0 52px; isolation: isolate; }
.page-hero::before { position: absolute; inset: 0 0 auto; z-index: -1; height: 520px; content: ""; background: radial-gradient(ellipse 50% 60% at 30% 0%, rgba(124, 137, 255, .12), transparent 70%); pointer-events: none; }
.breadcrumb { display: flex; gap: 10px; color: var(--muted); font-size: 13.5px; }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--text); }
.page-hero h1 { max-width: 860px; margin: 20px 0 0; font-size: clamp(36px, 5vw, 60px); font-weight: 650; letter-spacing: -.04em; line-height: 1.04; }
.page-hero .lede { max-width: 680px; margin: 20px 0 0; color: var(--soft); font-size: 18px; line-height: 1.65; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 64px; padding-bottom: 130px; }
.guide-content > h2 { margin: 48px 0 0; font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.guide-content > h2:first-child { margin-top: 0; }
.guide-content > p:not(.honest-note):not(.guide-tip) { margin: 12px 0 0; color: var(--soft); font-size: 16px; line-height: 1.75; }
.guide-content .frame { margin: 32px 0 8px; }
.guide-content b { color: var(--text); font-weight: 650; }
.steps { display: grid; gap: 16px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding-left: 40px; color: var(--soft); font-size: 16px; line-height: 1.65; counter-increment: s; }
.steps li::before { position: absolute; top: 0; left: 0; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; content: counter(s); background: rgba(124, 137, 255, .12); color: #b4bcff; font: 600 12px/1 var(--mono); }
.plain { margin: 14px 0 0; padding-left: 20px; color: var(--soft); font-size: 16px; line-height: 1.7; }
.plain li { margin: 8px 0; padding-left: 4px; }
.plain li::marker { color: var(--faint); }
.guide-tip { margin: 28px 0 0; padding: 14px 16px; border-left: 2px solid var(--teal); border-radius: 0 10px 10px 0; background: rgba(95, 227, 204, .05); color: var(--soft); font-size: 15px; }
.guide-aside { position: sticky; top: 96px; display: grid; gap: 14px; }
.aside-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.aside-card h3 { margin: 0 0 10px; color: var(--muted); font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.aside-card ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.aside-card ul a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--soft); font-size: 14px; line-height: 1.4; transition: background .2s, color .2s; }
.aside-card ul a:hover, .aside-card ul a[aria-current="page"] { background: rgba(255, 255, 255, .05); color: var(--text); }
.aside-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.aside-download { width: 100%; }
.aside-linux { display: inline-block; margin-top: 12px; font-size: 13.5px; }
.guide-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.guide-pager a { display: grid; gap: 4px; max-width: 48%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, background .2s; }
.guide-pager a:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.guide-pager small { color: var(--muted); font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.guide-pager strong { font-size: 15px; font-weight: 650; }
.guide-pager .next { margin-left: auto; text-align: right; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; padding-bottom: 130px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .25s, transform .25s var(--ease), background .25s; }
.guide-card:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); }
.guide-card-number { color: var(--accent); font: 12px var(--mono); }
.guide-card strong { font-size: 19px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.guide-card p { flex: 1; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.guide-card em { color: var(--accent); font-size: 13.5px; font-style: normal; font-weight: 600; }

/* Privacy, license and 404 pages */
.prose-layout { padding-bottom: 130px; }
.prose-layout .guide-content { max-width: 780px; }
.prose-layout .guide-content > h2:first-child { margin-top: 0; }
.license-text { margin: 16px 0 0; padding: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--soft); font: 13px/1.7 var(--mono); white-space: pre-wrap; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.not-found { min-height: calc(100vh - 220px); padding-bottom: 96px; }
.not-found code { color: var(--soft); }

/* Motion */
/* Visible by default. script.js adds .reveal-pending only to elements below the fold. */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal-pending.visible { opacity: 1; transform: none; }
.hero-copy .reveal { animation: fade-up .9s var(--ease) both; }
.hero-copy .hero-lede { animation-delay: .2s; }
.hero-copy .hero-actions { animation-delay: .3s; }
.hero-copy .hero-proof { animation-delay: .4s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
@media print { .reveal-pending { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1100px) {
  .callout { display: none; }
  .hotspots { grid-template-columns: 1fr; }
  .hotspot-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-links-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-links-inner .kicker, .guide-links-all { grid-column: 1 / -1; padding: 8px 10px; }
}
@media (max-width: 960px) {
  .nav, .nav-link { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: grid; width: 40px; height: 40px; place-content: center; gap: 5px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; cursor: pointer; }
  .menu-button span { display: block; width: 16px; height: 1.5px; background: var(--text); transition: transform .25s var(--ease); }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: 64px; right: 16px; left: 16px; gap: 2px; padding: 8px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(12, 13, 18, .97); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 12px 14px; border-radius: 8px; color: var(--soft); font-size: 15px; }
  .mobile-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
  .pg-body, .sessions, .download, .faq, .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .sessions, .download, .guide-layout { gap: 48px; }
  .faq { gap: 28px; }
  .sessions-visual { position: relative; top: auto; margin-top: 0; }
  .frame-float { right: 0; width: 52%; }
  .guide-aside { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-top .maker-note { justify-self: start; }
}
@media (max-width: 720px) {
  :root { --shell: calc(100% - 32px); }
  .header-actions .btn { display: none; }
  .hero { padding-top: 116px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { flex-direction: column; align-items: center; gap: 10px; }
  .hero-stage { margin-top: 52px; }
  .stage-window, .frame { border-radius: 10px; }
  .section { padding: 96px 0; }
  .section-head > p:not(.kicker), .sessions-copy > p.lead { font-size: 16px; }
  .playground { padding: 6px; border-radius: 18px; }
  .pg-tabs button { padding: 10px 14px; font-size: 13px; }
  .pg-graphs { grid-template-columns: minmax(0, 1fr); }
  .pg-arrow { transform: rotate(90deg); }
  .pg-graph ol { min-height: 0; }
  .terminal-body { min-height: 120px; font-size: 13px; }
  .support { grid-template-columns: 1fr; gap: 18px; }
  .hotspot, .frame-float { display: none; }
  .sessions-visual { padding-bottom: 0; }
  [data-zoom] { cursor: zoom-in; }
  .zoom-hint { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(12, 13, 18, .88); color: var(--text); font-size: 12.5px; font-weight: 600; cursor: pointer; }
  .zoom-hint svg { width: 14px; height: 14px; }
  .hotspot-legend, .guide-links-inner { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 12px 10px; }
  .dl-icon { width: 44px; height: 44px; }
  .dl-go, .copy-kind { display: none; }
  .copy-command { grid-template-columns: minmax(0, 1fr) auto; }
  .download-footer { flex-direction: column; }
  .section-faq { padding-top: 88px; }
  .page-hero { padding-top: 112px; }
  .page-hero .lede { font-size: 16px; }
  .guide-pager { flex-direction: column; }
  .guide-pager a { max-width: 100%; }
  .maker-note { flex-wrap: wrap; border-radius: 16px; }
}
@media (max-width: 420px) {
  .hero-title { font-size: 40px; }
  .frame-float { width: 60%; }
}
@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-pending { opacity: 1; transform: none; }
  .stage-window { transform: none; }
  .hero-stage { --callouts: 1; }
  .hero-beams .pulse { display: none; }
}
