:root {
  --bg: #0d0c0a;
  --bg2: #13120f;
  --panel: #191714;
  --panel2: #211f1b;
  --line: rgba(255, 245, 230, 0.08);
  --line2: rgba(255, 245, 230, 0.14);
  --text: #efebe4;
  --mute: #9a948a;
  --dim: #6b665e;
  --accent: #ff5b35;
  --accent2: #ffb36b;
  --good: #5fd38d;
  --bad: #ff6b6b;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
body.is-intro { overflow: hidden; height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
code, .mono { font-family: var(--mono); }
::selection { background: var(--accent); color: #fff; }

/* ======================= LOADER ======================= */
#loader {
  position: fixed; inset: 0; z-index: 1000;
  background: #0a0908; color: #efebe4;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 28px 32px; font-family: var(--mono); font-size: 12px;
  transition: clip-path 0.9s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
#loader.out { clip-path: inset(0 0 100% 0); }
.ld-top { display: flex; justify-content: space-between; letter-spacing: 0.12em; color: var(--mute); }
.ld-brand { color: #fff; font-weight: 700; }
.ld-log { position: absolute; left: 32px; top: 70px; color: #5b564e; line-height: 1.7; white-space: pre; font-size: 11px; }
.ld-log .ok { color: #8fd19e; }
.ld-center { display: grid; place-items: center; }
.ld-glyph { display: grid; grid-template-columns: repeat(2, 18px); gap: 6px; transform: rotate(45deg); }
.ld-glyph span { width: 18px; height: 18px; background: #fff; animation: ldg 1s var(--ease-io) infinite; }
.ld-glyph span:nth-child(2) { animation-delay: 0.12s; }
.ld-glyph span:nth-child(3) { animation-delay: 0.36s; }
.ld-glyph span:nth-child(4) { animation-delay: 0.24s; }
@keyframes ldg { 0%, 100% { transform: scale(1); border-radius: 0; } 50% { transform: scale(0.35); border-radius: 50%; } }
.ld-bottom { display: flex; align-items: flex-end; gap: 24px; }
.ld-count { font-family: var(--sans); font-weight: 600; font-size: clamp(64px, 12vw, 168px); line-height: 0.8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.ld-count i { font-style: normal; font-size: 0.35em; color: var(--mute); margin-left: 6px; vertical-align: top; }
.ld-bar { flex: 1; height: 2px; background: #2a2723; margin-bottom: 14px; overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }

/* ======================= INTRO ======================= */
#intro { position: fixed; inset: 0; z-index: 900; background: #fff; clip-path: circle(150% at 50% 50%); }
#intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#introFlash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.0), rgba(0,0,0,0) 60%); }
#introLogo { position: fixed; z-index: 950; left: 0; top: 0; width: 100px; height: 100px; opacity: 0; pointer-events: none; transform-origin: 0 0; will-change: transform; }
#skipIntro {
  position: absolute; right: 28px; bottom: 26px; z-index: 5;
  font-family: var(--mono); font-size: 12px; color: #111; letter-spacing: 0.05em;
  padding: 10px 16px; border: 1px solid rgba(0,0,0,0.15); border-radius: 999px; background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
#skipIntro:hover { background: #111; color: #fff; transform: translateY(-2px); }
#skipIntro span { display: inline-block; transition: transform 0.3s var(--ease); }
#skipIntro:hover span { transform: translateX(4px); }
.hud { position: absolute; inset: 0; pointer-events: none; font-family: var(--mono); font-size: 11px; color: rgba(0,0,0,0.55); letter-spacing: 0.08em; line-height: 1.6; }
.hud > div { position: absolute; }
.hud-tl { left: 28px; top: 24px; }
.hud-tl b { color: #000; }
.hud-tr { right: 28px; top: 24px; text-align: right; }
.hud-bl { left: 28px; bottom: 28px; }
.hud-br { right: 180px; bottom: 34px; }
.hud-bars { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; }
.hud-bars i { width: 3px; background: #000; opacity: 0.6; animation: bars 0.9s ease-in-out infinite alternate; }
.hud-bars i:nth-child(odd) { animation-duration: 0.6s; }
.hud-bars i:nth-child(3n) { animation-duration: 1.2s; }
@keyframes bars { from { height: 2px; } to { height: 14px; } }
.hud::before, .hud::after { content: ''; position: absolute; width: 18px; height: 18px; border: 1px solid rgba(0,0,0,0.3); }
.hud::before { left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; opacity: 0; }

/* ======================= CURSOR / GRAIN ======================= */
#cursorDot, #cursorRing { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2000; border-radius: 50%; opacity: 0; }
#cursorDot { width: 6px; height: 6px; background: #fff; mix-blend-mode: difference; margin: -3px 0 0 -3px; }
#cursorRing { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.5); margin: -18px 0 0 -18px; transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background 0.3s, border-color 0.3s; mix-blend-mode: difference; }
body.cursor-on #cursorDot, body.cursor-on #cursorRing { opacity: 1; }
body.cursor-hover #cursorRing { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,0.12); border-color: transparent; }
body.cursor-os #cursorDot, body.cursor-os #cursorRing { opacity: 0 !important; }
.grain { position: fixed; inset: -50%; z-index: 1500; pointer-events: none; opacity: 0.06; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
#scrollBar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform-origin: left; transform: scaleX(0); z-index: 1200; }

/* ======================= NAV ======================= */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 40px);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, transform 0.6s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
#nav.scrolled { background: rgba(13,12,10,0.72); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); padding-top: 12px; padding-bottom: 12px; }
#nav.hide { transform: translateY(-100%); }
body.is-intro #nav, body.is-intro main, body.is-intro footer { visibility: hidden; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand-logo { width: 34px; height: 34px; transition: transform 0.6s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-12deg) scale(1.08); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-size: 14px; color: var(--mute); padding: 8px 14px; border-radius: 999px; position: relative; transition: color 0.25s; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,0.06); transform: scale(0.6); opacity: 0; transition: 0.35s var(--ease); }
.nav-links a:hover::after { transform: scale(1); opacity: 1; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ======================= BUTTONS ======================= */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 500; font-size: 15px; padding: 12px 22px;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn { background: var(--text); color: #0d0c0a; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, var(--accent), var(--accent2)); transform: translateY(101%); transition: transform 0.5s var(--ease); border-radius: inherit; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; box-shadow: 0 10px 40px -10px rgba(255,91,53,0.6); }
.btn-ghost { background: rgba(255,255,255,0.04); border: 1px solid var(--line2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.25); }
.btn.sm, .btn-ghost.sm { padding: 8px 16px; font-size: 14px; }
.btn.lg, .btn-ghost.lg { padding: 15px 26px; font-size: 16px; }
.btn.full, .btn-ghost.full { width: 100%; }
.btn-ghost .arr { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(3px); } }

/* ======================= HERO ======================= */
.hero { position: relative; padding: 150px clamp(16px, 4vw, 40px) 60px; min-height: 100vh; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#heroField { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.hero-glow { position: absolute; width: 900px; height: 900px; left: 50%; top: 30%; transform: translate(-50%,-50%); background: radial-gradient(closest-side, rgba(255,91,53,0.16), rgba(255,179,107,0.05) 50%, transparent); filter: blur(10px); animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-40%,-55%) scale(1.15); } }
.hero-inner { position: relative; max-width: 1240px; margin: 0 auto; }
.pill { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; color: var(--mute); padding: 6px 14px 6px 6px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(255,255,255,0.03); transition: border-color 0.3s, color 0.3s; }
.pill b { background: var(--accent); color: #fff; font-weight: 600; font-size: 11px; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.pill span { transition: transform 0.3s var(--ease); }
.pill:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.pill:hover span { transform: translateX(4px); }
.hero-title { margin-top: 28px; font-size: clamp(42px, 7.4vw, 104px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .w { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); }
body.ready .hero-title .w { transform: none; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
#heroWord { display: inline-block; background: linear-gradient(100deg, var(--accent) 10%, var(--accent2) 60%, #fff 110%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
#heroWord .ch { display: inline-block; }
.hero-sub { margin-top: 26px; max-width: 580px; font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); line-height: 1.55; }
.hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ctas.center { justify-content: center; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.split .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split .sw > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.split.in .sw > span { transform: none; }

/* ======================= OS STAGE ======================= */
.os-stage { position: relative; max-width: 1400px; margin: 80px auto 0; }
.os-hint { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 13px; color: var(--mute); margin-bottom: 18px; text-align: center; padding: 0 10px; }
.os-hint code { color: var(--text); background: rgba(255,255,255,0.08); padding: 1px 6px; border-radius: 4px; font-size: 12px; }
.dot-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(95,211,141,0.7); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(95,211,141,0); } 100% { box-shadow: 0 0 0 0 rgba(95,211,141,0); } }
.os-perspective { perspective: 1800px; }
.os-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line2);
  box-shadow: 0 60px 160px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
  transform-origin: 50% 0; will-change: transform;
  background: #1a1714;
}
.os-wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.os-viewport { position: relative; width: 100%; }

/* ======================= MARQUEE ======================= */
.marquee-sec { padding: 70px 0 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marq 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: clamp(28px, 4vw, 54px); font-weight: 500; letter-spacing: -0.04em; color: #34312c; white-space: nowrap; transition: color 0.3s; display: flex; align-items: center; gap: 56px; }
.marquee-track span:hover { color: var(--text); }
.marquee-track span::after { content: '✦'; font-size: 0.45em; color: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ======================= FEATURES ======================= */
.feature { max-width: 1240px; margin: 0 auto; padding: 120px clamp(16px, 4vw, 40px); }
.feature-head { max-width: 640px; }
.feature-head.center { margin: 0 auto; text-align: center; }
.eyebrow { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; }
h2 em { font-family: var(--serif); font-weight: 400; color: var(--mute); letter-spacing: -0.02em; }
.lede { margin-top: 22px; font-size: 18px; color: var(--mute); line-height: 1.6; }
.feature-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.feature-split.rev { grid-template-columns: 1.15fr 1fr; }
.card { position: relative; background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0,0,0,0.8); }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.06), transparent 40%); opacity: 0; transition: opacity 0.4s; }
.card:hover::after { opacity: 1; }
.card-chrome { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--dim); }
.card-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #3a3631; }
.card-chrome i:nth-child(1) { background: #ff5f57; } .card-chrome i:nth-child(2) { background: #febc2e; } .card-chrome i:nth-child(3) { background: #28c840; }
.card-chrome span { margin-left: 8px; }

/* agents lanes */
.agents-grid { margin-top: 60px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; }
.lanes { padding: 18px; display: grid; gap: 12px; }
.lane { display: grid; grid-template-columns: 170px 1fr 70px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); font-size: 13px; }
.lane-name { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.lane-name .st { width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 10px var(--accent2); flex: none; }
.lane.done .st { background: var(--good); box-shadow: 0 0 10px var(--good); }
.lane-track { position: relative; height: 26px; border-radius: 6px; background: rgba(255,255,255,0.03); overflow: hidden; }
.lane-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, rgba(255,91,53,0.25), rgba(255,179,107,0.35)); }
.lane.done .lane-fill { background: linear-gradient(90deg, rgba(95,211,141,0.18), rgba(95,211,141,0.3)); }
.lane-log { position: absolute; left: 10px; top: 0; bottom: 0; display: flex; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--text); opacity: 0.85; white-space: nowrap; }
.lane-time { text-align: right; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.lane-pr { font-family: var(--mono); font-size: 11px; color: var(--good); }
.agents-side { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.mini-stat { padding: 22px 24px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.mini-stat b { display: block; font-size: 46px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.mini-stat span { color: var(--mute); font-size: 14px; }
.link-arrow { color: var(--accent); font-weight: 500; display: inline-flex; gap: 8px; margin-top: 6px; }
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* tab */
.keys { margin-top: 26px; color: var(--mute); font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
kbd { font-family: var(--mono); font-size: 12px; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,0.06); border: 1px solid var(--line2); border-bottom-width: 2px; color: var(--text); }
.code-card { min-height: 420px; }
.tab-code { padding: 20px 22px 60px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #d6d1c8; white-space: pre; overflow: hidden; counter-reset: ln; }
.tab-code .ln { display: block; position: relative; padding-left: 38px; transition: background 0.3s; }
.tab-code .ln::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 24px; text-align: right; color: #4a463f; }
.tab-code .ln.hl { background: rgba(255,91,53,0.07); }
.ghost { color: #6f6a61; font-style: italic; }
.ghost.acc { color: inherit; font-style: normal; animation: acc 0.6s var(--ease); }
@keyframes acc { from { background: rgba(95,211,141,0.25); } to { background: transparent; } }
.caret-i { display: inline-block; width: 2px; height: 1.1em; vertical-align: -0.18em; background: var(--accent2); animation: blink 1s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.tab-hint { position: absolute; right: 18px; bottom: 16px; font-size: 12px; color: var(--mute); display: flex; gap: 8px; align-items: center; opacity: 0; transform: translateY(6px); transition: 0.4s var(--ease); }
.tab-hint.on { opacity: 1; transform: none; }
.tab-hint.press kbd { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(1px); }
.tk-k { color: #ff8f6b; } .tk-s { color: #b8d98d; } .tk-f { color: #82b4ff; } .tk-c { color: #5d584f; font-style: italic; } .tk-n { color: #f2c46d; } .tk-t { color: #c9a5ff; }

/* tools */
.tools-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card { min-height: 380px; display: flex; flex-direction: column; }
.slack { padding: 16px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.msg { display: grid; grid-template-columns: 32px 1fr; gap: 10px; opacity: 0; transform: translateY(10px); transition: 0.5s var(--ease); }
.msg.in { opacity: 1; transform: none; }
.msg .av { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; }
.msg .av img { width: 26px; height: 26px; }
.msg .who { font-weight: 600; font-size: 13px; }
.msg .who small { color: var(--dim); font-weight: 400; margin-left: 6px; font-size: 11px; }
.msg .who .app { font-size: 9px; background: rgba(255,255,255,0.1); color: var(--mute); padding: 1px 4px; border-radius: 3px; margin-left: 6px; }
.msg p { color: #cfc9bf; }
.msg .btns { margin-top: 8px; display: flex; gap: 6px; }
.msg .btns span { font-size: 11px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line2); }
.msg .btns span.g { background: #1f6f43; border-color: #1f6f43; color: #fff; }
.cli-demo { padding: 16px; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: #cfc9bf; flex: 1; white-space: pre-wrap; }
.cli-demo .p { color: var(--accent2); } .cli-demo .g { color: var(--good); } .cli-demo .d { color: var(--dim); } .cli-demo .b { color: #82b4ff; }
.install { margin: 0 16px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--line2); font-size: 11.5px; text-align: left; transition: border-color 0.3s; }
.install:hover { border-color: var(--accent); }
.install .copy { font-size: 11px; color: var(--mute); flex: none; }
.review { padding: 14px; font-family: var(--mono); font-size: 11.5px; line-height: 1.65; }
.review .file { color: var(--mute); margin-bottom: 6px; font-size: 11px; }
.review .dl { display: block; padding: 0 8px; border-radius: 3px; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.review .add { background: rgba(95,211,141,0.1); color: #a6e7bd; }
.review .del { background: rgba(255,107,107,0.1); color: #ffb0b0; }
.review .cm { margin: 10px 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255,255,255,0.03); font-family: var(--sans); font-size: 12.5px; color: #d9d3c9; display: grid; grid-template-columns: 22px 1fr; gap: 8px; opacity: 0; transform: scale(0.96); transition: 0.5s var(--ease); }
.review .cm.in { opacity: 1; transform: none; }
.review .cm img { width: 22px; height: 22px; }
.review .cm b { display: block; font-size: 12px; }
.review .cm .fix { display: inline-block; margin-top: 6px; font-size: 11px; color: var(--accent2); }

/* graph */
.graph-card { height: 480px; }
#graph { width: 100%; height: 100%; display: block; }
.graph-q { position: absolute; left: 18px; right: 18px; top: 18px; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(13,12,10,0.75); backdrop-filter: blur(10px); border: 1px solid var(--line2); font-size: 14px; }
.q-icon { color: var(--accent); }
.caret { width: 2px; height: 16px; background: var(--accent2); animation: blink 1s steps(1) infinite; }
.ticks { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; color: #cfc9bf; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(95,211,141,0.15) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12l4 4 8-8' stroke='%235fd38d' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat; }

/* scrub */
.scrub { height: 340vh; position: relative; }
.scrub-sticky { position: sticky; top: 0; height: 100vh; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.scrub-steps { display: grid; gap: 10px; }
.scrub-step { padding: 22px 26px; border-radius: 16px; border: 1px solid transparent; opacity: 0.28; transform: translateX(-10px) scale(0.98); transition: 0.6s var(--ease); display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
.scrub-step span { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 9px; grid-row: span 2; }
.scrub-step h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; }
.scrub-step p { color: var(--mute); }
.scrub-step.on { opacity: 1; transform: none; border-color: var(--line2); background: rgba(255,255,255,0.025); }
.scrub-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.scrub-big { font-size: clamp(120px, 20vw, 300px); font-weight: 600; letter-spacing: -0.08em; line-height: 1; background: linear-gradient(180deg, #fff, #3a3631); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.scrub-ring { position: absolute; inset: 6%; }
.scrub-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.scrub-ring circle { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 0.6; }
.scrub-ring #scrubArc { stroke: var(--accent); stroke-width: 0.8; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; }

/* models */
.models { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.model { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s; position: relative; overflow: hidden; }
.model:hover { transform: translateY(-4px); border-color: var(--line2); background: rgba(255,255,255,0.04); }
.model b { display: block; font-weight: 500; font-size: 17px; }
.model span { color: var(--mute); font-size: 13px; }
.model .tag { position: absolute; right: 14px; top: 16px; font-family: var(--mono); font-size: 10px; color: var(--accent2); border: 1px solid rgba(255,179,107,0.3); padding: 2px 7px; border-radius: 999px; }
.model .bar { margin-top: 16px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.06); overflow: hidden; }
.model .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.model.in .bar i { transform: scaleX(var(--v)); }
.model.own { border-color: rgba(255,91,53,0.35); background: linear-gradient(160deg, rgba(255,91,53,0.12), transparent 60%); }

/* pricing */
.pricing { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; padding: 30px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--bg2)); display: flex; flex-direction: column; gap: 18px; transform-style: preserve-3d; }
.price-card.hot { border-color: rgba(255,91,53,0.5); box-shadow: 0 30px 90px -30px rgba(255,91,53,0.35); }
.price-card .badge { position: absolute; top: -12px; left: 30px; font-size: 11px; font-weight: 600; background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 999px; }
.price-card h3 { font-weight: 500; font-size: 20px; }
.price b { font-size: 52px; font-weight: 500; letter-spacing: -0.04em; }
.price span { color: var(--mute); margin-left: 6px; }
.price-card ul { list-style: none; display: grid; gap: 10px; flex: 1; color: #cfc9bf; font-size: 15px; }
.price-card li::before { content: '→'; color: var(--accent); margin-right: 10px; }

/* changelog */
.changelog { margin-top: 48px; border-top: 1px solid var(--line); }
.cl-row { display: grid; grid-template-columns: 140px 1fr 40px; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; cursor: pointer; transition: padding 0.4s var(--ease); }
.cl-row:hover { padding-left: 14px; }
.cl-row .v { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.cl-row h4 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.cl-row p { color: var(--mute); max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease), margin 0.5s var(--ease); }
.cl-row.open p { max-height: 120px; margin-top: 8px; }
.cl-row .pl { font-size: 22px; color: var(--mute); transition: transform 0.4s var(--ease); text-align: right; }
.cl-row.open .pl { transform: rotate(45deg); color: var(--accent); }

/* cta */
.cta { text-align: center; padding: 140px 20px 160px; position: relative; overflow: hidden; }
.cta-logo-wrap { width: 200px; height: 200px; margin: 0 auto 30px; perspective: 800px; }
.cta-logo { width: 100%; height: 100%; transition: transform 0.2s ease-out; filter: drop-shadow(0 30px 60px rgba(255,91,53,0.35)); }
.cta h2 { font-size: clamp(48px, 8vw, 120px); }
.cta .lede { max-width: 520px; margin-left: auto; margin-right: auto; }
.os-list { margin-top: 22px; color: var(--dim); font-size: 13px; }

/* footer */
#footer { border-top: 1px solid var(--line); padding: 70px clamp(16px, 4vw, 40px) 30px; overflow: hidden; }
.foot-cols { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 30px; }
.foot-brand img { width: 44px; height: 44px; }
.foot-brand p { color: var(--mute); margin-top: 14px; max-width: 260px; font-size: 14px; }
.foot-cols h4 { font-size: 13px; font-weight: 500; color: var(--dim); margin-bottom: 14px; }
.foot-cols a { display: block; color: #cfc9bf; font-size: 14px; padding: 4px 0; transition: color 0.2s, transform 0.3s var(--ease); }
.foot-cols a:hover { color: var(--accent); transform: translateX(3px); }
.foot-word { display: flex; justify-content: center; font-weight: 700; font-size: clamp(110px, 27vw, 420px); letter-spacing: -0.07em; line-height: 0.8; margin-top: 70px; user-select: none; }
.foot-word span { display: inline-block; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.14); transition: color 0.5s, -webkit-text-stroke-color 0.5s, transform 0.6s var(--ease); }
.foot-word span:hover { color: var(--text); transform: translateY(-4%) rotate(-3deg); -webkit-text-stroke-color: transparent; }
.foot-bottom { max-width: 1240px; margin: 40px auto 0; display: flex; justify-content: space-between; color: var(--dim); font-size: 12px; gap: 16px; flex-wrap: wrap; }

/* responsive */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .feature-split, .feature-split.rev, .agents-grid { grid-template-columns: 1fr; gap: 40px; }
  .tools-grid, .pricing { grid-template-columns: 1fr; }
  .models { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .scrub-sticky { grid-template-columns: 1fr; align-content: center; }
  .scrub-visual { display: none; }
  .lane { grid-template-columns: 110px 1fr 54px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 120px; }
  .nav-cta .btn-ghost { display: none; }
  .hud-br, .hud-bl { display: none; }
  .cl-row { grid-template-columns: 80px 1fr 24px; gap: 12px; }
}
@media (hover: none) { #cursorDot, #cursorRing { display: none; } }
