/* ═══════════════════════════════════════════════════════════════════════════
   VIBELIN — marketing site
   Tokens mirror console/src/styles/global.css so the site and the product read
   as one brand. When a brand colour changes, change it in both places.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --blue:        #1f6feb;
  --blue-dark:   #1558c0;
  --blue-light:  #5b9ef8;
  --violet:      #7c3aed;
  --violet-light:#a78bfa;
  /* Tertiary accent — reserved for "validated / confirmed" states. */
  --green:       #0f9d63;
  --green-light: #34d399;

  /* Ink & surface (light sections) */
  --ink:      #1e2a3a;
  --muted:    #6b7a8d;
  --faint:    #8b98a8;
  --line:     #e8ecf0;
  --line-2:   #d6dee8;
  --bg:       #ffffff;
  --bg-tint:  #f8f9fb;

  /* Dark sections */
  --dark:       #0b1220;
  --dark-2:     #111b2e;
  --dark-3:     #16233a;
  --dark-line:  #ffffff1f;
  --dark-ink:   #eef2f8;
  --dark-muted: #9fb0c6;
  --dark-faint: #7f92ab;

  --radius:    9px;
  --radius-lg: 16px;
  --shell:     1180px;

  --font: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px #0b122008, 0 2px 8px #0b12200a;
  --shadow-md: 0 2px 6px #0b12200f, 0 12px 32px -8px #0b122014;
  --shadow-lg: 0 8px 24px -6px #0b12201f, 0 30px 60px -20px #0b122029;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* A `display` rule on a component would otherwise beat the `hidden` attribute.
   The mobile nav panel and the inactive flow panels are the cases in point. */
[hidden] { display: none !important; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark :focus-visible,
.hero :focus-visible,
.cta :focus-visible { outline-color: var(--blue-light); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border: 1px solid transparent;
  border-radius: var(--radius); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 16px;  font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px #1f6feb40, 0 8px 20px -8px #1f6feb80; }
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 2px 4px #1f6feb4d, 0 12px 26px -8px #1f6feb99; }

.btn--ghost { background: #ffffff14; color: var(--dark-ink); border-color: var(--dark-line); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #ffffff24; border-color: #ffffff3d; }

.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: #eaf1ff; }

.btn--outline { background: transparent; color: #fff; border-color: #ffffff4d; }
.btn--outline:hover { background: #ffffff14; border-color: #ffffff80; }

.btn__arrow { width: 15px; height: 15px; stroke: currentColor; transition: transform .15s ease; }
.btn:hover .btn__arrow { transform: translateX(2px); }

/* ── Eyebrow ─────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--dark-muted); margin-bottom: 18px;
}
.eyebrow--dark { color: var(--blue); }
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 22%, transparent);
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: #0b1220cc; backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav.is-solid { background: #0b1220f2; border-bottom-color: var(--dark-line); box-shadow: 0 8px 30px -12px #0b122099; }

.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 26px; height: 26px; fill: var(--blue-light); stroke: var(--violet-light); }
.brand__word { font-weight: 800; letter-spacing: .14em; font-size: 15px; color: #fff; }

.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--dark-muted);
  padding: 6px 0; position: relative; transition: color .15s ease;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue-light); border-radius: 2px; transform: scaleX(0);
  transition: transform .18s ease;
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: #fff; }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--dark-line);
  border-radius: var(--radius); background: #ffffff0f; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav__toggle span { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Only ever a mobile affordance — the toggle that opens it is itself hidden
   above 860px, so the panel must never be reachable there either. */
.nav__mobile {
  display: none; flex-direction: column; gap: 2px;
  padding: 8px 24px 20px; border-top: 1px solid var(--dark-line); background: #0b1220f7;
}
@media (max-width: 860px) {
  .nav__mobile:not([hidden]) { display: flex; }
}
.nav__mobile a { padding: 12px 0; color: var(--dark-muted); font-weight: 500; border-bottom: 1px solid #ffffff0f; }
.nav__mobile a:last-child { border-bottom: 0; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 560px at 78% -8%, #1f6feb2e, transparent 62%),
    radial-gradient(760px 460px at 8% 8%, #7c3aed26, transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 68%, var(--dark-3) 100%);
  color: var(--dark-ink);
  padding: 150px 0 92px;
}
.hero::after {
  /* Faint grid, purely decorative — keeps the dark field from reading flat. */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}
.hero__glow {
  position: absolute; width: 620px; height: 620px; right: -140px; top: -120px;
  background: radial-gradient(circle, #1f6feb40, transparent 68%); filter: blur(30px);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center;
}

.hero__title { font-size: clamp(2.45rem, 5.2vw, 3.9rem); font-weight: 800; margin-bottom: 22px; }
.grad {
  display: block;
  background: linear-gradient(100deg, var(--blue-light) 0%, #93b8ff 40%, var(--violet-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.03rem, 1.5vw, 1.16rem); color: var(--dark-muted); max-width: 40rem; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero__note { font-size: 13.5px; color: var(--dark-faint); }

/* ── Knowledge-map visual ────────────────────────────────────────────────── */
.map {
  position: relative; padding: 20px;
  background: linear-gradient(160deg, #ffffff12, #ffffff05);
  border: 1px solid var(--dark-line); border-radius: var(--radius-lg);
  backdrop-filter: blur(8px); box-shadow: 0 30px 70px -30px #000;
}
.map__cap {
  font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--dark-muted); margin-bottom: 4px; display: flex; align-items: center; gap: 8px;
}
.map__cap::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green-light);
  box-shadow: 0 0 0 3px #34d39933; animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.map__svg { width: 100%; height: auto; overflow: visible; }
.map__edges line { opacity: .38; transition: opacity .2s ease, stroke-width .2s ease; }
.map__nodes circle { fill: var(--blue-light); stroke: var(--dark); stroke-width: 3; transition: fill .2s ease, r .2s ease; }
.map__nodes text {
  fill: var(--dark-muted); font-size: 11.5px; font-weight: 600; text-anchor: middle;
  font-family: var(--font); transition: fill .2s ease;
}
.node { cursor: pointer; }
.node:hover circle, .node:focus-visible circle { fill: #fff; r: 11; }
.node:hover text, .node:focus-visible text { fill: #fff; }
.pulse { fill: #fff; opacity: .85; }

/* Impact-trace state: dim everything, then light the selected node's edges. */
.map.is-tracing .map__edges line { opacity: .09; }
.map.is-tracing .map__edges line.is-lit { opacity: 1; stroke-width: 2.4; }
.map.is-tracing .map__nodes .node { opacity: .32; }
.map.is-tracing .map__nodes .node.is-lit,
.map.is-tracing .map__nodes .node.is-source { opacity: 1; }
.map.is-tracing .node.is-source circle { fill: #fff; r: 11; }
.map.is-tracing .node.is-lit circle { fill: var(--violet-light); }
.map.is-tracing .map__pulses { opacity: 0; }

.map__hint {
  margin-top: 4px; font-size: 12px; color: var(--dark-faint); text-align: center;
  min-height: 2.4em; transition: color .2s ease;
}
.map__hint strong { color: #fff; font-weight: 600; }

/* ── Scope band ──────────────────────────────────────────────────────────── */
.scope { background: var(--bg); border-bottom: 1px solid var(--line); padding: 26px 0; }
.scope__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 26px; text-align: center;
}
.scope__label { font-size: 13px; font-weight: 600; color: var(--faint); letter-spacing: .02em; }
.scope__item { font-size: 14.5px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 9px; }
.scope__item::before {
  content: ''; width: 7px; height: 7px; border-radius: 2px;
  background: linear-gradient(140deg, var(--blue), var(--violet));
}

/* ── Section scaffolding ─────────────────────────────────────────────────── */
.section { padding: 50px 0; }
.section--tint { background: var(--bg-tint); border-block: 1px solid var(--line); }
.section--dark {
  background: linear-gradient(180deg, var(--dark) 0%, #101a2c 100%);
  color: var(--dark-ink);
}
.section--dark .section__title { color: #fff; }
.section--dark .section__lead { color: var(--dark-muted); }

.section__head { max-width: 47rem; margin-bottom: 52px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { font-size: clamp(1.85rem, 3.3vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.section__lead { font-size: 1.06rem; color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ── Guided method diagram ───────────────────────────────────────────────── */
.method__eyebrow {
  text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--violet); margin-bottom: 26px;
}

.milestones { display: flex; align-items: stretch; gap: 7px; }

.milestone {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center;
  padding: 15px 15px 15px; border-radius: 20px; border: 1px solid;
}
.milestone__icon { width: 80px; height: 80px; margin-bottom: 20px; }
.milestone h3 {
  align-self: stretch; text-align: left;
  font-size: .96rem; font-weight: 800; line-height: 1.28; margin-bottom: 14px;
}
.milestone p {
  align-self: stretch; text-align: left;
  font-size: .91rem; line-height: 1.55; color: #17203f;
}

.milestone--blue   { background: #F4F8FE; border-color: #CDDFF9; flex-grow: 1.1; } .milestone--blue h3 { color: #051042; }
.milestone--green  { background: #F6FBF8; border-color: #DDECE5; } .milestone--green  h3 { color: #023D0A; }
.milestone--amber  { background: #FFFBF4; border-color: #FEF0CD; } .milestone--amber  h3 { color: #4F2700; }
.milestone--violet { background: #F9F7FE; border-color: #E5E2F7; } .milestone--violet h3 { color: #051042; }
.milestone--teal   { background: #F4FBFA; border-color: #C2EBE9; } .milestone--teal   h3 { color: #005448; }

.milestone__arrow {
  flex: 0 0 auto; align-self: flex-start; width: 20px; height: 20px; margin-top: 54px;
}
.milestone__arrow svg { width: 100%; height: 100%; fill: none; stroke: #0A1A3D; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.milestone--build { flex: 1.1 1 0; align-items: center; text-align: center; }
.milestone--build .milestone__icon--sm { width: 60px; height: 60px; }
.milestone--build h3, .milestone--build > p { text-align: center; }

.milestone__tools {
  align-self: stretch; list-style: none; margin: 11px 0 0; padding-top: 7px; border-top: 1px solid #C2EBE9;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 7px;
  padding-inline-start: 10px;
}
.milestone__tools li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: #17203f; text-align: left;
}
.milestone__tools img { flex-shrink: 0; }
.milestone__tool-wordmark { height: 18px; width: auto; }

/* ── Guided flow (tabs + panel) ──────────────────────────────────────────── */
.flow { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: start; }

.flow__tabs { display: grid; gap: 10px; }
.flow__tab {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px;
  text-align: left; padding: 16px 18px; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}
.flow__tab:hover { border-color: var(--line-2); transform: translateX(2px); }
.flow__tab[aria-selected="true"] {
  border-color: #b9d0f7; background: #fff;
  box-shadow: var(--shadow-md), inset 3px 0 0 0 var(--blue);
}
.flow__tab-n {
  grid-row: 1 / span 2; align-self: center;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: var(--muted);
  background: var(--bg-tint); border: 1px solid var(--line);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.flow__tab[aria-selected="true"] .flow__tab-n {
  background: linear-gradient(140deg, var(--blue), var(--violet)); color: #fff; border-color: transparent;
}
.flow__tab-label { font-weight: 700; font-size: .98rem; }
.flow__tab-sub { font-size: .84rem; color: var(--muted); }

.flow__panel {
  padding: 34px 34px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg); box-shadow: var(--shadow-sm);
}
.flow__panel h3 { font-size: 1.4rem; margin-bottom: 12px; }
.flow__panel > p { color: var(--muted); font-size: 1rem; }
.flow__sub {
  margin: 26px 0 12px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--faint);
}
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 13.5px; font-weight: 500; padding: 7px 13px; border-radius: 999px;
  background: var(--bg-tint); border: 1px solid var(--line); color: var(--ink);
}
.flow__out {
  margin-top: 24px; padding: 16px 18px; border-radius: var(--radius);
  background: linear-gradient(120deg, #0f9d630f, #1f6feb0f);
  border: 1px solid #0f9d6326; font-size: .95rem; color: var(--ink);
}
.flow__out strong { color: var(--green); }
.flow__foot { margin-top: 30px; text-align: center; color: var(--muted); font-size: .98rem; max-width: 52rem; margin-inline: auto; }

/* ── Feature cards ───────────────────────────────────────────────────────── */
.feature {
  padding: 28px 26px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature__icon--blue   { background: #1f6feb14; } .feature__icon--blue   svg { stroke: var(--blue); }
.feature__icon--violet { background: #7c3aed14; } .feature__icon--violet svg { stroke: var(--violet); }
.feature__icon--green  { background: #0f9d6314; } .feature__icon--green  svg { stroke: var(--green); }
.feature h3 { font-size: 1.1rem; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: .94rem; }

/* ── Split layout ────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__copy { order: 2; }
.split__foot { margin-top: 22px; font-size: .95rem; color: var(--muted); font-style: italic; }
.section--dark .split__foot { color: var(--dark-faint); }

.knows { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 13px; }
.knows li { position: relative; padding-left: 30px; color: var(--muted); font-size: 1rem; }
.knows li::before {
  content: ''; position: absolute; left: 0; top: .52em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px #1f6feb1f;
}
.knows strong { color: var(--ink); font-weight: 700; }
.section--dark .knows li { color: var(--dark-muted); }
.section--dark .knows li::before { background: var(--blue-light); box-shadow: 0 0 0 4px #5b9ef82e; }
.section--dark .knows strong { color: #fff; }

/* ── Impact card ─────────────────────────────────────────────────────────── */
.impact {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.impact__head { margin-bottom: 18px; }
.impact__badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--violet); background: #7c3aed14;
  padding: 5px 10px; border-radius: 6px; margin-bottom: 12px;
}
.impact__title { display: block; font-weight: 700; font-size: 1.06rem; }
.impact__list { list-style: none; padding: 0; display: grid; gap: 10px; }
.impact__row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; border-radius: var(--radius);
  background: var(--bg-tint); border: 1px solid var(--line);
}
.impact__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
/* Severity is carried by an explicit text tag as well as colour — never colour alone. */
.impact__row--high .impact__dot { background: #dc2626; box-shadow: 0 0 0 3px #dc26261f; }
.impact__row--med  .impact__dot { background: #d97706; box-shadow: 0 0 0 3px #d977061f; }
.impact__row--low  .impact__dot { background: #6b7a8d; box-shadow: 0 0 0 3px #6b7a8d1f; }
.impact__label { font-size: .94rem; font-weight: 500; flex: 1; }
.impact__tag { font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.impact__foot { margin-top: 18px; font-size: .86rem; color: var(--muted); }
.figure__cap { margin-top: 12px; font-size: 12px; color: var(--faint); text-align: center; }
.section--dark .figure__cap { color: var(--dark-faint); }

/* ── Entity card ─────────────────────────────────────────────────────────── */
.entity {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.entity__head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #1f6feb0a, #7c3aed0a);
}
.entity__kind {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: #1f6feb14; padding: 5px 9px; border-radius: 6px;
}
.entity__name { font-weight: 700; font-size: 1.02rem; }
.entity__body { padding: 20px 22px; display: grid; gap: 12px; }
.entity__row { display: flex; gap: 14px; align-items: baseline; font-size: .93rem; }
.entity__key { width: 8.5rem; flex-shrink: 0; color: var(--faint); font-size: .84rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.entity__val { color: var(--ink); font-weight: 500; }
.entity__links { display: flex; flex-wrap: wrap; gap: 6px; }
.entity__link {
  font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: #7c3aed12; color: var(--violet); border: 1px solid #7c3aed24;
}
.entity__foot {
  display: flex; align-items: center; gap: 9px;
  padding: 14px 22px; border-top: 1px solid var(--line); background: var(--bg-tint);
  font-size: 12.5px; font-weight: 600; color: var(--green);
}
.entity__foot::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px #0f9d6326; animation: blink 2.2s ease-in-out infinite;
}

/* ── Unlock cards ────────────────────────────────────────────────────────── */
.unlock {
  position: relative; overflow: hidden;
  padding: 30px 26px 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--bg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.unlock::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(100deg, var(--blue), var(--violet));
}
.unlock:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.unlock h3 { font-size: 1.08rem; margin-bottom: 9px; }
.unlock p { font-size: .93rem; color: var(--muted); }

/* ── Roles ───────────────────────────────────────────────────────────────── */
.role {
  padding: 26px 24px; border-radius: var(--radius-lg); background: var(--bg);
  border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease;
}
.role:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.role h3 { font-size: 1.05rem; margin-bottom: 8px; }
.role p { color: var(--muted); font-size: .93rem; }

/* ── Value cards ─────────────────────────────────────────────────────────── */
.value {
  padding: 28px 26px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--bg); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.value::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--violet));
  transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value:hover::before { transform: scaleY(1); }
.value h3 { font-size: 1.1rem; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: .95rem; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 50rem; margin-inline: auto; display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq__item[open] { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; cursor: pointer; font-weight: 700; font-size: 1.02rem;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; flex-shrink: 0; width: 11px; height: 11px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__item p { padding: 0 22px 22px; color: var(--muted); font-size: .97rem; }

/* ── Band ────────────────────────────────────────────────────────────────── */
.band { padding: 76px 0; background: var(--bg); }
.band__inner {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  padding: 40px 44px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #1f6feb0d, #7c3aed0d); border: 1px solid var(--line);
}
.band__title { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.band__lead { color: var(--muted); font-size: .99rem; max-width: 54rem; }

/* ── Final CTA ───────────────────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 104px 0;
  background:
    radial-gradient(760px 420px at 50% 0%, #1f6feb47, transparent 65%),
    linear-gradient(180deg, var(--dark-2), var(--dark));
  color: #fff;
}
.cta__glow {
  position: absolute; width: 560px; height: 560px; left: 50%; top: -280px; translate: -50% 0;
  background: radial-gradient(circle, #7c3aed40, transparent 66%); filter: blur(40px);
}
.cta__inner { position: relative; z-index: 1; }
.cta__title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; margin-bottom: 16px; }
.cta__lead { color: var(--dark-muted); font-size: 1.08rem; max-width: 36rem; margin: 0 auto 34px; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__note { margin-top: 22px; font-size: 13.5px; color: var(--dark-faint); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: var(--dark); color: var(--dark-muted); padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; }
.brand--footer { margin-bottom: 16px; }
.footer__tag { font-size: .93rem; max-width: 30rem; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h3 { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.footer__col a { font-size: .93rem; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__bar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: 13px;
}

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { padding-top: 124px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__copy { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow__tabs { grid-template-columns: repeat(2, 1fr); }
  .flow__tab:hover { transform: none; }
  .band__inner { grid-template-columns: 1fr; }

  .milestones { flex-direction: column; gap: 16px; }
  .milestone, .milestone--build { flex: none; width: 100%; }
  .milestone__arrow { display: none; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}

@media (max-width: 760px) {
  .section { padding: 74px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .flow__tabs { grid-template-columns: 1fr; }
  .flow__panel { padding: 26px 22px 24px; }
  .entity__row { flex-direction: column; gap: 3px; }
  .entity__key { width: auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
  .band__inner { padding: 30px 24px; }
  .hero__cta .btn, .cta__actions .btn { flex: 1 1 auto; }
  .scope__inner { gap: 8px 18px; }

  .milestone__tools { grid-template-columns: 1fr; }
}

/* ── Motion preferences ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .map__pulses { display: none; }
}

/* ── Print ───────────────────────────────────────────────────────────────── */
@media print {
  .nav, .hero__glow, .cta__glow, .map__pulses { display: none !important; }
  body { color: #000; background: #fff; }
  .hero, .section--dark, .cta, .footer { background: #fff !important; color: #000 !important; }
  .grad { -webkit-text-fill-color: #000; color: #000; }
  .flow__panel[hidden] { display: block !important; }
}
