/* howitworks.css · v5.4.17 — premium documentation page
 *
 * Goals:
 *   · Visual hierarchy that competes with Linear / Stripe docs, not Wikipedia
 *   · Every section has its own visual treatment — never a wall of text
 *   · Cards, gradients, glow, depth — but readable on any monitor
 *   · Match the EYE brand (gold + dark + cinzel) without cosplaying a casino
 */

body.hiw-body { background: var(--bg); }

/* the canonical 2-col main grid is wrong for a docs page — flow vertical */
body.hiw-body main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ════════════════════ HERO ════════════════════ */
.hiw-hero {
  position: relative;
  margin-top: 28px;
  padding: 56px 48px 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(212,175,55,0.13), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(99,102,241,0.10), transparent 60%),
    linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
}
.hiw-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 280px at 50% 26%, rgba(244,213,110,0.10), transparent 70%);
}
.hiw-hero-content {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.hiw-brand-mark {
  width: 360px; max-width: 100%;
  margin-bottom: 26px;
  filter: drop-shadow(0 0 30px rgba(244,213,110,0.25));
  animation: hiwEyePulse 6s ease-in-out infinite;
}
.hiw-brand-mark svg { width: 100%; height: auto; display: block; }
@keyframes hiwEyePulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(244,213,110,0.25)); }
  50%      { filter: drop-shadow(0 0 50px rgba(244,213,110,0.45)); }
}
.hiw-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold);
  padding: 4px 12px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(244,213,110,0.25);
  border-radius: 100px;
  margin-bottom: 18px;
}
.hiw-title {
  font-family: 'Inter', sans-serif;
  font-size: 42px; font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 auto 16px;
  max-width: 24ch;
  color: var(--text);
  background: linear-gradient(180deg, var(--text) 0%, rgba(244,213,110,0.95) 200%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hiw-subtitle {
  font-size: 15px; line-height: 1.7;
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0 auto;
}
.hiw-hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid rgba(244,213,110,0.12);
  position: relative;
  z-index: 1;
  text-align: center;
}
.hiw-stat { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.hiw-stat { display: flex; flex-direction: column; gap: 4px; }
.hiw-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 42px; font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #F4D56E 0%, #9C7A1E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hiw-stat-num small { font-size: 20px; opacity: 0.75; }
.hiw-stat-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 1.2px;
  color: var(--muted);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hiw-hero { padding: 40px 24px 32px; }
  .hiw-brand-mark { width: 260px; }
  .hiw-title { font-size: 30px; }
  .hiw-hero-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ════════════════════ ARCHITECTURE SVG WRAPPER ════════════════════ */
.hiw-arch {
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  position: relative;
}
.hiw-arch::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(212,175,55,0.20), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.hiw-arch svg { width: 100%; height: auto; display: block; }
.hiw-arch-tight { padding: 14px 16px; }

/* ════════════════════ SECTION SHELL ════════════════════ */
.hiw-section { margin: 64px 0; }
.hiw-section-head { margin-bottom: 28px; max-width: 70ch; }
.hiw-section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gold);
  padding: 2px 8px;
  background: rgba(212,175,55,0.08);
  border-radius: 4px;
  margin-bottom: 10px;
}
.hiw-section-head h2 {
  font-family: 'Inter', sans-serif;
  font-size: 28px; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.3px;
  margin: 0 0 8px;
  color: var(--text);
}
.hiw-section-head p {
  font-size: 14px; line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* (Old .hiw-flow card row deprecated in favor of SVG diagram in .hiw-arch) */

/* ════════════════════ TRUTH GRID (data sources) ════════════════════ */
.hiw-truth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hiw-truth-card {
  position: relative;
  padding: 22px 22px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  overflow: hidden;
}
.hiw-truth-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0;
  height: 3px;
  background: var(--accent, var(--gold));
}
.hiw-truth-blue { --accent: linear-gradient(90deg, #6F8DFF, #4F6FE5); }
.hiw-truth-green { --accent: linear-gradient(90deg, #5FD39A, #3ECF8E); }
.hiw-truth-gray { --accent: linear-gradient(90deg, #6B7080, #4A4F60); opacity: 0.85; }

.hiw-truth-cadence {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px; font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  line-height: 1;
}
.hiw-truth-cadence small {
  font-size: 12px; color: var(--muted);
  font-weight: 400;
}
.hiw-truth-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}
.hiw-truth-card p {
  font-size: 13px; line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 12px;
}
.hiw-truth-feeds {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.hiw-feed-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(244,213,110,0.10);
  color: var(--gold);
  border: 1px solid rgba(244,213,110,0.20);
}
.hiw-feed-chip.muted {
  background: rgba(154,146,194,0.06);
  color: var(--muted);
  border-color: rgba(154,146,194,0.15);
}

@media (max-width: 900px) {
  .hiw-truth-grid { grid-template-columns: 1fr; }
}

/* ════════════════════ STRATEGIES ════════════════════ */
.hiw-strat-group { margin-bottom: 24px; }
.hiw-strat-group-head {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 14px;
  background: rgba(18,18,42,0.50);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.hiw-strat-group-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}
.hiw-strat-group-weight {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text);
  background: rgba(244,213,110,0.10);
  padding: 2px 8px;
  border-radius: 4px;
}
.hiw-strat-group-count {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}
.hiw-strat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.hiw-strat-card {
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(18,18,42,0.5) 0%, rgba(11,11,22,0.5) 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform 120ms ease, border-color 120ms ease;
}
.hiw-strat-card:hover {
  transform: translateY(-1px);
  border-color: rgba(244,213,110,0.35);
}
.hiw-strat-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  color: var(--text);
}
.hiw-strat-h {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.5px;
  padding: 1px 6px;
  border-radius: 3px;
  align-self: flex-start;
  text-transform: uppercase;
}
.hiw-h-5m  { color: #6F8DFF; background: rgba(111,141,255,0.10); border: 1px solid rgba(111,141,255,0.25); }
.hiw-h-30m { color: #F4D56E; background: rgba(244,213,110,0.10); border: 1px solid rgba(244,213,110,0.25); }
.hiw-h-1h  { color: #5FD39A; background: rgba(95,211,154,0.10); border: 1px solid rgba(95,211,154,0.25); }
.hiw-strat-desc {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.4;
}
.hiw-strat-feature { border-color: rgba(244,213,110,0.25); }
.hiw-strat-micro { background: linear-gradient(180deg, rgba(99,102,241,0.06) 0%, rgba(11,11,22,0.5) 100%); }
.hiw-strat-feat { background: linear-gradient(180deg, rgba(212,175,55,0.04) 0%, rgba(11,11,22,0.5) 100%); }

/* ════════════════════ MECH GRID (adaptive layers) ════════════════════ */
.hiw-mech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.hiw-mech {
  position: relative;
  padding: 22px 24px 24px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.hiw-mech-num {
  position: absolute; top: 16px; right: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  color: var(--gold);
  opacity: 0.4;
  letter-spacing: 1px;
}
.hiw-mech h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.hiw-mech p {
  font-size: 13px; line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 12px;
}
.hiw-mech-formula {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gold);
  background: rgba(244,213,110,0.04);
  border-left: 2px solid var(--gold-2);
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.hiw-mech-formula small { font-size: 9px; vertical-align: sub; opacity: 0.7; }
.hiw-mech-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.hiw-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 4px;
  background: rgba(154,146,194,0.06);
  color: var(--text-dim);
  border-left: 2px solid var(--muted);
}
.hiw-tier b { color: var(--text); margin-right: 6px; }
.hiw-tier-up   { border-left-color: #5FD39A; color: #5FD39A; }
.hiw-tier-up b { color: #5FD39A; }
.hiw-tier-down { border-left-color: #E5484D; color: #E5484D; }
.hiw-tier-down b { color: #E5484D; }
.hiw-tier-mute { color: var(--muted); }

/* flip viz */
.hiw-flip-viz {
  display: flex; align-items: center; gap: 14px;
  margin-top: 8px;
}
.hiw-flip-side {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11,11,22,0.4);
}
.hiw-flip-side span:first-child { font-size: 22px; font-weight: 700; }
.hiw-flip-side span:last-child {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--muted); letter-spacing: 0.5px;
}
.hiw-flip-arrow.up   { color: #5FD39A; }
.hiw-flip-arrow.down { color: #E5484D; }
.hiw-flip-arrow-mid {
  font-size: 22px; color: var(--gold);
  font-weight: 700;
}

/* hysteresis bar */
.hiw-hyst-bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}
.hiw-hyst-zone {
  padding: 10px 6px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.5px;
}
.hiw-hyst-flipped { background: rgba(229,72,77,0.15); color: #E5484D; }
.hiw-hyst-neutral { background: rgba(154,146,194,0.08); color: var(--muted); }
.hiw-hyst-active  { background: rgba(95,211,154,0.10); color: #5FD39A; }
.hiw-hyst-marks {
  position: relative;
  height: 22px; margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--muted);
}
.hiw-hyst-marks span {
  position: absolute; transform: translateX(-50%);
}

/* breaker viz */
.hiw-breaker {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.hiw-breaker-good, .hiw-breaker-bad {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid;
}
.hiw-breaker-good {
  color: #5FD39A;
  background: rgba(95,211,154,0.10);
  border-color: rgba(95,211,154,0.30);
}
.hiw-breaker-bad {
  color: #E5484D;
  background: rgba(229,72,77,0.10);
  border-color: rgba(229,72,77,0.30);
}
.hiw-breaker-arrow { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .hiw-mech-grid { grid-template-columns: 1fr; }
  .hiw-mech-tiers { grid-template-columns: 1fr; }
}

/* ════════════════════ PLANS ════════════════════ */
.hiw-plans {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.hiw-plan {
  position: relative;
  padding: 16px 14px 14px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform 150ms ease, border-color 150ms ease;
  border-top: 3px solid var(--plan, var(--gold));
}
.hiw-plan:hover {
  transform: translateY(-2px);
  border-color: var(--plan, var(--gold));
}
.hiw-plan-id {
  font-family: 'Inter', sans-serif;
  font-size: 22px; font-weight: 800;
  line-height: 1;
  color: var(--plan, var(--gold));
}
.hiw-plan-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  color: var(--text);
  margin-top: 2px;
}
.hiw-plan-hyp {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 6px;
}
.hiw-sizing-note {
  margin-top: 18px;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 20px;
  background: rgba(244,213,110,0.04);
  border: 1px solid rgba(244,213,110,0.20);
  border-radius: 10px;
}
.hiw-sizing-icon { font-size: 24px; }
.hiw-sizing-note h4 {
  font-size: 13px; font-weight: 700;
  margin: 0 0 4px; color: var(--gold);
}
.hiw-sizing-note p {
  font-size: 13px; line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}

@media (max-width: 1100px) { .hiw-plans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .hiw-plans { grid-template-columns: repeat(2, 1fr); } }

/* ════════════════════ LIFECYCLE ════════════════════ */
.hiw-lifecycle {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}
.hiw-life-state {
  padding: 16px 18px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  display: flex; flex-direction: column; gap: 4px;
}
.hiw-life-state b {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}
.hiw-life-state span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}
.hiw-life-new { border-color: var(--muted); }
.hiw-life-bootstrap { border-color: rgba(244,213,110,0.40); }
.hiw-life-bootstrap b { color: var(--gold); }
.hiw-life-normal { border-color: rgba(95,211,154,0.40); }
.hiw-life-normal b { color: #5FD39A; }
.hiw-life-paused { grid-column: 1 / -1; border-color: rgba(229,72,77,0.40); }
.hiw-life-paused b { color: #E5484D; }
.hiw-life-arrow {
  font-size: 18px; color: var(--gold);
  text-align: center;
}
.hiw-life-arrow::before { content: "→"; }
.hiw-life-arrow-down { grid-column: 1 / -1; }
.hiw-life-arrow-down::before { content: ""; }
.hiw-life-arrow-up {
  grid-column: 1 / -1;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--muted);
}
.hiw-life-arrow-up::before { content: ""; }

@media (max-width: 900px) {
  .hiw-lifecycle { grid-template-columns: 1fr; }
  .hiw-life-arrow { transform: rotate(90deg); }
}

/* ════════════════════ FUNNEL (why no trade) ════════════════════ */
.hiw-funnel {
  display: flex; flex-direction: column; gap: 4px;
  max-width: 700px; margin: 0 auto;
}
.hiw-funnel-step {
  display: grid;
  grid-template-columns: 32px 200px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 150ms ease;
}
.hiw-funnel-step:hover { border-color: rgba(244,213,110,0.30); }
.hiw-funnel-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 700;
  color: var(--gold);
  text-align: center;
  width: 32px; height: 32px;
  line-height: 32px;
  background: rgba(244,213,110,0.08);
  border: 1px solid rgba(244,213,110,0.20);
  border-radius: 50%;
}
.hiw-funnel-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  color: var(--text);
}
.hiw-funnel-desc {
  font-size: 12px;
  color: var(--text-dim);
}
.hiw-funnel-success {
  border-color: rgba(95,211,154,0.40);
  background: linear-gradient(180deg, rgba(95,211,154,0.06) 0%, var(--bg-2) 100%);
}
.hiw-funnel-success .hiw-funnel-num {
  color: #5FD39A;
  background: rgba(95,211,154,0.10);
  border-color: rgba(95,211,154,0.30);
}
.hiw-funnel-success .hiw-funnel-name { color: #5FD39A; }

@media (max-width: 700px) {
  .hiw-funnel-step { grid-template-columns: 32px 1fr; }
  .hiw-funnel-desc { grid-column: 2; margin-top: 2px; }
}

/* ════════════════════ TIMELINE ════════════════════ */
.hiw-timeline {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.hiw-tl {
  position: relative;
  padding: 16px 18px 14px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  border-left: 3px solid var(--gold-2);
  transition: transform 150ms ease, border-color 150ms ease;
}
.hiw-tl:hover { transform: translateY(-2px); border-left-color: var(--gold); }
.hiw-tl-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(244,213,110,0.10);
  color: var(--gold);
  border: 1px solid rgba(244,213,110,0.20);
  margin-bottom: 8px;
}
.hiw-tl h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
}
.hiw-tl p {
  font-size: 12px; line-height: 1.5;
  color: var(--text-dim);
  margin: 0;
}

/* ════════════════════ GLOSSARY ════════════════════ */
.hiw-glossary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hiw-glossary article {
  padding: 14px 16px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.hiw-glossary h5 {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.hiw-glossary p {
  font-size: 12px; line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}
.hiw-glossary p b { color: var(--text); }
.hiw-glossary .mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: rgba(99,102,241,0.06);
  padding: 1px 4px;
  border-radius: 3px;
  color: var(--text);
}

@media (max-width: 900px) { .hiw-glossary { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hiw-glossary { grid-template-columns: 1fr; } }

/* shared mono helper */
.hiw-section .mono,
.hiw-flow-card .mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: rgba(99,102,241,0.06);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--text);
}
