:root {
  --bg: #08090c;
  --bg-1: #0b0d11;
  --panel: #0e1116;
  --panel-2: #14181f;
  --panel-3: #1a1f27;
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.06);
  --text: #e8eaef;
  --muted: #9aa1ad;
  --faint: #6a7280;

  --ac: #2dd4bf;
  --ac-hi: #6ff0df;
  --ac-d: #12a594;

  --supervisor: #a78bfa;
  --agent: #34d399;
  --tool: #fbbf24;
  --context: #60a5fa;

  --blull: #7b8cff;

  --sans:
    "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Helvetica, Arial, sans-serif;
  --mono:
    "Geist Mono", ui-monospace, "SF Mono", "JetBrains Mono", Menlo,
    Consolas, monospace;

  --maxw: 1180px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection {
  background: rgba(45, 212, 191, 0.26);
  color: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.06;
}
p {
  margin: 0;
}
.mono {
  font-family: var(--mono);
  letter-spacing: 0;
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- atmosphere ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  mask-image: radial-gradient(
    ellipse 90% 60% at 50% 0%,
    #000 0%,
    transparent 75%
  );
}
.bg-fx::after {
  content: "";
  position: absolute;
  top: -340px;
  right: -160px;
  width: 760px;
  height: 760px;
  background: radial-gradient(
    circle,
    rgba(45, 212, 191, 0.14),
    transparent 62%
  );
  filter: blur(8px);
}
.glow-violet {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  top: 420px;
  left: -240px;
  width: 620px;
  height: 620px;
  background: radial-gradient(
    circle,
    rgba(167, 139, 250, 0.1),
    transparent 60%
  );
}

/* ---------- nav ---------- */
.nav-mobile {
  display: none;
}
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--border-2);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand svg,
.brand-mark {
  display: block;
}
.brand-mark {
  width: 1.55em;
  height: 1.55em;
  object-fit: contain;
}
.brand .scope {
  color: var(--faint);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-links a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 450;
  padding: 8px 12px;
  border-radius: 8px;
  transition:
    color 0.16s ease,
    background 0.16s ease;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ghost {
  color: var(--muted);
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: 8px;
  transition:
    color 0.16s,
    background 0.16s;
}
.ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.gh-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel-2);
  transition:
    border-color 0.16s,
    transform 0.16s;
}
.gh-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 550;
  letter-spacing: -0.01em;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ac);
  color: #04221d;
  font-weight: 600;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 8px 24px -10px rgba(45, 212, 191, 0.7);
}
.btn-primary:hover {
  background: var(--ac-hi);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 12px 30px -10px rgba(45, 212, 191, 0.85);
}
.btn-secondary {
  background: var(--panel-2);
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 12px 22px;
  font-size: 15.5px;
  border-radius: 11px;
}

.menu-toggle {
  display: none;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 38px;
  border-radius: 9px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- hero ---------- */
main {
  position: relative;
  z-index: 1;
}
.hero {
  padding: 74px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ac);
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.22);
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac);
  box-shadow: 0 0 10px var(--ac);
}
.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.hero h1 .hl {
  color: transparent;
  background: linear-gradient(
    92deg,
    #fff 10%,
    var(--ac-hi) 55%,
    var(--ac) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}
.hero .sub {
  margin-top: 22px;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.62;
  color: var(--muted);
  max-width: 540px;
  font-weight: 400;
}
.hero .sub strong {
  color: var(--text);
  font-weight: 550;
}

.install {
  margin-top: 30px;
  max-width: 460px;
}
.install-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: -1px;
}
.install-tab {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
  background: transparent;
  border: none;
  padding: 7px 13px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition:
    color 0.15s,
    background 0.15s;
}
.install-tab.active {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  border-bottom-color: var(--panel);
}
.install-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0 11px 11px 11px;
  padding: 13px 14px 13px 16px;
}
.install-box .pfx {
  color: var(--ac);
}
.install-box code {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text);
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
}
.copy {
  flex-shrink: 0;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.copy:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}
.copy.done {
  color: var(--ac);
  border-color: rgba(45, 212, 191, 0.4);
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.reassure {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--faint);
}
.reassure span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.reassure svg {
  color: var(--ac);
  flex-shrink: 0;
}

/* ---------- product panel (hero visual) ---------- */
.panel {
  background: linear-gradient(180deg, var(--panel) 0%, #0a0c10 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow:
    0 40px 90px -50px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.015);
}
.panel-bar .tl {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a3038;
}
.panel-bar .title {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}
.panel-bar .live {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--agent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.panel-bar .live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--agent);
  box-shadow: 0 0 8px var(--agent);
  animation: blink 1.4s ease-in-out infinite;
}
.graph-wrap {
  padding: 18px 18px 8px;
}
.graph-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}
.nd-box {
  fill: var(--panel-2);
  stroke: var(--border);
  stroke-width: 1;
}
.nd-box.sup {
  stroke: rgba(167, 139, 250, 0.5);
}
.nd-box.agt {
  stroke: rgba(52, 211, 153, 0.42);
}
.nd-box.ctx {
  fill: rgba(96, 165, 250, 0.05);
  stroke: rgba(96, 165, 250, 0.38);
}
.nd-label {
  font-family: var(--mono);
  font-size: 11px;
  fill: var(--text);
}
.nd-kind {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.edge {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1.5;
}
.edge-flow {
  fill: none;
  stroke: var(--ac);
  stroke-width: 1.5;
  stroke-dasharray: 5 9;
  opacity: 0.9;
  animation: flow 1.1s linear infinite;
  filter: drop-shadow(0 0 4px rgba(45, 212, 191, 0.6));
}
.tool-chip {
  fill: rgba(251, 191, 36, 0.08);
  stroke: rgba(251, 191, 36, 0.4);
  stroke-width: 1;
}
.ndot {
  animation: nodepulse 3s ease-in-out infinite;
}
.events {
  border-top: 1px solid var(--border-2);
  padding: 10px 16px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
}
.events .ehead {
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.ev {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 0;
  color: var(--muted);
  opacity: 0.45;
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
}
.ev.on {
  opacity: 1;
  color: var(--text);
}
.ev .tag {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--faint);
}
.ev.t-sup .tag {
  background: var(--supervisor);
}
.ev.t-agt .tag {
  background: var(--agent);
}
.ev.t-tool .tag {
  background: var(--tool);
}
.ev.t-ctx .tag {
  background: var(--context);
}
.ev.t-ok .tag {
  background: var(--ac);
}
.ev .k {
  color: var(--faint);
}
.ev.on .k {
  color: var(--muted);
}

/* ---------- logo strip ---------- */
.strip {
  padding: 30px 0 8px;
  border-top: 1px solid var(--border-2);
  margin-top: 26px;
}
.strip .lbl {
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
}
.strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 34px;
}
.strip-row .item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c2c8d2;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.78;
  transition: opacity 0.2s;
}
.strip-row .item:hover {
  opacity: 1;
}
.strip-row .item .ico {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

/* ---------- sections ---------- */
section {
  position: relative;
  padding: 92px 0;
}
.sec-head {
  max-width: 680px;
  margin-bottom: 52px;
}
.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ac);
  margin-bottom: 14px;
}
.sec-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.sec-head p {
  margin-top: 16px;
  font-size: 17.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  background: var(--panel-2);
}
.card .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  background: var(--panel-2);
}
.card h3 {
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.card p {
  margin-top: 9px;
  font-size: 14.6px;
  color: var(--muted);
  line-height: 1.58;
}
.card p code,
.prose code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  color: #d7dbe2;
}

/* how it works */
.how {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-2);
}
.step:last-child {
  border-bottom: none;
}
.step .num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ac);
  font-weight: 500;
}
.step h4 {
  margin: 3px 0 5px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.concept-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.concept {
  background: var(--panel);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 16px 16px;
}
.concept .ch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.concept .ch .d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.concept p {
  font-size: 13.4px;
  color: var(--muted);
  line-height: 1.5;
}

/* code section */
.code-block {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -50px rgba(0, 0, 0, 0.9);
}
.code-tabs {
  display: flex;
  gap: 2px;
  padding: 8px 8px 0;
  border-bottom: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.015);
  flex-wrap: wrap;
}
.code-tab {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
  background: transparent;
  border: none;
  padding: 9px 14px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.15s,
    background 0.15s,
    border-color 0.15s;
}
.code-tab:hover {
  color: var(--muted);
}
.code-tab.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-bottom-color: var(--ac);
}
.code-pane {
  display: none;
}
.code-pane.active {
  display: block;
}
pre {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13.3px;
  line-height: 1.72;
  tab-size: 2;
}
pre code {
  font-family: var(--mono);
  color: #c8cdd6;
  white-space: pre;
}
.t-c {
  color: #5d6b7a;
  font-style: italic;
}
.t-s {
  color: #7fdca4;
}
.t-k {
  color: #c792ea;
}
.t-t {
  color: #f0b66b;
}
.t-f {
  color: #6fd3e8;
}
.t-n {
  color: #e88aa6;
}

.code-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  align-items: stretch;
}
.ev-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 12px;
}
.ev-panel .eh {
  color: var(--faint);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}
.ev-line {
  display: flex;
  gap: 9px;
  padding: 5px 0;
  align-items: baseline;
  border-bottom: 1px dashed var(--border-2);
  color: var(--muted);
}
.ev-line:last-child {
  border-bottom: none;
}
.ev-line .b {
  flex-shrink: 0;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: 0.03em;
  color: #04221d;
  font-weight: 600;
}
.b.sup {
  background: var(--supervisor);
  color: #1a0f33;
}
.b.agt {
  background: var(--agent);
  color: #04241a;
}
.b.tool {
  background: var(--tool);
  color: #2a1d00;
}
.b.ctx {
  background: var(--context);
  color: #06203f;
}
.b.ok {
  background: var(--ac);
}
.ev-line .x {
  color: var(--text);
  word-break: break-word;
}
.ev-line .mut {
  color: var(--faint);
}

/* studio showcase */
.studio {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}
.studio ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.studio li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}
.studio li svg {
  flex-shrink: 0;
  color: var(--ac);
  margin-top: 3px;
}
.studio li b {
  color: var(--text);
  font-weight: 550;
}
.studio-mock {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px -55px rgba(0, 0, 0, 0.9);
}
.sm-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 290px;
}
.sm-rail {
  border-right: 1px solid var(--border-2);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sm-run {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 8px 9px;
  border-radius: 7px;
  border: 1px solid var(--border-2);
  background: var(--panel-2);
  color: var(--muted);
}
.sm-run.sel {
  border-color: rgba(45, 212, 191, 0.4);
  color: var(--text);
}
.sm-run .st {
  display: block;
  margin-top: 4px;
  color: var(--agent);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sm-run.pausd .st {
  color: var(--tool);
}
.sm-canvas {
  padding: 16px;
  position: relative;
}
.sm-canvas svg {
  width: 100%;
  height: auto;
}

/* use cases */
.uses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.use {
  background: var(--panel);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.use:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}
.use .tag2 {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ac);
  letter-spacing: 0.04em;
}
.use h3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.use p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* final cta */
.final {
  text-align: center;
  padding: 30px 0 96px;
}
.final-card {
  position: relative;
  background:
    radial-gradient(
      ellipse 80% 130% at 50% 0%,
      rgba(45, 212, 191, 0.1),
      transparent 70%
    ),
    var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 64px 32px;
  overflow: hidden;
}
.final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  mask-image: radial-gradient(
    ellipse 60% 70% at 50% 0%,
    #000,
    transparent 70%
  );
  pointer-events: none;
}
.final-card h2 {
  position: relative;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.final-card p {
  position: relative;
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 17.5px;
  color: var(--muted);
}
.final-card .cta-row {
  position: relative;
  justify-content: center;
  margin-top: 32px;
}

/* footer */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-2);
  padding: 56px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.6;
}
.by-blull {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--faint);
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.by-blull img {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.92;
  transition: opacity 0.16s ease;
}
.by-blull:hover img {
  opacity: 1;
}
.foot-col h5 {
  margin: 0 0 14px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
.foot-col a {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.15s;
}
.foot-col a:hover {
  color: var(--text);
}
.foot-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--faint);
}
.foot-bottom .mit {
  font-family: var(--mono);
  font-size: 12.5px;
}

/* reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

@keyframes flow {
  to {
    stroke-dashoffset: -28;
  }
}
@keyframes nodepulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* hero load anim */
.anim-up {
  opacity: 0;
  transform: translateY(18px);
  animation: heroUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes heroUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding: 50px 0 40px;
  }
  .how,
  .studio {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .code-split {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 720px) {
  .nav-links,
  .nav-right .ghost,
  .nav-right .gh-pill {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-mobile {
    display: none;
    flex-direction: column;
    padding: 8px 24px 18px;
    border-bottom: 1px solid var(--border-2);
    background: rgba(8, 9, 12, 0.96);
    backdrop-filter: blur(12px);
  }
  .nav-mobile.open {
    display: flex;
  }
  .nav-mobile a {
    padding: 11px 4px;
    color: var(--muted);
    font-size: 15px;
    border-bottom: 1px solid var(--border-2);
  }
  section {
    padding: 64px 0;
  }
  .features,
  .uses,
  .concept-list {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .final-card {
    padding: 44px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .edge-flow {
    stroke-dasharray: none;
    opacity: 0.7;
  }
  [data-reveal],
  .anim-up {
    opacity: 1;
    transform: none;
  }
}
