/* ─────────────────────────────────────────────────────────────
   InsightFuse · Editorial treatment
   Bold press-room register: warm newsprint ground, high-contrast
   serif display, violet used as a FIELD not a dot, mono for data.
   Self-contained — does not load tokens.css.
   ───────────────────────────────────────────────────────────── */

:root {
  /* ─── Ground ─────────────────────────────────────────────── */
  --paper:    oklch(97.2% 0.009 85);   /* warm newsprint — never cool grey */
  --paper-2:  oklch(94.6% 0.013 85);   /* inset / quiet band */
  --paper-3:  oklch(91.5% 0.016 85);   /* chip ground, table stripe */

  /* ─── Ink ────────────────────────────────────────────────── */
  --ink:      oklch(17% 0.02 300);     /* near-black plum — display + ground */
  --ink-soft: oklch(24% 0.02 300);     /* dark band that isn't quite black */
  --ink-2:    oklch(33% 0.016 300);    /* body copy */
  --muted:    oklch(52% 0.012 300);    /* captions, meta */

  --rule:     oklch(85% 0.014 88);     /* hairline on paper */
  --rule-2:   oklch(74% 0.018 88);     /* emphasis hairline */
  --rule-dk:  oklch(32% 0.018 300);    /* hairline on ink */

  /* ─── Signal ─────────────────────────────────────────────── */
  --violet:      oklch(52% 0.24 295);  /* THE brand field */
  --violet-lift: oklch(62% 0.23 295);  /* violet on dark ground */
  --violet-deep: oklch(40% 0.2 295);   /* hover / deep field */
  --violet-wash: oklch(52% 0.24 295 / 0.09);
  --on-violet:   oklch(98% 0.01 295);

  --acid:     oklch(90% 0.19 118);     /* one hot highlight, dark grounds only */

  /* ink on dark grounds */
  --dk-ink:   oklch(95% 0.008 85);
  --dk-ink-2: oklch(82% 0.012 88);
  --dk-muted: oklch(64% 0.014 90);

  /* ─── Type ───────────────────────────────────────────────── */
  --f-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --t-display: clamp(3rem, 8.2vw, 7.5rem);
  --t-h2:      clamp(2.1rem, 4.4vw, 3.9rem);
  --t-h3:      clamp(1.25rem, 1.3vw + 0.9rem, 1.6rem);
  --t-lede:    clamp(1.1rem, 0.9vw + 0.85rem, 1.45rem);
  --t-body:    1.0625rem;
  --t-small:   0.9375rem;
  --t-label:   0.72rem;
  --t-num:     clamp(2.2rem, 3.4vw, 3.4rem);

  --track-label: 0.1em;

  /* ─── Space ──────────────────────────────────────────────── */
  --gutter:    clamp(1.15rem, 4vw, 3.5rem);
  --maxw:      1280px;
  --section-y: clamp(4rem, 7.5vw, 7.5rem);

  /* ─── Motion ─────────────────────────────────────────────── */
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --quiet:  220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.022em;
}

p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1.1rem; font-size: 0.875rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

.tnum { font-variant-numeric: tabular-nums; }

/* ─── Frame ────────────────────────────────────────────────── */
.frame {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { padding-block: var(--section-y); }

/* ─── Editorial label · mono, ruled ────────────────────────── */
.label {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.label::before {
  content: ""; width: 1.9rem; height: 2px; flex: none;
  background: var(--violet);
}
.label--dk { color: var(--dk-muted); }
.label--dk::before { background: var(--violet-lift); }
.label--on-violet { color: oklch(88% 0.06 295); }
.label--on-violet::before { background: var(--on-violet); }

/* ─── Section heads ────────────────────────────────────────── */
.h2      { font-size: var(--t-h2); max-width: 18ch; }
.h2--wide{ max-width: 26ch; }
.lede    { font-size: var(--t-lede); line-height: 1.45; color: var(--ink-2); max-width: 54ch; margin-top: 1.5rem; }
.lede--dk{ color: var(--dk-ink-2); }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-body);
  font-size: 0.9375rem; font-weight: 600;
  letter-spacing: -0.005em;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--quiet), color var(--quiet), border-color var(--quiet), transform var(--quiet);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--violet); color: var(--on-violet); }
.btn--solid:hover { background: var(--violet-deep); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-soft); }

.btn--line { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn--line:hover { border-color: var(--ink); background: var(--paper-2); }

.btn--onviolet { background: var(--on-violet); color: var(--violet-deep); }
.btn--onviolet:hover { background: var(--paper); }

.btn--lg { padding: 1rem 1.55rem; font-size: 0.9688rem; }
.btn--block { display: flex; width: 100%; }

/* arrow link */
.arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1.5px solid var(--rule-2);
  padding-bottom: 3px;
  transition: border-color var(--quiet), gap var(--quiet);
}
.arrow:hover { border-color: var(--violet); gap: 0.8rem; }
.arrow--dk { color: var(--dk-ink); border-color: var(--rule-dk); }
.arrow--dk:hover { border-color: var(--violet-lift); }
.arrow--onviolet { color: var(--on-violet); border-color: oklch(80% 0.12 295); }
.arrow--onviolet:hover { border-color: var(--on-violet); }

/* ─── Reveal ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* ─── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: oklch(97.2% 0.009 85 / 0.86);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0.9rem var(--gutter);
  display: flex; align-items: center; gap: 1.75rem;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--f-display);
  font-weight: 600; font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
  flex: none;
}
.mark { width: 22px; height: 22px; flex: none; }

.nav__links { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: color var(--quiet), border-color var(--quiet);
}
.nav__links a:hover { color: var(--ink); border-color: var(--violet); }

.nav__right { display: flex; align-items: center; gap: 0.85rem; }

.cmdk {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: border-color var(--quiet), color var(--quiet);
}
.cmdk:hover { border-color: var(--rule-2); color: var(--ink-2); }
.cmdk__keys {
  font-family: var(--f-mono); font-size: 0.7rem;
  border: 1px solid var(--rule); border-radius: 2px;
  padding: 0.1rem 0.3rem;
}
.nav__signin {
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
}
.nav__signin:hover { color: var(--ink); }
.nav__burger {
  display: none;
  background: transparent; border: 1px solid var(--rule);
  border-radius: 2px; padding: 0.35rem 0.6rem;
  color: var(--ink); cursor: pointer; font-size: 1.05rem;
}
.nav-cta__short { display: none; }

@media (max-width: 1080px) {
  .cmdk__label { display: none; }
}
@media (max-width: 940px) {
  .nav__links {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1.1rem;
    margin-left: 0;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 0.7rem 0; width: 100%; border-bottom: 1px solid var(--rule); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__right { margin-left: auto; }
  .nav__burger { display: inline-flex; }
  .cmdk, .nav__signin { display: none; }
  .nav-cta__full { display: none; }
  .nav-cta__short { display: inline; }
}

/* ─── Hero · editorial cover ───────────────────────────────── */
.hero { padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(2.5rem, 4vw, 4rem); }

.hero__title {
  font-size: var(--t-display);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.032em;
  max-width: 17ch;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--violet);
}

.hero__rule {
  height: 1px; background: var(--rule);
  margin-block: clamp(2rem, 3.5vw, 3.2rem) 0;
}

.hero__deck {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-top: clamp(1.75rem, 2.5vw, 2.5rem);
}
.hero__lede {
  font-size: var(--t-lede);
  line-height: 1.42;
  color: var(--ink-2);
  max-width: 46ch;
  margin: 0;
}
.hero__lede strong { color: var(--ink); font-weight: 600; }

.hero__aside { padding-top: 0.35rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  margin-top: 1.35rem;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--muted);
}
.hero__meta li { display: flex; align-items: center; gap: 0.45rem; }
.hero__meta li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--violet); flex: none;
}

@media (max-width: 860px) {
  .hero__deck { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero__title { max-width: 100%; }
}

/* ─── Campaign figure · the mockup as editorial imagery ────── */
.figure { margin-top: clamp(2.5rem, 4.5vw, 4rem); }

.dash {
  background: var(--ink);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px oklch(17% 0.02 300 / 0.5);
}
.dash__bar {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.8rem 1.15rem;
  background: var(--ink-soft);
  border-bottom: 1px solid var(--rule-dk);
}
.dash__dots { display: inline-flex; gap: 0.35rem; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-dk); }
.dash__url {
  font-family: var(--f-mono); font-size: 0.75rem;
  color: var(--dk-muted);
}
.dash__chip {
  margin-left: auto;
  font-family: var(--f-mono); font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: var(--track-label);
  color: var(--acid);
  border: 1px solid oklch(90% 0.19 118 / 0.35);
  border-radius: 2px;
  padding: 0.2rem 0.5rem;
}

.dash__body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.4rem, 2.6vw, 2.4rem);
}
@media (max-width: 800px) { .dash__body { grid-template-columns: 1fr; } }

.d-label {
  font-family: var(--f-mono); font-size: var(--t-label);
  text-transform: uppercase; letter-spacing: var(--track-label);
  color: var(--dk-muted);
  margin-bottom: 0.85rem;
}
.agoal {
  display: flex; gap: 0.6rem;
  background: oklch(52% 0.24 295 / 0.12);
  border-left: 2px solid var(--violet-lift);
  padding: 1rem 1.1rem;
  font-family: var(--f-mono);
  font-size: 0.8125rem; line-height: 1.65;
  color: var(--dk-ink);
}
.agoal__prompt { color: var(--violet-lift); flex: none; }

.dash__foot {
  margin-top: 1.25rem;
  font-size: 0.875rem; line-height: 1.55;
  color: var(--dk-muted);
  max-width: 40ch;
}

.arun { display: grid; gap: 0; align-self: start; }
.arun__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 0.8rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--rule-dk);
  font-size: 0.9rem;
  color: var(--dk-muted);
}
.arun__step:last-child { border-bottom: 0; }
.arun__mark {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--rule-dk);
  flex: none;
}
.arun__step.is-done { color: var(--dk-ink); }
.arun__step.is-done .arun__mark { background: var(--acid); border-color: var(--acid); }
.arun__meta {
  font-family: var(--f-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--dk-muted);
}
.arun__step.is-done .arun__meta { color: var(--violet-lift); }

/* ─── Stat rail · the finished run, as a caption ───────────── */
.rail-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  margin-top: clamp(2rem, 3.5vw, 3rem);
}
.rail-stats__cap {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem;
  padding: 0.9rem 0 1.5rem;
  font-family: var(--f-mono); font-size: var(--t-label);
  text-transform: uppercase; letter-spacing: var(--track-label);
  color: var(--muted);
}
.rail-stats__cap b { color: var(--ink); font-weight: 600; }
.lstat { padding: 0 1.25rem 0 0; }
.lstat__num {
  display: block;
  font-family: var(--f-display);
  font-size: var(--t-num);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.lstat__label {
  display: block; margin-top: 0.5rem;
  font-size: 0.8125rem; line-height: 1.35;
  color: var(--muted);
  max-width: 16ch;
}
@media (max-width: 900px) { .rail-stats { grid-template-columns: repeat(3, 1fr); row-gap: 1.75rem; } }
@media (max-width: 520px) { .rail-stats { grid-template-columns: repeat(2, 1fr); } }

/* ─── Dark band ────────────────────────────────────────────── */
.band-dark {
  background: var(--ink);
  color: var(--dk-ink-2);
}
.band-dark .h2 { color: var(--dk-ink); }

/* ─── Steps · editorial index, not cards ───────────────────── */
.steps { margin-top: clamp(2.5rem, 4.5vw, 4rem); border-top: 1px solid var(--rule-dk); }
.step {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1rem, 3vw, 2.75rem);
  align-items: baseline;
  padding: clamp(1.35rem, 2.2vw, 1.9rem) 0;
  border-bottom: 1px solid var(--rule-dk);
  transition: background var(--quiet);
}
.step:hover { background: oklch(100% 0 0 / 0.022); }
.step__num {
  font-family: var(--f-mono);
  font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--violet-lift);
  font-variant-numeric: tabular-nums;
}
.step__title {
  font-size: var(--t-h3);
  font-weight: 600;
  color: var(--dk-ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.step__body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--dk-muted);
  max-width: 52ch;
}
@media (max-width: 820px) {
  .step { grid-template-columns: 3rem minmax(0, 1fr); gap: 0.9rem; }
  .step__body { grid-column: 2; margin-top: 0.6rem; }
}

.band-note {
  margin-top: clamp(2rem, 3vw, 2.75rem);
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 2px solid var(--violet-lift);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--dk-muted);
  max-width: 68ch;
}
.band-note strong { color: var(--dk-ink); font-weight: 600; }

/* ─── Control · two statements + rails ─────────────────────── */
.ctrl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}
.ctrl-card {
  background: var(--paper);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
}
.ctrl-card--default { background: var(--violet-wash); }
.ctrl-card__flag {
  display: inline-block;
  font-family: var(--f-mono); font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: var(--track-label);
  color: var(--on-violet); background: var(--violet);
  padding: 0.22rem 0.5rem; border-radius: 2px;
  margin-bottom: 0.9rem;
}
.ctrl-card__title {
  font-size: var(--t-h3); font-weight: 600;
  margin-bottom: 0.75rem;
}
.ctrl-card__body { font-size: 0.9375rem; line-height: 1.62; color: var(--ink-2); }
@media (max-width: 760px) { .ctrl { grid-template-columns: 1fr; } }

.rails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin-top: clamp(2rem, 3vw, 2.75rem);
}
.rail { border-top: 2px solid var(--ink); padding-top: 0.9rem; }
.rail__label {
  display: block;
  font-family: var(--f-mono); font-size: var(--t-label);
  text-transform: uppercase; letter-spacing: var(--track-label);
  color: var(--ink); font-weight: 500;
  margin-bottom: 0.5rem;
}
.rail__body { display: block; font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 860px) { .rails { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .rails { grid-template-columns: 1fr; } }

/* ─── Database ─────────────────────────────────────────────── */
.db__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}
.db__grid > * { min-width: 0; }
@media (max-width: 900px) { .db__grid { grid-template-columns: 1fr; } }

.jchips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.jchip {
  font-family: var(--f-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  padding: 0.4rem 0.75rem;
  color: var(--ink-2);
  cursor: pointer;
  transition: all var(--quiet);
}
.jchip:hover { border-color: var(--ink); }
.jchip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.jtable { border: 1px solid var(--rule); background: var(--paper); }
.jtable__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  font-family: var(--f-mono); font-size: 0.75rem;
  color: var(--ink-2);
}
.jtable__count { color: var(--muted); flex: none; }
.c-accent { color: var(--violet); }

.jtable th {
  text-align: left;
  font-family: var(--f-mono); font-size: 0.66rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: var(--track-label);
  color: var(--muted);
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--rule);
}
.jtable td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  vertical-align: middle;
}
.jtable tbody tr:last-child td { border-bottom: 0; }
.jtable tbody tr:hover { background: var(--paper-2); }

.j-outlet { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); font-weight: 500; }
.j-logo { width: 20px; height: 20px; border-radius: 2px; flex: none; object-fit: contain; }
.j-mono {
  width: 20px; height: 20px; border-radius: 2px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper-3);
  font-family: var(--f-mono); font-size: 0.6rem; font-weight: 600;
  color: var(--muted);
}
.j-masked { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--muted); }
.jtable__foot {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
  font-size: 0.8125rem;
  color: var(--muted);
}

.dbstats { display: grid; gap: 1.5rem; }
.dbstat { border-top: 2px solid var(--ink); padding-top: 0.8rem; }
.dbstat__num {
  display: block;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.dbstat__label { display: block; margin-top: 0.45rem; font-size: 0.8125rem; color: var(--muted); }
.dbstats__note {
  font-size: 0.8125rem; line-height: 1.55; color: var(--muted);
  border-top: 1px solid var(--rule); padding-top: 1rem;
}
@media (max-width: 900px) { .dbstats { grid-template-columns: repeat(2, 1fr); } .dbstats__note { grid-column: 1 / -1; } }
@media (max-width: 460px) { .dbstats { grid-template-columns: 1fr; } }

/* ─── Use-case strip ───────────────────────────────────────── */
.uses { padding-block: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid var(--rule); }
.uses__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
}
.uses__title {
  font-family: var(--f-mono); font-size: var(--t-label);
  text-transform: uppercase; letter-spacing: var(--track-label);
  color: var(--muted);
}
.ucases { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ucase {
  font-size: 0.875rem; font-weight: 500;
  border: 1px solid var(--rule-2); border-radius: 2px;
  padding: 0.42rem 0.8rem;
  color: var(--ink-2);
  transition: border-color var(--quiet), color var(--quiet);
}
.ucase:hover { border-color: var(--ink); color: var(--ink); }
.ucase a { text-decoration: none; }
@media (max-width: 760px) { .uses__inner { grid-template-columns: 1fr; } }

/* ─── Violet band · the positioning statement ──────────────── */
.band-violet { background: var(--violet); color: oklch(92% 0.05 295); }
.band-violet .h2 { color: var(--on-violet); }

.stmt {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.stmt__quote {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--on-violet);
  max-width: 20ch;
}
.stmt__quote em { font-style: italic; color: oklch(90% 0.11 295); }
.stmt__body { font-size: 1.0625rem; line-height: 1.62; color: oklch(90% 0.05 295); }
.stmt__body p + p { margin-top: 1rem; }
.stmt__links {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid oklch(70% 0.14 295);
}
.stmt__fine {
  margin-top: 1.25rem;
  font-size: 0.8125rem; line-height: 1.55;
  color: oklch(84% 0.07 295);
}
.stmt__fine a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 820px) { .stmt { grid-template-columns: 1fr; } .stmt__quote { max-width: 100%; } }

/* ─── Pricing ──────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}
.plan {
  background: var(--paper);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  display: flex; flex-direction: column;
}
.plan--featured { background: var(--ink); }
.plan--featured .plan__name,
.plan--featured .plan__price { color: var(--dk-ink); }
.plan--featured .plan__note { color: var(--dk-muted); }
.plan--featured .plan__list li { color: var(--dk-ink-2); border-color: var(--rule-dk); }
.plan--featured .plan__list li::before { color: var(--acid); }
.plan--featured .plan__list strong { color: var(--dk-ink); }

.plan__flag {
  display: inline-block; align-self: flex-start;
  font-family: var(--f-mono); font-size: 0.64rem;
  text-transform: uppercase; letter-spacing: var(--track-label);
  background: var(--acid); color: var(--ink);
  padding: 0.22rem 0.5rem; border-radius: 2px;
  margin-bottom: 0.9rem;
}
.plan__name {
  font-family: var(--f-mono); font-size: var(--t-label);
  font-weight: 500; text-transform: uppercase; letter-spacing: var(--track-label);
  color: var(--muted);
}
.plan__price {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  font-weight: 600; line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-top: 0.7rem;
}
.plan__price span {
  font-family: var(--f-body);
  font-size: 0.9375rem; font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.plan__note { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--muted); }
.plan__list { margin: 1.5rem 0 1.75rem; flex: 1; }
.plan__list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem; line-height: 1.5;
  color: var(--ink-2);
}
.plan__list li:last-child { border-bottom: 0; }
.plan__list li::before {
  content: "→"; position: absolute; left: 0; top: 0.6rem;
  color: var(--violet); font-size: 0.8125rem;
}
.plan__list strong { color: var(--ink); font-weight: 600; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }

.pricing__foot {
  margin-top: 1.5rem;
  font-size: 0.875rem; color: var(--muted);
}
.pricing__foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* ─── Closing CTA ──────────────────────────────────────────── */
.cta { text-align: left; }
.cta__title {
  font-size: var(--t-h2);
  color: var(--dk-ink);
  max-width: 20ch;
}
.cta__title em { font-style: italic; color: var(--violet-lift); }
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}
.cta__body { font-size: 1.0625rem; line-height: 1.62; color: var(--dk-ink-2); }
.cta__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
  margin-top: 1.75rem;
}
@media (max-width: 820px) { .cta__grid { grid-template-columns: 1fr; } }

/* ─── Footer ───────────────────────────────────────────────── */
.foot {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: clamp(3rem, 5vw, 4.5rem) 0 1.75rem;
}
.foot__top {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.foot__brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--f-display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
}
.foot__statement {
  margin-top: 0.9rem;
  font-size: 0.875rem; line-height: 1.55; color: var(--muted);
  max-width: 30ch;
}
.foot__cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.foot__col { display: flex; flex-direction: column; gap: 0.6rem; }
.foot__heading {
  font-family: var(--f-mono); font-size: var(--t-label);
  text-transform: uppercase; letter-spacing: var(--track-label);
  color: var(--ink); font-weight: 500;
  margin-bottom: 0.2rem;
}
.foot__col a {
  font-size: 0.875rem; color: var(--muted); text-decoration: none;
  transition: color var(--quiet);
}
.foot__col a:hover { color: var(--ink); }
.foot__bottom {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
  font-size: 0.8125rem; color: var(--muted);
}
.foot__ver { font-family: var(--f-mono); font-size: 0.75rem; }
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .foot__cols { grid-template-columns: repeat(2, 1fr); } }

/* ─── Command palette ──────────────────────────────────────── */
.palette { position: fixed; inset: 0; z-index: 90; display: grid; place-items: start center; padding-top: 14vh; }
.palette[hidden] { display: none; }
.palette__backdrop { position: absolute; inset: 0; background: oklch(17% 0.02 300 / 0.45); backdrop-filter: blur(3px); }
.palette__panel {
  position: relative;
  width: min(560px, calc(100vw - 2rem));
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 3px;
  box-shadow: 0 30px 60px -20px oklch(17% 0.02 300 / 0.35);
  overflow: hidden;
}
.palette__label { position: absolute; left: -9999px; }
.palette__field { display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--rule); }
.palette__prompt { color: var(--violet); font-family: var(--f-mono); }
.palette__input { flex: 1; border: 0; background: transparent; outline: none; font-size: 0.9375rem; color: var(--ink); }
.palette__list { max-height: 46vh; overflow-y: auto; padding: 0.35rem; }
.palette__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0.8rem; border-radius: 2px; cursor: pointer; font-size: 0.9rem;
}
.palette__row[aria-selected="true"] { background: var(--violet); color: var(--on-violet); }
.palette__row-hint { font-family: var(--f-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.palette__row[aria-selected="true"] .palette__row-hint { color: oklch(88% 0.06 295); }
.palette__foot { display: flex; gap: 0.9rem; padding: 0.7rem 1.1rem; border-top: 1px solid var(--rule); font-size: 0.75rem; color: var(--muted); }
.palette__foot kbd {
  font-family: var(--f-mono); font-size: 0.7rem;
  border: 1px solid var(--rule); border-radius: 2px; padding: 0.05rem 0.3rem; margin-right: 0.25rem;
}

/* ─── Section head · deck beside the headline ──────────────── */
.sechead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: end;
}
.sechead .lede { margin-top: 0; padding-bottom: 0.35rem; }
@media (max-width: 820px) {
  .sechead { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
  .sechead .lede { padding-bottom: 0; }
}

/* ─── Press wall · real outlets, colourful logos ───────────── */
.press {
  padding-block: clamp(1.9rem, 3.2vw, 2.75rem);
  border-block: 1px solid var(--rule);
}
.press__cap {
  text-align: center;
  font-family: var(--f-mono); font-size: var(--t-label);
  font-weight: 500;
  text-transform: uppercase; letter-spacing: var(--track-label);
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center;
  width: max-content;
  animation: press-scroll 55s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes press-scroll { to { transform: translateX(-50%); } }

.plogo {
  display: inline-flex; align-items: center; gap: 0.65rem;
  flex: none;
  margin-right: 0.9rem;
  background: oklch(100% 0 0);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.62rem 1.05rem;
  font-weight: 600; font-size: 0.9375rem;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 1px 2px oklch(17% 0.02 300 / 0.05);
}
.plogo img { width: 24px; height: 24px; border-radius: 3px; object-fit: contain; flex: none; }

.press__note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8125rem; line-height: 1.55;
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track {
    animation: none;
    width: auto; flex-wrap: wrap; justify-content: center;
    row-gap: 0.9rem;
    padding-inline: var(--gutter);
  }
  .plogo[aria-hidden="true"] { display: none; }
}

/* ─── Integrations · the tools you already use ─────────────── */
.integ {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}
.integ__card {
  background: var(--paper);
  padding: 1.3rem 1.4rem;
  display: flex; align-items: center; gap: 0.9rem;
  transition: background var(--quiet);
}
.integ__card:hover { background: var(--paper-2); }
.integ__logo { width: 30px; height: 30px; border-radius: 3px; object-fit: contain; flex: none; }
.integ__glyph {
  width: 30px; height: 30px; border-radius: 3px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--violet-wash);
  color: var(--violet);
  font-family: var(--f-mono); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.03em;
}
.integ__name { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.25; color: var(--ink); }
.integ__sub { display: block; margin-top: 0.15rem; font-size: 0.78rem; line-height: 1.35; color: var(--muted); }
.integ__note {
  margin-top: 1.5rem;
  font-size: 0.875rem; line-height: 1.6;
  color: var(--muted);
  max-width: 68ch;
}
.integ__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 920px) { .integ { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .integ { grid-template-columns: 1fr; } }

/* Table: keep outlet/country/contact on one line, scroll rather than crush */
.jtable__scroll { overflow-x: auto; }
.jtable table { min-width: 560px; }
.jtable td:nth-child(2),
.jtable td:nth-child(3),
.jtable td:nth-child(4) { white-space: nowrap; }
.jtable td:first-child { min-width: 13rem; }
