/* Altarus Nexus marketing site. Brand system 01 (altarus-nexus-brand-v1/brand-tokens.css). */
:root {
  --nexus-midnight: #0B0D12;
  --nexus-panel: #131720;
  --nexus-panel-2: #181D28;
  --nexus-border: #282E3B;
  --nexus-violet: #A78BFA;
  --nexus-violet-ink: #7250C8;
  --nexus-soft-white: #E8ECF3;
  --nexus-muted: #A4ADBE;
  --nexus-cyan: #67E8F9;
  --nexus-font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nexus-font-code: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --nexus-radius-control: 6px;
  --nexus-radius-card: 10px;
  --nexus-radius-dialog: 12px;
  --nexus-duration: 160ms;
  --max: 1160px;
}
@media (prefers-reduced-motion: reduce) { :root { --nexus-duration: 0ms; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--nexus-midnight); color: var(--nexus-soft-white);
  font: 400 16px/1.5 var(--nexus-font-ui); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nexus-violet); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--nexus-cyan); outline-offset: 3px; border-radius: 4px; }
code, pre, .mono { font-family: var(--nexus-font-code); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 700; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.06; }
h2 { font-weight: 600; font-size: clamp(28px, 3.6vw, 36px); line-height: 1.2; }
h3 { font-weight: 600; font-size: 18px; line-height: 1.35; }
p { margin: 0; }
.muted { color: var(--nexus-muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--nexus-violet); color: var(--nexus-midnight); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(11, 13, 18, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--nexus-border); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; margin-left: 12px; }
.nav a { color: var(--nexus-muted); font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--nexus-soft-white); text-decoration: none; }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 10px; border: 1px solid var(--nexus-border); border-radius: var(--nexus-radius-control); color: var(--nexus-soft-white); font-weight: 500; font-size: 14px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 46px; background: var(--nexus-panel); border: 1px solid var(--nexus-border); border-radius: var(--nexus-radius-card); padding: 10px; display: grid; gap: 2px; min-width: 220px; }
.menu-panel a { color: var(--nexus-soft-white); padding: 10px 12px; border-radius: 6px; }
.menu-panel a:hover { background: var(--nexus-panel-2); text-decoration: none; }
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--nexus-radius-control); font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: background var(--nexus-duration), border-color var(--nexus-duration), transform var(--nexus-duration); white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--nexus-violet); color: var(--nexus-midnight); }
.btn-primary:hover { background: #B9A2FB; }
.btn-ghost { color: var(--nexus-soft-white); border-color: var(--nexus-border); background: transparent; }
.btn-ghost:hover { border-color: var(--nexus-muted); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 720px; display: grid; gap: 14px; margin-bottom: 44px; }
.eyebrow { font: 500 12px/1 var(--nexus-font-code); letter-spacing: 0.16em; text-transform: uppercase; color: var(--nexus-violet); }
.lede { font-size: 19px; color: var(--nexus-muted); line-height: 1.55; }
.rule { border-top: 1px solid var(--nexus-border); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero::before { /* sparse grid motif: marketing only */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--nexus-border) 1px, transparent 1px), linear-gradient(90deg, var(--nexus-border) 1px, transparent 1px);
  background-size: 72px 72px; opacity: 0.28;
  mask-image: radial-gradient(ellipse at 75% 30%, #000 0%, transparent 65%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy h1 .dot { color: var(--nexus-violet); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero-note { font-size: 14px; color: var(--nexus-muted); }
.hero-mark { justify-self: center; width: min(360px, 80%); mix-blend-mode: lighten; /* the PNG is opaque: let the grid show through its dark background */ }
@media (max-width: 860px) {
  .hero { padding: 64px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { width: 160px; justify-self: start; order: -1; }
}

/* Product window (built in HTML, not a screenshot) */
.window { background: var(--nexus-panel); border: 1px solid var(--nexus-border); border-radius: var(--nexus-radius-dialog); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.window-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--nexus-border); font-size: 13px; color: var(--nexus-muted); }
.window-bar .dots { display: flex; gap: 6px; }
.window-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--nexus-border); display: block; }
.window-bar .live { margin-left: auto; color: var(--nexus-cyan); font-family: var(--nexus-font-code); font-size: 12px; }
.window-body { display: grid; grid-template-columns: 180px 1fr 300px; min-height: 340px; }
.pane { padding: 14px; border-right: 1px solid var(--nexus-border); font-size: 13px; min-width: 0; }
.pane:last-child { border-right: 0; }
.pane-title { font: 500 11px/1 var(--nexus-font-code); letter-spacing: 0.12em; color: var(--nexus-muted); text-transform: uppercase; margin-bottom: 12px; }
.tree { display: grid; gap: 7px; color: var(--nexus-muted); font-family: var(--nexus-font-code); font-size: 12.5px; }
.tree .on { color: var(--nexus-soft-white); }
.code { font: 13px/1.7 var(--nexus-font-code); color: var(--nexus-soft-white); white-space: pre; overflow-x: auto; margin: 0; }
@media (max-width: 640px) { .code { font-size: 11.5px; } }
.code .c { color: #6B7385; } .code .k { color: var(--nexus-violet); } .code .s { color: #F5C88A; } .code .add { background: rgba(103, 232, 249, 0.08); display: block; }
.agent { display: grid; gap: 10px; align-content: start; }
.bubble { background: var(--nexus-panel-2); border: 1px solid var(--nexus-border); border-radius: 8px; padding: 10px 12px; color: var(--nexus-soft-white); line-height: 1.45; }
.bubble.user { background: rgba(167, 139, 250, 0.12); border-color: rgba(167, 139, 250, 0.35); }
.step { display: flex; gap: 8px; align-items: center; font-family: var(--nexus-font-code); font-size: 12px; color: var(--nexus-muted); }
.step b { color: var(--nexus-cyan); font-weight: 500; }
@media (max-width: 960px) { .window-body { grid-template-columns: 1fr; } .pane { border-right: 0; border-bottom: 1px solid var(--nexus-border); } .pane.files { display: none; } }

/* Grids and cards */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--nexus-panel); border: 1px solid var(--nexus-border); border-radius: var(--nexus-radius-card); padding: 24px; display: grid; gap: 10px; align-content: start; }
.card p { color: var(--nexus-muted); }
.card .icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(167, 139, 250, 0.12); color: var(--nexus-violet); display: grid; place-items: center; margin-bottom: 4px; }
.card ul { margin: 4px 0 0; padding-left: 18px; color: var(--nexus-muted); display: grid; gap: 6px; }
.tag { display: inline-block; font: 500 11px/1 var(--nexus-font-code); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--nexus-border); color: var(--nexus-muted); width: max-content; }
.tag.soon { color: var(--nexus-cyan); border-color: rgba(103, 232, 249, 0.35); }

/* Steps */
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: "0" counter(step); font: 500 13px/1 var(--nexus-font-code); color: var(--nexus-violet); }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--nexus-border); border-radius: var(--nexus-radius-card); }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--nexus-border); vertical-align: top; }
thead th { background: var(--nexus-panel); font-size: 13px; color: var(--nexus-muted); font-weight: 600; }
thead th.us { color: var(--nexus-violet); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 500; color: var(--nexus-soft-white); width: 30%; }
td { color: var(--nexus-muted); }
td.us { color: var(--nexus-soft-white); background: rgba(167, 139, 250, 0.05); }
.yes { color: var(--nexus-cyan); font-weight: 600; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; }
.plan.featured { border-color: var(--nexus-violet); box-shadow: 0 0 0 1px var(--nexus-violet) inset; }
.plan .badge { position: absolute; top: -11px; left: 20px; background: var(--nexus-violet); color: var(--nexus-midnight); font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 15px; font-weight: 500; color: var(--nexus-muted); letter-spacing: 0; }
.price .price-note { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--nexus-muted); letter-spacing: 0; }
.period-toggle { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 28px; border: 1px solid var(--nexus-border); border-radius: 999px; }
.period-toggle button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }
.period-toggle button[aria-pressed="true"] { background: var(--nexus-violet); color: var(--nexus-soft-white); }
.period-toggle button b { font-weight: 600; opacity: .8; margin-left: 4px; }
.plan .btn { margin-top: 8px; width: 100%; }
.checks { list-style: none; padding: 0 !important; margin: 6px 0 0; display: grid; gap: 8px; }
.checks li { padding-left: 24px; position: relative; color: var(--nexus-muted); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--nexus-cyan); border-bottom: 2px solid var(--nexus-cyan); transform: rotate(-45deg); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--nexus-panel); border: 1px solid var(--nexus-border); border-radius: var(--nexus-radius-card); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--nexus-violet); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--nexus-muted); padding-bottom: 18px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .card { padding: 56px 24px; justify-items: center; gap: 16px; background: linear-gradient(180deg, rgba(167, 139, 250, 0.10), rgba(19, 23, 32, 1) 70%); }
.cta-band .hero-actions { justify-content: center; }

/* Callouts and stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { border-left: 2px solid var(--nexus-violet); padding: 4px 0 4px 16px; display: grid; gap: 4px; }
.stat b { font-size: 28px; letter-spacing: -0.02em; }
.stat span { color: var(--nexus-muted); font-size: 14px; }
.note { font-size: 13px; color: var(--nexus-muted); margin-top: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.feature-list { display: grid; gap: 14px; }
.feature-list div { display: grid; gap: 4px; }
.feature-list p { color: var(--nexus-muted); }
.page-hero { padding: 80px 0 40px; }
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero .wrap > * { max-width: 860px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); }

/* Footer */
.site-footer { border-top: 1px solid var(--nexus-border); padding: 56px 0 40px; color: var(--nexus-muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h2 { font-size: 13px; color: var(--nexus-soft-white); letter-spacing: 0; margin-bottom: 12px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--nexus-muted); }
.footer-grid a:hover { color: var(--nexus-soft-white); }
.footer-brand img { height: 26px; width: auto; margin-bottom: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--nexus-border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 500 12px/1.4 var(--nexus-font-code); letter-spacing: 0.12em; text-transform: uppercase; }

/* Real product screenshots */
.shot { margin: 0; display: grid; gap: 10px; }
.shot img { width: 100%; height: auto; border-radius: var(--nexus-radius-dialog); border: 1px solid var(--nexus-border); background: var(--nexus-panel); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.shot figcaption { font-size: 14px; color: var(--nexus-muted); }
.shot figcaption b { color: var(--nexus-soft-white); font-weight: 600; }
.hero-shot img { box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(167, 139, 250, 0.18); }
.hero-shot figcaption { text-align: center; }
.gallery { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; align-items: start; }
.gallery-2 { grid-template-columns: 0.6fr 1fr; }
@media (max-width: 860px) { .gallery, .gallery-2 { grid-template-columns: 1fr; } }

/* Trust strip under calls to action */
.trust { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--nexus-muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--nexus-cyan); border-bottom: 2px solid var(--nexus-cyan); transform: rotate(-45deg) translateY(-2px); }

/* Linked cards */
.link-cards .card { color: inherit; transition: border-color var(--nexus-duration), transform var(--nexus-duration); }
.link-cards .card:hover { text-decoration: none; border-color: var(--nexus-violet); transform: translateY(-2px); }
.link-cards .card span { color: var(--nexus-violet); font-weight: 600; font-size: 14px; margin-top: 4px; }

/* Sticky call to action on phones */
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 13, 18, 0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--nexus-border); }
  .mobile-cta .btn { width: 100%; }
  body { padding-bottom: 72px; }
}

/* ---------- Landing page ---------- */
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-primary { box-shadow: 0 8px 30px rgba(167, 139, 250, 0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 36px rgba(167, 139, 250, 0.4); }
.center { justify-content: center; margin-top: 36px; }
.grad { background: linear-gradient(90deg, var(--nexus-violet), var(--nexus-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--nexus-cyan); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(103, 232, 249, 0); } 100% { box-shadow: 0 0 0 0 rgba(103, 232, 249, 0); } }

/* Hero */
@keyframes dash { to { stroke-dashoffset: -32; } }

/* Live build window */
.live-build { box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(167, 139, 250, 0.2), 0 0 80px rgba(167, 139, 250, 0.12); }
.lb-body { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 360px; }
.lb-chat { padding: 16px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--nexus-border); font-size: 13.5px; }
.lb-step { font: 12.5px/1.5 var(--nexus-font-code); color: var(--nexus-muted); }
.lb-step b { margin-right: 6px; }
.lb-step .diff, .lb-step .tests { margin-left: 6px; }
.lb-step b { color: var(--nexus-cyan); font-weight: 500; }
.lb-step code { color: var(--nexus-soft-white); }
.diff { color: #86EFAC; }
.tests { display: inline-flex; gap: 8px; align-items: center; }
.tests-bar { width: 70px; height: 6px; border-radius: 3px; background: var(--nexus-border); overflow: hidden; display: inline-block; }
.tests-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--nexus-violet), var(--nexus-cyan)); }
.tests-n { color: #86EFAC; }
.bubble.done { border-color: rgba(103, 232, 249, 0.4); background: rgba(103, 232, 249, 0.07); }
.lb-code { padding: 16px; overflow: hidden; background: rgba(0, 0, 0, 0.18); }
.lb-code .code { font-size: 12px; white-space: pre-wrap; }
.code .f { color: var(--nexus-cyan); }
.code .add { background: rgba(134, 239, 172, 0.08); border-left: 2px solid #86EFAC; padding-left: 6px; margin-left: -8px; }
.lb-caption { font-size: 12px; color: var(--nexus-muted); text-align: right; padding: 8px 14px; border-top: 1px solid var(--nexus-border); }
.live-build.playing [data-step] { opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.35s ease; }
.live-build.playing [data-step].on { opacity: 1; transform: none; }
.live-build.playing .lb-step.on .tests-bar i { animation: fill 1.6s ease-out both; }
@keyframes fill { from { width: 0; } }
.live-build.finished .live { color: #86EFAC; }
@media (max-width: 640px) { .lb-body { grid-template-columns: 1fr; } .lb-chat { border-right: 0; } .lb-code { display: none; } }

/* Proof bar */
.proof-bar { padding: 36px 0; border-top: 1px solid var(--nexus-border); border-bottom: 1px solid var(--nexus-border); background: linear-gradient(90deg, rgba(167, 139, 250, 0.06), rgba(103, 232, 249, 0.04)); }
.proof-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.proof-items b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.proof-items span { color: var(--nexus-muted); font-size: 14px; }
.proof-bar .note { text-align: center; }
@media (max-width: 760px) { .proof-items { grid-template-columns: repeat(2, 1fr); } }

/* Stack marquee */
.marquee-sec { padding: 40px 0 48px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scroll 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { font: 500 14px/1 var(--nexus-font-code); color: var(--nexus-muted); border: 1px solid var(--nexus-border); background: var(--nexus-panel); border-radius: 999px; padding: 10px 16px; white-space: nowrap; }
.marquee-label { text-align: center; color: var(--nexus-muted); font-size: 14px; margin-top: 18px; }
@keyframes scroll { to { transform: translateX(calc(-50% - 6px)); } }

/* Pain points */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pain-grid { grid-template-columns: 1fr; } }
.pain { position: relative; overflow: hidden; transition: border-color var(--nexus-duration), transform var(--nexus-duration); }
.pain:hover { border-color: rgba(167, 139, 250, 0.6); transform: translateY(-3px); }
.pain h3 { font-size: 19px; }
.pain-problem { position: relative; padding-left: 14px; }
.pain-problem::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: #F87171; border-radius: 2px; opacity: 0.7; }
.pain-fix { color: var(--nexus-soft-white) !important; border-top: 1px dashed var(--nexus-border); padding-top: 12px; margin-top: 4px; }
.pain-fix span { color: var(--nexus-cyan); font-weight: 700; }

/* Pipeline */
.pipeline { position: relative; height: 96px; margin: 0 0 20px; }
.pipeline svg { position: absolute; left: 12.5%; right: 12.5%; top: 47px; width: 75%; height: 4px; overflow: visible; }
.pl-base { stroke: var(--nexus-border); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pl-flow { stroke-width: 3; stroke-dasharray: 10 14; animation: dash 1.2s linear infinite; opacity: 0.8; vector-effect: non-scaling-stroke; }
.pl-node { position: absolute; top: 12px; left: calc(12.5% + var(--i) * 25%); width: 72px; height: 72px; margin-left: -36px; border-radius: 50%; display: grid; place-items: center; background: var(--nexus-panel); border: 2px solid var(--nexus-violet); box-shadow: 0 0 24px rgba(167, 139, 250, 0.2); }
.pl-node b { font: 600 11px/1 var(--nexus-font-code); letter-spacing: 0.12em; text-transform: uppercase; color: var(--nexus-soft-white); }
.pl-node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--nexus-cyan); opacity: 0; animation: ring 4s ease-out infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes ring { 0% { opacity: 0.9; transform: scale(1); } 40% { opacity: 0; transform: scale(1.6); } 100% { opacity: 0; } }
.pl-pulse { position: absolute; top: 43px; left: 12.5%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--nexus-cyan); box-shadow: 0 0 14px var(--nexus-cyan); animation: travel 4s linear infinite; }
@keyframes travel { to { left: 87.5%; } }
.flow-steps .card { text-align: left; }
@media (max-width: 640px) { .pl-node { width: 58px; height: 58px; margin-left: -29px; top: 19px; } .pl-node b { font-size: 9px; letter-spacing: 0.06em; } }

/* Screen reel */
.split-wide { grid-template-columns: 0.85fr 1.15fr; }
.reel { box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(167, 139, 250, 0.18); }
.reel-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nexus-panel-2); }
.reel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; animation: reel 16s infinite; animation-delay: calc(var(--i) * 4s); }
.reel-slide:first-child { opacity: 1; }
.reel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border: 0; border-radius: 0; }
.reel-slide figcaption { position: absolute; left: 14px; bottom: 14px; font: 600 12px/1 var(--nexus-font-code); letter-spacing: 0.14em; text-transform: uppercase; background: rgba(11, 13, 18, 0.85); color: var(--nexus-cyan); border: 1px solid rgba(103, 232, 249, 0.35); padding: 8px 10px; border-radius: 6px; }
@keyframes reel { 0% { opacity: 0; transform: scale(1.03); } 4%, 25% { opacity: 1; transform: scale(1); } 29%, 100% { opacity: 0; } }
.checks.big li { color: var(--nexus-soft-white); }
.section-head .checks { margin: 0; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento .b-wide { grid-row: span 2; }
.bento .b-span2 { grid-column: span 2; }
.bento .b-img { margin-top: 8px; }
.bento .b-img img { max-height: 340px; object-fit: cover; object-position: top; }
.glow { background: radial-gradient(120% 80% at 0% 0%, rgba(167, 139, 250, 0.14), transparent 60%), var(--nexus-panel); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .bento .b-span2 { grid-column: auto; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .b-wide { grid-row: auto; } }
.term { margin-top: 8px; background: #07080C; border: 1px solid var(--nexus-border); border-radius: 8px; padding: 12px; font: 12px/1.7 var(--nexus-font-code); color: var(--nexus-soft-white); overflow: hidden; }
.t-p { color: var(--nexus-violet); }
.t-type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; border-right: 2px solid var(--nexus-cyan); animation: type 6s steps(8) infinite, caret 0.8s step-end infinite; }
.t-out { color: var(--nexus-muted); animation: appear 6s infinite; }
.t-ok { color: #86EFAC; animation-delay: 0.3s; }
@keyframes type { 0% { width: 0; } 20%, 100% { width: 8ch; } }
@keyframes caret { 50% { border-color: transparent; } }
@keyframes appear { 0%, 28% { opacity: 0; } 34%, 100% { opacity: 1; } }

/* Versus */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }
.vs-col { border: 1px solid var(--nexus-border); border-radius: var(--nexus-radius-card); padding: 28px; display: grid; gap: 14px; align-content: start; background: var(--nexus-panel); }
.vs-col h3 { display: flex; align-items: center; gap: 10px; }
.vs-col.us { border-color: var(--nexus-violet); background: radial-gradient(100% 80% at 100% 0%, rgba(167, 139, 250, 0.14), transparent 60%), var(--nexus-panel); }
.vs-col .btn { justify-self: start; }
.x-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--nexus-muted); }
.x-list li { padding-left: 24px; position: relative; text-decoration: line-through; text-decoration-color: rgba(248, 113, 113, 0.5); }
.x-list li::before { content: "×"; position: absolute; left: 4px; top: -1px; color: #F87171; font-weight: 700; }

/* Case study */
.case { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.case-side { display: grid; gap: 16px; justify-items: start; }
.stats-2 { grid-template-columns: repeat(2, 1fr) !important; width: 100%; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

/* Guarantee */
.guarantee { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding: 18px 20px; border: 1px dashed rgba(103, 232, 249, 0.4); border-radius: var(--nexus-radius-card); background: rgba(103, 232, 249, 0.04); }
.guarantee .icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px; background: rgba(103, 232, 249, 0.12); color: var(--nexus-cyan); display: grid; place-items: center; }
.guarantee p { color: var(--nexus-muted); }
.guarantee b { color: var(--nexus-soft-white); }
.plan.featured .btn, .grid-3 .card > .btn { margin-top: auto; }

/* Scroll reveal (added by site.js only) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .pl-flow, .pl-node::after, .marquee-track, .t-type, .t-out, .pulse-dot { animation: none !important; }
  .t-type { width: auto; border-right: 0; }
  .reel-slide { animation: none; opacity: 0; } .reel-slide:first-child { opacity: 1; }
  .pl-pulse { display: none; }
  .marquee { overflow-x: auto; }
}
.reel-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Glossy hero (brand system 02): text-free artwork 08 behind live text, copy left of the sculpture */
.hero-glossy { position: relative; overflow: hidden; padding: 0; min-height: min(88vh, 780px); display: flex; align-items: center; background: var(--nexus-midnight); }
.hero-glossy::before { display: none; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hero-glossy::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 13, 18, 0.92) 0%, rgba(11, 13, 18, 0.7) 38%, rgba(11, 13, 18, 0) 66%), linear-gradient(0deg, var(--nexus-midnight) 0%, rgba(11, 13, 18, 0) 22%); }
.hero-glow { position: absolute; z-index: 1; right: 14%; top: 28%; width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.22), rgba(167, 139, 250, 0) 65%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.35; transform: scale(1.08); } }
.hero-glossy .wrap { position: relative; z-index: 2; display: block; width: 100%; padding-top: 72px; padding-bottom: 72px; }
.hero-glossy .hero-copy { max-width: 620px; }
.hero-glossy h1 { font-size: clamp(38px, 5.2vw, 64px); }
.hero-glossy .lede { color: #C3CAD8; }
@media (max-width: 860px) {
  /* Phones: the sculpture gets its own band at the top, the copy sits below it. */
  .hero-glossy { min-height: 0; display: block; }
  .hero-bg { inset: 0 0 auto 0; height: 270px; }
  .hero-bg img { object-position: 90% 50%; }
  .hero-glossy::after { inset: 0 0 auto 0; height: 272px; background: linear-gradient(0deg, var(--nexus-midnight) 0%, rgba(11, 13, 18, 0) 45%), linear-gradient(90deg, rgba(11, 13, 18, 0.55) 0%, rgba(11, 13, 18, 0) 50%); }
  .hero-glossy .wrap { padding-top: 250px; padding-bottom: 40px; }
  .hero-glow { right: 0; top: 30px; width: 60vw; height: 60vw; }
}
.watch { padding-top: 56px; }
.center-head { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.watch .live-build { max-width: 980px; margin: 0 auto; }
.cta-logo { width: min(440px, 100%); height: auto; mix-blend-mode: lighten; margin-bottom: 4px; }
@media (prefers-reduced-motion: reduce) { .hero-glow { animation: none; } }
