/* CoreTerm — site styles. No external fonts, no frameworks. */
:root {
  --bg: #07070b;
  --bg-2: #0b0b12;
  --surface: #101018;
  --surface-2: #151520;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #ededf3;
  --muted: #9a9aae;
  --dim: #6b6b80;
  --accent: #8b6cff;
  --accent-2: #22d3ee;
  --warm: #ff9a62;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  --radius: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
p a, li a, .prose a { color: #c4b5fd; text-decoration: underline; text-decoration-color: rgba(196, 181, 253, 0.35); text-underline-offset: 3px; }
p a:hover, li a:hover, .prose a:hover { text-decoration-color: currentColor; }
code, kbd, pre { font-family: var(--mono); }
kbd {
  display: inline-block; min-width: 1.6em; padding: 0.05em 0.4em; border: 1px solid var(--line-2); border-bottom-width: 2px;
  border-radius: 6px; background: var(--surface-2); font-size: 0.82em; line-height: 1.5; text-align: center; color: #fff;
}
::selection { background: rgba(139, 108, 255, 0.45); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: #fff; color: #000; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── Header ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 11, 0.72);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 17px; color: #fff; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, #8b6cff 0%, #5b8cff 50%, #22d3ee 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 6px 20px -6px rgba(139,108,255,.7);
  font: 700 12px/1 var(--mono); color: #fff;
}
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: #fff; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; font-size: 12px; font-weight: 600; }
.lang a { padding: 3px 9px; border-radius: 999px; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--surface-2); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: #fff; border-radius: 8px; width: 38px; height: 34px; cursor: pointer; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 14.5px; letter-spacing: -0.005em;
  border: 1px solid var(--line-2); background: var(--surface-2); color: #fff; cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s; white-space: nowrap; font-family: inherit;
}
.btn:hover { border-color: rgba(255,255,255,.28); background: #1b1b28; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #9a80ff, #7c5cff); border-color: rgba(255,255,255,.18);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px -8px rgba(124, 92, 255, 0.8);
}
.btn-primary:hover { background: linear-gradient(180deg, #a68fff, #8a6cff); border-color: rgba(255,255,255,.3); }
.btn-white { background: #fff; color: #0b0b12; border-color: #fff; }
.btn-white:hover { background: #e9e9f2; color: #0b0b12; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn svg { width: 16px; height: 16px; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: 88px 0 40px; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(139,108,255,.35), transparent 70%),
    radial-gradient(500px 260px at 78% 20%, rgba(34,211,238,.18), transparent 70%),
    radial-gradient(480px 260px at 20% 30%, rgba(255,154,98,.12), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 13px; color: #d6d6e2;
}
.pill b { background: linear-gradient(90deg, #ff9a62, #ffb88a); color: #1a0d05; font-size: 11px; padding: 2px 8px; border-radius: 999px; letter-spacing: .02em; }
.pill:hover { border-color: rgba(255,255,255,.3); color: #fff; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; line-height: 1.05; margin: 0; color: #fff; }
.hero h1 { font-size: clamp(44px, 7.4vw, 84px); font-weight: 750; margin: 22px auto 0; max-width: 14ch; }
.grad { background: linear-gradient(100deg, #fff 10%, #c9bcff 45%, #7fe6f5 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 22px auto 0; line-height: 1.55; }
.lead strong { color: #e4e4ee; font-weight: 600; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.meta-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--dim); }
.meta-row span::before { content: "✓"; color: var(--ok); margin-right: 6px; }

/* ── App mock ───────────────────────────────────────────── */
.mock-stage { position: relative; margin: 64px auto 0; max-width: 1080px; perspective: 2000px; }
.mock-stage::before {
  content: ""; position: absolute; inset: 8% 6% -6% 6%; z-index: -1; filter: blur(60px);
  background: linear-gradient(90deg, rgba(139,108,255,.45), rgba(34,211,238,.3), rgba(255,154,98,.25)); border-radius: 40px; opacity: .55;
}
.win {
  position: relative; text-align: left; border-radius: 14px; overflow: hidden;
  background: #0c0c13; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 40px 120px -20px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.08) inset;
  font: 12.5px/1.55 var(--mono); color: #cfd0e0;
}
.win-bar { height: 38px; display: flex; align-items: center; padding: 0 14px; gap: 8px; background: linear-gradient(#181822, #13131b); border-bottom: 1px solid rgba(255,255,255,.07); }
.dots { display: flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: 0 0 0 .5px rgba(0,0,0,.4) inset; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.win-title { flex: 1; text-align: center; font: 600 12.5px var(--sans); color: #a5a5b8; margin-right: 52px; }
.win-body { display: grid; grid-template-columns: 220px 1fr; height: 470px; }
.side { background: #0f0f17; border-right: 1px solid rgba(255,255,255,.06); padding: 12px 8px; font-family: var(--sans); font-size: 12.5px; overflow: hidden; }
.side-search { display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 10px; border-radius: 7px; background: rgba(255,255,255,.05); color: #7d7d92; margin-bottom: 12px; font-size: 12px; }
.side-search kbd { font-size: 10px; padding: 0 5px; }
.grp { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #66667c; padding: 10px 10px 5px; display: flex; justify-content: space-between; }
.sess { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 7px; color: #c0c0d2; white-space: nowrap; }
.sess small { margin-left: auto; color: #6e6e85; font-size: 10.5px; font-family: var(--mono); }
.sess.active { background: rgba(139,108,255,.18); color: #fff; box-shadow: 0 0 0 1px rgba(139,108,255,.3) inset; }
.sess .c { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.c-violet { background: #a78bfa; } .c-cyan { background: #22d3ee; } .c-green { background: #34d399; } .c-orange { background: #fb923c; } .c-pink { background: #f472b6; } .c-gray { background: #6b7280; }
.st { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.st-run { background: var(--accent-2); box-shadow: 0 0 0 3px rgba(34,211,238,.18); animation: pulse 1.6s infinite; }
.st-wait { background: var(--warn); box-shadow: 0 0 0 3px rgba(251,191,36,.2); animation: pulse 1.1s infinite; }
.st-done { background: var(--ok); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.main { display: grid; grid-template-columns: 1.05fr 1fr; min-width: 0; }
.pane { position: relative; padding: 0; min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.pane + .pane { border-left: 1px solid rgba(255,255,255,.07); }
.pane-tab { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.06); font: 11.5px var(--sans); color: #8c8ca2; background: #0e0e15; }
.pane-tab b { color: #d8d8e6; font-weight: 600; }
.pane-tab .branch { margin-left: auto; font-family: var(--mono); color: #a78bfa; font-size: 11px; }
.pane-body { padding: 12px 14px; white-space: pre; overflow: hidden; flex: 1; }
.ed { counter-reset: ln; }
.ed span.l { display: block; }
.ed span.l::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 22px; margin-right: 12px; text-align: right; color: #45455a; }
.tk-k { color: #c792ea; } .tk-s { color: #a5e3a1; } .tk-f { color: #82aaff; } .tk-c { color: #5c6078; font-style: italic; } .tk-t { color: #ffcb6b; } .tk-n { color: #f78c6c; }
.t-p { color: #a78bfa; } .t-g { color: #34d399; } .t-d { color: #6e6e85; } .t-y { color: #fbbf24; } .t-c { color: #22d3ee; } .t-w { color: #fff; } .t-o { color: #ff9a62; }
.cursor { display: inline-block; width: 7px; height: 14px; background: #cfd0e0; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.toast {
  position: absolute; right: -18px; top: 56px; width: 300px; z-index: 3;
  background: rgba(30, 30, 42, 0.86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px 14px; display: flex; gap: 11px;
  font: 12.5px/1.4 var(--sans); text-align: left; box-shadow: 0 20px 50px -10px rgba(0,0,0,.7);
  animation: toastIn .7s 1.2s cubic-bezier(.2,.9,.3,1.2) both;
}
.toast .ic { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; font: 700 11px var(--mono); color: #fff; background: linear-gradient(135deg, #8b6cff, #22d3ee); }
.toast b { color: #fff; display: block; font-size: 13px; }
.toast span { color: #b3b3c6; }
.toast em { font-style: normal; color: var(--warn); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px) scale(.96); } to { opacity: 1; transform: none; } }

.agents-card {
  position: absolute; left: -26px; bottom: -34px; width: 330px; z-index: 3; text-align: left;
  background: rgba(17, 17, 25, 0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px; font: 12.5px var(--sans);
  box-shadow: 0 30px 60px -12px rgba(0,0,0,.75); animation: toastIn .7s .6s cubic-bezier(.2,.9,.3,1.2) both;
}
.agents-card header { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; color: #fff; font-weight: 650; }
.agents-card header small { font-weight: 500; color: var(--dim); }
.agent { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; padding: 8px 10px; border-radius: 9px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); }
.agent + .agent { margin-top: 6px; }
.agent b { color: #e8e8f2; font-weight: 600; font-size: 12.5px; }
.agent small { grid-column: 1 / -1; color: #7d7d92; font: 11px var(--mono); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-run { color: #67e8f9; background: rgba(34,211,238,.12); } .b-run i { animation: pulse 1.4s infinite; }
.b-wait { color: #fcd34d; background: rgba(251,191,36,.13); } .b-wait i { animation: pulse 1s infinite; }
.b-done { color: #6ee7b7; background: rgba(52,211,153,.12); }

/* ── Sections ───────────────────────────────────────────── */
section { position: relative; }
.section { padding: 120px 0; }
.section-sm { padding: 72px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #b9a8ff; }
.eyebrow.warm { color: var(--warm); }
.h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 720; margin-top: 14px; }
.sub { color: var(--muted); font-size: 18px; max-width: 620px; margin-top: 16px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 96px; }
.strip > div { background: var(--bg-2); padding: 22px 24px; }
.strip b { display: block; color: #fff; font: 650 18px var(--display); letter-spacing: -0.02em; }
.strip span { color: var(--muted); font-size: 14px; }

/* Claude section */
.claude { background: radial-gradient(900px 500px at 85% 10%, rgba(255,154,98,.10), transparent 60%), radial-gradient(700px 400px at 0% 90%, rgba(139,108,255,.10), transparent 60%); }
.claude-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; margin-top: 56px; }
.claude-list { display: grid; gap: 14px; }
.claude-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .2s, background .2s; }
.claude-item:hover { border-color: rgba(255,154,98,.35); background: rgba(255,154,98,.04); }
.claude-item .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,154,98,.12); color: var(--warm); }
.claude-item .ico svg { width: 20px; height: 20px; }
.claude-item h3 { font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; }
.claude-item p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.dash { border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: #0c0c13; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.5); }
.dash-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); font: 600 13px var(--sans); color: #fff; }
.dash-head .dots i { width: 10px; height: 10px; }
.dash-head span { margin-left: auto; font-weight: 500; color: var(--dim); font-size: 12px; }
.dash-rows { padding: 10px; display: grid; gap: 8px; }
.drow { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 11px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05); font-size: 13.5px; }
.drow .st { margin: 0; }
.drow b { display: block; color: #fff; font-weight: 600; }
.drow small { color: var(--dim); font: 11.5px var(--mono); }
.drow.focus { border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.05); }
.dash-foot { display: flex; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; flex-wrap: wrap; }
.dash-foot kbd { font-size: 10.5px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.card {
  position: relative; padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card .ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(139,108,255,.14); color: #c4b5fd; margin-bottom: 18px; }
.card .ico svg { width: 18px; height: 18px; }
.card h3 { font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card h3 kbd { font-size: 11px; font-weight: 500; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.card.wide { grid-column: span 2; }

/* Split feature (editor + ct) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 120px; }
.term { border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: #0c0c13; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); font: 13px/1.7 var(--mono); }
.term .win-bar { height: 34px; }
.term pre { margin: 0; padding: 18px 20px; overflow-x: auto; color: #cfd0e0; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: #c9c9d8; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: rgba(52,211,153,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2334d399' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.5l2.2 2.2 4.8-5'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks code { font-size: .88em; color: #e4dcff; background: rgba(139,108,255,.12); padding: 1px 6px; border-radius: 5px; }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 48px; }
.theme { border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.theme .sw { height: 86px; padding: 12px; font: 11px/1.6 var(--mono); }
.theme .nm { padding: 9px 12px; font-size: 13px; color: var(--muted); background: var(--surface); border-top: 1px solid var(--line); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.plan.featured { position: relative; background: linear-gradient(180deg, rgba(139,108,255,.12), rgba(139,108,255,.02) 60%); border-color: rgba(139,108,255,.45); box-shadow: 0 30px 80px -40px rgba(139,108,255,.6); }
.plan .tag { position: absolute; top: -12px; left: 30px; font: 600 11.5px var(--sans); letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: #8b6cff; color: #fff; }
.plan h3 { font-size: 20px; letter-spacing: -0.02em; }
.plan .desc { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; min-height: 44px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.price b { font: 720 46px/1 var(--display); letter-spacing: -0.04em; color: #fff; }
.price span { color: var(--muted); font-size: 14.5px; }
.price-note { color: var(--dim); font-size: 13px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 14.5px; color: #cdcdda; }
.plan li { position: relative; padding-left: 24px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.plan .btn { margin-top: auto; width: 100%; }
.seats { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.stepper button { width: 32px; height: 30px; background: var(--surface-2); color: #fff; border: 0; cursor: pointer; font-size: 16px; }
.stepper button:hover { background: #222232; }
.stepper input { width: 46px; height: 30px; text-align: center; background: transparent; color: #fff; border: 0; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); font: 600 14px var(--sans); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pricing-foot { text-align: center; color: var(--dim); font-size: 13.5px; margin-top: 26px; }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 17px var(--display); letter-spacing: -0.01em; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 26px var(--sans); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--muted); max-width: 70ch; }

/* Final CTA */
.final { text-align: center; padding: 120px 0; background: radial-gradient(700px 320px at 50% 100%, rgba(139,108,255,.28), transparent 70%); }
.final .h2 { max-width: 16ch; margin: 0 auto; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 14px; font: 600 13px var(--sans); color: #fff; letter-spacing: .02em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a:hover { color: #fff; }
.foot .legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); line-height: 1.7; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot .legal a { color: var(--muted); text-decoration: none; }
.foot p { margin: 12px 0 0; max-width: 34ch; }

/* ── Inner pages ────────────────────────────────────────── */
.page { padding: 72px 0 110px; }
.page-head { max-width: 760px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 730; margin-top: 12px; }
.page-head .sub { margin-top: 14px; }
.prose { max-width: 760px; color: #c9c9d8; font-size: 16px; }
.prose h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.prose h3 { font-size: 18px; letter-spacing: -0.01em; margin: 28px 0 8px; }
.prose p, .prose li { color: #bdbdcd; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: #fff; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: #fff; font-weight: 600; }
.prose .updated { color: var(--dim); font-size: 14px; }
.notice { padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(139,108,255,.3); background: rgba(139,108,255,.07); color: #d9d2ff; font-size: 15px; }
.notice.warn { border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.06); color: #fde68a; }
.notice.ok { border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.07); color: #a7f3d0; }
.notice.err { border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.07); color: #fecaca; }

.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; margin-top: 48px; }
.legal-nav { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; font-size: 14px; }
.legal-nav a { padding: 7px 12px; border-radius: 8px; color: var(--muted); }
.legal-nav a:hover { color: #fff; background: rgba(255,255,255,.03); }
.legal-nav a[aria-current="page"] { color: #fff; background: var(--surface-2); }

/* Download */
.dl-card { margin-top: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 36px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(139,108,255,.1), rgba(255,255,255,.015)); }
.dl-card h2 { font-size: 26px; letter-spacing: -0.02em; }
.dl-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: 14px; }
.dl-meta b { color: #fff; font-weight: 600; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; color: #c9c9d8; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); font: 600 12.5px var(--sans); color: #fff; }

/* Forms */
.buy-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; margin-top: 40px; align-items: start; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .row.r3 { grid-template-columns: 1fr 2fr 1fr; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .lbl { font-size: 13.5px; font-weight: 600; color: #d6d6e2; }
.field .hint { font-size: 12.5px; color: var(--dim); }
input[type="text"], input[type="email"], input[type="number"], select {
  width: 100%; height: 44px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line-2); background: #0d0d15; color: #fff;
  font: 15px var(--sans); transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239a9aae' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; padding-right: 36px; }
input:focus, select:focus { outline: none; border-color: rgba(139,108,255,.7); box-shadow: 0 0 0 3px rgba(139,108,255,.2); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: rgba(248,113,113,.8); }
.err-msg { color: #fca5a5; font-size: 12.5px; }
fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 8px; margin: 0 0 18px; background: rgba(255,255,255,.015); }
legend { padding: 0 8px; font: 650 14px var(--sans); color: #fff; }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; border: 1px solid var(--line-2); background: #0d0d15; margin-bottom: 16px; }
.seg label { padding: 7px 14px; border-radius: 8px; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span { color: #fff; }
.seg label:has(input:checked) { background: var(--surface-2); color: #fff; box-shadow: 0 0 0 1px var(--line-2) inset; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; color: #c9c9d8; margin: 12px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #8b6cff; }
.summary { position: sticky; top: 96px; padding: 26px; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(139,108,255,.1), rgba(255,255,255,.015)); }
.summary h2 { font-size: 20px; letter-spacing: -0.02em; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: #cdcdda; }
.sum-line.total { border-bottom: 0; font-size: 18px; color: #fff; font-weight: 700; }
.plan-pick { display: grid; gap: 10px; margin: 18px 0; }
.plan-opt { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); cursor: pointer; background: #0d0d15; }
.plan-opt:has(input:checked) { border-color: rgba(139,108,255,.7); background: rgba(139,108,255,.08); }
.plan-opt input { accent-color: #8b6cff; margin: 0; }
.plan-opt b { color: #fff; display: block; font-size: 15px; }
.plan-opt small { color: var(--muted); font-size: 13px; }
.plan-opt .p { font-weight: 700; color: #fff; }
.secure { display: flex; gap: 8px; align-items: center; color: var(--dim); font-size: 12.5px; margin-top: 14px; }
.inline-form { display: flex; gap: 10px; max-width: 520px; margin-top: 24px; }
.inline-form input { flex: 1; }
.hide { display: none !important; }
.license-sample { margin: 0; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: #0b0b12; color: #e9e6ff; font: 13px/1.6 var(--mono); overflow-x: auto; }

/* Reveal on scroll (progressive: content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .toast { right: 12px; }
  .agents-card { left: 12px; }
}
@media (max-width: 980px) {
  .claude-grid, .split, .dl-card, .buy-layout { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 2; }
  .grid, .pricing { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .strip { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; }
  .summary { position: static; }
  .main { grid-template-columns: 1fr; }
  .main .pane:first-child { display: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(7,7,11,.97); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav .btn-dl { display: none; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 56px; }
  .section { padding: 84px 0; }
  .grid, .pricing, .strip, .foot-grid { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .themes { grid-template-columns: 1fr 1fr; }
  .win-body { grid-template-columns: 1fr; height: 400px; }
  .side { display: none; }
  .toast { position: relative; right: auto; top: auto; width: auto; margin: 0 0 12px; }
  .agents-card { position: relative; left: auto; bottom: auto; width: auto; margin-top: 12px; }
  .mock-stage { display: flex; flex-direction: column; }
  .mock-stage .toast { order: -1; }
  form .row, form .row.r3 { grid-template-columns: 1fr; gap: 0; }
  .inline-form { flex-direction: column; }
  .dl-card { padding: 24px; }
  .foot .legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* fixes */
.secure svg { width: 14px; height: 14px; flex: none; }
.strip { text-align: left; }
@media (max-width: 760px) {
  .win-body { height: auto; }
  .pane-body { min-height: 260px; }
}
.field { align-content: start; }
.stepper input[type="number"] { width: 46px; height: 30px; padding: 0; border-radius: 0; border-top: 0; border-bottom: 0; background: transparent; box-shadow: none; }
