@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("/fonts/inter.woff2") format("woff2");}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:100 800;font-display:swap;src:url("/fonts/jetbrains-mono.woff2") format("woff2");}
/* Metric-matched fallbacks: render at the web font's dimensions so the swap shifts nothing (CLS). Inter values from next/font (vs Arial); mono computed (vs Courier New). */
@font-face{font-family:"Inter Fallback";src:local("Arial");size-adjust:107.06%;ascent-override:90.49%;descent-override:22.56%;line-gap-override:0%;}
@font-face{font-family:"JBM Fallback";src:local("Courier New");size-adjust:100.32%;ascent-override:101.68%;descent-override:29.91%;line-gap-override:0%;}

:root {
  --bg: #f6f9fc;
  --white: #ffffff;
  --slate: #0a2540;
  --slate-2: #425466;
  --slate-3: #697386;
  --purple: #635bff;
  --purple-dark: #5851e8;
  --cyan: #00d4ff;
  --pink: #ff61ab;
  --amber: #ffba6b;
  --dark: #0a0e14;
  --dark-2: #11161f;
  --lime: #8aff60;
  --lime-dim: #5fd23e;
  --line: rgba(10,37,64,0.1);
  --line-strong: rgba(10,37,64,0.2);
  --dline: rgba(255,255,255,0.09);
  --dline-strong: rgba(255,255,255,0.18);
  --maxw: 1160px;
  --gut: clamp(22px, 4vw, 40px);
  --ff: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", "JBM Fallback", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
html, body { margin: 0; padding: 0; }
body { font-family: var(--ff); background: var(--bg); color: var(--slate); -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code, .mono { font-family: var(--ff-mono); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(246,249,252,0.85); backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding: 13px var(--gut); max-width: var(--maxw); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--slate); flex-shrink: 0; font-weight: 700; font-size: 18px; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 26px); font-size: 14px; color: var(--slate-2); font-weight: 500; margin-left: auto; white-space: nowrap; }
.nav-links a:hover { color: var(--slate); }
.nav-cta { flex-shrink: 0; background: var(--purple); color: #fff; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: background .15s ease, transform .15s ease; }
.nav-cta:hover { background: var(--purple-dark); transform: translateY(-1px); }
.nav-cta .arrow { display: inline-block; margin-left: 3px; transition: transform .15s ease; }
.nav-cta:hover .arrow { transform: translateX(2px); }
@media (max-width: 920px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ── hero with stripe-style angled gradient band ── */
.hero { position: relative; padding: clamp(56px, 9vh, 104px) 0 clamp(120px, 14vh, 180px); overflow: visible; }
.hero-band {
  position: absolute; inset: 0 0 18% 0;
  transform: skewY(-6deg);
  transform-origin: top left;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hero-band i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.hero-band i:nth-child(1) { width: 60vw; height: 46vw; right: -16vw; top: -22vw; background: radial-gradient(circle, var(--purple), transparent 65%); animation: drift1 16s ease-in-out infinite alternate; }
.hero-band i:nth-child(2) { width: 44vw; height: 36vw; right: 6vw; top: -8vw; background: radial-gradient(circle, var(--cyan), transparent 65%); opacity: 0.4; animation: drift2 19s ease-in-out infinite alternate; }
.hero-band i:nth-child(3) { width: 40vw; height: 32vw; right: -8vw; top: 6vw; background: radial-gradient(circle, var(--pink), transparent 65%); opacity: 0.35; animation: drift3 22s ease-in-out infinite alternate; }
.hero-band i:nth-child(4) { width: 30vw; height: 26vw; right: 20vw; top: 10vw; background: radial-gradient(circle, var(--amber), transparent 65%); opacity: 0.3; animation: drift1 25s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-6vw, 4vw) scale(1.08); } }
@keyframes drift2 { to { transform: translate(5vw, 3vw) scale(0.94); } }
@keyframes drift3 { to { transform: translate(-4vw, -3vw) scale(1.05); } }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 5vw, 64px); align-items: start; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #4f46e5; margin-bottom: 22px; }
.hero-eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 0 rgba(99,91,255,0.5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(99,91,255,0.45); } 70% { box-shadow: 0 0 0 9px rgba(99,91,255,0); } 100% { box-shadow: 0 0 0 0 rgba(99,91,255,0); } }
.hero h1 { margin: 0; font-size: clamp(42px, 5.8vw, 76px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; color: var(--slate); text-wrap: balance; }
.hero h1 .grad { background: linear-gradient(92deg, var(--purple) 0%, #9066ff 55%, var(--pink) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { margin: 22px 0 0; font-size: clamp(15px, 1.15vw, 17.5px); color: var(--slate-2); max-width: 52ch; line-height: 1.55; }
.hero-lede strong { color: var(--slate); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; align-items: center; }
.btn-solid { display: inline-flex; align-items: center; gap: 7px; padding: 12px 22px; border-radius: 999px; background: var(--slate); color: #fff; font-size: 15px; font-weight: 600; transition: background .15s ease, transform .15s ease; }
.btn-solid:hover { background: var(--purple); transform: translateY(-1px); }
.btn-solid .arrow { transition: transform .18s ease; }
.btn-solid:hover .arrow { transform: translateX(3px); }
.btn-line { display: inline-flex; align-items: center; gap: 7px; padding: 12px 20px; border-radius: 999px; color: var(--purple); font-size: 15px; font-weight: 600; transition: gap .15s ease, color .15s ease; }
.btn-line:hover { color: var(--purple-dark); gap: 11px; }
.hero-fact { margin: 26px 0 0; font-size: 14.5px; color: var(--slate-2); }
.hero-fact code { font-size: 13px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--slate); font-weight: 500; box-shadow: 0 1px 2px rgba(10,37,64,0.06); }

/* hero terminal — modal-style dark panel */
.term {
  background: var(--dark);
  border-radius: 14px;
  box-shadow: 0 50px 100px -28px rgba(10,37,64,0.45), 0 0 0 1px rgba(10,37,64,0.08);
  overflow: hidden;
  font-family: var(--ff-mono);
  font-size: 13px;
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: var(--dark-2); border-bottom: 1px solid var(--dline); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.term-bar i:nth-child(1) { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-body { padding: 22px; line-height: 1.85; color: #d6deea; min-height: 190px; }
.tk-com { color: #8b98ab; } .tk-key { color: #c792ea; } .tk-str { color: var(--lime); } .tk-fn { color: #7cc7ff; } .tk-pun { color: #8194ab; }
.tk-ok { color: var(--lime); }

@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; } .hero { padding-bottom: 80px; } .hero-band { inset: 0 0 8% 0; } }

/* ── section scaffolding ── */
.sec { padding: clamp(76px, 11vh, 128px) 0; }
.sec.on-dark { background: var(--dark); color: #e7edf5; position: relative; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #4f46e5; margin: 0 0 14px; }
.on-dark .eyebrow { color: var(--lime); }
.sec h2 { margin: 0; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; color: var(--slate); text-wrap: balance; max-width: 22ch; }
.on-dark h2 { color: #fff; }
.sec-lede { margin: 16px 0 0; font-size: clamp(15.5px, 1.25vw, 17.5px); color: var(--slate-2); max-width: 60ch; line-height: 1.6; }
.on-dark .sec-lede { color: rgba(231,237,245,0.65); }
.sec-lede strong { color: inherit; font-weight: 700; }
.sec-lede a { color: var(--purple); font-weight: 600; }
.sec-lede a:hover { text-decoration: underline; text-underline-offset: 3px; }
.on-dark .sec-lede a { color: var(--lime); }
.sec-head { margin-bottom: clamp(36px, 5vh, 56px); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.head-link { font-size: 14.5px; font-weight: 600; color: var(--purple); white-space: nowrap; padding-bottom: 6px; }
.head-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.on-dark .head-link { color: var(--lime); }

/* ── primitives (light stripe cards) ── */
.prim-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .prim-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .prim-grid { grid-template-columns: 1fr; } }
.prim-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; box-shadow: 0 2px 5px rgba(10,37,64,0.05); transition: transform .18s ease, box-shadow .18s ease; }
.prim-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(10,37,64,0.18); }
.prim-card .tag { display: inline-block; font-family: var(--ff-mono); font-size: 11px; font-weight: 600; color: #4f46e5; background: rgba(99,91,255,0.09); border-radius: 6px; padding: 3px 8px; margin-bottom: 14px; }
.prim-card h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 700; letter-spacing: -0.015em; color: var(--slate); }
.prim-card p { margin: 0; font-size: 14px; color: var(--slate-2); line-height: 1.55; }

/* ── architecture ── */
.arch { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 8px 26px -14px rgba(10,37,64,0.14); }
.arch-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.arch-col { border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; display: flex; flex-direction: column; gap: 9px; background: var(--bg); }
.arch-col.mid { border-color: rgba(99,91,255,0.4); background: rgba(99,91,255,0.05); }
.arch-col h3 { margin: 0; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #5d6878; font-weight: 600; }
.arch-col .big { font-size: 15.5px; font-weight: 700; color: var(--slate); letter-spacing: -0.01em; }
.arch-col .row { font-family: var(--ff-mono); font-size: 11.5px; display: flex; justify-content: space-between; gap: 8px; padding: 6px 9px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; color: var(--slate-2); }
.arch-col .row .v { color: var(--slate-3); }
.arch-col .row.bad .v { color: #df1b41; font-weight: 600; }
.arch-col .row.good .v { color: #0a7d50; font-weight: 700; }
.arch-arrow { align-self: center; color: var(--slate-3); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.arch-arrow .lbl { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-3); }
.arch-note { margin-top: 22px; padding: 14px 18px; border-left: 3px solid var(--purple); background: rgba(99,91,255,0.05); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--slate-2); line-height: 1.6; }
.arch-note strong { color: var(--slate); }
@media (max-width: 860px) { .arch-grid { grid-template-columns: 1fr; } .arch-arrow { transform: rotate(90deg); padding: 4px 0; } }

/* ── network (dark) ── */
.net-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .net-grid { grid-template-columns: 1fr; } }
.net-list { display: flex; flex-direction: column; gap: 8px; }
.net-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 13px 16px; border: 1px solid var(--dline); border-radius: 10px; background: var(--dark-2); transition: border-color .15s ease; }
.net-row:hover { border-color: var(--dline-strong); }
.net-row .n { font-family: var(--ff-mono); font-size: 13px; font-weight: 700; color: #fff; }
.net-row .d { font-size: 12.5px; color: rgba(231,237,245,0.55); line-height: 1.45; }
.net-row .m { font-family: var(--ff-mono); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.net-row[data-m="allow"] .m { color: var(--lime); background: rgba(138,255,96,0.1); }
.net-row[data-m="deny"] .m { color: #ff7a7a; background: rgba(255,90,90,0.12); }
.net-row[data-m="open"] .m { color: rgba(231,237,245,0.6); background: rgba(255,255,255,0.07); }
.code-panel { background: var(--dark-2); border: 1px solid var(--dline); border-radius: 12px; overflow: hidden; font-family: var(--ff-mono); font-size: 12.5px; line-height: 1.7; }
.code-panel .head { padding: 9px 14px; border-bottom: 1px solid var(--dline); display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: rgba(231,237,245,0.5); }
.code-panel .head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.code-panel pre { margin: 0; padding: 18px 20px; color: #d6deea; overflow-x: auto; }

/* ── workloads ── */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 800px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; box-shadow: 0 2px 5px rgba(10,37,64,0.05); display: flex; flex-direction: column; gap: 13px; }
.work-card .eyebrow { margin: 0; font-size: 12px; }
.work-card h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--slate); line-height: 1.2; }
.work-card p { margin: 0; font-size: 14px; color: var(--slate-2); line-height: 1.6; }
.work-card .chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }
.work-card .chips span { font-family: var(--ff-mono); font-size: 11.5px; color: var(--slate-2); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }
.work-card .url { font-family: var(--ff-mono); font-size: 12px; background: var(--dark); border-radius: 9px; padding: 11px 14px; display: flex; align-items: center; gap: 9px; margin-top: auto; color: #d6deea; }
.work-card .url .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px rgba(138,255,96,0.7); }
.work-card .url .h { color: #c792ea; } .work-card .url .p { color: var(--lime); }

/* ── mcp (dark) ── */
.mcp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 880px) { .mcp-grid { grid-template-columns: 1fr; } }
.mcp-list { display: flex; flex-direction: column; gap: 0; }
.mcp-item { display: flex; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--dline); }
.mcp-item:last-child { border-bottom: 0; }
.mcp-item .ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; background: rgba(138,255,96,0.1); color: var(--lime); display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.mcp-item h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.mcp-item p { margin: 0; font-size: 13.5px; color: rgba(231,237,245,0.6); line-height: 1.5; }

/* ── pricing ── */
.price-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 800px) { .price-grid { grid-template-columns: 1fr; } }
.price-num { display: flex; align-items: baseline; gap: 6px; font-weight: 800; letter-spacing: -0.05em; font-size: clamp(72px, 9vw, 120px); line-height: 0.95; color: var(--slate); font-variant-numeric: tabular-nums; }
.price-num .c { font-size: 0.45em; color: var(--slate-3); font-weight: 600; }
.price-num .per { font-size: 0.18em; letter-spacing: -0.01em; color: var(--slate-3); font-weight: 500; margin-left: 8px; }
.price-sub { font-family: var(--ff-mono); font-size: 13px; color: var(--slate-2); margin-top: 10px; }
.price-sku { display: inline-flex; padding: 3px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin-top: 20px; box-shadow: 0 1px 3px rgba(10,37,64,0.06); }
.price-sku button { padding: 8px 15px; border-radius: 999px; font-size: 13px; color: var(--slate-2); font-weight: 600; transition: all .15s ease; }
.price-sku button[data-on="true"] { background: var(--slate); color: #fff; }
.price-ctas { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.price-fine { margin-top: 18px; font-family: var(--ff-mono); font-size: 12px; color: var(--slate-3); }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; font-size: 14px; }
.price-list li { display: flex; gap: 9px; align-items: baseline; color: var(--slate); font-weight: 500; }
.price-list li::before { content: "✓"; color: var(--purple); font-weight: 800; }

/* ── final cta — gradient band ── */
.cta { position: relative; overflow: hidden; padding: clamp(80px, 11vh, 130px) 0; }
.cta::before { content: ""; position: absolute; inset: 0; transform: skewY(-6deg) scale(1.3); background: var(--dark); }
.cta .blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.cta .blob:nth-child(1) { width: 50vw; height: 36vw; left: -12vw; bottom: -16vw; background: radial-gradient(circle, var(--purple), transparent 65%); opacity: 0.5; }
.cta .blob:nth-child(2) { width: 36vw; height: 28vw; right: -6vw; top: -10vw; background: radial-gradient(circle, var(--pink), transparent 65%); opacity: 0.3; }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta h2 { margin: 0 auto; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; color: #fff; max-width: 18ch; text-wrap: balance; }
.cta p { margin: 18px auto 0; font-size: 16.5px; color: rgba(231,237,245,0.7); max-width: 52ch; line-height: 1.6; }
.cta-row { display: flex; justify-content: center; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.cta .btn-solid { background: #fff; color: var(--slate); }
.cta .btn-solid:hover { background: var(--lime); color: #07210a; }
.cta .btn-line { color: #fff; border: 1px solid var(--dline-strong); padding: 12px 22px; }
.cta .btn-line:hover { color: var(--lime); border-color: var(--lime); }
.cta-fine { margin-top: 26px; font-family: var(--ff-mono); font-size: 12px; color: rgba(231,237,245,0.5); }

/* ── footer ── */
.foot { padding: 36px var(--gut); max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--slate-3); }
.foot a:hover { color: var(--slate); }
.foot-right { display: flex; gap: 22px; }
