/* DeployNow landing page
   Brand tokens live here. When the product palette lands in the app,
   update these variables and the page follows. */
:root {
  /* From brand/README.md (Ascend palette). */
  --ink-0: #05070d;
  --ink-1: #0a0d17;
  --ink-2: #0e1220;
  --ink-3: #151a2b;
  --line: #1b2234;
  --line-2: #2a3450;
  --text: #eef2f8;
  --text-2: #a6afc4;
  --text-3: #6c7690;
  --sky: #5fcef9;
  --blue: #1d9cff;
  --deep: #2e4fe0;
  --mint: #2fd59c;
  --amber: #f5b544;
  --rose: #ff5c68;
  --grad: linear-gradient(135deg, #5fcef9 0%, #1d9cff 50%, #2e4fe0 100%);
  --grad-text: linear-gradient(100deg, #7fdcff 0%, #3aa8ff 50%, #6b84ff 100%);
  --grad-btn: linear-gradient(135deg, #5fcef9 0%, #1d9cff 50%, #2e4fe0 100%);
  --radius: 20px;
  --wrap: 1180px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
code { font-family: var(--mono); font-size: .88em; white-space: nowrap; background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: .08em .4em; border-radius: 6px; color: #d6e6ff; }
::selection { background: rgba(29, 156, 255, .35); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dim { color: var(--text-3); }
.muted { color: var(--text-3); }

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-aurora { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; }
.a1 { width: 720px; height: 520px; left: 50%; top: -260px; transform: translateX(-70%); background: #2e4fe0; opacity: .38; animation: drift 18s ease-in-out infinite alternate; }
.a2 { width: 620px; height: 460px; left: 50%; top: -200px; transform: translateX(5%); background: #1d9cff; opacity: .3; animation: drift 22s ease-in-out infinite alternate-reverse; }
.a3 { width: 520px; height: 380px; left: 50%; top: 40px; transform: translateX(-20%); background: #5fcef9; opacity: .12; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { translate: 60px 40px; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 8, 12, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 8px; box-shadow: 0 4px 18px rgba(29, 120, 255, .35); }
.brand-name { font-weight: 650; letter-spacing: -.02em; font-size: 17px; }
.brand-by { font-size: 12.5px; color: var(--text-3); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line-2); }
.brand-by { display: inline-flex; align-items: center; gap: 6px; }
.brand-by img { width: auto; height: 13px; opacity: .9; border-radius: 0; box-shadow: none; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--text-2); padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { display: flex; gap: 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 550; letter-spacing: -.01em; border-radius: 12px; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { font-size: 14px; height: 38px; padding: 0 14px; }
.btn-lg { font-size: 15.5px; height: 50px; padding: 0 24px; border-radius: 14px; }
.btn-primary { color: #fff; background: var(--grad-btn); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 28px -6px rgba(29, 156, 255, .6); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 12px 36px -6px rgba(46, 110, 255, .8); transform: translateY(-1px); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.pill:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(47, 213, 156, .15), 0 0 12px var(--mint); }
.pill-arrow { color: var(--text-3); }
.hero-title { font-size: clamp(40px, 6.6vw, 80px); line-height: 1.04; letter-spacing: -.045em; font-weight: 640; margin: 26px auto 22px; max-width: 20ch; text-wrap: balance; }
.hero-sub { font-size: clamp(16.5px, 1.6vw, 19.5px); color: var(--text-2); max-width: 640px; margin: 0 auto; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 26px 0 0; font-size: 13.5px; color: var(--text-3); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.tick { width: 16px; height: 16px; border-radius: 50%; background: rgba(47,213,156,.14); position: relative; }
.tick::after { content: ""; position: absolute; left: 5px; top: 3.5px; width: 4px; height: 7px; border: solid var(--mint); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }

/* ---------- Product window ---------- */
.window { position: relative; margin: 64px auto 0; max-width: 1080px; text-align: left; border-radius: 18px; background: linear-gradient(180deg, rgba(22, 26, 38, .92), rgba(12, 14, 20, .96)); border: 1px solid var(--line-2); box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 50px 120px -30px rgba(0,0,0,.8), 0 30px 80px -40px rgba(29, 120, 255, .55); }
.window::before { content: ""; position: absolute; inset: -1px; border-radius: 18px; padding: 1px; background: linear-gradient(180deg, rgba(95, 206, 249, .5), rgba(106, 168, 255, .1) 30%, transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.window-glow { position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); }
.window-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #2a2f3d; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.window-url { margin: 0 auto; transform: translateX(-26px); font-family: var(--mono); font-size: 12px; color: var(--text-3); background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 4px 14px; border-radius: 8px; }
.app { display: grid; grid-template-columns: 200px 1fr; min-height: 440px; }
.app-side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.app-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 4px 8px 14px; }
.app-brand img { border-radius: 5px; }
.side-group { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); padding: 6px 10px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--text-2); }
.side-item.active { background: linear-gradient(90deg, rgba(29,156,255,.18), rgba(29,156,255,.06)); color: var(--text); box-shadow: inset 0 0 0 1px rgba(29,156,255,.25); }
.side-item .ic { width: 16px; height: 16px; }
.side-foot { margin-top: auto; font-size: 11.5px; color: var(--text-3); padding: 8px 10px; }
.side-foot b { color: var(--text-2); font-weight: 550; }
.app-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.crumbs { font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.app-title { font-size: 20px; font-weight: 620; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.badge { font-size: 11.5px; font-weight: 550; padding: 3px 9px; border-radius: 999px; letter-spacing: 0; }
.badge.ok { color: #5fe3b4; background: rgba(47,213,156,.12); box-shadow: inset 0 0 0 1px rgba(47,213,156,.25); }
.app-actions { display: flex; gap: 8px; align-items: center; }
.chip { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 5px 10px; border-radius: 8px; }
.mini-btn { font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 9px; background: var(--grad-btn); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { position: relative; padding: 14px 14px 10px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--line); overflow: hidden; }
.stat-k { font-size: 12px; color: var(--text-3); }
.stat-v { font-size: 24px; font-weight: 620; letter-spacing: -.03em; }
.stat-v small { font-size: 12px; color: var(--text-3); font-weight: 450; margin-left: 6px; letter-spacing: 0; }
.spark { width: 100%; height: 26px; display: block; margin-top: 2px; }
.spark path { fill: none; stroke: var(--sky); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.stat:nth-child(2) .spark path { stroke: var(--blue); }
.stat:nth-child(4) .spark path { stroke: var(--mint); }
.panes { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; flex: 1; min-height: 0; }
.pane { border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.pane-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); font-weight: 550; }
.live { display: inline-flex; align-items: center; gap: 6px; color: #5fe3b4; font-size: 11.5px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.log-body { margin: 0; padding: 12px 14px; font-family: var(--mono); font-size: 11.8px; line-height: 1.75; color: #b8bfd6; height: 200px; overflow: hidden; white-space: pre-wrap; }
.log-body .t { color: var(--text-3); }
.log-body .ok { color: #5fe3b4; }
.log-body .in { color: #7fd6ff; }
.log-body .hl { color: #8fb8ff; }
.mlist { list-style: none; margin: 0; padding: 6px 8px; font-size: 13px; }
.mlist li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; column-gap: 10px; padding: 8px 6px; border-radius: 8px; }
.mlist li small { grid-column: 2; color: var(--text-3); font-size: 11px; margin-top: -4px; }
.mlist li b { grid-row: 1 / span 2; grid-column: 3; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--text-2); }
.mlist .sd { grid-row: 1 / span 2; width: 8px; height: 8px; border-radius: 50%; }
.sd.on { background: var(--mint); box-shadow: 0 0 8px rgba(47,213,156,.8); }
.sd.warn { background: var(--amber); box-shadow: 0 0 8px rgba(245,181,68,.8); }

/* ---------- Strip ---------- */
.strip { padding: 56px 0 24px; }
.strip-label { text-align: center; font-size: 13px; color: var(--text-3); margin: 0 0 18px; letter-spacing: .02em; }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.strip-row span { font-size: 14px; color: var(--text-2); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }

/* ---------- Sections ---------- */
.section { padding: 110px 0 40px; scroll-margin-top: 40px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 550; letter-spacing: .04em; color: #7fd6ff; margin-bottom: 14px; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.04em; font-weight: 630; margin: 0 0 18px; }
.lede { font-size: 18px; color: var(--text-2); max-width: 620px; margin: 0; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.card { position: relative; min-width: 0; padding: 28px; 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 .3s, transform .3s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(29,156,255,.12), transparent 50%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.c-wide { grid-column: span 2; }
.card h3 { font-size: 19px; letter-spacing: -.02em; font-weight: 600; margin: 18px 0 8px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; max-width: 52ch; }
.card-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(29,156,255,.22), rgba(47,213,156,.12)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.card-ic .ic { width: 20px; height: 20px; background: #bfe9ff; }
.topo { position: relative; margin-top: 26px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 6px 0; }
.topo-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.topo-lines path { fill: none; stroke: #1d9cff; stroke-opacity: .75; stroke-width: 1.6; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.topo-col { position: relative; z-index: 1; display: grid; gap: 34px; justify-items: start; }
.topo-col:last-child { justify-items: end; }
.node { display: inline-flex; flex-direction: column; gap: 1px; min-width: 0; max-width: 100%; padding: 8px 12px; border-radius: 11px; background: #0d111c; border: 1px solid rgba(255,255,255,.12); font-family: var(--mono); line-height: 1.35; }
.node b { font-size: 12.5px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node span { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topo-hub { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #0c1a30; border: 1px solid rgba(95,206,249,.55); box-shadow: 0 0 40px -6px rgba(29,156,255,.55); }
.topo-hub img { border-radius: 7px; }
.topo-hub b { font-weight: 600; font-size: 14px; white-space: nowrap; }
.secret { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.secret .mask { color: var(--text-3); letter-spacing: .1em; flex: 1; }
.secret .lock { color: #7fd6ff; background: rgba(29,156,255,.14); padding: 2px 8px; border-radius: 6px; }
.chart { margin-top: 20px; height: 110px; }
.chart svg { width: 100%; height: 100%; }
.chart .line { stroke-dasharray: 900; stroke-dashoffset: 900; }
.chart.in .line { animation: draw 2.2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; min-width: 0; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.step-n { font-family: var(--mono); font-size: 13px; color: transparent; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; font-weight: 500; }
.step h3 { font-size: 20px; letter-spacing: -.02em; margin: 10px 0 8px; font-weight: 600; }
.step p { color: var(--text-2); margin: 0 0 18px; font-size: 15px; }
.code-mini { font-family: var(--mono); font-size: 12.5px; color: #cdd3ea; background: rgba(0,0,0,.35); border: 1px solid var(--line); padding: 10px 12px; border-radius: 10px; overflow-x: auto; white-space: nowrap; }
.code-mini .p { color: var(--mint); margin-right: 6px; }

/* ---------- Split / backups ---------- */
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, rgba(29,156,255,.3), rgba(47,213,156,.25)); }
.checks li::after { content: ""; position: absolute; left: 6.5px; top: 7.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.timeline-card { padding: 22px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(22,26,38,.85), rgba(12,14,20,.9)); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px rgba(47, 213, 156, .35); }
.tl-h { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 13px; color: var(--text-2); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tl { list-style: none; margin: 0; padding: 8px 0 0; }
.tl li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; }
.tl li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 34px; bottom: -10px; width: 1px; background: var(--line-2); }
.tl i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--mint); background: var(--ink-1); }
.tl i.drill { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 12px rgba(29,156,255,.8); }
.tl b { display: block; font-weight: 550; font-size: 14.5px; }
.tl small { color: var(--text-3); font-size: 12.5px; }
.tl span { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.tl li.drill { margin: 4px -10px; padding: 12px 10px; border-radius: 12px; background: rgba(29,156,255,.09); box-shadow: inset 0 0 0 1px rgba(29,156,255,.25); grid-template-columns: 22px 1fr auto; }
.tl li.drill::after { left: 16px; }
.tl li.faded { opacity: .55; }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 52px; border-radius: var(--radius); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.sec { padding: 30px 28px; background: var(--ink-1); transition: background .3s; }
.sec:hover { background: var(--ink-2); }
.sec .ic { width: 22px; height: 22px; background: var(--sky); }
.sec h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.sec p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* ---------- Quick start ---------- */
.start { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ports { display: flex; gap: 12px; margin-top: 28px; }
.ports div { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.ports b { display: block; font-family: var(--mono); font-size: 20px; font-weight: 500; }
.ports span { font-size: 13px; color: var(--text-3); }
.term { border-radius: 16px; background: #070a12; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(29,120,255,.5); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); }
.term-title { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.copy { margin-left: auto; font: 500 12.5px var(--font); color: var(--text-2); background: rgba(255,255,255,.05); border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 12px; cursor: pointer; transition: color .2s, background .2s; }
.copy:hover { color: var(--text); background: rgba(255,255,255,.1); }
.term pre { margin: 0; padding: 20px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #dfe4f5; overflow-x: auto; }
.term .c { color: var(--text-3); }

/* ---------- CTA ---------- */
.cta { padding: 120px 0 100px; }
.cta-card { position: relative; text-align: center; padding: 72px 24px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(600px 300px at 50% 0%, rgba(46, 79, 224, .35), transparent 70%), radial-gradient(500px 260px at 80% 100%, rgba(47, 213, 156, .18), transparent 70%), var(--ink-1); }
.cta-card h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.045em; line-height: 1.04; margin: 26px 0 12px; font-weight: 640; }
.cta-card p { color: var(--text-2); font-size: 18px; margin: 0 auto; max-width: 520px; }
.cta-mark { margin: 0 auto; border-radius: 16px; box-shadow: 0 20px 60px -10px rgba(29, 120, 255, .7); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 32px; background: rgba(0,0,0,.25); }
.foot-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand p { color: var(--text-3); font-size: 14px; margin: 14px 0 20px; max-width: 300px; }
.by { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-3); padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.by:hover { border-color: var(--line-2); }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols h4 { font-size: 13px; font-weight: 600; margin: 0 0 14px; color: var(--text); }
.foot-cols a { display: block; font-size: 14px; color: var(--text-3); margin-bottom: 10px; transition: color .2s; }
.foot-cols a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }

/* ---------- Icons (masks) ---------- */
.ic { display: inline-block; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; flex: none; }
.ic-grid { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.ic-box { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E"); }
.ic-server { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='7' rx='2'/%3E%3Crect x='3' y='14' width='18' height='7' rx='2'/%3E%3Cpath d='M7 6.5h.01M7 17.5h.01'/%3E%3C/svg%3E"); }
.ic-globe { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.ic-shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8 8 9 4.6-1 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ic-pulse { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-6 4 12 2-6h6'/%3E%3C/svg%3E"); }
.ic-rocket { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 15c-1.5 1.3-2 5-2 5s3.7-.5 5-2c.7-.8.7-2.1-.1-2.9-.8-.8-2.1-.8-2.9-.1z'/%3E%3Cpath d='m12 15-3-3a22 22 0 0 1 2-4A13 13 0 0 1 22 2c0 2.7-.8 7.5-6 11a22 22 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.6-3 2-4c1.6-1.1 5 0 5 0M12 15v5s3-.6 4-2c1.1-1.6 0-5 0-5'/%3E%3C/svg%3E"); }
.ic-branch { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='5' r='2'/%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='7' r='2'/%3E%3Cpath d='M6 7v10M18 9c0 5-6 4-11.5 8.5'/%3E%3C/svg%3E"); }
.ic-key { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='m10.8 12.2 8.7-8.7M17 6l2.5 2.5M14.5 8.5 16.5 10.5'/%3E%3C/svg%3E"); }
.ic-terminal { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='m7 9 3 3-3 3M13 15h4'/%3E%3C/svg%3E"); }
.ic-finger { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M3 21v-1a6 6 0 0 1 9-5.2'/%3E%3Ccircle cx='17' cy='15' r='2.5'/%3E%3Cpath d='m18.8 16.8 2.7 2.7M20 18.3l-1 1'/%3E%3C/svg%3E"); }
.ic-users { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 19a6 6 0 0 0-12 0'/%3E%3Ccircle cx='9' cy='9' r='4'/%3E%3Cpath d='M21 19a6 6 0 0 0-4-5.6M15 5.2a4 4 0 0 1 0 7.6'/%3E%3C/svg%3E"); }
.ic-layers { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5z'/%3E%3Cpath d='m3 13 9 5 9-5'/%3E%3C/svg%3E"); }
.ic-list { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h12M9 12h12M9 18h12M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E"); }
.ic-lock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }

.ic-file { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6'/%3E%3C/svg%3E"); }
.ic-download { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 21h14'/%3E%3C/svg%3E"); }
.ic-plug { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2v6M15 2v6M6 8h12v4a6 6 0 0 1-12 0zM12 18v4'/%3E%3C/svg%3E"); }
.ic-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }
.ic-refresh { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.8-4M4 4v4h4M4 13a8 8 0 0 0 14.8 4M20 20v-4h-4'/%3E%3C/svg%3E"); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .chart .line { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .c-wide { grid-column: span 2; }
  .split-inner, .start { grid-template-columns: 1fr; gap: 40px; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .brand-by { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding-top: 48px; }
  .bento, .steps, .sec-grid { grid-template-columns: 1fr; }
  .c-wide { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .panes { grid-template-columns: 1fr; }
  .pane.machines { display: none; }
  .app-actions .chip { display: none; }
  .window-url { transform: none; }
  .section { padding-top: 80px; }
  .foot-cols { gap: 36px; }
  .term pre { font-size: 12px; padding: 16px; }
  .card { padding: 22px; }
  .topo { gap: 10px; }
  .topo-col { gap: 26px; }
  .topo-hub { flex-direction: column; gap: 6px; padding: 10px; }
  .topo-hub b { font-size: 12px; }
  .node { padding: 6px 8px; }
  .node b { font-size: 11.5px; }
  .node span { font-size: 10px; }
}

/* ---------- Skip link ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--line-2); }
.skip:focus { top: 12px; }

/* ---------- Links ---------- */
.link { color: #7fd6ff; text-decoration: underline; text-decoration-color: rgba(127,214,255,.35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }
.fine { font-size: 14px; color: var(--text-3); margin: 22px 0 0; }
.fine a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero install line ---------- */
.install { display: flex; align-items: center; gap: 12px; max-width: 830px; margin: 30px auto 0; padding: 8px 8px 8px 18px; border-radius: 14px; background: rgba(7,10,18,.85); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13.5px; text-align: left; box-shadow: 0 20px 60px -30px rgba(29,120,255,.6); }
.install-p { color: var(--mint); flex: none; }
.install code { flex: 1; min-width: 0; overflow-x: auto; background: none; border: 0; padding: 4px 0; color: #dfe4f5; font-size: inherit; scrollbar-width: none; }
.install code::-webkit-scrollbar { display: none; }
.install .copy { margin-left: 0; flex: none; }
.hero-cta { margin-top: 22px; }

/* ---------- AI-first ---------- */
.ai-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-top: 52px; }
.ai-grid .card h3 { margin-top: 10px; }
.ai-grid .card > p { margin-bottom: 18px; }
.term-sm { border-radius: 12px; box-shadow: none; }
.term-sm .term-bar { height: 38px; }
.term-sm .term-title { margin-left: 0; }
.prompt { white-space: pre-wrap; font-size: 12.5px !important; line-height: 1.65 !important; padding: 16px 18px !important; color: #cdd3ea !important; }
.files { display: grid; gap: 6px; margin: 0 0 16px; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
.files div { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files .ic { width: 14px; height: 14px; color: var(--sky); }
.code-copy { display: flex; align-items: center; gap: 0; padding-right: 6px; }
.code-copy span[id] { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.code-copy span[id]::-webkit-scrollbar { display: none; }
.copy-xs { margin-left: 8px; padding: 3px 9px; font-size: 11.5px; flex: none; }
.ai-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
.ai-links .ic { width: 15px; height: 15px; }
.ai-mcp { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.checks-sm { margin-top: 18px; gap: 8px; font-size: 14.5px; }
.chat { display: grid; gap: 8px; padding: 18px; border-radius: 16px; background: rgba(0,0,0,.3); border: 1px solid var(--line); font-size: 14px; }
.msg { padding: 10px 14px; border-radius: 14px; line-height: 1.5; max-width: 92%; }
.msg.me { justify-self: end; background: linear-gradient(135deg, rgba(29,156,255,.35), rgba(46,79,224,.35)); border: 1px solid rgba(95,206,249,.3); border-bottom-right-radius: 4px; }
.msg.ai { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; color: var(--text-2); }
.msg.ai b { color: var(--text); font-weight: 600; }
.tool { display: flex; align-items: center; gap: 8px; min-width: 0; font-family: var(--mono); font-size: 12px; color: var(--text-2); padding: 7px 10px; border-radius: 10px; background: rgba(29,156,255,.07); border: 1px dashed rgba(95,206,249,.25); }
.tool .ic { width: 14px; height: 14px; color: var(--sky); }
.tool span { color: var(--text-3); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool b { margin-left: auto; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.tool b.ok { color: #5fe3b4; }

/* ---------- Feature extras ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags span { font-family: var(--mono); font-size: 12px; color: var(--text-2); padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.uptime { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; margin-top: 20px; }
.uptime span { height: 22px; border-radius: 3px; background: rgba(47,213,156,.55); }
.uptime span.bad { background: var(--amber); }
.uptime small { grid-column: 1 / -1; margin-top: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }

/* ---------- Terminal extras ---------- */
.term pre .p { color: var(--mint); }
.term pre .q { color: #7fd6ff; }
.term pre .ok { color: #5fe3b4; }
.term pre b { color: var(--text); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line-2); background: rgba(255,255,255,.035); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 580; font-size: 16.5px; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 22px var(--mono); color: var(--text-3); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--text-2); font-size: 15px; }
.faq code { white-space: normal; word-break: break-all; }

/* ---------- Legal page ---------- */
.legal { padding: 64px 0 40px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.04em; line-height: 1.06; margin: 0 0 10px; font-weight: 640; }
.legal .updated { color: var(--text-3); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-size: 21px; letter-spacing: -.02em; margin: 40px 0 10px; font-weight: 620; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: #7fd6ff; text-decoration: underline; text-underline-offset: 3px; }
.legal .callout { padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(245,181,68,.35); background: rgba(245,181,68,.07); color: var(--text); }
.legal pre { white-space: pre-wrap; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); padding: 18px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--line); }

/* ---------- Responsive (sections added above) ---------- */
@media (max-width: 1020px) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-mcp { grid-template-columns: 1fr; gap: 24px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .install { font-size: 12px; padding-left: 14px; }
  .hero-cta .btn-lg { width: 100%; }
  .chat { padding: 12px; }
  .tool span { display: none; }
  .msg { max-width: 100%; }
  .faq summary { font-size: 15.5px; padding: 16px 46px 16px 18px; }
  .faq details p { padding: 0 18px 18px; }
}
.term pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.faq-wrap > div:first-child { position: sticky; top: 100px; }
.cta-card p { max-width: 580px; text-wrap: balance; }
@media (max-width: 1020px) { .faq-wrap > div:first-child { position: static; } }
.card .fine { font-size: 13.5px; color: var(--text-3); margin-top: 18px; }
.fine code { white-space: normal; overflow-wrap: anywhere; }
