:root {
  --bg: #050a08;
  --bg-2: #081410;
  --glass: rgba(255,255,255,0.035);
  --glass-strong: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text: #eef7f1;
  --text-muted: #8fa89b;
  --text-dim: #5d7568;
  --brand: #38e08a;
  --brand-2: #1fc2a0;
  --brand-soft: rgba(56, 224, 138, 0.14);
  --amber: #ffb84d;
  --amber-soft: rgba(255, 184, 77, 0.14);
  --red: #ff6b6b;
  --red-soft: rgba(255, 107, 107, 0.12);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
  --sans: -apple-system, "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
}

/* Klyroo's dark, black-and-green identity is deliberate and fixed —
   this site does not follow OS/browser light-mode preference. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; position: relative;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
section { position: relative; }
code { font-family: var(--mono); }

h1, h2, h3, h4 {
  font-family: var(--sans); font-weight: 800; letter-spacing: -0.03em;
  text-wrap: balance; margin: 0; color: var(--text);
}
.grad-text {
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 60%, var(--brand) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--border-strong); border-radius: 100px; background: var(--glass);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px 2px var(--brand); }

/* ---------- Ambient glow background ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.glow-1 { width: 560px; height: 560px; background: radial-gradient(circle, var(--brand-soft), transparent 70%); top: -180px; right: -120px; }
.glow-2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(31,194,160,0.18), transparent 70%); top: 260px; left: -160px; }
.glow-3 { width: 500px; height: 500px; background: radial-gradient(circle, var(--brand-soft), transparent 70%); bottom: -200px; right: 10%; }
@media (prefers-reduced-motion: no-preference) {
  .glow { animation: drift 22s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(24px,-18px) scale(1.06); } }
}

.grid-overlay {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, black, transparent 85%);
  mask-image: linear-gradient(180deg, black, transparent 85%);
}

/* ---------- NAV ---------- */
nav.topnav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--sans); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(155deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 22px -2px var(--brand);
  display: flex; align-items: center; justify-content: center; color: #04120b; font-size: 15px; font-weight: 900;
}
.navlinks { display: flex; gap: 28px; font-size: 14.5px; color: var(--text-muted); font-weight: 500; }
.navlinks a { transition: color .15s; }
.navlinks a:hover { color: var(--text); }
.navcta { display: flex; gap: 12px; align-items: center; }
@media (max-width: 980px) { .navlinks { display: none; } }

.btn {
  font-family: var(--sans); font-size: 14.5px; font-weight: 700;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: all .18s;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #04140c; box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 8px 24px -6px rgba(56,224,138,0.55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 12px 32px -6px rgba(56,224,138,0.7); }
.btn-ghost { background: var(--glass); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand); background: var(--glass-strong); }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }

/* ---------- HERO ---------- */
.hero { padding: 120px 0 90px; text-align: center; }
.hero .wrap { max-width: 880px; }
.hero h1 { font-size: clamp(38px, 6vw, 74px); line-height: 1.04; }
.hero p.lede { font-size: 19px; color: var(--text-muted); margin: 26px auto 36px; max-width: 56ch; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--text-dim); font-family: var(--mono); }

/* ---------- Dashboard mock (hero visual) ---------- */
.dash-frame {
  margin: 64px auto 0; max-width: 1040px; text-align: left;
  border-radius: var(--radius); border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset, 0 40px 100px -30px rgba(0,0,0,0.6), 0 0 80px -30px var(--brand-soft);
  overflow: hidden;
}
.dash-chrome { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--glass); }
.dash-chrome span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.dash-chrome .url { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-dim); }

.dash-shell { display: grid; grid-template-columns: 168px 1fr; min-height: 420px; }
@media (max-width: 700px) { .dash-shell { grid-template-columns: 1fr; } .dash-sidebar { display: none; } }
.dash-sidebar { border-right: 1px solid var(--border); padding: 18px 10px; background: rgba(0,0,0,0.12); }
.dash-sidebar .sb-server { font-family: var(--mono); font-size: 11.5px; color: var(--text-dim); padding: 0 10px 14px; text-transform: uppercase; letter-spacing: .06em; }
.sb-tab { font-size: 13px; padding: 9px 12px; border-radius: 8px; color: var(--text-muted); margin-bottom: 2px; display: flex; align-items: center; gap: 9px; }
.sb-tab.active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.sb-tab .sb-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; flex-shrink: 0; }

.dash-body { padding: 28px; }
.dash-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; }
@media (max-width: 760px) { .dash-grid { grid-template-columns: 1fr; } }

.panel { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.panel-title { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 14px; display: flex; justify-content: space-between; }

.alert-row { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; padding: 8px 0; color: var(--text-muted); border-bottom: 1px dashed var(--border); }
.alert-row:last-child { border-bottom: none; }
.alert-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px 1px var(--red); flex-shrink: 0; }

.root-cause-card { background: linear-gradient(160deg, var(--brand-soft), transparent); border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); border-radius: var(--radius-sm); padding: 18px; }
.rc-label { font-family: var(--mono); font-size: 11px; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.rc-chain { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.rc-node { background: var(--glass-strong); border: 1px solid var(--border-strong); border-radius: 8px; padding: 8px 13px; font-size: 12.5px; font-weight: 600; }
.rc-node.root { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 16px -4px var(--brand); }
.rc-arrow { color: var(--text-dim); font-family: var(--mono); }
.rc-fix { font-size: 13.5px; color: var(--text-muted); padding-top: 12px; border-top: 1px solid var(--border); }
.rc-fix b { color: var(--text); }

.spark { display: flex; align-items: flex-end; gap: 4px; height: 46px; margin-top: 10px; }
.spark i { flex: 1; background: linear-gradient(180deg, var(--brand), var(--brand-2)); border-radius: 3px 3px 0 0; opacity: .85; }

/* Hero reveal animation — alerts arrive one by one, then resolve into
   the root-cause card. Fully skipped under reduced-motion: everything
   just renders in its final, fully visible state immediately. */
@media (prefers-reduced-motion: no-preference) {
  .anim-alert { opacity: 0; animation: alertIn .5s ease forwards; }
  .anim-alert:nth-child(1) { animation-delay: .3s; }
  .anim-alert:nth-child(2) { animation-delay: .9s; }
  .anim-alert:nth-child(3) { animation-delay: 1.5s; }
  @keyframes alertIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

  .anim-rc { opacity: 0; animation: rcIn .6s ease forwards; animation-delay: 2.2s; }
  @keyframes rcIn {
    0%   { opacity: 0; transform: scale(.96) translateY(6px); }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: scale(1) translateY(0); box-shadow: 0 0 0 0 transparent; }
  }
  .anim-rc .rc-node.root { animation: nodePulse 2.4s ease-in-out 2.8s infinite; }
  @keyframes nodePulse {
    0%, 100% { box-shadow: 0 0 16px -4px var(--brand); }
    50%      { box-shadow: 0 0 26px -2px var(--brand); }
  }
}

/* ---------- STAT STRIP ---------- */
.statstrip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.statstrip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 32px; }
@media (max-width: 760px) { .statstrip .wrap { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--sans); font-weight: 800; font-size: 38px; letter-spacing: -0.02em; }
.stat span { font-size: 13.5px; color: var(--text-muted); }

/* ---------- SECTIONS ---------- */
.sec { padding: 110px 0; }
.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sec-head .eyebrow { display: inline-flex; }
.sec-head-wrap { text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.sec-head p { color: var(--text-muted); font-size: 17px; margin-top: 16px; }

/* ---------- PILLARS GRID ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .2s; display: block;
}
.pillar:hover { border-color: var(--border-strong); background: var(--glass-strong); transform: translateY(-3px); }
.pillar .pic { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; }
.pillar h4 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.pillar p { font-size: 14px; color: var(--text-muted); margin: 0; }
.pillar .pillar-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--brand); font-weight: 700; }

/* ---------- FEATURE DEEP DIVES ---------- */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 100px 0; border-bottom: 1px solid var(--border); }
.feat-row:last-child { border-bottom: none; }
.feat-row.rev .feat-copy { order: 2; }
.feat-row.rev .feat-visual { order: 1; }
@media (max-width: 920px) {
  .feat-row, .feat-row.rev { grid-template-columns: 1fr; gap: 36px; }
  .feat-row.rev .feat-copy, .feat-row.rev .feat-visual { order: unset; }
}
.feat-copy h3 { font-size: 28px; margin-bottom: 16px; line-height: 1.15; }
.feat-copy p.desc { color: var(--text-muted); font-size: 16px; margin-bottom: 22px; }
.feat-copy ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.feat-copy li { font-size: 15px; display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.feat-copy li::before { content: "→"; color: var(--brand); font-family: var(--mono); flex-shrink: 0; font-weight: 700; }
.feat-copy .learn-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-family: var(--mono); font-size: 13px; color: var(--brand); font-weight: 700; border-bottom: 1px solid transparent; }
.feat-copy .learn-more:hover { border-color: var(--brand); }

.glass-card { background: var(--glass); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 24px; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.5); }

.sig-line { font-family: var(--mono); font-size: 12.5px; padding: 10px 12px; border-radius: 8px; background: rgba(0,0,0,0.18); margin-bottom: 10px; color: var(--text-muted); border: 1px solid var(--border); }
.sig-hit { background: var(--red-soft); border: 1px solid color-mix(in srgb, var(--red) 35%, transparent); border-radius: var(--radius-sm); padding: 16px; margin-top: 14px; }
.sig-hit .sh-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--red); margin-bottom: 10px; }
.sig-hit .sh-msg { font-size: 14.5px; margin-bottom: 8px; }
.sig-hit .sh-fix { font-size: 13px; color: var(--text-muted); }
.sig-hit .sh-fix b { color: var(--text); }

.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini-table th { text-align: left; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); padding: 8px; border-bottom: 1px solid var(--border); }
.mini-table td { padding: 11px 8px; border-bottom: 1px solid var(--border); }
.pill { font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 100px; }
.pill-ok { background: var(--brand-soft); color: var(--brand); }
.pill-warn { background: var(--amber-soft); color: var(--amber); }
.pill-bad { background: var(--red-soft); color: var(--red); }

.chat-mock { display: flex; flex-direction: column; gap: 12px; }
.chat-bubble { border-radius: 14px; padding: 13px 16px; font-size: 14px; max-width: 90%; }
.chat-user { background: var(--glass-strong); align-self: flex-end; border: 1px solid var(--border); }
.chat-ai { background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); }
.chat-ai .tool { font-family: var(--mono); font-size: 11px; color: var(--brand); margin-bottom: 7px; }

.term-mock { background: #05100b; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border-strong); }
.term-bar { display: flex; gap: 6px; padding: 12px 14px; background: rgba(255,255,255,0.03); }
.term-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.term-body { padding: 18px; font-family: var(--mono); font-size: 12.5px; color: #a4ecc0; }
.term-body .muted { color: #4f7862; }
.term-body .rec { color: #ff8a8a; }

.integ-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 620px) { .integ-grid { grid-template-columns: repeat(2, 1fr); } }
.integ-chip { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 12px; text-align: center; font-size: 14px; font-weight: 700; transition: all .18s; }
.integ-chip:hover { border-color: var(--brand); background: var(--glass-strong); }

/* ---------- COMPARISON ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.cmp-table { width: 100%; border-collapse: collapse; background: var(--glass); border: 1px solid var(--border-strong); }
.cmp-table th, .cmp-table td { padding: 16px 18px; border-bottom: 1px solid var(--border); font-size: 14.5px; text-align: left; }
.cmp-table th { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); background: var(--glass-strong); }
.cmp-table td.center, .cmp-table th.center { text-align: center; }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-yes { color: var(--brand); font-weight: 700; }
.cmp-no { color: var(--text-dim); }
.cmp-row-us td { background: var(--brand-soft); }

/* ---------- HONESTY ---------- */
.honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .honest-grid { grid-template-columns: 1fr; } }
.honest-card { border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.honest-card.good { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.honest-card.gap { background: var(--glass); }
.honest-card h4 { font-size: 13.5px; font-family: var(--mono); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.honest-card.good h4 { color: var(--brand); }
.honest-card.gap h4 { color: var(--text-dim); }
.honest-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.honest-card li { font-size: 14.5px; padding-left: 24px; position: relative; }
.honest-card.good li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-family: var(--mono); font-weight: 700; }
.honest-card.gap li::before { content: "—"; position: absolute; left: 0; color: var(--text-dim); font-family: var(--mono); }

/* ---------- PRICING ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; position: relative;
}
.price-card.feat {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  background: linear-gradient(160deg, var(--brand-soft), var(--glass) 60%);
  box-shadow: 0 30px 80px -30px rgba(56,224,138,0.25);
}
.price-badge {
  position: absolute; top: -13px; left: 26px; font-family: var(--mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .08em; background: var(--brand); color: #04140c;
  padding: 4px 12px; border-radius: 100px; font-weight: 700;
}
.price-name { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 14px; }
.price-amount { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.price-amount span { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.price-sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 24px; }
.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.price-card li { font-size: 14px; padding-left: 22px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-family: var(--mono); font-weight: 700; }
.price-foot { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 40px; }

/* ---------- CTA ---------- */
.cta-band { padding: 130px 0; text-align: center; overflow: hidden; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 18px; }
.cta-band p { color: var(--text-muted); font-size: 17px; margin-bottom: 34px; }

footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.foot-grid-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
@media (max-width: 860px) { .foot-grid-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .foot-grid-cols { grid-template-columns: 1fr; } }
.foot-col h5 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 16px; font-weight: 700; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-size: 13.5px; color: var(--text-muted); }
.foot-col a:hover { color: var(--text); }
.foot-blurb { font-size: 13.5px; color: var(--text-muted); margin-top: 14px; max-width: 32ch; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.foot-links { display: flex; gap: 28px; font-size: 13.5px; color: var(--text-muted); flex-wrap: wrap; }
.foot-copy { font-size: 13px; color: var(--text-dim); }

/* ================================================================
   MODULE PAGES — individual capability deep-dives under /modules/
   ================================================================ */

.breadcrumb { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); margin-bottom: 28px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--brand); }

.module-hero { padding: 64px 0 80px; text-align: left; }
.module-hero .wrap { max-width: 1000px; }
.module-hero .category-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.module-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; max-width: 18ch; }
.module-hero p.lede { font-size: 18px; color: var(--text-muted); margin: 22px 0 32px; max-width: 62ch; text-align: left; }
.module-hero .hero-ctas { justify-content: flex-start; }

.module-stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.module-stat-row .stat { text-align: left; }
.module-stat-row .stat b { font-size: 30px; }

.section-label { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 14px; font-weight: 700; }

/* Numbered process steps — used only where content is a real, ordered sequence */
.steps { display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { counter-increment: step; font-family: var(--mono); font-size: 15px; font-weight: 800; color: var(--brand); width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; }
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-muted); margin: 0; max-width: 68ch; }
@media (max-width: 600px) { .step { grid-template-columns: 1fr; gap: 12px; } }

/* Alert / signature type reference tables */
.spec-table { width: 100%; border-collapse: collapse; background: var(--glass); border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14px; text-align: left; vertical-align: top; }
.spec-table th { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); background: var(--glass-strong); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table code { font-size: 12.5px; color: var(--brand); background: rgba(0,0,0,0.18); padding: 2px 6px; border-radius: 5px; }
.spec-table td.muted { color: var(--text-muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 22px; transition: all .18s;
}
.related-card:hover { border-color: var(--brand); background: var(--glass-strong); transform: translateY(-2px); }
.related-card .rc-tag { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 8px; }
.related-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.related-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

.prose { font-size: 16px; color: var(--text-muted); max-width: 72ch; }
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--text); }

.callout { border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; font-size: 14.5px; color: var(--text); }
.callout.amber { border-color: var(--amber); background: var(--amber-soft); }
