/* Poi marketing — premium product surface */
:root {
  --bg: #07080c;
  --bg2: #0c0e14;
  --panel: #10131a;
  --panel2: #151922;
  --ink: #f2f4f8;
  --muted: #9aa3b5;
  --faint: #5c6578;
  --line: rgba(242, 244, 248, 0.08);
  --line2: rgba(242, 244, 248, 0.14);
  --mint: #6ee7b7;
  --mint-dim: rgba(110, 231, 183, 0.12);
  --rust: #f0a060;
  --rust-dim: rgba(240, 160, 96, 0.14);
  --violet: #a5b4fc;
  --violet-dim: rgba(165, 180, 252, 0.14);
  --danger: #fb7185;
  --danger-dim: rgba(251, 113, 133, 0.14);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --shell: min(1180px, calc(100% - 2.5rem));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--mint); }
a:hover { color: #a7f3d0; }
code { font-family: var(--mono); font-size: 0.88em; }
.shell { width: var(--shell); margin-inline: auto; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grid-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(242, 244, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 244, 248, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--mint); color: #04120c; padding: 0.5rem 1rem;
}
.skip:focus { left: 0; }

/* top */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 3.85rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--display); font-weight: 600; font-size: 1.35rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}
.brand-mark {
  width: 1.25rem; height: 1.25rem; border-radius: 6px;
  background: linear-gradient(135deg, var(--mint), var(--violet));
  box-shadow: 0 0 22px rgba(110, 231, 183, 0.4);
}
.nav { display: flex; gap: 0.35rem 1rem; align-items: center; font-size: 0.9rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.pill {
  background: var(--mint) !important; color: #04120c !important;
  padding: 0.42rem 0.9rem; border-radius: 999px; font-weight: 650;
}
.pill:hover { filter: brightness(1.06); color: #04120c !important; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 650; font-size: 0.95rem;
  padding: 0.68rem 1.2rem; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer; font-family: inherit;
  transition: filter 0.15s var(--ease), border-color 0.15s, transform 0.15s;
  background: transparent; color: var(--ink);
}
.btn:active { transform: scale(0.98); }
.btn.solid { background: var(--mint); color: #04120c; }
.btn.solid:hover { filter: brightness(1.06); color: #04120c; }
.btn.line { border-color: var(--line2); color: var(--ink); }
.btn.line:hover { border-color: var(--muted); color: var(--mint); }
.btn.ghost {
  border-color: var(--line2); color: var(--muted);
  padding: 0.45rem 0.85rem; font-size: 0.82rem; font-weight: 600;
}
.btn.ghost:hover { color: var(--ink); border-color: var(--muted); }
.btn.ghost[aria-pressed="true"] {
  border-color: var(--danger); color: var(--danger); background: var(--danger-dim);
}
.btn.lg { padding: 0.85rem 1.45rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* hero */
.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mint); margin: 0 0 1.1rem;
}
.kicker::before {
  content: "";
  width: 1.5rem; height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 1.2rem;
}
.hero h1 .grad {
  background: linear-gradient(115deg, var(--mint) 0%, var(--violet) 48%, var(--rust) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.12rem;
  margin: 0 0 1.6rem;
  line-height: 1.6;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
}
.metrics div {
  border-top: 1px solid var(--line2);
  padding-top: 0.7rem;
}
.metrics dt {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--mint);
  margin: 0 0 0.15rem;
}
.metrics dd {
  margin: 0;
  font-size: 0.78rem;
  color: var(--faint);
  line-height: 1.35;
}

/* hero live card */
.hero-live {
  position: relative;
  background: linear-gradient(165deg, var(--panel2), var(--panel));
  border: 1px solid var(--line2);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow:
    0 0 0 1px rgba(110, 231, 183, 0.04),
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.hero-live::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.35), transparent 40%, rgba(165, 180, 252, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.live-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--faint);
}
.live-bar .ok {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--mint);
}
.live-bar .ok::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-graph {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1rem;
}
.g-node {
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.g-node.flash {
  border-color: rgba(110, 231, 183, 0.55);
  box-shadow: 0 0 24px rgba(110, 231, 183, 0.2);
  background: var(--mint-dim);
}
.g-node .lbl {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
  margin-bottom: 0.2rem;
}
.g-node .val {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}
.g-node.flash .val { color: var(--mint); }
.g-arrow {
  font-family: var(--mono);
  color: var(--faint);
  font-size: 0.85rem;
}
.hero-sink {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}
.sink {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.82rem;
  color: var(--muted);
}
.sink strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 0.15rem;
}
.sink.flash {
  border-color: rgba(165, 180, 252, 0.5);
  background: var(--violet-dim);
}
.hero-live .btn { width: 100%; justify-content: center; }
.hero-caption {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--faint);
  text-align: center;
  line-height: 1.4;
}

/* sections */
.section {
  position: relative;
  z-index: 1;
  padding: 4.25rem 0;
}
.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.65rem;
  line-height: 1.15;
}
.section .lead {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.55rem;
}
.tag.mint { color: var(--mint); }
.tag.rust { color: var(--rust); }

/* demo shell */
.demo {
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.demo-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}
.demo-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
}
.demo-head p {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--faint);
}
.demo-body { padding: 1.15rem; }
.demo-note {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: var(--mint-dim);
  border: 1px solid rgba(110, 231, 183, 0.18);
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.45;
}
.demo-note code { color: var(--mint); }

/* store dual pane */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pane {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  min-height: 220px;
}
.pane-label {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pane-label .bad {
  color: var(--rust);
}
.pane-label .good {
  color: var(--mint);
}
.stat-chip {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line2);
  color: var(--ink);
}
.stat-chip em { font-style: normal; color: var(--faint); font-weight: 500; margin-right: 0.25rem; }

/* react tree */
.tree {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.t-node {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.t-node.flash {
  background: var(--rust-dim);
  border-color: rgba(240, 160, 96, 0.55);
  color: var(--rust);
}
.t-node.root { border-style: dashed; }
.t-children {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-left: 0.65rem;
  padding-left: 0.55rem;
  border-left: 1px dashed var(--line2);
}

/* poi graph */
.poi-graph {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}
.p-node {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.4rem;
  text-align: center;
  font-size: 0.72rem;
  font-family: var(--mono);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.p-node .k {
  display: block;
  color: var(--faint);
  font-size: 0.62rem;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.p-node .v { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.p-node.flash {
  background: var(--mint-dim);
  border-color: rgba(110, 231, 183, 0.55);
  box-shadow: 0 0 18px rgba(110, 231, 183, 0.15);
}
.p-node.flash .v { color: var(--mint); }
.p-node.derived { border-style: dashed; }
.leaves {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.leaf {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.15);
}
.leaf.flash {
  background: var(--violet-dim);
  border-color: rgba(165, 180, 252, 0.55);
  color: var(--violet);
}
.leaf b { color: var(--ink); font-family: var(--mono); }

/* ADT */
.adt-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.1rem;
}
.adt-view {
  min-height: 140px;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 1rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.adt-view.flash {
  box-shadow: 0 0 40px rgba(165, 180, 252, 0.12);
}
.adt-view[data-state="loading"] { border-color: rgba(165, 180, 252, 0.35); }
.adt-view[data-state="loaded"] { border-color: rgba(110, 231, 183, 0.4); background: var(--mint-dim); }
.adt-view[data-state="empty"] { border-color: rgba(240, 160, 96, 0.35); }
.adt-view[data-state="error"] { border-color: rgba(251, 113, 133, 0.4); background: var(--danger-dim); }
.adt-view .muted { font-size: 0.8rem; color: var(--faint); font-family: var(--mono); }
.spin {
  width: 1.4rem; height: 1.4rem;
  border: 2px solid var(--line2);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.arms {
  display: grid;
  gap: 0.4rem;
}
.arm {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg2);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.arm.active {
  border-color: rgba(110, 231, 183, 0.5);
  background: var(--mint-dim);
  color: var(--mint);
}
.arm.missing {
  border-color: rgba(251, 113, 133, 0.45);
  background: var(--danger-dim);
  color: var(--danger);
  text-decoration: line-through;
  opacity: 0.75;
}
.arm .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--faint);
}
.arm.active .dot { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.arm.missing .dot { background: var(--danger); }

.compile-err {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(251, 113, 133, 0.4);
  background: var(--danger-dim);
  font-size: 0.85rem;
  color: #fecdd3;
  font-family: var(--mono);
  line-height: 1.45;
}
.compile-err strong {
  display: block;
  color: var(--danger);
  margin-bottom: 0.25rem;
  font-family: var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.adt-code {
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink);
  overflow-x: auto;
  white-space: pre;
}
.adt-code .k { color: var(--violet); }
.adt-code .err-line { color: var(--danger); }

/* perf */
.perf-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.15rem;
  align-items: start;
}
.perf-controls label {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.perf-controls input[type=range] {
  width: 100%;
  accent-color: var(--mint);
}
.bars { display: grid; gap: 0.85rem; margin-bottom: 1rem; }
.bar-row { display: grid; gap: 0.35rem; }
.bar-meta {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; color: var(--muted);
}
.bar-meta strong { font-family: var(--mono); color: var(--ink); }
.bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 0;
  transition: width 0.35s var(--ease);
}
.bar-fill.react { background: linear-gradient(90deg, var(--rust), #fb7185); }
.bar-fill.poi { background: linear-gradient(90deg, var(--mint), #34d399); }

.cell-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 8), minmax(0, 1fr));
  gap: 4px;
  min-height: 160px;
  padding: 0.75rem;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(242, 244, 248, 0.06);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.cell.flash {
  background: var(--rust-dim);
  border-color: rgba(240, 160, 96, 0.4);
}
.cell.poi-hot {
  background: var(--mint);
  box-shadow: 0 0 16px rgba(110, 231, 183, 0.55);
  border-color: transparent;
}

.cum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.85rem;
}
.cum div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: rgba(0, 0, 0, 0.2);
}
.cum span {
  display: block;
  font-size: 0.72rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.cum b {
  font-family: var(--mono);
  font-size: 1.25rem;
  color: var(--ink);
}
.cum .react b { color: var(--rust); }
.cum .poi b { color: var(--mint); }

/* band */
.band {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 120% at 20% 50%, rgba(110, 231, 183, 0.08), transparent),
    radial-gradient(ellipse 50% 100% at 80% 50%, rgba(165, 180, 252, 0.07), transparent),
    var(--bg2);
  border-block: 1px solid var(--line);
  padding: 2.4rem 0;
}
.band p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--ink);
  max-width: 40rem;
  margin-inline: auto;
  line-height: 1.35;
}
.band em { color: var(--mint); font-style: normal; }

/* pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.pillar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.pillar::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), transparent);
  opacity: 0.7;
}
.pillar:nth-child(2)::after { background: linear-gradient(90deg, var(--violet), transparent); }
.pillar:nth-child(3)::after { background: linear-gradient(90deg, var(--rust), transparent); }
.pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.pillar .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
  margin-bottom: 0.55rem;
  letter-spacing: 0.06em;
}

/* compare + table */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.compare article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.compare h3 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint);
}
.compare.yes h3 { color: var(--mint); }
.compare.no h3 { color: var(--rust); }
.compare ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.95rem; }
.compare li { margin-bottom: 0.4rem; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th, td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: var(--bg2); color: var(--ink); font-size: 0.8rem; }
td { color: var(--muted); }
tr:last-child td { border-bottom: none; }

/* final */
.final {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
  text-align: center;
}
.final h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}
.final p { color: var(--muted); margin: 0 0 1.5rem; }
.cta-row.center { justify-content: center; }

.foot {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  font-size: 0.88rem;
  color: var(--faint);
}
.foot-inner {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.foot nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--mint); }
.brand-mini {
  font-family: var(--display); font-weight: 600; color: var(--ink);
}

@media (max-width: 960px) {
  .hero-grid, .dual, .adt-layout, .perf-layout, .pillars, .compare {
    grid-template-columns: 1fr;
  }
  .metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav a:not(.pill) { display: none; }
  .hero { padding-top: 3rem; }
  .poi-graph { grid-template-columns: repeat(2, 1fr); }
}

/* limn architecture flow */
.arch-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.arch-stage {
  flex: 1 1 8.5rem;
  text-align: left;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  color: var(--muted);
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.arch-stage .k {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.25rem;
}
.arch-stage strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink);
}
.arch-stage[aria-pressed="true"],
.arch-stage.flash {
  border-color: rgba(110, 231, 183, 0.55);
  background: var(--mint-dim);
  box-shadow: 0 0 22px rgba(110, 231, 183, 0.12);
}
.arch-stage[aria-pressed="true"] strong { color: var(--mint); }
.arch-arrow {
  font-family: var(--mono);
  color: var(--faint);
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.iso-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(110, 231, 183, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.35rem;
}
.adt-view[data-state="canvas"] { border-color: rgba(110, 231, 183, 0.4); background: var(--mint-dim); }
.adt-view[data-state="loaded"] { border-color: rgba(165, 180, 252, 0.4); background: var(--violet-dim); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-bar .ok::before, .spin { animation: none; }
  .bar-fill, .cell, .p-node, .t-node, .leaf, .g-node, .arch-stage { transition: none; }
}
