/* =====================================================================
   NEEVCLOUD IDN — CONSOLIDATED STYLESHEET (design system v1)
   Concatenated from the design source in load order:
   tokens → base → widgets → landing → form → admin → home → ds
   ===================================================================== */


/* ============================ tokens.css ============================ */
/* =====================================================================
   NEEVCLOUD IDN — DESIGN TOKENS  ·  "Lumen Light"
   White / grey-card base · lime accent · monospace-led (no serif)
   ===================================================================== */

:root {
  /* Surfaces — white page, light-grey cards */
  --bg:           #FFFFFF;
  --bg-2:         #FAFAFA;
  --bg-3:         #F4F4F5;
  --surface:      #F4F4F5;
  --surface-2:    #ECECEE;
  --surface-3:    #E2E2E5;
  --surface-glass: rgba(255, 255, 255, 0.80);

  /* Hairlines and dividers — dark on light */
  --line:          rgba(18, 18, 20, 0.07);
  --line-2:        rgba(18, 18, 20, 0.12);
  --line-3:        rgba(18, 18, 20, 0.18);
  --line-bright:   rgba(141, 197, 14, 0.45);

  /* Text */
  --ink:           #121214;
  --ink-2:         #4A4A4D;
  --ink-3:         #7C7C7F;
  --ink-4:         #A8A8AB;
  --ink-5:         #C6C6C9;

  /* Primary accent (slot kept named "purple" so all refs inherit) — LIME, one hue everywhere */
  --purple:        #8DC50E;            /* lime — dots, borders, accents */
  --purple-soft:   #5E8A0A;            /* lime text (legible on white) */
  --purple-deep:   #496B07;
  --purple-glow:   rgba(141, 197, 14, 0.30);
  --purple-veil:   rgba(141, 197, 14, 0.12);

  /* Secondary semantic accents */
  --amber:         #B7791F;
  --amber-glow:    rgba(183, 121, 31, 0.26);
  --mint:          #3D52D9;            /* indigo-blue secondary (demand / matched) */
  --mint-glow:     rgba(61, 82, 217, 0.22);
  --rose:          #D6336C;
  --rose-glow:     rgba(214, 51, 108, 0.24);

  /* "Chrome" slot — now the bright lime fill used for primary CTAs / on-chips */
  --chrome:
    linear-gradient(180deg, #D6F87E 0%, #C2F04C 52%, #B4E63C 100%);
  --chrome-soft:
    linear-gradient(180deg, #D6F87E 0%, #C2F04C 100%);
  --chrome-dark:
    linear-gradient(135deg, #E4E4E7 0%, #D2D2D6 50%, #E4E4E7 100%);
  --on-lime:       #16210A;            /* dark text that sits on lime */

  /* Lime wash for headline accents / primary actions */
  --wash-purple:
    radial-gradient(120% 80% at 12% 0%, rgba(194,240,76,0.22) 0%, transparent 56%),
    radial-gradient(80% 60% at 100% 100%, rgba(141,197,14,0.14) 0%, transparent 60%);

  /* Atmosphere — applied to page bg (very subtle on white) */
  --atmosphere:
    radial-gradient(60% 50% at 85% 6%, rgba(194,240,76,0.10) 0%, transparent 60%),
    radial-gradient(50% 50% at 6% 96%, rgba(61,82,217,0.05) 0%, transparent 60%);

  /* Type — monospace-led, serif slot remapped to mono */
  --serif: "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sans:  "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono:  "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Shadows — soft, light-theme */
  --shadow-card: 0 1px 2px rgba(18,18,20,0.05), 0 12px 28px -16px rgba(18,18,20,0.18);
  --shadow-card-hi: 0 2px 4px rgba(18,18,20,0.07), 0 22px 48px -18px rgba(18,18,20,0.24);
  --shadow-chip: 0 1px 2px rgba(18,18,20,0.12);
  --shadow-purple: 0 0 0 1px rgba(141,197,14,0.42), 0 10px 26px -8px rgba(141,197,14,0.30);

  /* Layout */
  --nav-h: 64px;
  --maxw: 1320px;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
}

/* keyframes used everywhere */
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes pulseRing {
  0%   { transform: scale(0.8); opacity: 0.65; }
  100% { transform: scale(2.6); opacity: 0; }
}
@keyframes softPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes gridDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}
@keyframes glowSweep {
  0%   { background-position: -120% 0; }
  100% { background-position: 220% 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  50% { opacity: 0.35; }
}


/* ============================ base.css ============================ */
/* =====================================================================
   BASE + SHARED COMPONENTS
   ===================================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { background: var(--bg); }
body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  background: var(--bg);
  background-image: var(--atmosphere);
  background-attachment: fixed;
  overflow-x: hidden;
}
body::before {
  /* drifting grid mesh */
  content: "";
  position: fixed;
  inset: -40px;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(18,18,20,0.022) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(18,18,20,0.022) 1px, transparent 1px) 0 0 / 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 90%);
  animation: gridDrift 22s linear infinite;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
input, select, textarea { font-family: inherit; color: inherit; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.012em; }
.mono  { font-family: var(--mono);  letter-spacing: 0.04em; }
.italic { font-style: italic; }

.dim    { color: var(--ink-2); }
.faint  { color: var(--ink-3); }
.faded  { color: var(--ink-4); }

#root, .page { position: relative; z-index: 1; }

/* ---------- KICKER / EYEBROW ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kicker .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-glow), 0 0 14px var(--purple);
  animation: softPulse 2.4s ease-in-out infinite;
}
.kicker--amber .dot { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-glow), 0 0 14px var(--amber); }
.kicker--mint  .dot { background: var(--mint);  box-shadow: 0 0 0 3px var(--mint-glow),  0 0 14px var(--mint); }

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--ghost {
  background: rgba(18,18,20,0.025);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(18,18,20,0.05); border-color: var(--line-3); }

.btn--primary {
  color: var(--on-lime);
  background: var(--chrome);
  background-size: 200% 100%;
  border: 1px solid rgba(141,197,14,0.5);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 -1px 0 rgba(0,0,0,0.12) inset,
    0 8px 20px -10px rgba(141,197,14,0.5);
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.85) 50%, transparent 70%);
  background-size: 220% 100%;
  background-position: -120% 0;
  pointer-events: none;
  animation: glowSweep 4.8s ease-in-out infinite;
  mix-blend-mode: overlay;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 -1px 0 rgba(0,0,0,0.12) inset,
    0 14px 30px -12px rgba(141,197,14,0.6);
}

.btn--purple {
  color: #FFFFFF;
  background: #1A1A1C;
  border: 1px solid #1A1A1C;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 10px 24px -14px rgba(0,0,0,0.5);
}
.btn--purple:hover { transform: translateY(-1px); background: #2A2A2D; box-shadow: 0 14px 30px -12px rgba(0,0,0,0.4); }

.btn--compute {
  color: #FFFFFF;
  background: linear-gradient(135deg, #2636B8 0%, var(--mint) 58%, #6F7DFF 100%);
  border: 1px solid rgba(61,82,217,0.58);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 10px 24px -14px rgba(61,82,217,0.72);
}
.btn--compute:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.22) inset,
    0 14px 30px -12px rgba(61,82,217,0.74);
}

.btn--lg { padding: 14px 22px; font-size: 14px; }
.btn--xl { padding: 18px 28px; font-size: 15px; }
.btn--sm { padding: 8px 14px; font-size: 12px; }

/* link-style button */
.linkbtn {
  font-size: 13px; color: var(--purple-soft);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(141,197,14,0.4);
}
.linkbtn:hover { color: var(--ink); }

.iconbtn {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(18,18,20,0.02);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
}
.iconbtn:hover { background: rgba(18,18,20,0.06); color: var(--ink); }

/* ---------- CHIPS / TAGS ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(18,18,20,0.03);
  border: 1px solid var(--line-2);
  border-radius: 4px;
}
.tag--purple { color: var(--purple-soft); border-color: var(--line-bright); background: var(--purple-veil); }
.tag--amber  { color: var(--amber); border-color: rgba(244,184,96,0.30); background: rgba(244,184,96,0.08); }
.tag--mint   { color: var(--mint); border-color: rgba(61,82,217,0.30); background: rgba(61,82,217,0.06); }

/* ---------- CARDS / GLASS ---------- */
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(18,18,20,0.025), rgba(255,255,255,0) 60%),
    var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.card--hover:hover {
  border-color: var(--line-3);
  box-shadow: var(--shadow-card-hi);
}
.card--purple {
  border-color: rgba(141,197,14,0.28);
  box-shadow: var(--shadow-purple), var(--shadow-card);
}

.card__hd {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.card__bd { padding: 18px; }
.card__ft {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- TOP NAV ---------- */
.topnav {
  position: sticky;
  top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.80));
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.topnav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 32px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { height: 22px; width: auto; display: block; }
.brand__sep { color: var(--ink-4); margin: 0 2px; }
.brand__sub {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.topnav__links {
  display: flex; gap: 24px; justify-content: center;
  font-size: 13px;
}
.topnav__links a { color: var(--ink-2); }
.topnav__links a:hover { color: var(--ink); }
.topnav__actions { display: flex; gap: 10px; }

/* ---------- INPUTS ---------- */
.input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(18,18,20,0.025);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.input::placeholder { color: var(--ink-4); }
.input:focus {
  outline: none;
  background: rgba(18,18,20,0.05);
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--purple-veil), 0 0 24px -8px var(--purple-glow);
}
.input--with-suffix { display: flex; align-items: stretch; padding: 0; }
.input--with-suffix input { flex: 1; background: transparent; border: 0; padding: 11px 14px; outline: none; color: inherit; font: inherit; min-width: 0; }
.input__suffix {
  display: inline-flex; align-items: center;
  padding: 0 12px;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3);
  border-left: 1px solid var(--line-2);
}
.input--textarea { min-height: 84px; line-height: 1.5; resize: vertical; padding: 11px 14px; }

.select { position: relative; }
.select select {
  width: 100%;
  padding: 11px 36px 11px 14px;
  background: rgba(18,18,20,0.025);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  appearance: none;
}
.select select option { background: var(--surface); color: var(--ink); }
.select__chev {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--ink-3); pointer-events: none;
}

/* ---------- CHIP CONTROLS (form pills) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px;
  background: rgba(18,18,20,0.03);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-2);
  font: inherit; font-size: 13px;
  transition: all 0.15s ease;
}
.chip:hover { background: rgba(18,18,20,0.06); color: var(--ink); border-color: var(--line-3); }
.chip--on {
  color: #1A1726;
  background: var(--chrome-soft);
  border-color: rgba(255,255,255,0.45);
  box-shadow: var(--shadow-chip);
}
.chip--purple-on {
  color: white;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  border-color: var(--purple-soft);
  box-shadow: 0 0 0 3px var(--purple-veil), 0 8px 18px -10px var(--purple-glow);
}

/* ---------- LEGAL / HINT ---------- */
.hint {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* ---------- SECTION TITLES ---------- */
.h-display {
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
.h-display em {
  font-style: normal;
  color: var(--purple-soft);
}
.h-title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.06; letter-spacing: -0.025em; margin: 0; color: var(--ink); }
.h-section { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.12; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.lede { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; max-width: 56ch; }

/* ---------- DIVIDER ---------- */
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-3) 12%, var(--line-3) 88%, transparent);
}

/* ---------- ANIMATED BG ORBS (decorative) ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.16;
  pointer-events: none;
}
.orb--purple { background: #C2F04C; }
.orb--violet { background: #3D52D9; }


/* ============================ widgets.css ============================ */
/* =====================================================================
   WIDGETS — modular interactive components
   Each .w-* prefix matches a widget file. Toggle off via WIDGETS config.
   ===================================================================== */

/* ---------- W1: INTERACTIVE CAPACITY MAP ---------- */
.w-map {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(141,197,14,0.08), transparent 70%),
    var(--surface);
  overflow: hidden;
}
.w-map__base {
  position: absolute; inset: 6% 3% 10%;
  width: 94%; height: 84%;
  object-fit: contain;
  opacity: 0.7;
  filter:
    brightness(0) opacity(0.2);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.w-map__overlay {
  position: absolute; inset: 6% 3% 10%;
  width: 94%; height: 84%;
  overflow: visible;
}
.w-map__node {
  position: absolute;
  width: 14px; height: 14px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  filter: drop-shadow(0 0 6px var(--purple-glow));
}
.w-map__node-dot {
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--purple-soft);
  box-shadow: 0 0 0 2px rgba(141,197,14,0.6), 0 0 14px var(--purple);
}
.w-map__node-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0;
  animation: pulseRing 2.6s ease-out infinite;
}
.w-map__node--tier1 .w-map__node-dot { background: #121214; box-shadow: 0 0 0 2px rgba(18,18,20,0.55), 0 0 14px rgba(18,18,20,0.65); }
.w-map__node--tier2 .w-map__node-dot { background: var(--purple-soft); }
.w-map__node--tier3 .w-map__node-dot { background: var(--amber); box-shadow: 0 0 0 2px rgba(244,184,96,0.55), 0 0 14px var(--amber); }
.w-map__node--liquid::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed rgba(141,197,14,0.6);
  animation: spin 12s linear infinite;
  pointer-events: none;
}
.w-map__node--active .w-map__node-dot { transform: scale(1.35); }
.w-map__filters {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; gap: 8px; flex-wrap: wrap;
  pointer-events: auto; z-index: 4;
}
.w-map__detail {
  position: absolute; right: 14px; bottom: 14px; max-width: 280px;
  background: var(--surface-glass);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-purple), 0 18px 40px -16px rgba(0,0,0,0.6);
  z-index: 4;
  animation: fadeUp 0.25s ease;
}
.w-map__detail h4 { font-family: var(--serif); font-size: 18px; margin: 0 0 4px; color: var(--ink); }
.w-map__detail__country { font-family: var(--mono); font-size: 10.5px; color: var(--purple-soft); letter-spacing: 0.08em; text-transform: uppercase; }
.w-map__detail__rows { margin-top: 12px; display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.w-map__detail__rows span:first-child { color: var(--ink-3); margin-right: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; }
.w-map__legend {
  position: absolute; bottom: 14px; left: 14px;
  display: flex; gap: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--ink-3); text-transform: uppercase;
  z-index: 3;
}
.w-map__legend span { display: inline-flex; align-items: center; gap: 6px; }
.w-map__legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.w-map__legend i.t1 { background: #121214; box-shadow: 0 0 8px rgba(18,18,20,0.6); }
.w-map__legend i.t2 { background: var(--purple-soft); box-shadow: 0 0 8px var(--purple); }
.w-map__legend i.t3 { background: var(--amber); box-shadow: 0 0 8px var(--amber); }

.w-map__chip {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  cursor: pointer;
}
.w-map__chip:hover { color: var(--ink); border-color: var(--line-3); }
.w-map__chip--on { background: var(--purple-veil); border-color: var(--line-bright); color: var(--purple-soft); }

/* ---------- W3: PREVIEW DECK ---------- */
.w-deck {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 80% at 20% 20%, rgba(141,197,14,0.10), transparent 60%),
    linear-gradient(180deg, rgba(18,18,20,0.025), transparent 60%),
    var(--surface);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.w-deck__hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.w-deck__hd h3 { font-family: var(--serif); font-size: 22px; margin: 0; color: var(--ink); }
.w-deck__counter { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; }
.w-deck__stage { position: relative; min-height: 220px; }
.w-deck__slide {
  position: absolute; inset: 0;
  padding: 22px 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(18,18,20,0.04), transparent 60%),
    var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid; gap: 12px; align-content: center;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s ease;
}
.w-deck__slide--out-l { transform: translateX(-40px) scale(0.98); opacity: 0; pointer-events: none; }
.w-deck__slide--out-r { transform: translateX(40px) scale(0.98); opacity: 0; pointer-events: none; }
.w-deck__slide-n { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--purple-soft); }
.w-deck__slide-k { font-family: var(--serif); font-size: 28px; line-height: 1.05; margin: 0; color: var(--ink); }
.w-deck__slide-b { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 0; }
.w-deck__slide-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.w-deck__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.w-deck__dots { display: flex; gap: 6px; }
.w-deck__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); cursor: pointer; transition: all 0.2s; }
.w-deck__dot--on { background: var(--purple); box-shadow: 0 0 8px var(--purple); width: 20px; border-radius: 999px; }
.w-deck__arrows { display: flex; gap: 8px; }

/* ---------- W5: FIT LADDER ---------- */
.w-ladder {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}
.w-ladder__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.w-ladder__step {
  display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}
.w-ladder__step:hover {
  border-bottom-color: var(--line-3);
  background: linear-gradient(90deg, rgba(18,18,20,0.025), transparent 70%);
}
.w-ladder__step--on {
  border-bottom-color: var(--purple-soft);
  background: linear-gradient(90deg, var(--purple-veil), transparent 72%);
}
.w-ladder__step-rung {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--ink-3);
}
.w-ladder__step--on .w-ladder__step-rung { color: var(--purple-soft); }
.w-ladder__step-copy { display: grid; gap: 8px; min-width: 0; }
.w-ladder__step-k { font-family: var(--serif); font-size: 18px; margin: 0; color: var(--ink); line-height: 1.1; }
.w-ladder__step-b {
  color: var(--ink-3);
  font-size: 12.5px;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w-ladder__step-chev { color: var(--ink-3); }
.w-ladder__detail {
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  padding: 22px 24px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(141,197,14,0.12), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-purple), var(--shadow-card);
  display: grid; gap: 14px; align-content: start;
}
.w-ladder__detail h4 { font-family: var(--serif); font-size: 24px; margin: 0; color: var(--ink); }
.w-ladder__detail-criteria { display: grid; gap: 8px; }
.w-ladder__detail-criteria li {
  list-style: none;
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  font-size: 13.5px; color: var(--ink-2);
}
.w-ladder__detail-criteria li::before {
  content: "✓"; color: var(--purple-soft); font-size: 13px;
}
.w-ladder__detail-next {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.w-ladder__detail-next-l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink-3); text-transform: uppercase; }
.w-ladder__detail-next-b { color: var(--ink); font-size: 13.5px; margin-top: 6px; }

@media (max-width: 760px) {
  .w-ladder { grid-template-columns: 1fr; gap: 20px; }
  .w-ladder__step { grid-template-columns: 54px minmax(0, 1fr); }
  .w-ladder__step-chev { display: none; }
  .w-ladder__step-b { white-space: normal; }
}

/* ---------- W6: REGIONAL DEMAND COUNTER ---------- */
.w-demand {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(18,18,20,0.022), transparent 60%),
    var(--surface);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  display: grid; gap: 16px;
}
.w-demand__hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.w-demand__hd .kicker { color: var(--purple-soft); }
.w-demand__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.w-demand__cell {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(18,18,20,0.02);
  border: 1px solid var(--line-2);
  display: grid; gap: 6px;
  position: relative;
  overflow: hidden;
}
.w-demand__cell--hot {
  border-color: var(--line-bright);
  background:
    linear-gradient(180deg, var(--purple-veil), transparent 70%),
    rgba(18,18,20,0.02);
}
.w-demand__cell--hot::after {
  content: ""; position: absolute; top: 10px; right: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-veil), 0 0 12px var(--purple);
  animation: softPulse 1.8s ease-in-out infinite;
}
.w-demand__region {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--ink-3); text-transform: uppercase;
}
.w-demand__mw { font-family: var(--serif); font-size: 28px; color: var(--ink); line-height: 1; }
.w-demand__b { color: var(--ink-3); font-size: 11.5px; }
.w-demand__tick {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.08em; color: var(--purple-soft);
  display: flex; align-items: center; gap: 8px;
}
.w-demand__tick i { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); animation: blink 1.4s ease-in-out infinite; }

/* ---------- W12: AI EXTRACTION TICKER ---------- */
.w-ticker {
  position: fixed;
  bottom: 24px; right: 24px;
  display: grid; gap: 8px;
  z-index: 60;
  pointer-events: none;
}
.w-ticker__item {
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  box-shadow: 0 14px 36px -14px var(--purple-glow), 0 0 0 1px rgba(141,197,14,0.18);
  animation: fadeUp 0.3s ease;
  min-width: 240px;
}
.w-ticker__icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--purple-veil); border: 1px solid var(--line-bright);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--purple-soft);
}
.w-ticker__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.w-ticker__field { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; }
.w-ticker__value { font-size: 12.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }

/* ---------- W13: PROGRESS RADIAL (mounts in header) ---------- */
.w-radial {
  display: inline-flex; align-items: center; gap: 12px;
}
.w-radial__ring {
  position: relative; width: 44px; height: 44px;
}
.w-radial__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.w-radial__ring circle { fill: transparent; }
.w-radial__ring .track { stroke: rgba(18,18,20,0.08); stroke-width: 4; }
.w-radial__ring .fill {
  stroke: url(#radialGradient);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.4s ease;
  filter: drop-shadow(0 0 4px var(--purple-glow));
}
.w-radial__pct {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; color: var(--ink);
}
.w-radial__l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-3); }
.w-radial__l b { color: var(--ink); }

/* ---------- W14: REVIEW JOURNEY ---------- */
.w-journey {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(18,18,20,0.022), transparent 60%),
    var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.w-journey__h { font-family: var(--serif); font-size: 22px; margin: 0 0 22px; color: var(--ink); }
.w-journey__track {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.w-journey__rail {
  position: absolute;
  top: 22px; left: 22px; right: 22px;
  height: 2px;
  background: rgba(18,18,20,0.06);
  border-radius: 2px;
  z-index: 0;
}
.w-journey__rail-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-soft));
  box-shadow: 0 0 10px var(--purple-glow);
  border-radius: 2px;
  transition: width 0.7s ease;
}
.w-journey__step {
  position: relative;
  display: grid; gap: 8px;
  padding: 0 8px;
  z-index: 1;
}
.w-journey__node {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  font-family: var(--mono); font-size: 12px;
  margin-bottom: 8px;
}
.w-journey__step--active .w-journey__node {
  background: var(--chrome-soft);
  border-color: rgba(255,255,255,0.5);
  color: #1A1726;
  box-shadow: 0 0 0 3px var(--purple-veil), 0 0 24px -4px var(--purple-glow);
  animation: softPulse 2.4s ease-in-out infinite;
}
.w-journey__step--done .w-journey__node {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  border-color: var(--purple-soft);
  color: white;
}
.w-journey__k { font-family: var(--serif); font-size: 17px; margin: 0; color: var(--ink); line-height: 1.1; }
.w-journey__b { color: var(--ink-3); font-size: 12.5px; margin: 0; }

/* ---------- W15: SUBMISSION ID CARD ---------- */
.w-idcard {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  background:
    radial-gradient(80% 60% at 0 0, rgba(141,197,14,0.18), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(61,82,217,0.16), transparent 60%),
    linear-gradient(180deg, rgba(18,18,20,0.04), transparent 70%),
    var(--surface);
  border: 1px solid var(--line-bright);
  box-shadow: var(--shadow-purple), 0 30px 80px -32px rgba(0,0,0,0.7);
  overflow: hidden;
  isolation: isolate;
}
.w-idcard::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(18,18,20,0.04) 50%, transparent 60%);
  background-size: 220% 100%;
  background-position: -120% 0;
  animation: glowSweep 6s ease-in-out infinite;
  pointer-events: none;
}
.w-idcard__hd {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.w-idcard__ref { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--purple-soft); }
.w-idcard__stamp {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--chrome-soft);
  color: #1A1726;
  border: 1px solid rgba(255,255,255,0.4);
}
.w-idcard__name { font-family: var(--serif); font-size: 28px; margin: 0; color: var(--ink); }
.w-idcard__sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); margin-top: 4px; }
.w-idcard__rows {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
}
.w-idcard__row dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; }
.w-idcard__row dd { margin: 4px 0 0; font-family: var(--serif); font-size: 18px; color: var(--ink); }

/* ---------- W17: AI MEMO CONFIDENCE RADIAL ---------- */
.w-aimemo { display: grid; gap: 14px; }
.w-aimemo__hd { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.w-aimemo__hd .kicker { color: var(--purple-soft); }
.w-aimemo__confidence {
  position: relative; width: 64px; height: 64px;
}
.w-aimemo__confidence svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.w-aimemo__confidence circle { fill: transparent; stroke-linecap: round; }
.w-aimemo__confidence .track { stroke: rgba(18,18,20,0.08); stroke-width: 6; }
.w-aimemo__confidence .fill {
  stroke: url(#aimemoGrad);
  stroke-width: 6;
  filter: drop-shadow(0 0 6px var(--purple-glow));
}
.w-aimemo__confidence__pct {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; color: var(--ink);
}
.w-aimemo__memo {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0;
}
.w-aimemo__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.w-aimemo__sub-h {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); margin: 14px 0 8px;
}
.w-aimemo__list { padding-left: 18px; margin: 0; color: var(--ink-2); font-size: 13px; }
.w-aimemo__list li { margin-bottom: 6px; }


/* ============================ landing.css ============================ */
/* =====================================================================
   LANDING (supplier capacity onboarding page)
   ===================================================================== */

.landing { max-width: var(--maxw); margin: 0 auto; padding: 24px 32px 80px; }

/* ---------- HERO — map centerpiece, headline & "What is IDN?" overlaid ---------- */
.hero {
  position: relative;
  isolation: isolate;
  max-width: 1040px; margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 22px;
}
.hero__orbs { position: absolute; inset: -40px; z-index: -1; pointer-events: none; }
.hero__orbs .orb { width: 320px; height: 320px; }
.hero__orbs .orb--purple { top: -60px; right: 8%; opacity: 0.36; }
.hero__orbs .orb--violet { bottom: -100px; left: 0; opacity: 0.34; }

/* the stage — map fills it, text overlays it */
.hero__stage {
  position: relative; width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 18%, rgba(141,197,14,0.10), transparent 62%),
    linear-gradient(180deg, rgba(18,18,20,0.02), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-card);
}
.hero__stage-map { position: relative; }
.hero__stage-map .w-map { border-radius: 0; }

/* "What is IDN?" pill — overlaid at the top-right of the map, clear of its filter chips */
.hero__whatis {
  position: absolute; top: 14px; right: 14px;
  z-index: 3; background: var(--surface-glass); backdrop-filter: blur(8px);
}

/* headline + kicker — overlaid in the centre, on a soft white scrim */
.hero__stage-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 6% 8%;
  background: radial-gradient(58% 60% at 50% 52%, rgba(255,255,255,0.66) 0%, rgba(255,255,255,0.22) 50%, transparent 80%);
  pointer-events: none;
}
.hero__stage-overlay .kicker { pointer-events: auto; }
.hero__h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 1.0; letter-spacing: -0.035em;
  margin: 0; text-wrap: balance; color: var(--ink);
  max-width: 18ch;
  text-shadow: 0 1px 18px rgba(255,255,255,0.9), 0 1px 3px rgba(255,255,255,0.9);
}
.hero__h1 em { font-style: normal; color: var(--purple-soft); }

/* below the stage — CTAs + trust, centred */
.hero__below { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero__lede { max-width: 60ch; color: var(--ink-2); font-size: 16px; line-height: 1.55; margin: 0; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 3px var(--purple-veil); }

/* ---------- LANDING SECTION HEADS ---------- */
.section {
  padding: 56px 0;
  position: relative;
}
.section__rule {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line-2);
  padding: 14px 0 28px;
  margin-bottom: 16px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.section__head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: end; margin-bottom: 36px; }
.section__head p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }

/* ---------- HOW IT WORKS / VALUE GRID ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
  gap: 0;
}
.step {
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: 0; }
.step__n {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--purple-soft);
  margin-bottom: 14px;
}
.step__k {
  font-family: var(--serif); font-size: 22px;
  margin: 0 0 10px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.step__b { font-size: 14px; color: var(--ink-3); line-height: 1.5; margin: 0; }

/* ---------- CTA STRIP ---------- */
.cta-strip {
  margin-top: 56px;
  padding: 48px 40px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 100% at 100% 50%, rgba(141,197,14,0.22) 0%, transparent 56%),
    linear-gradient(180deg, rgba(18,18,20,0.03), rgba(255,255,255,0) 60%),
    var(--surface);
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  box-shadow: var(--shadow-card);
}
.cta-strip__h { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; margin: 0; }

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 80px;
  padding: 40px 0 24px;
  border-top: 1px solid var(--line-2);
  color: var(--ink-3);
  display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =====================================================================
   SECTION FLOW
   ===================================================================== */
html { scroll-snap-type: none; scroll-padding-top: 58px; scroll-behavior: auto; }
.landing { padding-top: 0; padding-bottom: 0; }

.landing > .hero, .landing > .section, .landing > .cta-strip {
  scroll-snap-align: none;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: 62px; padding-bottom: 40px;
  box-sizing: border-box;
}
.cta-strip { margin-top: 0; }
.landing > .footer { scroll-snap-align: none; margin-top: 0; }

/* hero — centred, map centrepiece, fits one viewport */
.landing > .hero { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 18px; padding-bottom: 0; gap: 14px; }
.hero__orbs { display: none; }
/* map flush under the sticky nav; sized to fill remaining viewport height with CTAs visible */
.hero__stage { width: min(1040px, calc((100dvh - 170px) * 16 / 9)); max-width: 100%; }
.hero__stage-map .w-map { aspect-ratio: 16 / 9; }

@media (max-width: 900px) {
  .hero { gap: 16px; }
  .hero__stage { max-width: 100%; }
}

/* =====================================================================
   SECTION WASHES — bright lime-green on the LEFT, slate-blue on the
   TOP-RIGHT of every section (matches the homepage).
   ===================================================================== */
.hero,
.landing > .section,
.cta-strip {
  background:
    radial-gradient(42% 52% at -2% 102%, rgba(194,240,76,0.24), transparent 60%),
    radial-gradient(48% 46% at 102% -2%, rgba(61,82,217,0.20), transparent 62%);
}



/* ============================ form.css ============================ */
/* =====================================================================
   FORM PAGE — capacity registration
   ===================================================================== */

.form-page { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- FORM HEADER ---------- */
.formhdr {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 12px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.formhdr__l, .formhdr__r { display: flex; align-items: center; gap: 14px; }
.formhdr__c { display: flex; justify-content: center; }
.formhdr__progress {
  display: flex; align-items: center; gap: 14px;
  min-width: 260px; max-width: 520px; width: 100%;
}
.formhdr__bar {
  position: relative;
  flex: 1; height: 4px;
  background: rgba(18,18,20,0.06);
  border-radius: 999px; overflow: hidden;
}
.formhdr__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-soft));
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  border-radius: 999px;
  box-shadow: 0 0 12px var(--purple-glow);
  transition: width 0.4s ease;
}
.formhdr__pct { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); white-space: nowrap; }
.formhdr__pct b { color: var(--ink); }
.formhdr__saved {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: var(--ink-3);
}
.formhdr__saved .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-glow), 0 0 14px var(--mint);
  animation: softPulse 2.4s ease-in-out infinite;
}

/* metallic voice button */
.formhdr__voice {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(18,18,20,0.04);
  border: 1px solid var(--line-3);
  font-size: 12.5px;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.formhdr__voice::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(141,197,14,0.34) 50%, transparent 65%);
  background-size: 220% 100%;
  background-position: -120% 0;
  animation: glowSweep 4.2s ease-in-out infinite;
}
.formhdr__voice:hover { background: rgba(141,197,14,0.10); border-color: var(--purple-soft); }
.formhdr__voice svg { color: var(--purple-soft); }

/* ---------- LAYOUT ---------- */
.form-shell {
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1fr 380px;
  min-height: 0;
}
.form-page--voice-collapsed .form-shell { grid-template-columns: 280px 1fr; }

/* ---------- RAIL ---------- */
.rail {
  position: sticky; top: calc(var(--nav-h) + 8px);
  align-self: start;
  height: calc(100vh - var(--nav-h) - 8px);
  overflow-y: auto;
  padding: 32px 24px 24px 32px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,17,26,0.5) 0%, transparent 100%);
}
.rail__hd { font-family: var(--serif); font-size: 20px; margin: 0 0 4px; color: var(--ink); }
.rail__sub {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--ink-3); margin-bottom: 26px;
}
.rail__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.rail__item {
  width: 100%;
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left; color: var(--ink-2);
  font-size: 14px;
  position: relative;
}
.rail__item:hover { background: rgba(18,18,20,0.03); color: var(--ink); }
.rail__item--active {
  background: linear-gradient(90deg, var(--purple-veil), transparent 80%);
  color: var(--ink);
}
.rail__item--active::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--purple), var(--purple-deep));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--purple-glow);
}
.rail__bullet {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em;
  background: rgba(18,18,20,0.03);
  border: 1px solid var(--line-2);
  color: var(--ink-3);
}
.rail__bullet--partial {
  border-color: var(--purple-soft);
  color: var(--purple-soft);
}
.rail__bullet--done {
  background: var(--chrome-soft);
  border-color: rgba(255,255,255,0.5);
  color: #1A1726;
  font-size: 11px;
}
.rail__mins { font-family: var(--mono); font-size: 10px; color: var(--ink-4); }
.rail__hint {
  margin-top: 26px;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(18,18,20,0.025);
}
.rail__hint-hd {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--purple-soft); margin-bottom: 8px;
}
.rail__hint p { margin: 0 0 12px; font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }

/* ---------- MAIN ---------- */
.form-main {
  padding: 36px 56px 0;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}
.form-page--voice-collapsed .form-main { padding-right: 80px; }

.form-intro { padding: 24px 0 56px; }
.form-intro__kicker { margin-bottom: 18px; }
.form-intro__h {
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 18px;
  text-wrap: balance;
  color: var(--ink);
}
.form-intro__h em {
  font-style: italic;
  background: linear-gradient(110deg, var(--purple-soft), white 50%, var(--purple-soft));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s linear infinite;
}
.form-intro__lede { color: var(--ink-2); font-size: 16px; max-width: 60ch; }

/* ---------- SECTION ---------- */
.fsec {
  margin: 0 0 24px;
  padding: 28px 32px 36px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(18,18,20,0.022), rgba(255,255,255,0) 60%),
    var(--surface);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 90px;
}
.fsec--active { border-color: var(--line-bright); box-shadow: var(--shadow-purple), var(--shadow-card); }
.fsec__hd {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.fsec__n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--purple-soft); }
.fsec__h { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.015em; margin: 0; }
.fsec__mins { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-3); }
.fsec__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

/* ---------- FIELDS GRID ---------- */
.grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__lbl {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-weight: 500;
  display: flex; align-items: baseline; gap: 8px;
}
.field__req { color: var(--purple-soft); }
.field__hint { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.field__ai {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.06em;
  color: var(--purple-soft);
}
.field--ai-flash {
  animation: aiPulse 1.4s ease-out;
}
@keyframes aiPulse {
  0%   { box-shadow: 0 0 0 0 var(--purple-glow); }
  40%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.fallbacks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.fallback {
  padding: 5px 10px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 11.5px;
}
.fallback:hover { color: var(--ink); border-color: var(--line-3); }
.fallback--on { color: var(--purple-soft); border-color: var(--line-bright); background: var(--purple-veil); }

/* ---------- READINESS STAGE CARDS ---------- */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 4px; }
.stage {
  position: relative;
  padding: 16px 14px 14px;
  text-align: left;
  background: rgba(18,18,20,0.025);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  display: grid; gap: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.stage:hover { transform: translateY(-2px); border-color: var(--line-3); }
.stage--on {
  border-color: var(--purple-soft);
  background:
    linear-gradient(180deg, rgba(141,197,14,0.10), transparent 60%),
    rgba(18,18,20,0.04);
  box-shadow: 0 0 0 1px var(--purple-soft), 0 18px 30px -16px var(--purple-glow);
}
.stage__n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink-3); }
.stage__k { font-family: var(--serif); font-size: 17px; line-height: 1.1; color: var(--ink); }
.stage__b { font-size: 11.5px; color: var(--ink-3); line-height: 1.4; }
.stage__check {
  position: absolute; top: 12px; right: 12px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--chrome-soft);
  color: #1A1726;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
}
.stage--on .stage__check { opacity: 1; transform: scale(1); }

/* ---------- DOC UPLOAD ---------- */
.docs { display: grid; gap: 18px; }
.doc-upload {
  position: relative;
  padding: 56px 32px;
  border: 1px dashed var(--line-3);
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(141,197,14,0.10) 0%, transparent 60%),
    rgba(18,18,20,0.02);
  display: grid; gap: 14px; justify-items: center;
  transition: all 0.2s ease;
}
.doc-upload--drag {
  border-color: var(--purple-soft);
  background:
    radial-gradient(70% 70% at 50% 30%, rgba(141,197,14,0.22) 0%, transparent 60%),
    rgba(141,197,14,0.06);
  box-shadow: 0 0 0 1px var(--purple-soft), 0 0 60px -10px var(--purple-glow);
}
.doc-upload__icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--purple-veil);
  color: var(--purple-soft);
  border: 1px solid var(--line-bright);
  box-shadow: 0 0 0 8px rgba(141,197,14,0.06);
}
.doc-upload__title { font-family: var(--serif); font-size: 26px; margin: 0; color: var(--ink); }
.doc-upload__copy { color: var(--ink-2); margin: 0; max-width: 56ch; font-size: 14px; line-height: 1.55; }
.doc-upload__hint {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--ink-4); text-transform: uppercase;
}

.doc-list {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(18,18,20,0.018);
  overflow: hidden;
}
.doc-list__hd {
  display: flex; justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.doc-list__row {
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center;
  padding: 12px 14px; border-top: 1px solid var(--line);
}
.doc-list__hd + .doc-list__row { border-top: 0; }
.doc-list__name { font-size: 13.5px; color: var(--ink); }
.doc-list__meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.doc-list__status {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 4px;
  background: var(--purple-veil); color: var(--purple-soft);
  border: 1px solid var(--line-bright);
}

/* ---------- PREFILL REVIEW ---------- */
.prefill {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  margin-bottom: 22px;
}
.prefill__top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.prefill__k { font-family: var(--serif); font-size: 20px; margin: 0 0 6px; color: var(--ink); }
.prefill__top p { margin: 0; color: var(--ink-3); font-size: 13px; line-height: 1.5; max-width: 52ch; }
.prefill__stats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.prefill__items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.prefill-card {
  border: 1px solid var(--line-2);
  background: rgba(18,18,20,0.025);
  border-radius: var(--radius);
  padding: 14px;
}
.prefill-card--conflict { border-color: rgba(244,184,96,0.35); background: rgba(244,184,96,0.06); }
.prefill-card__hd { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-soft); }
.prefill-card__field { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.prefill-card__value { margin-top: 4px; color: var(--ink); font-weight: 500; font-size: 14px; }
.prefill-card__evidence { margin-top: 8px; color: var(--ink-3); font-size: 11.5px; line-height: 1.45; }
.prefill-card__actions { display: flex; gap: 8px; margin-top: 12px; }

/* ---------- REVIEW ---------- */
.review { display: grid; gap: 16px; }
.rcard {
  border: 1px solid var(--line-2);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.rcard__hd { font-family: var(--serif); font-size: 18px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.rcard__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0; }
.rcard__row { display: contents; }
.rcard__row dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); align-self: center; }
.rcard__row dd { margin: 0; font-size: 13.5px; color: var(--ink); }
.rcard__row dd .none { color: var(--ink-4); font-style: italic; }

.review__submit {
  margin-top: 18px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background:
    radial-gradient(60% 100% at 100% 50%, rgba(141,197,14,0.22) 0%, transparent 60%),
    linear-gradient(180deg, rgba(18,18,20,0.04), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-bright);
  box-shadow: var(--shadow-purple), var(--shadow-card);
}
.review__pct-num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink); }
.review__pct-l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-3); }
.review__legal { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; max-width: 50ch; }

/* ---------- THANK YOU ---------- */
.thanks { max-width: 980px; margin: 0 auto; padding: 80px 32px 60px; }
.thanks__h { font-family: var(--serif); font-size: clamp(46px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.022em; margin: 0 0 18px; text-wrap: balance; color: var(--ink); }
.thanks__h em { font-style: italic; background: linear-gradient(110deg, var(--purple-soft), white 50%, var(--purple-soft)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 8s linear infinite; }
.thanks__lede { color: var(--ink-2); font-size: 17px; max-width: 60ch; margin: 0 0 36px; }

.thanks__actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }


/* ============================ admin.css ============================ */
/* =====================================================================
   ADMIN PORTAL
   ===================================================================== */

.admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--bg);
}

.admin-side {
  position: sticky; top: 0; height: 100vh;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,17,26,0.7) 0%, var(--bg-2) 100%);
  display: flex; flex-direction: column; gap: 18px;
}
.admin-brand { display: flex; align-items: center; gap: 8px; padding: 4px 6px; }
.admin-brand__sub {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--purple-soft);
}
.admin-nav { display: grid; gap: 4px; }
.admin-nav button {
  text-align: left;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid transparent;
}
.admin-nav button:hover { background: rgba(18,18,20,0.04); color: var(--ink); }
.admin-nav button.is-active {
  background: var(--purple-veil);
  color: var(--ink);
  border-color: var(--line-bright);
}
.admin-side__divider { height: 1px; background: var(--line-2); margin: 4px 0; }
.admin-logout {
  margin-top: auto;
  padding: 9px 12px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
  background: rgba(18,18,20,0.02);
  text-align: left;
}

.admin-main { padding: 28px 32px 48px; min-width: 0; }
.admin-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: 24px;
}
.admin-head h1 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); margin: 4px 0 0; letter-spacing: -0.015em; color: var(--ink); }
.admin-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--purple-soft); }

.admin-metrics {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px;
  margin-bottom: 16px;
}
.admin-metric {
  padding: 14px 14px 16px;
  background:
    linear-gradient(180deg, rgba(18,18,20,0.025), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.admin-metric > span {
  display: block;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
}
.admin-metric > b {
  display: block;
  margin-top: 8px;
  font-family: var(--serif); font-weight: 400;
  font-size: 30px; line-height: 1; color: var(--ink);
}
.admin-metric--accent {
  border-color: var(--line-bright);
  background:
    radial-gradient(80% 100% at 0 0, var(--purple-veil), transparent 60%),
    var(--surface);
}
.admin-metric--accent > b { color: var(--purple-soft); }

.admin-filters {
  display: grid; grid-template-columns: 2fr repeat(4, minmax(150px, 1fr)); gap: 10px;
  margin-bottom: 14px;
}

.admin-table-wrap {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: auto;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; }
.admin-table th {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); white-space: nowrap;
  background: rgba(18,18,20,0.02);
}
.admin-table tbody tr { cursor: pointer; transition: background 0.12s ease; }
.admin-table tbody tr:hover { background: rgba(141,197,14,0.05); }
.admin-table tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--purple); }
.admin-table td b { color: var(--ink); }
.admin-table td span.sub { display: block; margin-top: 3px; color: var(--ink-3); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; }
.admin-table--compact td { padding: 10px 12px; }

/* status pills */
.admin-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  background: rgba(18,18,20,0.025);
  color: var(--ink-2);
  white-space: nowrap;
}
.admin-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.admin-pill--purple { background: var(--purple-veil); border-color: var(--line-bright); color: var(--purple-soft); }
.admin-pill--purple::before { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.admin-pill--amber { background: rgba(244,184,96,0.08); border-color: rgba(244,184,96,0.3); color: var(--amber); }
.admin-pill--amber::before { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.admin-pill--mint { background: rgba(61,82,217,0.06); border-color: rgba(61,82,217,0.3); color: var(--mint); }
.admin-pill--mint::before { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.admin-pill--rose { background: rgba(255,122,162,0.06); border-color: rgba(255,122,162,0.3); color: var(--rose); }
.admin-pill--rose::before { background: var(--rose); box-shadow: 0 0 8px var(--rose); }

.admin-panels {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px;
  margin-top: 18px;
}
.admin-panel {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 16px;
}
.admin-panel__hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.admin-panel__hd h3 { font-family: var(--serif); font-size: 18px; margin: 0; color: var(--ink); }
.admin-list-row, .admin-note { padding: 10px 0; border-top: 1px solid var(--line); }
.admin-list-row b, .admin-note b { display: block; color: var(--ink); }
.admin-list-row span, .admin-note p { color: var(--ink-3); margin: 3px 0 0; font-size: 12.5px; }

@media (max-width: 980px) {
  .admin-page { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-metrics, .admin-filters, .admin-panels { grid-template-columns: 1fr; }
}


/* ============================ home.css ============================ */
/* =====================================================================
   NEEVCLOUD IDN HOMEPAGE  (idn.neevcloud.com)
   Layout on top of tokens.css + base.css — same theme as supplier site.
   ===================================================================== */

.idn { max-width: var(--maxw); margin: 0 auto; padding: 24px 32px 40px; }

/* ---------- HERO ---------- */
.idn-hero { position: relative; padding: 40px 0 24px; isolation: isolate; }
.idn-hero__orbs { position: absolute; inset: -60px; z-index: -1; pointer-events: none; }
.idn-hero__orbs .orb { width: 340px; height: 340px; }
.idn-hero__orbs .orb--purple { top: -80px; right: 6%; opacity: 0.34; }
.idn-hero__orbs .orb--violet { top: 120px; left: -40px; opacity: 0.30; }

.idn-hero__head {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 48px; align-items: end;
  padding-bottom: 28px;
}
.idn-hero__h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 5.5vw, 88px);
  line-height: 0.95; letter-spacing: -0.04em;
  margin: 10px 0 6px;
  color: var(--ink);
}
.idn-hero__h1 em {
  font-style: normal;
  color: var(--purple-soft);
}
.idn-hero__sub {
  font-family: var(--sans); font-style: normal;
  font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3;
  color: var(--ink-2); margin: 0 0 18px; max-width: 30ch;
}
.idn-hero__lede { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; margin: 0; max-width: 52ch; }
.idn-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.idn-hero__stats {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--line-2);
}
.idn-hero__stats li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px;
  align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.idn-hero__stat-v { font-size: 34px; line-height: 1; color: var(--ink); grid-row: span 2; }
.idn-hero__stat-k { font-size: 13.5px; color: var(--ink-2); align-self: end; }
.idn-hero__stat-n { font-size: 10px; color: var(--ink-3); letter-spacing: 0.06em; align-self: start; }

/* ---------- HERO MAP SHELL ---------- */
.idn-hero__map {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 60% at 16% 12%, rgba(141,197,14,0.10) 0%, transparent 60%),
    linear-gradient(180deg, rgba(18,18,20,0.025), rgba(255,255,255,0) 60%),
    var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.idn-hero__map-hd, .idn-hero__map-ft {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 18px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.idn-hero__map-ft { border-top: 1px solid var(--line); border-bottom: 0; text-transform: none; letter-spacing: 0.04em; }

/* ---------- THE MAP ---------- */
.idn-map { display: grid; grid-template-rows: auto 1fr; }
.idn-map__filters {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.idn-filter { display: grid; gap: 7px; }
.idn-filter--toggle { display: flex; align-items: flex-end; gap: 8px; margin-left: auto; }
.idn-filter__label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.idn-filter__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.idn-chip {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em;
  padding: 6px 11px; border-radius: 999px;
  color: var(--ink-3);
  background: rgba(18,18,20,0.025);
  border: 1px solid var(--line-2);
  transition: all 0.15s ease; white-space: nowrap;
}
.idn-chip:hover { color: var(--ink); border-color: var(--line-3); }
.idn-chip--on { background: var(--purple-veil); border-color: var(--line-bright); color: var(--purple-soft); }

.idn-map__stage { position: relative; aspect-ratio: 2 / 1; min-height: 360px; }
.idn-map__base {
  position: absolute; inset: 4% 3%;
  width: 94%; height: 92%;
  object-fit: contain;
  opacity: 0.5;
  filter: brightness(0) opacity(0.10);
  pointer-events: none;
}
.idn-map__arcs { position: absolute; inset: 4% 3%; width: 94%; height: 92%; overflow: visible; pointer-events: none; }
.idn-arc {
  fill: none;
  stroke: var(--purple-soft);
  stroke-width: 1.1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 3 5;
  opacity: 0.55;
  animation: idnDash 1.6s linear infinite;
  filter: drop-shadow(0 0 4px var(--purple-glow));
}
@keyframes idnDash { to { stroke-dashoffset: -16; } }

.idn-map__overlay { position: absolute; inset: 4% 3%; width: 94%; height: 92%; overflow: visible; }

/* demand markets */
.idn-demand { position: absolute; transform: translate(-50%, -50%); width: 16px; height: 16px; pointer-events: none; }
.idn-demand__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--mint);
  box-shadow: 0 0 12px var(--mint-glow);
}
.idn-demand::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--mint); opacity: 0.6;
  animation: pulseRing 2.8s ease-out infinite;
}

/* supply nodes */
.idn-node {
  position: absolute; transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%;
  transition: opacity 0.3s ease;
}
.idn-node__dot {
  position: absolute; inset: 3px; border-radius: 50%;
  background: var(--purple); box-shadow: 0 0 0 2px rgba(141,197,14,0.55), 0 0 14px var(--purple);
  transition: transform 0.2s ease;
}
.idn-node__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--purple-soft);
  animation: pulseRing 2.6s ease-out infinite;
}
.idn-node--t1 .idn-node__dot { background: #121214; box-shadow: 0 0 0 2px rgba(18,18,20,0.55), 0 0 16px rgba(18,18,20,0.7); }
.idn-node--t1 .idn-node__pulse { border-color: #121214; }
.idn-node--t2 .idn-node__dot { background: var(--purple-soft); }
.idn-node--t3 .idn-node__dot { background: var(--amber); box-shadow: 0 0 0 2px rgba(244,184,96,0.5), 0 0 14px var(--amber); }
.idn-node--t3 .idn-node__pulse { border-color: var(--amber); }
.idn-node--liquid::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed rgba(141,197,14,0.5);
}
.idn-node:hover .idn-node__dot { transform: scale(1.25); }
.idn-node--active .idn-node__dot { transform: scale(1.45); }
.idn-node--active::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid var(--line-bright);
}

/* legend / count / detail */
.idn-map__legend {
  position: absolute; bottom: 14px; left: 18px;
  display: flex; flex-wrap: wrap; gap: 14px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.05em;
  color: var(--ink-3); pointer-events: none;
}
.idn-map__legend span { display: inline-flex; align-items: center; gap: 6px; }
.idn-map__legend i { width: 8px; height: 8px; border-radius: 50%; }
.idn-map__legend i.t1 { background: #121214; box-shadow: 0 0 8px rgba(18,18,20,0.6); }
.idn-map__legend i.t2 { background: var(--purple-soft); box-shadow: 0 0 8px var(--purple); }
.idn-map__legend i.t3 { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.idn-map__legend i.dem { background: transparent; border: 1.5px solid var(--mint); box-shadow: 0 0 8px var(--mint-glow); }

.idn-map__count {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--ink-3);
  background: var(--surface-glass);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 12px; backdrop-filter: blur(8px);
}
.idn-map__count strong { color: var(--ink); font-weight: 600; }

.idn-map__detail {
  position: absolute; right: 18px; bottom: 44px; width: 260px;
  background: var(--surface-glass);
  border: 1px solid var(--line-3); border-radius: var(--radius);
  padding: 16px; backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card); animation: riseIn 0.25s ease;
}
.idn-map__detail--dim { opacity: 0.6; }
.idn-map__detail__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.idn-map__detail__country { font-family: var(--mono); font-size: 10px; color: var(--purple-soft); letter-spacing: 0.08em; text-transform: uppercase; }
.idn-map__detail h4 { font-size: 18px; margin: 0 0 12px; color: var(--ink); }
.idn-map__detail__rows { display: grid; gap: 7px; font-size: 12.5px; color: var(--ink); }
.idn-map__detail__rows div { display: flex; justify-content: space-between; gap: 12px; }
.idn-map__detail__rows span { color: var(--ink-3); font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
.idn-map__detail__hidden { margin-top: 12px; font-family: var(--mono); font-size: 9.5px; color: var(--amber); letter-spacing: 0.06em; }

.idn-tierbadge { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; padding: 3px 7px; border-radius: 4px; text-transform: uppercase; }
.idn-tierbadge--t1 { color: #FFFFFF; background: #121214; }
.idn-tierbadge--t2 { color: var(--purple-soft); background: var(--purple-veil); border: 1px solid var(--line-bright); }
.idn-tierbadge--t3 { color: var(--amber); background: rgba(244,184,96,0.10); border: 1px solid rgba(244,184,96,0.3); }

/* =====================================================================
   SECTIONS (reuse .section / .section__rule / .section__head from landing.css —
   but those live in landing.css which we DON'T load here, so re-declare.)
   ===================================================================== */
.section { padding: 64px 0; position: relative; }
.section__rule {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line-2);
  padding: 14px 0 28px; margin-bottom: 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
}
.section__head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: end; margin-bottom: 40px; }
.section__head p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }

/* ---------- AUDIENCE SWITCHER ---------- */
.aud { border-top: 1px solid var(--line-2); }
.aud__tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line-2); }
.aud__tab {
  flex: 1; padding: 18px 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.aud__tab:hover { color: var(--ink-2); }
.aud__tab--on { color: var(--ink); border-bottom-color: var(--purple); }
.aud__panel { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; padding: 40px 0 8px; animation: riseIn 0.3s ease; }
.aud__copy { display: grid; gap: 18px; align-content: start; }
.aud__h { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.06; margin: 0; color: var(--ink); max-width: 18ch; }
.aud__b { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 54ch; }
.aud__panel .btn { justify-self: start; }
.aud__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.aud__points li {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 14.5px; line-height: 1.45;
}
.aud__pt-n { font-family: var(--mono); font-size: 10.5px; color: var(--purple-soft); letter-spacing: 0.08em; }

/* ---------- PIPELINE ---------- */
.pipe { border-top: 1px solid var(--line-2); }
.pipe__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.pipe__track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 38px; height: 1px;
  background: var(--line-2);
}
.pipe__step {
  display: grid; gap: 10px; justify-items: start;
  padding: 24px 20px 24px 0; text-align: left; position: relative;
  border-right: 1px solid var(--line);
}
.pipe__step:last-child { border-right: 0; }
.pipe__node { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-3); display: grid; place-items: center; z-index: 1; }
.pipe__node-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); transition: all 0.2s ease; }
.pipe__step--on .pipe__node { border-color: var(--purple); box-shadow: 0 0 0 4px var(--purple-veil); }
.pipe__step--on .pipe__node-dot { background: var(--purple); box-shadow: 0 0 10px var(--purple); }
.pipe__step--done .pipe__node-dot { background: var(--purple-soft); }
.pipe__n { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--ink-4); }
.pipe__step--on .pipe__n { color: var(--purple-soft); }
.pipe__k { font-family: var(--serif); font-size: 19px; line-height: 1.1; color: var(--ink-3); letter-spacing: -0.01em; }
.pipe__step--on .pipe__k, .pipe__step:hover .pipe__k { color: var(--ink); }
.pipe__side { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }

.pipe__detail {
  margin-top: 8px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 28px; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18,18,20,0.025), rgba(255,255,255,0) 60%), var(--surface);
  animation: riseIn 0.25s ease;
}
.pipe__detail__n { font-size: 56px; line-height: 0.9; color: var(--purple-soft); opacity: 0.8; }
.pipe__detail__k { font-size: 26px; margin: 0 0 6px; color: var(--ink); }
.pipe__detail__b { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 70ch; }
.pipe__detail__nav { display: flex; gap: 8px; }

/* ---------- CAPACITY TYPES ---------- */
.captypes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.captype { padding: 24px; display: grid; gap: 12px; align-content: start; }
.captype__n { color: var(--purple-soft); font-size: 11px; letter-spacing: 0.12em; }
.captype__k { font-size: 22px; line-height: 1.1; color: var(--ink); margin: 0; }
.captype__b { margin: 0; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
.captype__spec { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.captype__spec .tag { white-space: nowrap; }

/* ---------- COMMERCIAL ROUTES ---------- */
.routes { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; border-top: 1px solid var(--line-2); padding-top: 4px; }
.routes__list { display: grid; align-content: start; }
.routes__item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 20px 4px; text-align: left; border-bottom: 1px solid var(--line);
  color: var(--ink-3); transition: color 0.15s ease;
}
.routes__item:hover { color: var(--ink-2); }
.routes__item-n { font-size: 11px; color: var(--ink-4); letter-spacing: 0.08em; }
.routes__item-k { font-family: var(--serif); font-size: 20px; color: inherit; letter-spacing: -0.01em; }
.routes__item-ar { opacity: 0; transition: opacity 0.15s ease, transform 0.15s ease; transform: translateX(-4px); color: var(--purple-soft); }
.routes__item--on { color: var(--ink); }
.routes__item--on .routes__item-n { color: var(--purple-soft); }
.routes__item--on .routes__item-ar, .routes__item:hover .routes__item-ar { opacity: 1; transform: translateX(0); }
.routes__detail { padding: 32px; display: grid; gap: 14px; align-content: center; animation: riseIn 0.25s ease; }
.routes__detail-k { font-size: 30px; margin: 0; color: var(--ink); }
.routes__detail-b { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.routes__detail-ft { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); margin-top: 6px; }

/* ---------- IDN CTA BAND ---------- */
.idn-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.idn-cta--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.idn-cta__card {
  padding: 40px; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  display: grid; gap: 14px; align-content: start;
  background: linear-gradient(180deg, rgba(18,18,20,0.03), rgba(255,255,255,0) 60%), var(--surface);
  box-shadow: var(--shadow-card);
}
.idn-cta__card--demand { background: radial-gradient(90% 100% at 0% 0%, rgba(61,82,217,0.10) 0%, transparent 55%), linear-gradient(180deg, rgba(18,18,20,0.03), transparent 60%), var(--surface); }
.idn-cta__card--supply { background: radial-gradient(90% 100% at 100% 0%, rgba(141,197,14,0.16) 0%, transparent 55%), linear-gradient(180deg, rgba(18,18,20,0.03), transparent 60%), var(--surface); }
.idn-cta__h { font-size: clamp(26px, 3vw, 38px); line-height: 1.05; margin: 0; color: var(--ink); }
.idn-cta__b { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 40ch; }
.idn-cta__card .btn { justify-self: start; }

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 72px; padding: 36px 0 24px;
  border-top: 1px solid var(--line-2); color: var(--ink-3);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .idn-hero__head { grid-template-columns: 1fr; gap: 32px; }
  .idn-hero__stats { grid-template-columns: repeat(2, 1fr); column-gap: 24px; border-top: 0; }
  .section__head, .aud__panel, .routes { grid-template-columns: 1fr; gap: 28px; }
  .captypes { grid-template-columns: repeat(2, 1fr); }
  .pipe__track { grid-template-columns: 1fr; }
  .pipe__track::before { display: none; }
  .pipe__step { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .pipe__detail { grid-template-columns: 1fr; gap: 16px; }
  .idn-cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .idn { padding: 16px 18px 32px; }
  .captypes { grid-template-columns: 1fr; }
  .idn-map__filters { gap: 12px; }
  .idn-map__detail { display: none; }
}

/* transform-only entrance — content stays visible even if animation never ticks */
@keyframes riseIn { from { transform: translateY(8px); } to { transform: translateY(0); } }

/* =====================================================================
   SECTION FLOW
   ===================================================================== */
html { scroll-snap-type: none; scroll-padding-top: 58px; scroll-behavior: auto; }
.idn { padding-top: 0; padding-bottom: 0; }

.idn-hero, .idn > .section, .idn > .idn-cta {
  scroll-snap-align: none;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: 62px; padding-bottom: 40px;
  box-sizing: border-box;
}
.idn-hero { justify-content: center; }
.idn > .section { padding-left: 0; padding-right: 0; }
.footer { scroll-snap-align: none; }

/* tighten section overhead so content fits one viewport */
.idn > .section { padding-top: 58px; padding-bottom: 30px; }
.section__rule { padding: 12px 0 18px; margin-bottom: 8px; }
.section__head { margin-bottom: 22px; gap: 40px; }
/* pipeline — the tallest section */
.pipe__step { padding: 16px 16px 16px 0; gap: 8px; }
.pipe__k { font-size: 16px; }
.pipe__detail { padding: 20px; gap: 22px; margin-top: 4px; }
.pipe__detail__n { font-size: 42px; }
.pipe__detail__k { font-size: 20px; }
.pipe__detail__b { font-size: 14px; }
/* audience switcher */
.aud__tab { padding: 14px 8px; }
.aud__panel { padding: 26px 0 0; gap: 44px; }
.aud__h { font-size: clamp(24px, 2.6vw, 34px); }
.aud__b { font-size: 14.5px; }
.aud__points li { padding: 13px 0; font-size: 13.5px; }
/* routes + capacity */
.routes__detail { padding: 26px; }
.routes__item { padding: 16px 4px; }
.captype { padding: 20px; }

/* hero → two columns so it fits one viewport */
.idn-hero__orbs { display: none; }
.idn-hero {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px; align-items: center; align-content: center;
}
.idn-hero__head { grid-template-columns: 1fr; gap: 18px; padding: 0; align-content: center; }
.idn-hero__h1 { font-size: clamp(40px, 4vw, 74px); margin: 8px 0 0; }
.idn-hero__sub { max-width: 34ch; }
.idn-hero__lede { max-width: 48ch; }
.idn-hero__stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: start;
  gap: 0 22px; border-top: 1px solid var(--line-2); margin-top: 10px;
}
.idn-hero__stats li { display: grid; grid-template-columns: 1fr; gap: 4px; border-bottom: 0; padding: 14px 0 0; align-content: start; justify-items: center; text-align: center; }
.idn-hero__stat-v {
  font-size: 30px; grid-row: auto; line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: 3px; color: var(--ink);
}
.idn-hero__stat-u { font-size: 15px; font-family: var(--mono); color: var(--purple-soft); letter-spacing: 0.01em; }
.idn-hero__stat-k { font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.idn-hero__stat-n { display: none; }

.idn-hero__map { display: flex; flex-direction: column; min-height: 0; max-height: 74dvh; }
.idn-hero__map-hd, .idn-hero__map-ft { flex: 0 0 auto; }
.idn-hero__map .idn-map { flex: 1 1 auto; min-height: 0; display: grid; grid-template-rows: auto 1fr; }

/* ---------- HERO GLOBE (replaces boxed atlas) ---------- */
.idn-hero__globe-wrap {
  width: min(100%, 72dvh);
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.idn-hero__globe {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
}
.idn-globe { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.idn-globe canvas { display: block; width: 100% !important; height: 100% !important; }
.idn-hero__map .idn-map__stage { min-height: 220px; aspect-ratio: auto; }
.idn-hero__map .idn-map__filters { flex-direction: column; flex-wrap: nowrap; gap: 6px; padding: 9px 14px; }
.idn-hero__map .idn-filter { display: flex; align-items: baseline; gap: 10px; }
.idn-hero__map .idn-filter__label { width: 52px; flex: 0 0 52px; font-size: 8.5px; }
.idn-hero__map .idn-filter__chips { flex: 1; }
.idn-hero__map .idn-filter--toggle { margin-left: 0; }
.idn-hero__map .idn-chip { font-size: 9.5px; padding: 4px 8px; }

@media (max-width: 900px) {
  .idn-hero { grid-template-columns: 1fr; gap: 22px; }
  .idn-hero__map { max-height: 54dvh; }
  .idn-hero__globe-wrap { max-width: 440px; justify-self: center; }
}

/* =====================================================================
   LIGHT-GREEN + LIGHT-BLUE ACCENT RESTORATION (homepage)
   Green = supply / capacity · Blue = demand. Brings the page back from
   near-monochrome so colour decisions can be judged in context.
   ===================================================================== */

/* kicker eyebrows — always a visible glowing dot */
.idn .kicker .dot, .idn-hero .kicker .dot {
  background: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-veil), 0 0 12px var(--purple-glow);
}
.idn .kicker--mint .dot { background: var(--mint); box-shadow: 0 0 0 3px var(--mint-glow), 0 0 12px var(--mint-glow); }
.idn .kicker--amber .dot { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-glow), 0 0 12px var(--amber-glow); }

/* capacity spec tags → light green */
.idn .captype__spec .tag { color: var(--purple-soft); border-color: var(--line-bright); background: var(--purple-veil); }

/* commercial-route footer note → light green */
.idn .routes__detail-ft { color: var(--purple-soft); }

/* section eyebrows: left label tinted (alt green / blue), right meta muted */
.idn .section__rule > span:first-child { color: var(--purple-soft); }
.idn #how .section__rule > span:first-child,
.idn #routes .section__rule > span:first-child { color: var(--mint); }

/* soft washes — bright LIME on the BOTTOM-LEFT, INDIGO on the TOP-RIGHT
   of every section */
.idn-hero,
.idn .section,
.idn .idn-cta {
  background:
    radial-gradient(42% 52% at -2% 102%, rgba(194,240,76,0.24), transparent 60%),
    radial-gradient(48% 46% at 102% -2%, rgba(61,82,217,0.20), transparent 62%);
}

/* dual CTA — demand card carries the blue accent */
.idn-cta__card--demand .kicker .dot { background: var(--mint); box-shadow: 0 0 0 3px var(--mint-glow), 0 0 12px var(--mint-glow); }

/* pipeline side tags carry a hint of accent */
.idn .pipe__step--on .pipe__side { color: var(--purple-soft); }

/* demand compute selector */
.demand-page {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 112px 0 56px;
}

.demand-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.45fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.demand-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.demand-hero p {
  max-width: 700px;
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
}

.demand-progress {
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.demand-progress span {
  position: relative;
  z-index: 2;
  display: block;
  color: var(--ink-2);
  font: 600 11px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.demand-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, rgba(61,82,217,0.16), rgba(61,82,217,0.38));
  transition: width 180ms ease;
}

.demand-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.demand-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.demand-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}

.demand-card__head span {
  color: var(--purple-soft);
  font-size: 12px;
}

.demand-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.demand-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.demand-option {
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: rgba(255,255,255,0.58);
  color: var(--ink-2);
  font: 600 12px/1.2 var(--sans);
  min-height: 48px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
}

.demand-option:hover,
.demand-option--on {
  border-color: rgba(61,82,217,0.55);
  color: var(--ink);
  background: rgba(61,82,217,0.10);
  box-shadow: 0 0 0 3px rgba(61,82,217,0.08);
}

.demand-form {
  margin-top: 18px;
  padding: 24px;
}

.demand-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.demand-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font: 600 12px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.demand-form__wide {
  grid-column: 1 / -1;
}

.demand-form textarea.input {
  min-height: 110px;
  resize: vertical;
}

.demand-upload {
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: rgba(255,255,255,0.46);
}

.demand-upload input {
  font: 500 13px/1.3 var(--sans);
}

.demand-upload small {
  color: var(--ink-3);
  font: 500 12px/1.4 var(--sans);
  text-transform: none;
  letter-spacing: 0;
}

.demand-submit {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 28px 0 10px;
}

.demand-submit h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.demand-submit p {
  margin: 0;
  color: var(--ink-3);
}

.demand-submit__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .demand-page {
    width: min(100vw - 24px, 680px);
    padding-top: 92px;
  }
  .demand-hero,
  .demand-selector,
  .demand-form__grid {
    grid-template-columns: 1fr;
  }
  .demand-options {
    grid-template-columns: 1fr;
  }
  .demand-submit {
    align-items: flex-start;
    flex-direction: column;
  }
  .demand-submit__actions {
    justify-content: flex-start;
  }
}

/* portal auth and submissions */
.auth-main {
  width: min(1080px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 88px 0 64px;
}

.auth-card,
.submissions-head,
.submission-list {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(18,18,20,0.025), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

.auth-card {
  padding: clamp(22px, 4vw, 40px);
}

.auth-card--mount {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(300px, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.auth-card h1,
.submissions-head h1 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
}

.auth-card p,
.submissions-head p,
.submission-row p {
  margin: 0;
  color: var(--ink-2);
}

.auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.clerk-mount {
  min-height: 420px;
}

.mock-account {
  display: grid;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.58);
}

.mock-account span {
  color: var(--ink-3);
}

.auth-page--demand .kicker .dot {
  background: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-glow), 0 0 14px var(--mint);
}

.submissions-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: clamp(22px, 4vw, 36px);
  margin-bottom: 16px;
}

.submission-list {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.submission-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.submission-row:last-child {
  border-bottom: 0;
}

.submission-row h2 {
  margin: 8px 0 4px;
  font-size: 19px;
  line-height: 1.2;
}

@media (max-width: 760px) {
  .auth-main {
    width: min(100vw - 24px, 680px);
    padding-top: 58px;
  }

  .auth-card--mount,
  .submissions-head,
  .submission-row {
    grid-template-columns: 1fr;
  }

  .submissions-head {
    align-items: start;
  }

  .submission-row .btn {
    justify-self: start;
  }
}

/* ============================ ds.css ============================ */
/* =====================================================================
   DESIGN SYSTEM DOC — chrome / layout only.
   Component + token rendering uses the real tokens.css + base.css.
   ===================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }

.ds { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 0; max-width: 1280px; margin: 0 auto; }

/* ---------- sidebar ---------- */
.ds-nav { position: sticky; top: 0; align-self: start; height: 100dvh; overflow-y: auto; padding: 32px 22px; border-right: 1px solid var(--line-2); }
.ds-brand { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.ds-brand b { font-family: var(--mono); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.ds-brand span { font-family: var(--mono); font-size: 11px; color: var(--purple-soft); letter-spacing: 0.12em; }
.ds-nav__tag { font-family: var(--mono); font-size: 10px; color: var(--ink-4); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 26px; }
.ds-nav__group { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); margin: 22px 0 8px; }
.ds-nav a { display: block; font-size: 13px; color: var(--ink-2); text-decoration: none; padding: 5px 0; border-left: 2px solid transparent; padding-left: 10px; margin-left: -12px; transition: color 0.15s, border-color 0.15s; }
.ds-nav a:hover { color: var(--ink); border-left-color: var(--purple); }

/* ---------- content ---------- */
.ds-main { padding: 56px clamp(28px, 5vw, 72px) 120px; min-width: 0; }
.ds-hero { border-bottom: 1px solid var(--line-2); padding-bottom: 40px; margin-bottom: 8px; position: relative; isolation: isolate; }
.ds-hero::before { content: ""; position: absolute; inset: -56px -72px 0; z-index: -1; background: radial-gradient(40% 70% at 0% 100%, rgba(194,240,76,0.22), transparent 60%), radial-gradient(42% 80% at 100% 0%, rgba(61,82,217,0.16), transparent 62%); }
.ds-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-soft); margin: 0 0 16px; }
.ds-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 3px var(--purple-veil), 0 0 10px var(--purple-glow); }
.ds-h1 { font-family: var(--mono); font-weight: 500; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.0; letter-spacing: -0.03em; margin: 0 0 18px; }
.ds-h1 em { font-style: normal; color: var(--purple-soft); }
.ds-lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 64ch; margin: 0; }

.ds-sec { padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.ds-sec__n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-soft); margin: 0 0 10px; }
.ds-sec h2 { font-family: var(--mono); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; }
.ds-sec__intro { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; margin: 0 0 32px; }
.ds-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

/* principles */
.ds-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ds-principle { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 22px; background: var(--bg); }
.ds-principle .n { font-family: var(--mono); font-size: 11px; color: var(--purple-soft); letter-spacing: 0.1em; }
.ds-principle h3 { font-family: var(--mono); font-weight: 500; font-size: 17px; margin: 8px 0 6px; letter-spacing: -0.01em; }
.ds-principle p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* swatches */
.ds-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ds-sw { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.ds-sw__chip { height: 72px; display: block; }
.ds-sw__meta { padding: 10px 12px; }
.ds-sw__name { font-family: var(--mono); font-size: 11.5px; color: var(--ink); margin: 0 0 3px; }
.ds-sw__hex { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; }
.ds-sw__var { font-family: var(--mono); font-size: 10px; color: var(--ink-4); }

/* token table */
.ds-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ds-table th { text-align: left; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--line-2); }
.ds-table td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ds-table td.mono, .ds-table .swcell code { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.ds-table .swdot { width: 28px; height: 18px; border-radius: 4px; border: 1px solid var(--line-2); display: inline-block; vertical-align: middle; }

/* type specimens */
.ds-type-row { display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ds-type-row .label { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.06em; }
.ds-type-row .spec { font-family: var(--mono); font-size: 10px; color: var(--ink-4); margin-top: 4px; }

/* component demos */
.ds-demo { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 28px; background:
    radial-gradient(60% 100% at 100% 0%, rgba(61,82,217,0.05), transparent 60%),
    var(--bg); margin-bottom: 14px; }
.ds-demo__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ds-demo__cap { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 14px; }
.ds-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* do / dont */
.ds-dd { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ds-dd__card { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; }
.ds-dd__card h4 { font-family: var(--mono); font-size: 12px; margin: 0 0 10px; letter-spacing: 0.04em; display: flex; align-items: center; gap: 8px; }
.ds-dd__do h4 { color: var(--purple-soft); }
.ds-dd__do { border-color: var(--line-bright); }
.ds-dd__dont h4 { color: var(--rose); }
.ds-dd__card ul { margin: 0; padding-left: 18px; }
.ds-dd__card li { font-size: 13px; line-height: 1.6; color: var(--ink-2); margin-bottom: 4px; }

/* globe embed */
.ds-globe { width: 100%; max-width: 360px; aspect-ratio: 1/1; margin: 8px auto 0; position: relative; }
.ds-globe > div { position: absolute; inset: 0; }

.ds-note { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); line-height: 1.6; border-left: 2px solid var(--purple); padding: 4px 0 4px 14px; margin: 18px 0 0; }

@media (max-width: 860px) {
  .ds { grid-template-columns: 1fr; }
  .ds-nav { display: none; }
  .ds-principles, .ds-grid2, .ds-dd { grid-template-columns: 1fr; }
}

/* Runtime integration tweaks for the backend-wired app. */
.hero__whatis {
  top: 58px;
  z-index: 8;
}

.doc__error,
.review__error,
.admin-error {
  color: var(--rose);
}

@media (max-width: 760px) {
  .topnav__inner {
    grid-template-columns: auto auto;
    padding: 14px 18px;
  }

  .topnav__links,
  .brand__sep,
  .brand__sub {
    display: none;
  }

  .topnav__actions {
    justify-content: end;
  }

  .topnav__actions .btn--ghost {
    display: none;
  }
}

/* Runtime behavior overrides. The imported design system used viewport snap
   sections, but the production site should scroll normally on every viewport. */
html {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

.landing > .hero,
.landing > .section,
.landing > .cta-strip,
.landing > .footer,
.idn-hero,
.idn > .section,
.idn > .idn-cta,
.footer {
  scroll-snap-align: none !important;
}

.landing > .section,
.landing > .cta-strip,
.idn > .section,
.idn > .idn-cta {
  min-height: 0;
}

@media (min-width: 761px) {
  .landing > .hero,
  .landing > .section,
  .landing > .cta-strip,
  .idn-hero,
  .idn > .section,
  .idn > .idn-cta {
    min-height: 100dvh;
    box-sizing: border-box;
  }

  .landing > .section,
  .landing > .cta-strip,
  .idn > .section,
  .idn > .idn-cta {
    padding-top: clamp(62px, 8dvh, 92px);
    padding-bottom: clamp(46px, 7dvh, 78px);
    justify-content: center;
  }

  .step__k {
    min-height: 2.24em;
  }
}

.idn-hero__globe {
  position: relative;
}

.idn-globe--fallback {
  position: relative;
  aspect-ratio: auto;
}

.idn-globe--fallback .idn-map {
  min-height: 360px;
}

@media (max-width: 760px) {
  .landing {
    padding-inline: 18px;
  }

  .landing > .hero {
    min-height: 0;
    padding-top: 18px;
    gap: 18px;
  }

  .hero__stage {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .hero__stage-overlay {
    position: relative;
    inset: auto;
    order: 1;
    padding: 26px 18px 18px;
    background: transparent;
    pointer-events: auto;
  }

  .hero__stage-map {
    order: 2;
    width: 100%;
  }

  .hero__stage-map .w-map {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
      radial-gradient(80% 70% at 50% 18%, rgba(141,197,14,0.10), transparent 62%),
      linear-gradient(180deg, rgba(18,18,20,0.02), transparent 60%),
      var(--surface);
    box-shadow: var(--shadow-card);
  }

  .hero__stage-map .w-map__node {
    width: 11px;
    height: 11px;
  }

  .hero__stage-map .w-map__node-dot {
    inset: 2.5px;
  }

  .hero__stage-map .w-map__node--liquid::after {
    inset: -4px;
  }

  .hero__whatis {
    position: relative;
    order: 3;
    top: auto;
    right: auto;
    align-self: center;
    margin: 10px 0 16px;
  }

  .hero__h1 {
    max-width: 12ch;
    font-size: clamp(34px, 11vw, 48px);
  }

  .idn-hero {
    min-height: 0;
    padding-top: 28px;
  }

  .idn-hero__globe-wrap {
    width: min(100%, 420px);
    margin-inline: auto;
  }
}
