/* ColorShield ID V2 — Clean commercial rebuild */
:root {
  --text: #0b1220;
  --muted: #475569;
  --muted-2: #64748b;
  --primary: #2563eb;
  --primary-deep: #1d4ed8;
  --accent: #38bdf8;
  --bg: #eef1f6;
  --bg-soft: #e8edf4;
  --surface: #ffffff;
  --surface-soft: #f6f7fb;
  --border: #d4dbe6;
  --border-strong: #b8c3d4;
  --navy: #0b1220;
  --navy-2: #111827;
  --navy-3: #0f172a;
  --ok: #15803d;
  --ok-dot: #22c55e;
  --bad: #dc2626;
  --bad-soft: #fee2e2;
  --warn: #b45309;
  --blue-soft: #e4eefb;
  --footer: #0b1220;
  --footer-muted: #94a3b8;

  --wrap: 1140px;
  --section: clamp(3.75rem, 6.5vw, 5.25rem);
  --section-sm: clamp(2.5rem, 4vw, 3.25rem);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 6px 16px rgba(15, 23, 42, .05);
  --shadow: 0 10px 32px rgba(15, 23, 42, .10);
  --shadow-blue: 0 10px 28px rgba(37, 99, 235, .22);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-soft);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: #fff; padding: .5rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  letter-spacing: -.025em;
  line-height: 1.15;
  font-weight: 750;
}
h1 { font-size: clamp(2.15rem, 4.4vw, 3.55rem); font-weight: 800; letter-spacing: -.035em; }
h1 .accent { color: var(--primary); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0; color: var(--muted); }
.eyebrow {
  display: inline-block;
  margin: 0 0 .75rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--primary);
}
.lead { font-size: 1.08rem; max-width: 38rem; color: var(--muted); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .85rem; }
.section { padding: var(--section) 0; }
.section-sm { padding: var(--section-sm) 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: .7rem 1.3rem;
  border-radius: var(--radius-pill);
  font-family: var(--font); font-size: .94rem; font-weight: 650; letter-spacing: -.01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--primary-deep); color: #fff; }
.btn-secondary {
  background: #fff; color: var(--text); border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: #93c5fd; color: var(--primary-deep); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--border);
}
.btn-ghost:hover { border-color: #93c5fd; color: var(--primary-deep); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.35rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 241, 246, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(246, 247, 251, .94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.25rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--text); flex-shrink: 0;
}
.brand-mark { width: 30px; height: auto; }
.brand-word {
  font-size: .78rem; font-weight: 750; letter-spacing: .08em;
  color: #64748b;
}
.site-nav {
  display: flex; align-items: center; gap: 1.15rem;
}
.site-nav a {
  text-decoration: none; color: var(--muted);
  font-size: .9rem; font-weight: 600;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.nav-toggle {
  display: none;
  border: 1px solid var(--border); background: #fff;
  border-radius: var(--radius-sm); min-height: 2.5rem; min-width: 2.5rem;
  cursor: pointer; font-family: var(--font); font-weight: 700; color: var(--text);
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(1.75rem, 3vw, 2.5rem);
}
.page-hero .lead { margin-top: .9rem; }

/* Home hero */
.home-hero {
  padding: clamp(3.5rem, 7vh, 4.75rem) 0 clamp(2.75rem, 5vh, 3.75rem);
}
.home-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}
.home-hero h1 { max-width: 14ch; }
.home-hero .lead { margin-top: 1rem; }
.home-hero .support {
  margin-top: .85rem;
  font-size: .98rem;
  color: var(--muted-2);
  max-width: 34rem;
}
.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, .08);
  background: var(--navy);
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}
.micro-callout {
  margin-top: 1.5rem;
  display: inline-flex;
  max-width: 34rem;
  padding: .85rem 1.05rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
  font-weight: 650;
  color: var(--text);
  line-height: 1.45;
}
.micro-callout span { color: var(--primary); }

/* Capability pills */
.cap-strip {
  display: flex; flex-wrap: wrap; gap: .55rem;
  padding: 0 0 var(--section-sm);
}
.cap-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  font-size: .8rem;
  font-weight: 650;
  color: var(--muted);
}
.cap-pill::before {
  content: "";
  width: .35rem; height: .35rem; border-radius: 50%;
  background: var(--ok-dot);
  flex-shrink: 0;
}

/* Feature dark card */
.feature-band {
  padding: var(--section) 0;
}
.feature-dark {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  align-items: stretch;
}
.feature-dark-media {
  min-height: 100%;
  background: #020617;
}
.feature-dark-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}
.feature-dark-copy {
  padding: clamp(1.5rem, 3vw, 2.15rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #e2e8f0;
}
.feature-dark-copy .eyebrow { color: #93c5fd; }
.feature-dark-copy h2 { color: #f8fafc; margin-bottom: .75rem; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.feature-dark-copy p { color: #94a3b8; margin-bottom: 1.1rem; }
.status-row {
  display: flex; flex-wrap: wrap; gap: .45rem;
}
.status-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, .28);
  background: rgba(15, 23, 42, .35);
  color: #cbd5e1;
  font-size: .74rem;
  font-weight: 650;
}
.status-chip::before {
  content: "";
  width: .32rem; height: .32rem; border-radius: 50%;
  background: var(--ok-dot);
}

/* Compact grids */
.protect-grid, .audience-grid, .plan-grid, .doc-grid, .usecase-grid, .industry-grid {
  display: grid;
  gap: .85rem;
}
.protect-grid { grid-template-columns: repeat(4, 1fr); }
.audience-grid { grid-template-columns: repeat(4, 1fr); }
.chip-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  font-size: .92rem;
  font-weight: 650;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.final-cta {
  text-align: center;
  padding: var(--section) 0;
}
.final-cta .lead { margin: .85rem auto 0; }

.quote-line {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
.quote-line span { color: var(--primary); }

/* Product capability blocks */
.cap-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
  padding: var(--section) 0;
  border-top: 1px solid var(--border);
}
.cap-block:first-of-type { border-top: 0; padding-top: var(--section-sm); }
.cap-block.reverse > :first-child { order: 2; }
.cap-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--navy);
}
.cap-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.cap-copy .lead { margin-top: .75rem; }
.term-list {
  list-style: none; margin: 1.1rem 0 0; padding: 0;
  display: grid; gap: .45rem;
}
.term-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
}
.term-list li::before {
  content: "";
  position: absolute; left: 0; top: .55rem;
  width: .35rem; height: .35rem; border-radius: 50%;
  background: var(--primary);
}

/* Module card */
.module-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  box-shadow: var(--shadow-sm);
}
.module-card h2 { margin-bottom: .65rem; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1.15rem;
}
.module-item {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .85rem .95rem;
}
.module-item strong {
  display: block;
  font-size: .9rem;
  margin-bottom: .25rem;
  color: var(--text);
}
.module-item p { font-size: .85rem; }

/* Flow steps */
.flow {
  display: grid;
  gap: .65rem;
  counter-reset: step;
}
.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
.flow-num {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-soft);
  color: var(--primary-deep);
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
}
.flow-step strong { display: block; color: var(--text); margin-bottom: .2rem; }
.flow-step p { font-size: .92rem; }

/* Solutions */
.usecase {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.usecase h3 { margin-bottom: .85rem; font-size: 1.15rem; }
.usecase-meta {
  display: grid;
  gap: .65rem;
}
.usecase-meta div {
  padding-top: .55rem;
  border-top: 1px solid var(--border);
}
.usecase-meta strong {
  display: block;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .2rem;
}
.usecase-meta p { font-size: .9rem; }
.usecase-grid { grid-template-columns: repeat(2, 1fr); }
.industry-grid { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; }

/* Security topology */
.topo {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
  color: #e2e8f0;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.topo-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: .5rem;
}
.topo h3 { color: #f8fafc; margin-bottom: .35rem; }
.topo > p { color: #94a3b8; font-size: .9rem; margin-bottom: 1.25rem; max-width: 40rem; }
.topo-svg { width: 100%; height: auto; display: block; }
.topo-note {
  margin-top: 1rem;
  font-size: .78rem;
  color: #64748b;
}
.attack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
}
.attack-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
.attack-card h3 { margin-bottom: .4rem; }
.attack-card p { font-size: .9rem; }
.security-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
.security-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.security-item h3 { margin-bottom: .35rem; font-size: 1rem; }
.security-item p { font-size: .9rem; }

/* Pricing */
.plan-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: #93c5fd;
  box-shadow: var(--shadow-blue);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: -0.65rem; left: 1.2rem;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: var(--radius-pill);
}
.plan h3 { margin-bottom: .35rem; }
.price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  margin: .35rem 0 .85rem;
}
.price small { font-size: .95rem; font-weight: 650; color: var(--muted); }
.plan ul {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: grid; gap: .45rem; flex: 1;
}
.plan li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .9rem;
  color: var(--muted);
}
.plan li::before {
  content: "";
  position: absolute; left: 0; top: .55rem;
  width: .35rem; height: .35rem; border-radius: 50%;
  background: var(--ok-dot);
}
.plan .btn { width: 100%; }

/* Resources */
.doc-grid { grid-template-columns: repeat(3, 1fr); }
.doc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.doc-card:hover { border-color: #93c5fd; box-shadow: var(--shadow); }
.doc-card h3 { margin-bottom: .35rem; }
.doc-card p { font-size: .88rem; margin-bottom: .75rem; }
.badge {
  display: inline-flex;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .55rem;
  border-radius: var(--radius-pill);
}
.badge-available { background: #dcfce7; color: #166534; }
.badge-preview { background: var(--blue-soft); color: var(--primary-deep); }
.badge-planned { background: #f1f5f9; color: #475569; }

.doc-card-gated {
  cursor: default;
  opacity: .96;
}
.doc-card-gated:hover {
  border-color: var(--border);
  box-shadow: none;
}
.doc-card-gated .badge-planned {
  white-space: normal;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  font-size: .72rem;
  font-weight: 650;
}

/* Request Access */
.ra-checks {
  display: grid;
  gap: .85rem;
  margin-top: 1.25rem;
}
.ra-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
}
.ra-check input {
  margin-top: .2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--primary);
}
.request-success {
  margin-bottom: 1.25rem;
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 55%);
}
.request-success[hidden] { display: none !important; }

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; font-size: .82rem; font-weight: 650; color: var(--text);
  margin-bottom: .4rem;
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 2.75rem; padding: .65rem .85rem;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .95rem; color: var(--text); background: #fff;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--primary); outline-offset: 1px; border-color: #93c5fd;
}
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.form-status {
  margin-top: 1rem; padding: 1rem; border-radius: var(--radius-sm);
  font-weight: 600; display: none; white-space: pre-line;
}
.form-status.is-visible { display: block; }
.form-status.ok { background: var(--blue-soft); color: var(--primary-deep); border: 1px solid #bfdbfe; }
.form-status.err { background: var(--bad-soft); color: var(--bad); border: 1px solid #fecaca; }
.form-status.loading { background: var(--blue-soft); color: var(--primary-deep); border: 1px solid #bfdbfe; }

.preview-delivery-note {
  margin-top: .85rem;
  font-size: .78rem;
  font-weight: 550;
  color: var(--muted);
  letter-spacing: .01em;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.5rem;
  align-items: stretch;
}
body[data-page="contact"] .contact-side {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
body[data-page="contact"] .contact-layout .form-card {
  height: 100%;
}
body[data-page="contact"] .contact-visual {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
}
body[data-page="contact"] .contact-visual-media {
  flex: 1 1 auto;
  min-height: 320px;
  background: #0b1220;
  display: flex;
  align-items: center;
  justify-content: center;
}
body[data-page="contact"] .contact-visual img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
}
body[data-page="contact"] .contact-visual figcaption {
  flex: 0 0 auto;
  padding: 1rem 1.1rem 1.15rem;
  border-top: 1px solid var(--border);
  background: #fff;
}
body[data-page="contact"] .contact-visual .eyebrow {
  margin-bottom: .4rem;
}
body[data-page="contact"] .contact-visual figcaption > p:last-child {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 960px) {
  body[data-page="contact"] .contact-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }
  body[data-page="contact"] .contact-side {
    order: 2;
    min-height: 0;
  }
  body[data-page="contact"] .contact-layout .form-card {
    order: 1;
    height: auto;
  }
  body[data-page="contact"] .contact-visual {
    min-height: 0;
  }
  body[data-page="contact"] .contact-visual-media {
    min-height: 220px;
    max-height: 300px;
  }
}
.trust-panel {
  background: var(--navy);
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.trust-panel h3 { color: #f8fafc; margin-bottom: .85rem; }
.trust-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0;
  border-top: 1px solid rgba(148, 163, 184, .2);
  font-size: .85rem;
}
.trust-row span:first-child { color: #94a3b8; }
.trust-row span:last-child { color: #e2e8f0; font-weight: 650; text-align: right; }

/* Login */
body[data-page="login"] .login-access {
  padding: clamp(3.5rem, 7vh, 5rem) 0 clamp(2.5rem, 5vh, 3.5rem);
  min-height: calc(100vh - 5.5rem);
  display: flex; align-items: center;
}
.login-shell {
  width: min(100% - 2.5rem, 1000px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: .44fr .56fr;
  gap: 1.5rem;
  align-items: stretch;
}
.login-panel {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.5rem;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: var(--shadow);
}
.login-panel .eyebrow { color: #93c5fd; }
.login-panel h1 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  color: #f8fafc;
  margin-bottom: .75rem;
}
.login-panel p { color: #94a3b8; font-size: .92rem; margin-bottom: 1rem; }
.login-list {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: grid; gap: .45rem;
}
.login-list li {
  position: relative;
  padding: .45rem .7rem .45rem 1.55rem;
  font-size: .86rem; font-weight: 600; color: #cbd5e1;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(148,163,184,.18);
}
.login-list li::before {
  content: "";
  position: absolute; left: .65rem; top: 50%;
  width: .35rem; height: .35rem; border-radius: 50%;
  background: var(--ok-dot);
  transform: translateY(-50%);
}
.login-secure { margin: 0; font-size: .75rem; color: #64748b; }
.login-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.65rem 1.55rem 1.35rem;
}
.login-brand {
  display: flex; align-items: center; gap: .65rem;
  margin-bottom: .85rem;
}
.login-card .eyebrow { margin-bottom: .35rem; }
.login-card h2 {
  font-size: 1.35rem;
  margin-bottom: .35rem;
}
.login-card .sub {
  margin: 0 0 1.15rem;
  font-size: .9rem;
  color: var(--muted);
}
.login-card .field { margin-bottom: .85rem; }
.login-card .btn { width: 100%; margin-top: .35rem; }
.login-help {
  margin: .9rem 0 0;
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
}
.login-preview {
  margin: 1rem 0 0;
  padding: .65rem .8rem;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  border: 1px solid #dbe3ee;
  color: #475569;
  font-size: .78rem;
  line-height: 1.45;
}
.login-preview strong {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: .15rem;
}

/* Footer */
.site-footer {
  margin-top: 0;
  padding: 3.5rem 0 2rem;
  background: var(--footer);
  color: var(--footer-muted);
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(5, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  align-items: start;
}
.footer-brand-word {
  color: #e2e8f0;
  font-weight: 750;
  letter-spacing: .08em;
  font-size: .78rem;
  margin-bottom: .75rem;
}
.footer-tagline {
  color: #e2e8f0;
  font-weight: 650;
  font-size: .95rem;
  margin: 0 0 .75rem;
}
.footer-about p { color: var(--footer-muted); margin-bottom: .75rem; font-size: .86rem; }
.footer-proofs {
  list-style: none; margin: .85rem 0 0; padding: 0;
  display: grid; gap: .35rem;
}
.footer-proofs li {
  position: relative;
  padding-left: 1rem;
  color: #cbd5e1;
  font-size: .82rem;
  font-weight: 600;
}
.footer-proofs li::before {
  content: "";
  position: absolute; left: 0; top: .45rem;
  width: .3rem; height: .3rem; border-radius: 50%;
  background: var(--ok-dot);
}
.footer-col h4 {
  color: #e2e8f0;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.footer-col a {
  display: block;
  color: var(--footer-muted);
  text-decoration: none;
  margin-bottom: .45rem;
  font-size: .86rem;
}
.footer-col a:hover { color: #e2e8f0; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(148, 163, 184, .2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  font-size: .82rem;
}
.footer-bottom strong { color: #e2e8f0; }
.footer-preview {
  width: 100%;
  margin-top: .65rem;
  color: #64748b;
  font-size: .75rem;
}

/* Dashboard shell (preview) */
.dash-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 4.25rem);
}
.dash-nav {
  background: var(--navy);
  color: #cbd5e1;
  padding: 1.25rem 1rem;
}
.dash-nav a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  padding: .55rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .25rem;
}
.dash-nav a:hover,
.dash-nav a[aria-current="page"] {
  background: rgba(255,255,255,.06);
  color: #f8fafc;
}
.dash-main { padding: 1.5rem; }
.dash-banner {
  background: var(--blue-soft);
  border: 1px solid #bfdbfe;
  color: var(--primary-deep);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .85rem;
  margin-bottom: 1.25rem;
}
.event-ok { color: var(--ok); font-weight: 700; }
.event-suspicious { color: var(--warn); font-weight: 700; }
.event-fake { color: var(--bad); font-weight: 700; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-grid .footer-col:nth-child(5),
  .footer-grid .footer-col:nth-child(6) { grid-column: span 1; }
  .protect-grid { grid-template-columns: repeat(3, 1fr); }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .home-hero-grid,
  .feature-dark,
  .cap-block,
  .cap-block.reverse,
  .contact-layout,
  .plan-grid,
  .security-list,
  .attack-grid,
  .usecase-grid,
  .module-grid,
  .dash-shell {
    grid-template-columns: 1fr;
  }
  .cap-block.reverse > :first-child { order: unset; }
  .home-hero h1 { max-width: none; }
  .protect-grid, .audience-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav, .header-actions .btn-ghost { display: none; }
  .site-header.is-open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #f6f7fb;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    gap: .85rem;
  }
  .site-header.is-open .header-actions .btn-ghost { display: inline-flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .login-shell { grid-template-columns: 1fr; width: min(100% - 1.75rem, 1000px); }
  .login-card-wrap { order: -1; }
  body[data-page="login"] .login-access {
    padding: 1.5rem 0 2rem;
    min-height: 0;
    align-items: flex-start;
  }
  .form-grid { grid-template-columns: 1fr; }
  .protect-grid, .audience-grid, .industry-grid, .doc-grid, .usecase-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { width: min(100% - 1.75rem, var(--wrap)); }
  .cta-row .btn { width: 100%; }
}
@media (max-width: 430px) {
  h1 { font-size: clamp(1.85rem, 9vw, 2.35rem); }
  .micro-callout { font-size: .88rem; }
}

/* —— Refinement: emblems, checkout, compact footer —— */
.cap-pill::before { display: none; }
.cap-pill-icon { width: 18px; height: 18px; flex-shrink: 0; }
.chip-item {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.chip-icon { width: 28px; height: 28px; flex-shrink: 0; }
.cap-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  border: 1px solid #bfdbfe;
  margin-bottom: .65rem;
  flex-shrink: 0;
}
.cap-emblem img { width: 28px; height: 28px; }
.cap-emblem.sm {
  width: 34px; height: 34px;
  margin-bottom: .45rem;
  border-radius: 10px;
}
.cap-emblem.sm img { width: 22px; height: 22px; }
.usecase-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}
.usecase-head .cap-emblem { margin-bottom: 0; }
.usecase-head h3 { margin: 0; }
.security-item .cap-emblem { margin-bottom: .55rem; }

.feature-dark {
  align-items: stretch;
}
.feature-dark-media {
  display: flex;
}
.feature-dark-media img {
  max-height: 420px;
}
.feature-dark-copy {
  overflow: hidden;
}

/* Checkout / payment preview */
.checkout-shell {
  display: grid;
  grid-template-columns: .42fr .58fr;
  gap: 1.25rem;
  align-items: stretch;
}
.checkout-summary {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}
.checkout-brand {
  display: flex; align-items: center; gap: .55rem;
  margin-bottom: .85rem;
}
.checkout-summary .eyebrow { color: #93c5fd; }
.checkout-summary h3 { color: #f8fafc; font-size: 1.25rem; margin-bottom: .35rem; }
.checkout-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -.03em;
  margin: .25rem 0 1rem;
}
.checkout-price span { font-size: .95rem; font-weight: 600; color: #94a3b8; }
.checkout-points {
  list-style: none; margin: 0 0 1.15rem; padding: 0;
  display: grid; gap: .4rem;
}
.checkout-points li {
  position: relative;
  padding-left: 1rem;
  font-size: .86rem;
  color: #cbd5e1;
}
.checkout-points li::before {
  content: "";
  position: absolute; left: 0; top: .5rem;
  width: .3rem; height: .3rem; border-radius: 50%;
  background: var(--ok-dot);
}
.verify-status {
  border-radius: var(--radius);
  padding: .75rem .85rem;
  display: grid;
  gap: .2rem;
  font-size: .8rem;
}
.verify-status strong {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.verify-status.is-verified {
  background: rgba(22, 163, 74, .12);
  border: 1px solid rgba(34, 197, 94, .35);
  color: #bbf7d0;
}
.verify-status.is-verified strong { color: #86efac; }
.verify-status.is-blocked {
  background: rgba(220, 38, 38, .12);
  border: 1px solid rgba(248, 113, 113, .4);
  color: #fecaca;
}
.verify-status.is-blocked strong { color: #fca5a5; }
.checkout-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.checkout-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.checkout-card-head h3 { font-size: 1.1rem; }
.pay-brands, .footer-pay-brands {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
}
.pay-brands img, .footer-pay-brands img {
  height: 20px; width: auto;
  border-radius: 3px;
}
.checkout-card .field { margin-bottom: .85rem; }
.checkout-submit { width: 100%; margin-top: .35rem; }
.checkout-stripe {
  margin: .85rem 0 0;
  text-align: center;
  font-size: .85rem;
  font-weight: 650;
  color: var(--text);
}
.checkout-note {
  margin: .55rem 0 0;
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}
.checkout-demo-alt {
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}
.checkout-demo-alt summary {
  cursor: pointer;
  font-size: .8rem;
  font-weight: 650;
  color: var(--muted);
}
.checkout-demo-alt .verify-status { margin-top: .65rem; }

/* Compact footer */
.site-footer {
  padding: 1.75rem 0 1.25rem;
}
.footer-compact .footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr auto;
  gap: 1.25rem 1.5rem;
  align-items: start;
}
.footer-identity .footer-brand-word { margin-bottom: .35rem; }
.footer-identity .footer-tagline {
  margin: 0 0 .25rem;
  font-size: .88rem;
  font-weight: 600;
}
.footer-entity {
  margin: 0;
  font-size: .8rem;
  color: var(--footer-muted);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
  align-items: center;
}
.footer-nav a {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
}
.footer-nav a:hover { color: #e2e8f0; }
.footer-pay {
  text-align: right;
}
.footer-pay-label {
  display: block;
  font-size: .72rem;
  color: #64748b;
  margin-bottom: .45rem;
}
.footer-pay-brands { justify-content: flex-end; }
.footer-bottom {
  margin-top: 1.15rem;
  padding-top: .9rem;
  gap: .5rem 1.25rem;
  align-items: center;
}
.footer-preview { margin-top: 0; width: auto; }

@media (max-width: 960px) {
  .checkout-shell,
  .footer-compact .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-pay { text-align: left; }
  .footer-pay-brands { justify-content: flex-start; }
  .feature-dark-media img { max-height: none; min-height: 240px; }
}
@media (max-width: 760px) {
  .site-footer { padding: 1.35rem 0 1rem; }
  .footer-nav { gap: .45rem .85rem; }
}

/* Overflow / spacing safety */
html, body { overflow-x: hidden; }
.wrap, .login-shell, .checkout-shell, .contact-layout, .feature-dark, .home-hero-grid {
  max-width: 100%;
}
.plan { overflow: visible; }
.plan.featured { margin-top: .5rem; }
.plan-badge { max-width: calc(100% - 2rem); }
img, svg { max-width: 100%; }
.topo { overflow-x: auto; }
.topo-svg { min-width: 280px; }

/* Interactive capability explorer */
.explorer {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.62fr);
  gap: 1.15rem;
  align-items: start;
}
.explorer-tabs {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.explorer-tabs-pills {
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: .5rem;
  padding-bottom: .35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.explorer-solutions,
.explorer-threats {
  grid-template-columns: 1fr;
}
.explorer-tab {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: .75rem .85rem;
  cursor: pointer;
  font-family: var(--font);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.explorer-tabs-pills .explorer-tab {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  padding: .55rem .9rem;
}
.explorer-tab img { width: 28px; height: 28px; flex-shrink: 0; }
.explorer-tabs-pills .explorer-tab img { width: 20px; height: 20px; }
.explorer-tab strong {
  display: block;
  color: var(--text);
  font-size: .9rem;
  font-weight: 700;
}
.explorer-tab small {
  display: block;
  font-size: .75rem;
  color: var(--muted-2);
  margin-top: .1rem;
}
.explorer-tab[aria-selected="true"],
.explorer-tab.is-active {
  border-color: #93c5fd;
  background: var(--blue-soft);
  color: var(--primary-deep);
  box-shadow: 0 0 0 1px rgba(37,99,235,.12);
}
.explorer-tab[aria-selected="true"] strong,
.explorer-tab.is-active strong { color: var(--primary-deep); }
.explorer-panels {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-height: 320px;
  overflow: hidden;
}
.explorer-panel {
  padding: 1.35rem 1.4rem 1.45rem;
  opacity: 0;
  transform: translateY(8px);
}
.explorer-panel.is-active {
  opacity: 1;
  transform: none;
  transition: opacity .28s ease, transform .28s ease;
}
@media (prefers-reduced-motion: reduce) {
  .explorer-panel,
  .explorer-panel.is-active {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
.explorer-panel h3 {
  font-size: 1.35rem;
  margin-bottom: .35rem;
}
.explorer-sub {
  margin: 0 0 .55rem;
  font-size: .92rem;
  font-weight: 650;
  color: var(--primary-deep);
}
.explorer-lead {
  margin: 0 0 1rem;
  font-size: .98rem;
  color: var(--muted);
  max-width: 40rem;
}
.explorer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem 1.15rem;
  margin-bottom: 1rem;
}
.explorer-grid h4 {
  margin: 0 0 .4rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
}
.explorer-grid p,
.explorer-grid ul {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}
.explorer-grid ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .3rem;
}
.explorer-grid li {
  position: relative;
  padding-left: .95rem;
  color: var(--text);
  font-weight: 600;
  font-size: .88rem;
}
.explorer-grid li::before {
  content: "";
  position: absolute;
  left: 0; top: .5rem;
  width: .3rem; height: .3rem;
  border-radius: 50%;
  background: var(--primary);
}
.outcome-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1rem 0;
}
.outcome {
  border-radius: var(--radius);
  padding: .8rem .9rem;
  display: grid;
  gap: .2rem;
  font-size: .82rem;
}
.outcome strong {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .15rem;
}
.outcome.ok {
  background: rgba(22, 163, 74, .08);
  border: 1px solid rgba(34, 197, 94, .28);
  color: #166534;
}
.outcome.bad {
  background: rgba(220, 38, 38, .06);
  border: 1px solid rgba(248, 113, 113, .35);
  color: #991b1b;
}
.explorer-value {
  margin: .85rem 0 0;
  font-size: .92rem;
  color: var(--muted);
  max-width: 42rem;
}
.explorer-value strong { color: var(--text); }
a.chip-item {
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
a.chip-item:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow);
}

@media (max-width: 960px) {
  .explorer {
    grid-template-columns: 1fr;
  }
  .explorer-tabs:not(.explorer-tabs-pills) {
    flex-direction: row;
    overflow-x: auto;
    gap: .5rem;
    padding-bottom: .35rem;
  }
  .explorer-tabs:not(.explorer-tabs-pills) .explorer-tab {
    min-width: 210px;
  }
  .explorer-grid,
  .outcome-row {
    grid-template-columns: 1fr;
  }
  .explorer-panels { min-height: 0; }
}

.explorer-panel[hidden] { display: none !important; }

/* About company identity chips on light background */
body[data-page="about"] .status-chip {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}
body[data-page="about"] .status-chip::before {
  background: var(--primary);
}

/* How It Works — protected interaction flow */
body[data-page="how"] .hiw-flow-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
body[data-page="how"] .hiw-flow-head h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-top: .35rem;
}
body[data-page="how"] .hiw-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 820px;
}
body[data-page="how"] .hiw-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}
body[data-page="how"] .hiw-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
body[data-page="how"] .hiw-num {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid #bfdbfe;
  color: var(--primary-deep);
  font-size: .78rem;
  font-weight: 800;
  z-index: 1;
  flex-shrink: 0;
}
body[data-page="how"] .hiw-rail-line {
  flex: 1;
  width: 2px;
  min-height: 1.25rem;
  margin-top: .35rem;
  background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 55%, #bfdbfe 100%);
  border-radius: 2px;
}
body[data-page="how"] .hiw-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.05rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: .85rem;
}
body[data-page="how"] .hiw-card-top {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .45rem;
}
body[data-page="how"] .hiw-emblem {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: .1rem;
}
body[data-page="how"] .hiw-card strong {
  display: block;
  color: var(--text);
  font-size: .98rem;
  letter-spacing: -.015em;
}
body[data-page="how"] .hiw-micro {
  margin: .2rem 0 0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted-2);
}
body[data-page="how"] .hiw-card > p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}
body[data-page="how"] .hiw-step-light .hiw-card {
  background: #fbfcfe;
}
body[data-page="how"] .hiw-step-validate .hiw-num {
  border-color: var(--primary);
  background: var(--blue-soft);
  color: var(--primary-deep);
}
body[data-page="how"] .hiw-step-validate .hiw-card {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 70%);
  box-shadow: 0 8px 22px rgba(37, 99, 235, .08);
}
body[data-page="how"] .hiw-labels {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .75rem;
}
body[data-page="how"] .hiw-labels span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .6rem;
  border-radius: var(--radius-pill);
  border: 1px solid #bfdbfe;
  background: #fff;
  color: var(--primary-deep);
  font-size: .74rem;
  font-weight: 650;
}
body[data-page="how"] .hiw-labels span::before {
  content: "";
  width: .3rem;
  height: .3rem;
  border-radius: 50%;
  background: var(--ok-dot);
}
body[data-page="how"] .hiw-step-proof .hiw-num {
  border-color: #60a5fa;
  background: #0b1220;
  color: #93c5fd;
}
body[data-page="how"] .hiw-step-proof .hiw-card {
  border-color: #93c5fd;
  background: linear-gradient(145deg, #f8fbff 0%, #eef5ff 45%, #fff 100%);
}
body[data-page="how"] .hiw-proof {
  margin-top: .8rem;
  padding: .7rem .85rem;
  border-radius: var(--radius-sm);
  border: 1px dashed #93c5fd;
  background: rgba(255, 255, 255, .85);
}
body[data-page="how"] .hiw-proof-title {
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: .45rem;
}
body[data-page="how"] .hiw-proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
body[data-page="how"] .hiw-proof-tags span {
  padding: .28rem .55rem;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: #e2e8f0;
  font-size: .72rem;
  font-weight: 650;
}
body[data-page="how"] .hiw-step-presubmit .hiw-num {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
body[data-page="how"] .hiw-step-presubmit .hiw-card {
  border-color: #93c5fd;
}
body[data-page="how"] .hiw-step-outcome .hiw-num {
  border-color: #64748b;
  background: #fff;
}
body[data-page="how"] .hiw-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .8rem;
}
body[data-page="how"] .hiw-out {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: var(--radius-pill);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
body[data-page="how"] .hiw-out.permit {
  color: #166534;
  background: rgba(22, 163, 74, .1);
  border-color: rgba(34, 197, 94, .35);
}
body[data-page="how"] .hiw-out.warn {
  color: #92400e;
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .4);
}
body[data-page="how"] .hiw-out.block {
  color: #991b1b;
  background: rgba(220, 38, 38, .08);
  border-color: rgba(248, 113, 113, .4);
}
body[data-page="how"] .hiw-outcome-note {
  margin-top: .75rem !important;
  font-size: .84rem !important;
  color: var(--muted) !important;
}
body[data-page="how"] .hiw-clone-section {
  padding-top: var(--section-sm);
}
body[data-page="how"] .hiw-transition {
  margin-bottom: 1rem;
  padding-top: .35rem;
  border-top: 1px solid var(--border);
}
@media (max-width: 760px) {
  body[data-page="how"] .hiw-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: .75rem;
  }
  body[data-page="how"] .hiw-num {
    width: 2.1rem;
    height: 2.1rem;
    font-size: .72rem;
  }
  body[data-page="how"] .hiw-card {
    padding: .9rem .95rem;
  }
}
