/* VDR — FineWork Labs */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&family=JetBrains+Mono:wght@400;500&family=Source+Serif+4:opsz,wght@8..60,300..700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Theme tokens ─────────────────────────────────────────────── */
:root {
  --bg:           #0a0a10;
  --bg-1:         #0e0e16;     /* surface */
  --bg-2:         #13131e;     /* card */
  --bg-3:         #181826;     /* card hover */
  --line:         #1d1d2d;
  --line-2:       #292940;
  --line-strong:  #3a3a58;

  --ink:          #ededf5;
  --ink-mute:     #9697b8;
  --ink-dim:      #62648a;
  --ink-faint:    #3a3c5c;

  --accent:       #7ba3ff;
  --accent-soft:  color-mix(in oklab, var(--accent) 18%, transparent);
  --accent-line:  color-mix(in oklab, var(--accent) 35%, transparent);
  --accent-ink:   #0a0a10;

  --accent-2:      #8a2e1f;
  --accent-2-soft: color-mix(in oklab, var(--accent-2) 18%, transparent);

  --ok:           #8be0b5;
  --warn:         #ffc080;
  --crit:         #c6635a;

  --radius-s:     6px;
  --radius:       10px;
  --radius-lg:    16px;

  --display: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sans:    'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --serif:   'Source Serif 4', Georgia, serif;

  /* density */
  --section-y:    104px;
  --container-x:  32px;
  --container-w:  1200px;
  --gap:          20px;
}

/* type system tweaks */
html[data-type="editorial"]    { --display: 'Source Serif 4', Georgia, serif; }
html[data-type="mono-heavy"]   { --display: 'JetBrains Mono', monospace; }

/* density tweaks */
html[data-density="compact"]   { --section-y: 64px;  --gap: 14px; }
html[data-density="generous"]  { --section-y: 140px; --gap: 28px; }

/* light mode */
html[data-mode="light"] {
  --bg:          #f6f5ef;
  --bg-1:        #efeee6;
  --bg-2:        #ffffff;
  --bg-3:        #f3f2ea;
  --line:        #e1ddcf;
  --line-2:      #d2cdbb;
  --line-strong: #a8a395;
  --ink:         #14141a;
  --ink-mute:    #4d4f6a;
  --ink-dim:     #767891;
  --ink-faint:   #b4b6c8;
  --accent-ink:  #ffffff;
}

/* ── Base ──────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-soft); color: var(--ink); }

a { color: inherit; }

/* ── Layout ────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-x);
}

section { padding: var(--section-y) 0; position: relative; }
section + section { border-top: 1px solid var(--line); }

/* Section headers */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) 68%,
    transparent 68%,
    transparent 74%,
    var(--accent-2) 74%,
    var(--accent-2) 100%
  );
  border-radius: 1px;
  flex-shrink: 0;
}

.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-top: 14px;
  text-wrap: balance;
}
html[data-type="editorial"] .section-head h2 { font-weight: 400; letter-spacing: -0.02em; }

.section-head p {
  font-size: 18px;
  color: var(--ink-mute);
  margin-top: 18px;
  max-width: 620px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ── Top nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 15px;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-block;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.footer-brand .brand-mark { width: 28px; height: 28px; border-radius: 5px; }
.brand small { color: var(--ink-dim); font-weight: 400; margin-left: 2px; }

/* VivaTech / B2Match logos */
.vivatech-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity .15s;
  line-height: 0;
}
.vivatech-link:hover { opacity: 0.7; }
.vivatech-logo {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.92;
}
.b2match-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: #fff;
  border-radius: 6px;
  line-height: 0;
}
.b2match-pill img {
  height: 18px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-link {
  font-size: 14px;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color .15s;
}
.nav-link:hover { color: var(--ink); }

/* status pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .15s, color .15s;
}
.pill:hover { border-color: var(--line-strong); color: var(--ink); }
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink-mute);
  border-color: var(--line-2);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--line-strong); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 7px; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at top, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 0%, transparent 75%);
}
html[data-mode="light"] .hero::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-tag .bar {
  width: 22px; height: 2px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) 68%,
    transparent 68%,
    transparent 74%,
    var(--accent-2) 74%,
    var(--accent-2) 100%
  );
  border-radius: 1px;
  flex-shrink: 0;
}
.hero-tag b {
  color: var(--ink-mute);
  font-weight: 500;
}
.hero-tag .sep {
  color: var(--ink-faint);
  margin: 0 2px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 26px;
  text-wrap: balance;
}
html[data-type="editorial"] .hero h1 { font-weight: 400; letter-spacing: -0.025em; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: inherit;
}
html[data-type="editorial"] .hero h1 em { font-style: italic; }

.hero-sub {
  font-size: 22px;
  color: var(--ink-mute);
  line-height: 1.55;
  max-width: 560px;
  margin-bottom: 36px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-dim);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-meta-item b {
  font-weight: 500;
  color: var(--ink-mute);
}

/* ── Hero diagram (interactive trust resolution) ──────────────── */
.diag {
  position: relative;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--accent) 6%, transparent),
    0 30px 60px -30px rgba(0, 0, 0, 0.6);
  font-family: var(--mono);
}

.diag::before {
  /* grid texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  opacity: 0.35;
  border-radius: inherit;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

.diag-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--line-2);
  position: relative;
  z-index: 1;
}
.diag-hd-l {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.diag-hd-l .led {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
.diag-hd-r {
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.diag-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.diag-row {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  position: relative;
  overflow: hidden;
}
.diag-row[data-role="agent"]   { border-left: 2px solid var(--accent); }
.diag-row[data-role="vdr"]     { background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); }
.diag-row[data-role="verdict"] { border-left: 2px solid var(--ok); }

.diag-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-dim);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.diag-row-label svg {
  width: 16px; height: 16px;
  color: var(--accent);
}
.diag-row[data-role="verdict"] .diag-row-label svg { color: var(--ok); }

.diag-row-main {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.diag-row-main > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.diag-row-main .key { color: var(--ink-dim); font-size: 10px; }

.diag-row-pill {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-1);
  color: var(--ink-mute);
  border: 1px solid var(--line-2);
}
.diag-row-pill.ok {
  background: color-mix(in oklab, var(--ok) 14%, transparent);
  color: var(--ok);
  border-color: color-mix(in oklab, var(--ok) 30%, transparent);
}
.diag-row-pill.crit {
  background: color-mix(in oklab, var(--crit) 14%, transparent);
  color: var(--crit);
  border-color: color-mix(in oklab, var(--crit) 30%, transparent);
}

/* VDR ticker — lines that scroll */
.diag-vdr-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0 2px;
}
.diag-vdr-line {
  display: grid;
  grid-template-columns: 16px 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--ink-mute);
  transition: opacity .4s;
  min-width: 0;
}
.diag-vdr-line .v {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.diag-vdr-line.fade { opacity: 0.3; }
.diag-vdr-line .marker {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-dim);
  margin-left: 4px;
  transition: background .3s, box-shadow .3s;
}
.diag-vdr-line.active .marker {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.diag-vdr-line .k { color: var(--ink-dim); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.diag-vdr-line .v { color: var(--ink); font-size: 11px; }
.diag-vdr-line.active .v { color: var(--accent); }
.diag-vdr-line .ver { color: var(--ink-faint); font-size: 10px; font-variant-numeric: tabular-nums; }

.diag-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 14px;
  position: relative;
}
.diag-connector::before {
  content: "";
  width: 1px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    var(--line-strong) 0 3px,
    transparent 3px 6px
  );
}
.diag-connector svg {
  position: absolute;
  width: 14px; height: 14px;
  color: var(--accent);
  background: var(--bg-2);
  padding: 1px;
  border-radius: 50%;
}

/* Hero variants */
.hero.hero--statement .diag { display: none; }
.hero.hero--statement .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
}
.hero.hero--statement .hero-tag,
.hero.hero--statement .hero-actions,
.hero.hero--statement .hero-meta { justify-content: center; }
.hero.hero--statement .hero-sub { margin-left: auto; margin-right: auto; }
.hero.hero--statement h1 { font-size: clamp(56px, 8vw, 104px); max-width: 14ch; margin-left: auto; margin-right: auto; }

.hero.hero--centered .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
}
.hero.hero--centered .hero-tag,
.hero.hero--centered .hero-actions,
.hero.hero--centered .hero-meta { justify-content: center; }
.hero.hero--centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero.hero--centered .diag { max-width: 720px; margin: 28px auto 0; width: 100%; }

/* ── Event strip ───────────────────────────────────────────────── */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  padding: 20px 0;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.strip-block {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.strip-block .lbl {
  color: var(--ink-mute);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.strip-vt {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.92;
}
.strip-sep {
  width: 1px;
  height: 24px;
  background: var(--line-2);
}

/* ── Problem ───────────────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.problem-text p {
  font-size: 17px;
  color: var(--ink-mute);
  line-height: 1.7;
  margin-bottom: 16px;
}
.problem-text p:last-child { margin-bottom: 0; }
.problem-text strong { color: var(--ink); font-weight: 500; }

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.problem-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0;
  padding: 18px 20px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.problem-list li:last-child { border-bottom: none; }
.problem-list li:hover { background: var(--bg-2); }
.problem-list li .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.problem-list li p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-mute);
}
.problem-list li p b {
  color: var(--ink);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

/* ── Pillars (What VDR provides) ───────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.pillar {
  position: relative;
  padding: 26px 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s, background .2s;
  display: flex;
  flex-direction: column;
}
.pillar:hover {
  border-color: var(--line-strong);
  background: var(--bg-2);
}
.pillar-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 24px;
}
.pillar-mark svg { width: 22px; height: 22px; }

.pillar h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.pillar p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
}
.pillar-idx {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}

/* icon style variants */
html[data-icons="glyph"] .pillar-mark svg,
html[data-icons="glyph"] .uc-mark svg,
html[data-icons="glyph"] .problem-list .num-icon,
html[data-icons="numerals"] .pillar-mark svg,
html[data-icons="numerals"] .uc-mark svg { display: none; }

html[data-icons="glyph"] .pillar-mark::after,
html[data-icons="glyph"] .uc-mark::after {
  content: attr(data-glyph);
  font-family: var(--display);
  font-size: 20px;
  color: var(--accent);
  font-weight: 600;
}
html[data-icons="numerals"] .pillar-mark::after,
html[data-icons="numerals"] .uc-mark::after {
  content: attr(data-num);
  font-family: var(--mono);
  font-size: 18px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.04em;
}

/* ── Use cases ─────────────────────────────────────────────────── */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: var(--gap);
  row-gap: 18px;
}
.uc {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  padding: 28px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s, transform .2s;
}
.uc:hover {
  border-color: var(--line-strong);
}
.uc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.uc-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.uc-mark svg { width: 20px; height: 20px; }
.uc-id {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.uc h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.uc-desc {
  font-size: 14.5px;
  color: var(--ink-mute);
  line-height: 1.6;
}
.uc-quote {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.55;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 6px;
  font-family: var(--serif);
  font-style: italic;
}
html[data-type="mono-heavy"] .uc-quote { font-family: var(--mono); font-style: normal; font-size: 12px; }

.relevant {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.relevant-l { display: flex; flex-direction: column; gap: 4px; max-width: 700px; }
.relevant-l b { font-size: 13px; font-weight: 500; color: var(--ink); }
.relevant-l span { font-size: 13px; color: var(--ink-mute); }

/* ── Design partners ───────────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.who-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.signals {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.signal {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-mute);
  line-height: 1.55;
}
.signal .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--ok) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--ok) 40%, transparent);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.signal .check svg { width: 11px; height: 11px; color: var(--ok); }

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.role {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-mute);
  background: var(--bg-1);
  font-family: var(--sans);
  transition: border-color .15s, color .15s;
}
.role:hover { border-color: var(--accent-line); color: var(--accent); }

.partner-cta {
  padding: 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.partner-cta p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ── Team / credibility ────────────────────────────────────────── */
.cred-intro {
  font-size: 19px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 760px;
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.cred {
  padding: 28px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.cred-org {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cred-org::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 1px;
}
.cred h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.cred p {
  font-size: 14.5px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.cred-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}
.cred-clients span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-2);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* ── CTA ───────────────────────────────────────────────────────── */
.cta {
  background: var(--bg-1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: 56px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.cta-inner { position: relative; }
.cta-event {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 32px;
}
.cta-event b { color: var(--accent); font-weight: 500; }
.cta h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-wrap: balance;
}
html[data-type="editorial"] .cta h2 { font-weight: 400; }
.cta p {
  font-size: 18px;
  color: var(--ink-mute);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 36px;
  text-wrap: pretty;
}
.cta-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.cta-note {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.7;
}
.cta-note a { color: var(--accent); text-decoration: none; }
.cta-note a:hover { text-decoration: underline; }

/* ── Footer ────────────────────────────────────────────────────── */
footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-mute);
}
.footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-link {
  font-size: 13px;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color .15s;
}
.footer-link:hover { color: var(--ink); }
.footer-copy {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  letter-spacing: 0.04em;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
}
@media (max-width: 880px) {
  .hero-grid,
  .problem-grid,
  .who-grid { grid-template-columns: 1fr; gap: 40px; }
  .usecases,
  .cred-grid { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: var(--gap); }
  .uc { grid-row: auto; display: flex; flex-direction: column; }
  .uc-head { margin-bottom: 18px; }
  .uc h3 { margin-bottom: 12px; }
  .uc-desc { flex-grow: 1; margin-bottom: 18px; }
  .nav-right .pill { display: none; }
  .hero h1 { font-size: 42px; }
}
@media (max-width: 600px) {
  :root { --container-x: 20px; --section-y: 64px; }
  .pillars { grid-template-columns: 1fr; }
  .strip-sep { display: none; }
}
