/* Equalis OpsReg — marketing site.
   Hand-authored. No framework. Token-only colors. */

@import url('tokens.css');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink-primary);
  background: var(--bg-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: inherit;
}

p { line-height: 1.65; }

.tabular { font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: var(--s-8) 0; }
.section-tight { padding: var(--s-7) 0; }

/* ---------- Surfaces ---------- */
.surface-deep { background: var(--bg-deep); color: var(--ink-on-deep); }
.surface-deep h1, .surface-deep h2, .surface-deep h3, .surface-deep h4 { color: var(--ink-inverse); }
.surface-deep p { color: var(--ink-muted-on-deep); }

.surface-light { background: var(--bg-surface); color: var(--ink-primary); }
.surface-soft { background: color-mix(in srgb, var(--bg-deep) 3%, white); }

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg-deep) 96%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border-on-deep);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--s-4);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--ink-muted-on-deep);
  text-decoration: none;
  font-size: var(--t-small);
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink-inverse); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-left: var(--s-3);
}

/* Hide secondary nav links on small screens; keep CTAs visible */
@media (max-width: 860px) {
  .nav-links li:not(.nav-links-essential) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: var(--t-small);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-blue);
  color: var(--ink-inverse);
}
.btn-primary:hover { background: color-mix(in srgb, var(--brand-blue) 88%, black); }

.btn-secondary {
  background: transparent;
  color: var(--ink-inverse);
  border-color: var(--border-on-deep);
}
.btn-secondary:hover {
  background: color-mix(in srgb, white 8%, transparent);
  border-color: color-mix(in srgb, white 24%, transparent);
}
.btn-secondary.on-light {
  color: var(--ink-primary);
  border-color: var(--border-soft);
}
.btn-secondary.on-light:hover {
  background: color-mix(in srgb, var(--bg-deep) 4%, white);
  border-color: color-mix(in srgb, var(--bg-deep) 18%, white);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  font-size: var(--t-small);
}
.btn-link:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding: var(--s-8) 0 var(--s-7); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-5); }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-teal);
}
.hero-h1 {
  font-size: var(--t-display);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.hero-sub {
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: var(--s-5);
}
.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  border: 1px solid var(--border-on-deep);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  background: var(--bg-deep-1);
}
.stat { padding: var(--s-3); }
.stat-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-inverse);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl {
  font-size: var(--t-small);
  color: var(--ink-muted-on-deep);
}

/* ---------- Section heading ---------- */
.sec-head { max-width: 720px; margin-bottom: var(--s-6); }
.sec-head h2 { font-size: var(--t-h2); margin-bottom: var(--s-3); }
.sec-head p { color: var(--ink-muted); font-size: 1.05rem; }
.surface-deep .sec-head p { color: var(--ink-muted-on-deep); }

/* ---------- Card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
.surface-soft .card { background: var(--bg-surface); }
.surface-deep .card {
  background: var(--bg-deep-1);
  border-color: var(--border-on-deep);
}

.card h3 { font-size: var(--t-h3); margin-bottom: var(--s-2); }
.card p { color: var(--ink-muted); font-size: var(--t-small); }
.surface-deep .card p { color: var(--ink-muted-on-deep); }

.card-num {
  font-family: var(--font-sans);
  font-size: var(--t-small);
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
  margin-bottom: var(--s-2);
}

/* Pressure cards (regulatory framing) */
.card-pressure {
  border-left: 3px solid var(--warning-amber);
}
.card-pressure .pressure-tag {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warning-amber);
  margin-bottom: var(--s-2);
}
.card-pressure h3 { margin-bottom: var(--s-2); }

/* Pillar cards */
.pillar-card { padding: var(--s-6) var(--s-5); }
.pillar-card .card-num { color: var(--brand-blue); margin-bottom: var(--s-4); }
.pillar-card h3 { font-size: 1.4rem; margin-bottom: var(--s-3); }
.pillar-card p { font-size: 1rem; }
.pillar-card ul { padding-left: 0; list-style: none; margin-top: var(--s-4); }
.pillar-card li {
  position: relative;
  padding-left: var(--s-4);
  font-size: var(--t-small);
  color: var(--ink-muted);
  margin-bottom: var(--s-2);
}
.pillar-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
}

/* Do / Don't table */
.do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 720px) {
  .do-dont { grid-template-columns: 1fr; }
}
.do-dont-col { background: var(--bg-surface); padding: var(--s-5); }
.do-dont-col h3 {
  font-size: var(--t-h4);
  margin-bottom: var(--s-4);
  display: flex; align-items: center; gap: var(--s-2);
}
.do-dont-col.do h3 { color: var(--brand-blue); }
.do-dont-col.dont h3 { color: var(--ink-muted); }
.do-dont-col ul { list-style: none; padding: 0; }
.do-dont-col li {
  position: relative;
  padding: var(--s-2) 0 var(--s-2) var(--s-4);
  border-top: 1px solid var(--border-soft);
  font-size: var(--t-small);
}
.do-dont-col li:first-child { border-top: 0; }
.do-dont-col.do li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand-blue);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-size: contain; -webkit-mask-size: contain;
  mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
}
.do-dont-col.dont li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 12px; height: 2px;
  background: var(--ink-muted);
  border-radius: 2px;
}

/* Inform-don't-act callout */
.callout {
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  background: var(--brand-blue-soft);
  border: 1px solid var(--brand-blue-line);
  font-weight: 600;
  color: var(--ink-primary);
}

/* ---------- Coverage table ---------- */
.coverage-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.coverage-table th, .coverage-table td {
  padding: var(--s-3) var(--s-4);
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  font-size: var(--t-small);
}
.coverage-table thead th {
  background: color-mix(in srgb, var(--bg-deep) 4%, white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--t-eyebrow);
  color: var(--ink-muted);
}
.coverage-table tbody tr:last-child td { border-bottom: 0; }
.coverage-table .num { font-variant-numeric: tabular-nums; font-weight: 700; }
.coverage-table tfoot td {
  background: color-mix(in srgb, var(--bg-deep) 4%, white);
  font-weight: 700;
}

/* Evidence list */
.evidence-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 860px) {
  .evidence-list { grid-template-columns: 1fr; }
}
.evidence-list li {
  position: relative;
  padding: var(--s-4) var(--s-4) var(--s-4) var(--s-6);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  font-size: var(--t-small);
  color: var(--ink-primary);
  background: var(--bg-surface);
}
.evidence-list li::before {
  content: "";
  position: absolute;
  left: var(--s-3); top: var(--s-4);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-teal-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C9A7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 12px 12px;
  background-repeat: no-repeat;
}

/* Pricing teaser */
.price-teaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
@media (max-width: 720px) {
  .price-teaser { grid-template-columns: 1fr; }
}
.price-card {
  padding: var(--s-6) var(--s-5);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
}
.price-card.featured { border-color: var(--brand-blue-line); }
.price-tier {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin-bottom: var(--s-3);
}
.price-amt {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
  font-variant-numeric: tabular-nums;
}
.price-amt span {
  font-size: 1rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.price-desc { color: var(--ink-muted); margin-bottom: var(--s-4); font-size: var(--t-small); }
.price-feats { list-style: none; padding: 0; margin-bottom: var(--s-5); }
.price-feats li {
  position: relative;
  padding: 6px 0 6px var(--s-4);
  font-size: var(--t-small);
}
.price-feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C9A7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.price-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.price-note {
  margin-top: var(--s-5);
  text-align: center;
  font-size: var(--t-small);
  color: var(--ink-muted);
}

/* Partners tiers */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 860px) {
  .tier-grid { grid-template-columns: 1fr; }
}
.tier-card {
  position: relative;
  padding: var(--s-5);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
}
.tier-card .tier-name {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
}
.tier-card .tier-margin {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
  font-variant-numeric: tabular-nums;
}
.tier-card.gold .tier-margin { color: var(--warning-amber); }
.tier-card .tier-desc { color: var(--ink-muted); font-size: var(--t-small); }
.tier-pill {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

/* Two-column features (security page) */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
@media (max-width: 720px) {
  .feature-list { grid-template-columns: 1fr; }
}
.feature {
  padding: var(--s-5);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
}
.feature h3 { font-size: var(--t-h3); margin-bottom: var(--s-2); }
.feature p { color: var(--ink-muted); font-size: var(--t-small); }

/* CTA strip */
.cta-strip {
  padding: var(--s-7) 0;
  text-align: center;
}
.cta-strip h2 {
  font-size: var(--t-h2);
  max-width: 720px;
  margin: 0 auto var(--s-4);
}
.cta-strip .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-deep);
  color: var(--ink-muted-on-deep);
  padding: var(--s-7) 0 var(--s-5);
}
.footer h3 {
  color: var(--ink-inverse);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--s-3);
}
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a {
  color: var(--ink-muted-on-deep);
  text-decoration: none;
  font-size: var(--t-small);
  transition: color .15s ease;
}
.footer a:hover { color: var(--ink-inverse); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 40px; margin-bottom: var(--s-3); }
.footer-brand address {
  font-style: normal;
  font-size: var(--t-small);
  color: var(--ink-muted-on-deep);
  line-height: 1.7;
}
.footer-bottom {
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-on-deep);
  font-size: var(--t-small);
  color: var(--ink-muted-on-deep);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* Visually hidden (accessibility helper) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--s-2);
  background: var(--bg-surface);
  color: var(--ink-primary);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  font-weight: 600;
}
.skip-link:focus { left: var(--s-3); z-index: 100; }

/* Legal pages */
.legal { padding: var(--s-7) 0; max-width: 760px; }
.legal h1 { font-size: var(--t-h1); margin-bottom: var(--s-4); }
.legal h2 { font-size: var(--t-h3); margin-top: var(--s-5); margin-bottom: var(--s-2); }
.legal p { color: var(--ink-muted); margin-bottom: var(--s-3); }
.legal-meta {
  font-size: var(--t-small);
  color: var(--ink-muted);
  margin-bottom: var(--s-5);
}

/* 404 */
.not-found {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: var(--s-7) 0;
}
.not-found h1 { font-size: var(--t-display); margin-bottom: var(--s-3); }
.not-found p { color: var(--ink-muted); margin-bottom: var(--s-5); }

/* ============================================================
   Polish v1 (2026-04-30) — items 3-9 of feat/website-polish-v1
   ============================================================ */

/* --- Item 9: "Built for" band (between hero and pressure) --- */
.builtfor-band {
  background: var(--bg-surface);
  padding: var(--s-5) 0;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}
.builtfor-pre {
  font-size: var(--t-small);
  color: var(--ink-muted);
  margin-right: var(--s-3);
  font-weight: 500;
}
.builtfor-list {
  font-size: var(--t-small);
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .builtfor-pre { display: block; margin: 0 0 var(--s-2) 0; }
}

/* --- Item 4: pillar icon (above 01/02 numeral) --- */
.pillar-icon {
  display: block;
  color: var(--brand-teal);
  margin-bottom: var(--s-3);
}

/* --- Item 5: pricing card flex-column for button alignment --- */
.price-card {
  display: flex;
  flex-direction: column;
}
.price-card .price-actions {
  margin-top: auto;
}

/* --- Item 7: framework table row hover --- */
.coverage-table tbody tr {
  cursor: default;
  transition: background-color 120ms ease-out;
}
.coverage-table tbody tr:hover {
  background: color-mix(in srgb, var(--brand-blue), white 95%);
}

/* --- Item 8: sticky header — solid initial / translucent scrolled --- */
.nav {
  background: var(--bg-deep);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 200ms ease-out;
}
.nav-inner {
  height: 64px;
  transition: height 200ms ease-out;
}
.nav-logo img {
  height: 36px;
  width: auto;
  transition: height 200ms ease-out;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg-deep), transparent 15%);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
}
.nav.scrolled .nav-inner {
  height: 52px;
}
.nav.scrolled .nav-logo img {
  height: 28px;
}

/* --- Item 6: 3-step horizontal flow in CTA strip --- */
.flow-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-4);
  max-width: 880px;
  margin: var(--s-6) auto var(--s-5);
  padding: 0 var(--s-3);
}
.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  width: calc(100% - 32px);
  height: 1px;
  background: var(--border-on-deep);
  z-index: -1;
}
.flow-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid color-mix(in srgb, var(--brand-teal), transparent 60%);
  color: var(--brand-teal);
  margin-bottom: var(--s-3);
}
.flow-step-num {
  display: block;
  font-size: var(--t-eyebrow);
  font-weight: 700;
  color: var(--brand-teal);
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}
.flow-step-title {
  display: block;
  font-size: var(--t-h4);
  font-weight: 600;
  color: var(--ink-inverse);
  margin-bottom: 4px;
}
.flow-step-sub {
  display: block;
  font-size: var(--t-small);
  color: var(--ink-muted-on-deep);
}
@media (max-width: 768px) {
  .flow-steps { grid-template-columns: 1fr; max-width: 360px; gap: var(--s-3); }
  .flow-step:not(:last-child)::after { display: none; }
}

/* --- Item 3: stat reveal — count-up width-stable + opacity fade --- */
.stat-num {
  opacity: 0;
  transition: opacity 600ms ease-out;
}
.stat-num.is-visible {
  opacity: 1;
}
.stat-num[data-count-target] {
  display: inline-block;
  text-align: left;
}
.stat-num[data-count-target="437"] { min-width: 3ch; }
.stat-num[data-count-target="39"]  { min-width: 2ch; }
.stat-num[data-count-target="5"]   { min-width: 1ch; }

/* ============================================================
   Content + credibility v1 (2026-04-30)
   ============================================================ */

/* --- Item 1D: hero CTA up-weight --- */
.btn-lg {
  padding: 14px 28px;
  min-height: 52px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- Item 1E: hero padding trim ~25-30% --- */
.surface-deep.hero {
  padding: var(--s-7) 0 var(--s-6); /* 64 + 48 = 112px (was 160px) */
}

/* --- Item 1B / 3B: hero illustration thumbnail (right column) --- */
.hero-illustration {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px -12px rgba(0,0,0,0.5);
}
.hero-illustration .dashboard-illustration {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  .hero-illustration { margin-top: var(--s-4); }
}

/* --- Item 2: founder authority band --- */
.founder-band {
  background: var(--bg-surface);
  padding: var(--s-4) 0;
  text-align: center;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.founder-band p {
  max-width: 780px;
  margin: 0 auto;
  font-size: var(--t-small);
  color: var(--ink-primary);
  line-height: 1.6;
}
.founder-name {
  color: var(--brand-blue);
  font-weight: 600;
}

/* --- Item 3B: Built for scale band (relocated 4-stat panel) --- */
.scale-band {
  padding: var(--s-6) 0;
  background: var(--bg-surface);
}
.scale-eyebrow {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin-bottom: var(--s-4);
  text-align: center;
}
.scale-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .scale-stats { grid-template-columns: repeat(2, 1fr); }
}
.scale-stat { text-align: center; }
.scale-stat .stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.scale-stat .stat-lbl {
  font-size: var(--t-small);
  color: var(--ink-muted);
}

/* --- Item 3A: full-width product illustration (platform.html) --- */
.product-illustration {
  margin: var(--s-4) 0 0;
  position: relative;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.product-illustration .dashboard-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  box-shadow: 0 16px 48px -16px color-mix(in srgb, var(--ink-primary) 25%, transparent);
}

/* --- Item 4: FAQ band --- */
.faq-band { padding: var(--s-7) 0; }
.faq-band .sec-head { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: var(--bg-surface);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: var(--s-3) var(--s-6) var(--s-3) var(--s-4);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-primary);
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: var(--s-4);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand-blue);
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer {
  padding: 0 var(--s-4) var(--s-4);
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-item .faq-answer p { margin: 0; }

/* ============================================================
   Brand fix + design polish v2 (2026-04-30)
   ============================================================ */

/* --- Item 10C: architecture transparency band (replaces founder band on home) --- */
.arch-band {
  background: var(--bg-surface);
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.arch-band p {
  max-width: 900px;
  margin: 0 auto;
  font-size: var(--t-small);
  color: var(--ink-muted);
  line-height: 1.6;
}

/* --- Item 10B: "Who built this" section on company.html --- */
.who-built {
  background: var(--bg-surface);
  padding: 64px 0;
}

/* --- Item 3: Built-for-scale rebalance --- */
.scale-stat .stat-num {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-blue);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 8px;
}
.scale-stat .stat-lbl {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
}

/* --- Item 4: pillar card — numeral upper-left, icon 36px, teal check bullets --- */
.pillar-card { position: relative; padding-top: var(--s-7); }
.pillar-card .card-num {
  position: absolute;
  top: var(--s-4);
  left: var(--s-5);
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-blue);
  margin: 0;
}
.pillar-card .pillar-icon { margin-bottom: var(--s-3); }
.pillar-card li { padding-left: var(--s-4); }
.pillar-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C9A7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  border-radius: 0;
}

/* --- Item 6: pressure cards — warm amber + hover lift --- */
.card-pressure {
  border-left-width: 4px;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.card-pressure:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--ink-primary) 14%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .card-pressure:hover { transform: none; }
}

/* --- Item 7: framework table icons + status colors --- */
.fw-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fw-icon {
  color: var(--brand-blue);
  flex-shrink: 0;
}
.status-active { color: color-mix(in srgb, var(--brand-teal), var(--ink-primary) 50%); font-weight: 600; }
.status-warning { color: var(--warning-amber); font-weight: 600; }
.status-default { color: var(--ink-muted); }

/* --- Item 8: does/dont — muted right column --- */
.do-dont-col.dont {
  background: color-mix(in srgb, var(--bg-surface), var(--ink-muted) 3%);
}
.do-dont-col.dont li {
  color: var(--ink-muted);
  font-weight: 400;
}
.do-dont-col.dont li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: 14px;
  background: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 0;
}

/* --- Item 9: section padding standardisation — 96px desktop / 64px mobile --- */
.surface-deep.hero { padding: 96px 0; }
.section { padding: 96px 0; }
.section-tight { padding: 96px 0; }
.cta-strip { padding: 96px 0; }
.faq-band { padding: 96px 0; }
.scale-band { padding: 96px 0; }
.builtfor-band { padding: 96px 0; }
@media (max-width: 768px) {
  .surface-deep.hero,
  .section,
  .section-tight,
  .cta-strip,
  .faq-band,
  .scale-band,
  .builtfor-band {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* ============================================================
   Polish v2 additions — items 12, 13, 14 (2026-04-30)
   ============================================================ */

/* --- Item 12: evidence record visual (replaces 3-card list) --- */
.evidence-record {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 24px;
  background: var(--bg-surface);
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--ink-primary) 8%, transparent);
}
.evidence-row {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: nowrap;
}
.evidence-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--brand-teal), var(--ink-primary) 50%);
  color: var(--ink-inverse);
  flex-shrink: 0;
}
.evidence-rule-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.evidence-attribution { flex: 0 0 auto; min-width: 0; }
.evidence-resource {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin: 0;
  white-space: nowrap;
}
.evidence-subscription {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
  white-space: nowrap;
}
.evidence-timestamp {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: right;
}
.evidence-framework {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--brand-blue);
  color: var(--ink-inverse);
  white-space: nowrap;
  flex-shrink: 0;
}
.evidence-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-4);
  margin-top: var(--s-3);
  padding: 0 24px;
}
.evidence-labels p {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
  margin: 0;
}
@media (max-width: 768px) {
  .evidence-row { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .evidence-rule-name { font-size: 16px; }
  .evidence-timestamp { text-align: left; white-space: normal; }
  .evidence-labels { display: none; }
}

/* --- Item 13: pillar cards — gradient + inline icons + stat per card --- */
.pillar-01 { background: color-mix(in srgb, var(--brand-blue), white 96%); }
.pillar-02 { background: color-mix(in srgb, var(--brand-teal), white 96%); }
.pillar-card {
  position: relative;
  padding: 80px 48px 48px;
  transition: transform 200ms ease-out;
  border: 1px solid var(--border-soft);
}
@media (max-width: 768px) { .pillar-card { padding: 64px 32px 32px; } }
.pillar-card:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .pillar-card:hover { transform: none; } }

.pillar-marker {
  position: absolute;
  top: 32px;
  left: 32px;
}
.pillar-card .card-num {
  position: static;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  margin: 0;
  line-height: 1;
}
.pillar-01 .card-num { color: var(--brand-blue); }
.pillar-02 .card-num { color: color-mix(in srgb, var(--brand-teal), var(--ink-primary) 50%); }
.pillar-marker::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin-top: 6px;
}
.pillar-01 .pillar-marker::after { background: var(--brand-blue); }
.pillar-02 .pillar-marker::after { background: var(--brand-teal); }

.pillar-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--s-4);
}
.pillar-card .pillar-icon {
  width: 32px;
  height: 32px;
  margin: 0;
  flex-shrink: 0;
}
.pillar-01 .pillar-icon { color: var(--brand-blue); }
.pillar-02 .pillar-icon { color: var(--brand-teal); }
.pillar-card h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-primary);
  margin: 0;
  line-height: 1.2;
}

.pillar-stat { margin: 0 0 24px; }
.pillar-stat-num {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.pillar-01 .pillar-stat-num { color: var(--brand-blue); }
.pillar-02 .pillar-stat-num { color: var(--brand-teal); }
.pillar-stat-lbl {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
}

/* --- Item 14: framework coverage callout + NIS2 emphasis + total promotion --- */
.coverage-callout {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-primary);
  margin: var(--s-3) 0 var(--s-5);
  line-height: 1.6;
}
.coverage-callout-emphasis {
  color: var(--brand-blue);
  font-weight: 600;
}
.coverage-table tbody tr.row-nis2 {
  background: color-mix(in srgb, var(--warning-amber), white 96%);
}
.coverage-table tbody tr.row-nis2 td {
  padding-top: 18px;
  padding-bottom: 18px;
}
.coverage-table tbody tr.row-nis2:hover {
  background: color-mix(in srgb, var(--warning-amber), white 92%);
}
.coverage-table tfoot tr.row-total td {
  border-top: 2px solid var(--brand-blue);
  padding-top: calc(var(--s-3) + 8px);
  font-weight: 600;
}
.coverage-table tfoot tr.row-total td.num {
  font-size: 18px;
  font-weight: 700;
  color: color-mix(in srgb, var(--brand-blue), var(--ink-primary) 25%);
}
.coverage-table tfoot tr.row-total td:last-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-primary);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .stat-num { opacity: 1; }
}
