/* ═══════════════════════════════════════════════════════════
   BidInspect · Global Stylesheet
   Palette: white / navy / teal — brand guidelines
   ═══════════════════════════════════════════════════════════ */

/* ── Design tokens ───────────────────────────────────────── */
:root {
  --white:          #ffffff;
  --paper:          #f3f7fa;
  --navy:           #07131f;
  --navy-mid:       #0d2438;
  --navy-soft:      #1a3348;
  --teal:           #0f766e;
  --teal-dark:      #0a4f4a;
  --teal-light:     #dff0ee;
  --ink:            #1c2b38;
  --ink-soft:       #4d6475;
  --line:           #cdd8e2;
  --line-soft:      #e2eaef;

  --shadow-xs:      0 1px 4px rgba(7,19,31,.07);
  --shadow-sm:      0 3px 12px rgba(7,19,31,.08);
  --shadow-md:      0 8px 32px rgba(7,19,31,.11);
  --shadow-lg:      0 20px 64px rgba(7,19,31,.15);

  /* Status pills */
  --pill-ok-bg:     #dff0ee;
  --pill-ok-fg:     #0a4f4a;
  --pill-gap-bg:    #fee2e2;
  --pill-gap-fg:    #991b1b;
  --pill-ver-bg:    #fef3c7;
  --pill-ver-fg:    #78350f;
  --pill-def-bg:    #f1f5f9;
  --pill-def-fg:    #334155;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul  { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.07; letter-spacing: -.015em; }
p  { margin: 0; overflow-wrap: break-word; }

/* ── Typography scale ────────────────────────────────────── */
h1 { font-size: clamp(2.4rem,4.8vw,4.1rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem,4.1vw,3.5rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem,1.6vw,1.32rem); font-weight: 700; }
h4 { font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ── Section layout ──────────────────────────────────────── */
.section-pad {
  padding: clamp(64px,9vw,112px) clamp(20px,5.5vw,88px);
}
.section-heading {
  margin-bottom: clamp(36px,5vw,60px);
}
.section-heading h2 { margin-top: 10px; }
.section-heading.narrow { max-width: 760px; }
.section-heading.center { text-align: center; margin-left: auto; margin-right: auto; }
.text-soft { color: var(--ink-soft); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-size: .96rem;
  font-weight: 700;
  transition: background .17s, border-color .17s, color .17s, box-shadow .17s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn--primary {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: 0 4px 18px rgba(10,79,74,.28);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 6px 22px rgba(7,19,31,.22);
  outline: none;
}
.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: var(--teal);
  color: var(--teal-dark);
  outline: none;
}
.btn--white {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
}

/* ── Status pills ────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .73rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .01em;
}
.pill--ok  { background: var(--pill-ok-bg);  color: var(--pill-ok-fg); }
.pill--gap { background: var(--pill-gap-bg); color: var(--pill-gap-fg); }
.pill--ver { background: var(--pill-ver-bg); color: var(--pill-ver-fg); }
.pill--def { background: var(--pill-def-bg); color: var(--pill-def-fg); }

/* ── Icon utility ────────────────────────────────────────── */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ══════════════════════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 12px clamp(20px,5.5vw,88px);
  background: rgba(255,255,255,.93);
  border-bottom: 1px solid rgba(205,216,226,.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.brand-logo { height: 36px; width: auto; }
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.topbar-nav a {
  padding: 9px 14px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.topbar-nav a:hover { background: var(--teal-light); color: var(--teal-dark); }
.topbar-nav .nav-cta { margin-left: 10px; padding: 9px 20px; }
/* Override the generic topbar-nav anchor colour for the CTA button */
.topbar-nav a.nav-cta,
.topbar-nav a.nav-cta:visited { color: var(--white); }
.topbar-nav a.nav-cta:hover,
.topbar-nav a.nav-cta:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.nav-label-short { display: none; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(340px,1.05fr);
  align-items: center;
  gap: clamp(40px,5vw,80px);
  padding: clamp(60px,8vw,100px) clamp(20px,5.5vw,88px) clamp(52px,7vw,88px);
}
.hero-copy { max-width: 660px; }
.hero h1 { color: var(--navy); }
.hero-lede {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: clamp(1.04rem,1.55vw,1.2rem);
  max-width: 600px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.trust-strip span {
  padding: 7px 13px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-size: .81rem;
  font-weight: 700;
}

/* Browser frame / hero visual */
.hero-visual {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.browser-url {
  flex: 1;
  padding: 5px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: .7rem;
  color: var(--ink-soft);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-body { padding: 16px 18px; }

/* Mock label badge */
.mock-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  background: var(--teal-light);
  border-radius: 4px;
  font-size: .67rem;
  font-weight: 800;
  color: var(--teal-dark);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mock-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

/* Comparison workbook mini-table */
.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .72rem;
}
.mock-table th {
  padding: 7px 10px;
  background: var(--navy);
  color: rgba(255,255,255,.88);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.mock-table th:first-child { width: 40%; }
.mock-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  vertical-align: middle;
}
.mock-table tr:last-child td { border-bottom: none; }
.mock-table tr:nth-child(even) td { background: var(--paper); }
.mock-table td:first-child {
  font-weight: 600;
  color: var(--navy-soft);
  line-height: 1.35;
}
.mock-evidence {
  font-size: .66rem;
  color: var(--ink-soft);
  margin-top: 3px;
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════
   SIGNAL BAND
══════════════════════════════════════════════════════════ */
.signal-band {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  background: var(--navy);
}
.signal-band__item {
  padding: clamp(30px,4vw,52px) clamp(28px,4vw,48px);
  border-right: 1px solid rgba(255,255,255,.09);
}
.signal-band__item:last-child { border-right: none; }
.signal-band__title {
  display: block;
  color: var(--white);
  font-size: clamp(1.05rem,1.8vw,1.42rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
}
.signal-band__desc {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: .89rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   PROBLEM
══════════════════════════════════════════════════════════ */
.problem-section { background: var(--paper); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 26px;
  box-shadow: var(--shadow-xs);
}
.problem-num {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: .7rem;
  font-weight: 800;
  font-family: ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.problem-card h3 { color: var(--navy); margin-bottom: 12px; line-height: 1.22; }
.problem-card p  { color: var(--ink-soft); font-size: .9rem; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════
   SOLUTION PANEL
══════════════════════════════════════════════════════════ */
.solution-section  { background: var(--white); }
.solution-section .section-pad { padding-top: 0; }
.solution-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px,5vw,80px);
  align-items: center;
  padding: clamp(40px,5.5vw,68px);
  background: var(--navy-mid);
  border-radius: 14px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.solution-panel .eyebrow { color: rgba(223,240,238,.85); }
.solution-panel h2 { color: var(--white); margin-top: 10px; }
.solution-panel .solution-desc {
  color: rgba(255,255,255,.73);
  font-size: clamp(.95rem,1.35vw,1.1rem);
  line-height: 1.72;
  margin-top: 18px;
}
.solution-visual img {
  border-radius: 8px;
  opacity: .88;
  width: 100%;
}
.principles { display: grid; gap: 12px; margin-top: 4px; }
.principle {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
}
.principle-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--teal-dark);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--white);
}
.principle-text strong {
  display: block;
  font-size: .87rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.principle-text span {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════ */
.how-section { background: var(--paper); }
.stepper {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 20px;
  position: relative;
  padding-top: 12px;
}
.stepper::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(10% + 8px);
  right: calc(10% + 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  z-index: 0;
  opacity: .3;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 10px;
}
.step-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2.5px var(--teal-dark), var(--shadow-md);
}
.step-name {
  font-size: .78rem;
  font-weight: 800;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
  line-height: 1.3;
}
.step-desc {
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   CAPABILITIES
══════════════════════════════════════════════════════════ */
.capabilities-section { background: var(--white); }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 44px;
}
.cap-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 26px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .22s, transform .22s;
}
.cap-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cap-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--teal-light);
  border: 1px solid rgba(15,118,110,.18);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--teal-dark);
}
.cap-card h3 { color: var(--navy); margin-bottom: 10px; line-height: 1.22; }
.cap-card p  { color: var(--ink-soft); font-size: .9rem; line-height: 1.65; }

/* 20-module list panel */
.modules-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 32px;
}
.modules-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.modules-header h4 { color: var(--navy); }
.modules-count-badge {
  padding: 3px 11px;
  background: var(--navy);
  color: var(--white);
  border-radius: 100px;
  font-size: .73rem;
  font-weight: 700;
}
.modules-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.modules-table td {
  padding: 9px 14px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
  width: 50%;
  line-height: 1.45;
}
.modules-table tbody tr:first-child td { border-top: none; }
.modules-table tbody tr:nth-child(even) td { background: rgba(243,247,250,.7); }
.mod-num {
  display: inline-block;
  width: 26px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal);
}

/* ══════════════════════════════════════════════════════════
   MOCKUPS
══════════════════════════════════════════════════════════ */
.mockups-section { background: var(--paper); }
.mockup-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: var(--teal-light);
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 800;
  color: var(--teal-dark);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.mockup-full { margin-bottom: 20px; }
.mockup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Full comparison table inside mockup */
.mock-table-full {
  width: 100%;
  border-collapse: collapse;
  font-size: .77rem;
}
.mock-table-full th {
  padding: 9px 12px;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.mock-table-full th:first-child {
  background: var(--paper);
  color: var(--ink);
  border-right: 1px solid var(--line);
  width: 28%;
}
.mock-table-full th.h-bi   { background: var(--teal-dark);  color: var(--white); border-right: 1px solid rgba(255,255,255,.15); }
.mock-table-full th.h-b2   { background: var(--navy-soft);  color: rgba(255,255,255,.8); border-right: 1px solid rgba(255,255,255,.1); }
.mock-table-full th.h-b3   { background: var(--navy-mid);   color: rgba(255,255,255,.75); border-right: 1px solid rgba(255,255,255,.1); }
.mock-table-full th.h-b4   { background: var(--navy-soft);  color: rgba(255,255,255,.8); border-right: 1px solid rgba(255,255,255,.1); }
.mock-table-full th.h-b5   { background: var(--teal-dark);  color: var(--white); }
.mock-table-full .status-row td {
  padding: 8px 12px;
  background: var(--paper);
  border-bottom: 2px solid var(--line);
  font-weight: 700;
  font-size: .72rem;
  color: var(--ink-soft);
}
.mock-table-full .status-row td:first-child { color: var(--navy); }
.mock-table-full tbody tr td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.mock-table-full tbody tr:last-child td { border-bottom: none; }
.mock-table-full tbody tr:nth-child(even) td { background: rgba(243,247,250,.6); }
.mock-table-full tbody tr td:first-child {
  font-weight: 600;
  color: var(--navy-soft);
  border-right: 1px solid var(--line);
  background: var(--white);
}

/* Verification card */
.verify-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.verify-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.verify-card__tag {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal-dark);
}
.verify-card__body { padding: 18px 16px; }
.verify-criterion {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.verify-quote {
  background: var(--paper);
  border-left: 3px solid var(--teal);
  padding: 11px 14px;
  border-radius: 0 7px 7px 0;
  font-size: .8rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.58;
}
.verify-source {
  font-size: .72rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.5;
}
.verify-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vbtn {
  padding: 7px 15px;
  border-radius: 6px;
  font-size: .76rem;
  font-weight: 700;
  border: 1.5px solid;
  cursor: default;
}
.vbtn--accept { background: var(--pill-ok-bg);  color: var(--pill-ok-fg);  border-color: rgba(10,79,74,.22); }
.vbtn--flag   { background: var(--pill-ver-bg); color: var(--pill-ver-fg); border-color: rgba(120,53,15,.2); }
.vbtn--defer  { background: var(--pill-def-bg); color: var(--pill-def-fg); border-color: var(--line); }

/* Audit log */
.audit-log {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.audit-log__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.audit-log__title {
  font-size: .72rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.audit-chain-ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 3px 9px;
  border-radius: 100px;
}
.audit-log__body { padding: 10px 16px; }
.audit-entry {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .77rem;
  align-items: start;
}
.audit-entry:last-child { border-bottom: none; }
.audit-time {
  font-family: ui-monospace, monospace;
  color: var(--ink-soft);
  padding-top: 1px;
  font-size: .72rem;
}
.audit-action { font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.audit-detail { color: var(--ink-soft); line-height: 1.45; }

/* ══════════════════════════════════════════════════════════
   DELIVERABLES
══════════════════════════════════════════════════════════ */
.deliverables-section { background: var(--white); }
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
.deliverable-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal-dark);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
}
.deliverable-num {
  display: block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: .69rem;
  font-weight: 800;
  font-family: ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.deliverable-card h3 { color: var(--navy); margin-bottom: 12px; }
.deliverable-card p  { color: var(--ink-soft); font-size: .88rem; margin-bottom: 16px; }
.deliverable-value {
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .78rem;
  color: var(--teal-dark);
  font-weight: 700;
  line-height: 1.45;
}

/* ══════════════════════════════════════════════════════════
   COMPARISON
══════════════════════════════════════════════════════════ */
.comparison-section { background: var(--paper); }
.comparison-table-wrap { overflow-x: auto; margin-bottom: 24px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-size: .87rem;
  background: var(--white);
}
.comparison-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 800;
}
.comparison-table thead th.col-label {
  background: var(--paper);
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  width: 24%;
  font-size: .79rem;
}
.comparison-table thead th.col-bi {
  background: var(--teal-dark);
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.comparison-table thead th.col-gen {
  background: var(--navy-soft);
  color: rgba(255,255,255,.78);
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.comparison-table thead th.col-man {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.comparison-table tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody td.row-label {
  font-weight: 700;
  color: var(--navy);
  background: var(--paper);
  border-right: 1px solid var(--line);
  font-size: .84rem;
}
.comparison-table tbody td.cell-bi {
  background: rgba(14,117,110,.04);
  color: var(--teal-dark);
  font-weight: 600;
  border-right: 1px solid var(--line);
}
.comparison-table tbody td.cell-gen {
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
}
.comparison-table tbody td.cell-man { color: var(--ink-soft); }

/* Portfolio stats box */
.portfolio-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 32px 36px;
  color: var(--white);
}
.portfolio-box h4 {
  color: rgba(255,255,255,.55);
  margin-bottom: 22px;
  font-size: .72rem;
  letter-spacing: .14em;
}
.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.portfolio-stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  padding: 20px 18px;
}
.portfolio-stat__label { font-size: .74rem; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.portfolio-stat__value {
  font-size: clamp(1.1rem,1.9vw,1.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
}
.portfolio-stat__value.bi  { color: var(--teal-light); }
.portfolio-stat__value.gen { color: rgba(255,255,255,.6); }
.portfolio-stat__value.man { color: rgba(255,255,255,.38); }
.portfolio-stat__sub { font-size: .72rem; color: rgba(255,255,255,.45); }
.portfolio-disclaimer {
  font-size: .77rem;
  color: rgba(255,255,255,.42);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   WHERE IT FITS
══════════════════════════════════════════════════════════ */
.fit-section { background: var(--white); }
.fit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px,6vw,96px);
  align-items: start;
}
.fit-copy .section-heading { margin-bottom: 20px; }
.fit-copy > p {
  color: var(--ink-soft);
  font-size: clamp(.92rem,1.3vw,1.04rem);
  line-height: 1.72;
  margin-bottom: 28px;
}
.fit-targets-label {
  font-size: .75rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.fit-targets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.fit-target {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .87rem;
  color: var(--ink-soft);
  line-height: 1.42;
}
.fit-target::before {
  content: '✓';
  color: var(--teal);
  font-weight: 900;
  flex-shrink: 0;
}
.fit-stack { display: grid; gap: 12px; }
.fit-stack__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow: var(--shadow-xs);
}
.fit-stack__item.portal  { border-left-color: var(--ink-soft); }
.fit-stack__item.bi-item { border-left-color: var(--teal); }
.fit-stack__item.comm    { border-left-color: var(--navy); }
.fit-stack__tag {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.portal  .fit-stack__tag { color: var(--ink-soft); }
.bi-item .fit-stack__tag { color: var(--teal-dark); }
.comm    .fit-stack__tag { color: var(--navy-soft); }
.fit-stack__name {
  font-size: .98rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.32;
}
.fit-stack__desc {
  margin-top: 4px;
  font-size: .82rem;
  color: var(--ink-soft);
}

/* ══════════════════════════════════════════════════════════
   SECURITY
══════════════════════════════════════════════════════════ */
.security-section { background: var(--paper); }
.security-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.security-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 26px;
  box-shadow: var(--shadow-xs);
}
.security-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--navy);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: rgba(255,255,255,.85);
}
.security-card h3 { color: var(--navy); margin-bottom: 10px; line-height: 1.22; }
.security-card p  { color: var(--ink-soft); font-size: .9rem; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════
   DEMO CTA
══════════════════════════════════════════════════════════ */
.cta-section { background: var(--white); }
.cta-card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(48px,7vw,80px) clamp(32px,6vw,72px);
  text-align: center;
  background: var(--navy-mid);
  border-radius: 16px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cta-card .eyebrow { color: rgba(223,240,238,.8); }
.cta-card h2 { color: var(--white); margin-top: 10px; margin-bottom: 18px; }
.cta-card p {
  max-width: 620px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,.7);
  font-size: 1.04rem;
  line-height: 1.72;
}
.cta-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.cta-trust-strip span {
  padding: 7px 13px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  padding: 44px clamp(20px,5.5vw,88px);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.footer-brand { display: flex; align-items: center; }
.footer-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .7;
}
.footer-center {
  font-size: .8rem;
  line-height: 1.7;
  max-width: 540px;
  color: rgba(255,255,255,.42);
}
.footer-right { text-align: right; }
.footer-domain {
  display: block;
  color: rgba(255,255,255,.82);
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 5px;
}
#footer-email {
  color: rgba(255,255,255,.52);
  font-size: .82rem;
  transition: color .15s;
}
#footer-email:hover { color: var(--teal-light); }

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════════ */
.sr {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .48s ease, transform .48s ease;
}
.sr--visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 1050px
══════════════════════════════════════════════════════════ */
@media (max-width: 1050px) {
  .hero              { grid-template-columns: 1fr; }
  .hero-visual       { max-width: 680px; }
  .problem-grid      { grid-template-columns: repeat(2,1fr); }
  .solution-panel    { grid-template-columns: 1fr; }
  .stepper           { grid-template-columns: repeat(3,1fr); row-gap: 36px; }
  .stepper::before   { display: none; }
  .cap-grid          { grid-template-columns: repeat(2,1fr); }
  .modules-table td  { padding: 8px 10px; }
  .mockup-row        { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: repeat(2,1fr); }
  .signal-band       { grid-template-columns: 1fr; }
  .signal-band__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.09); }
  .signal-band__item:last-child { border-bottom: none; }
  .portfolio-stats   { grid-template-columns: 1fr; gap: 12px; }
  .security-grid     { grid-template-columns: repeat(2,1fr); }
  .fit-inner         { grid-template-columns: 1fr; }
  .fit-targets-grid  { grid-template-columns: 1fr; }
  .footer-inner      { grid-template-columns: 1fr 1fr; }
  .footer-center     { display: none; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 760px
══════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  .topbar-nav a:not(.nav-cta)   { display: none; }
  .nav-label-short               { display: inline; }
  .nav-label-full                { display: none; }
  h1 { font-size: clamp(2rem,8.5vw,2.4rem); }
  h2 { font-size: clamp(1.6rem,7.5vw,1.95rem); }
  .hero-actions   { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .problem-grid      { grid-template-columns: 1fr; }
  .cap-grid          { grid-template-columns: 1fr; }
  .modules-table     { font-size: .82rem; }
  .stepper           { grid-template-columns: 1fr 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .security-grid     { grid-template-columns: 1fr; }
  .portfolio-stats   { grid-template-columns: 1fr; }
  .footer-inner      { grid-template-columns: 1fr; }
  .footer-right      { text-align: left; }
  .cta-trust-strip   { justify-content: flex-start; }
}
