/* =====================================================================
   Corpograph — Marketing Website
   Design language: "Governance Dossier" (consistent with the product app)
   Pure static CSS. No build step. No dependencies (fonts via CDN).
   ===================================================================== */

:root {
  /* Surfaces */
  --paper: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --surface-ink: #0c1a28;
  --surface-ink-2: #122336;

  /* Ink / text */
  --ink: #0c1a28;
  --ink-2: #16263a;
  --text: #1b2632;
  --muted: #5e6a78;
  --faint: #6f7886;

  /* Lines */
  --line: #e6e1d8;
  --line-2: #efebe3;

  /* Accent + semantics */
  --accent: #1c3f8f;
  --accent-2: #3d6cd8;
  --accent-bar: #6e97f0;
  --accent-soft: #e8edf8;
  --gold: #b98a2e;
  --ok: #0f6b4f;
  --ok-soft: #e6f1ec;
  --warn: #9a5b00;
  --warn-soft: #f6eddd;
  --bad: #a6261b;
  --slate: #41556b;
  --slate-soft: #eceff3;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(12, 26, 40, 0.04), 0 18px 48px -28px rgba(12, 26, 40, 0.28);
  --shadow-lg: 0 2px 4px rgba(12, 26, 40, 0.05), 0 40px 80px -40px rgba(12, 26, 40, 0.45);

  --sans: "Hanken Grotesk", -apple-system, system-ui, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --maxw: 1320px;
  --maxw-wide: 1480px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image: radial-gradient(rgba(12, 26, 40, 0.02) 1px, transparent 1px);
  background-size: 4px 4px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------- Utilities */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.section {
  padding: 96px 0;
}
.section--tight {
  padding: 64px 0;
}
.section--ink {
  background: var(--surface-ink);
  color: #c7d0da;
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
.section--ink h1,
.section--ink h2,
.section--ink h3 {
  color: #ffffff;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 14px 0 0;
}
h3 {
  font-size: 20px;
  font-weight: 600;
}
.lead {
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
}
.section--ink .lead {
  color: #9fb0c0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #173575;
  text-decoration: none;
}
.btn-ghost {
  background: var(--surface);
  color: var(--ink-2);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: #cfc9bd;
  text-decoration: none;
}
.btn-ink {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-ink:hover {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}
.btn-lg {
  height: 52px;
  padding: 0 28px;
  font-size: 16px;
}

/* Pills / chips */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.pill.ok {
  color: var(--ok);
  background: var(--ok-soft);
}
.pill.ok i {
  background: var(--ok);
}
.pill.warn {
  color: var(--warn);
  background: var(--warn-soft);
}
.pill.warn i {
  background: var(--warn);
}
.pill.slate {
  color: var(--slate);
  background: var(--slate-soft);
}
.pill.slate i {
  background: var(--slate);
}

/* ---------------------------------------------------------- Top nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand .mark {
  width: 30px;
  height: 30px;
}
.brand .word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 10px;
}
.nav-links a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--ink-2);
  text-decoration: none;
}
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta .btn {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 9px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--ink-2);
}

/* ---------------------------------------------------------- Hero */
.hero {
  padding: 76px 0 64px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-top: 18px;
}
.hero .lead {
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.hero-trust .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

/* ---------------------------------------------------- Product mockups */
.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface-2);
}
.mock-top .dotrow {
  display: flex;
  gap: 6px;
}
.mock-top .dotrow i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dcd6ca;
}
.mock-top .crumb {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
  margin-left: 8px;
}
.mock-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 360px;
}
.mock-side {
  background: var(--surface-ink);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-side .s-brand {
  font-family: var(--serif);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mock-side .s-brand .m {
  width: 16px;
  height: 16px;
}
.mock-nav {
  font-size: 11.5px;
  color: #aab6c2;
  padding: 7px 9px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-nav .ic {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #4a5b6e;
}
.mock-nav.active {
  background: linear-gradient(90deg, rgba(110, 151, 240, 0.22), rgba(110, 151, 240, 0.03));
  color: #fff;
  box-shadow: inset 2px 0 0 var(--accent-bar);
}
.mock-nav.active .ic {
  background: var(--accent-bar);
}
.mock-main {
  padding: 16px;
}
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.mock-kpi {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 11px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.mock-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}
.mock-kpi.ok::before {
  background: var(--ok);
}
.mock-kpi.warn::before {
  background: var(--warn);
}
.mock-kpi .l {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.mock-kpi .v {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-top: 3px;
}
.mock-table {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.mock-row {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr 0.8fr;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-2);
  font-size: 11px;
  align-items: center;
}
.mock-row:last-child {
  border-bottom: none;
}
.mock-row.head {
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
}
.mock-row.root {
  background: linear-gradient(90deg, #f4f7fc, transparent 60%);
}
.mock-row .co {
  font-weight: 600;
  color: var(--ink-2);
}
.mock-row.root .co {
  font-family: var(--serif);
  font-size: 13px;
}
.mock-row .num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  justify-self: start;
}
.mock-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.mock-pill.ok {
  color: var(--ok);
  background: var(--ok-soft);
}
.mock-pill.ok i {
  background: var(--ok);
}
.mock-pill.warn {
  color: var(--warn);
  background: var(--warn-soft);
}
.mock-pill.warn i {
  background: var(--warn);
}
.mock-pill.slate {
  color: var(--slate);
  background: var(--slate-soft);
}
.mock-pill.slate i {
  background: var(--slate);
}

/* ---------------------------------------------------------- Logos strip */
.logos {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.logos-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.logos-inner .team {
  color: var(--slate);
  font-weight: 600;
}
.logos-inner .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

/* ---------------------------------------------------------- Cards grids */
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card .ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.card .ic svg {
  width: 21px;
  height: 21px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 14.5px;
}
.card ul {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 7px;
}
.card ul li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--text);
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-bar);
}
.card .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 16px;
  display: block;
}

/* Pain points — editorial numbered index (not identical boxes) */
#problem .grid-3 {
  counter-reset: pain;
  gap: 30px 44px;
}
.pain {
  counter-increment: pain;
  border: none;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 18px 0 4px;
  position: relative;
}
.pain::before {
  content: counter(pain, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 13px;
}
.pain::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 38px;
  height: 2px;
  background: var(--bad);
}
.pain h3 {
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pain p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------------------------------------------------------- Solution diagram */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.flow-col {
  display: grid;
  gap: 10px;
}
.flow-node {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text);
  box-shadow: var(--shadow);
}
.flow-node .k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  display: block;
  margin-bottom: 2px;
}
.flow-core {
  border: 1.5px solid var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow);
  border-radius: 12px;
  padding: 20px 18px;
  text-align: center;
}
.flow-core .word {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-2);
}
.flow-core .sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.flow-arrow {
  color: var(--accent-bar);
}
.flow-arrow svg {
  width: 30px;
  height: 18px;
}

/* ---------------------------------------------------------- Workflow steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 7px;
  padding: 3px 9px;
  display: inline-block;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.step p {
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------------------------------------------------- Enterprise panel */
.enterprise {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.checklist {
  display: grid;
  gap: 14px;
}
.checklist .item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.checklist .ck {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(110, 151, 240, 0.16);
  color: var(--accent-bar);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.checklist .ck svg {
  width: 14px;
  height: 14px;
}
.checklist .item b {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.checklist .item span {
  color: #9fb0c0;
  font-size: 13.5px;
  display: block;
  margin-top: 2px;
}
.deploy-card {
  background: var(--surface-ink-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
}
.deploy-card .h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7e93ae;
  margin-bottom: 14px;
}
.deploy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: #c7d0da;
}
.deploy-row .badge {
  font-family: var(--mono);
  font-size: 10.5px;
  color: #9fb0c0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 2px 9px;
}

/* ---------------------------------------------------------- Use cases */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.usecase {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.usecase .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.usecase h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-2);
  margin: 8px 0 6px;
}
.usecase p {
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------------------------------------------------------- CTA band */
.cta-band {
  background: var(--surface-ink);
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(110, 151, 240, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}
.cta-band > * {
  position: relative;
}
.cta-band h2 {
  color: #fff;
}
.cta-band .lead {
  color: #9fb0c0;
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------- Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer .brand .word {
  font-size: 20px;
}
.footer .blurb {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
  max-width: 280px;
}
.footer h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer ul {
  list-style: none;
  display: grid;
  gap: 9px;
}
.footer ul a {
  color: var(--muted);
  font-size: 14px;
}
.footer ul a:hover {
  color: var(--ink-2);
  text-decoration: none;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--faint);
}
.footer-bottom .mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------- Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .enterprise {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .grid-3,
  .steps,
  .usecases {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 64px 0;
  }
  .nav-links,
  .nav-cta .btn-ghost {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 16px;
  }
  .nav.open .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-2);
  }
  .grid-2,
  .grid-3,
  .steps,
  .usecases,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mock-body {
    grid-template-columns: 110px 1fr;
  }
  .cta-band {
    padding: 40px 24px;
  }
  .container {
    padding: 0 20px;
  }
}

/* =====================================================================
   Product tour — full-width module previews (illustrative mockups)
   ===================================================================== */
.container-wide {
  width: 100%;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 0 28px;
}

.tour {
  display: grid;
  gap: 88px;
}
/* Stacked, full-width visuals so dense product screenshots stay readable.
   column-reverse => copy/heading on top, then the full-width screenshot + caption. */
.tour-row {
  display: flex;
  flex-direction: column-reverse;
}
.tour-row.rev .tour-visual {
  order: 0;
}
.tour-copy {
  max-width: 920px;
  margin: 0 0 26px;
}
.tour-copy .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.tour-copy h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 12px 0 0;
}
.tour-copy p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
  max-width: 760px;
}
.tour-copy ul {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}
.tour-copy ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text);
}
.tour-copy ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-bar);
}
.shot-caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--faint);
  margin-top: 10px;
  text-align: center;
}
/* Second stacked frame within one tour visual (e.g. Field Library + configured fields) */
.shot-caption + .frame {
  margin-top: 38px;
}

/* Real product screenshots in a browser frame */
.frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.frame .bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-2);
}
.frame .bar .dots {
  display: flex;
  gap: 6px;
}
.frame .bar .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dcd6ca;
}
.frame .bar .url {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
  margin-left: 6px;
}
.frame img {
  display: block;
  width: 100%;
  height: auto;
}
/* Panel/modal screenshots (narrower) — centered on a surface instead of full-bleed */
.frame.is-panel {
  background: var(--surface-2);
  padding: 28px;
  display: flex;
  justify-content: center;
}
.frame.is-panel img {
  max-width: 680px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Wider workspace table mock (more columns) */
.mock-wide .mock-row {
  grid-template-columns: 1.8fr 0.6fr 0.6fr 0.7fr 0.7fr 0.9fr;
}
.mock .toolbar-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface-2);
}
.mock .toolbar-mock .search {
  flex: 1;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.mock .toolbar-mock .btnm {
  height: 26px;
  width: 64px;
  border-radius: 7px;
  background: var(--accent);
}
.mock .toolbar-mock .btnm.ghost {
  background: #fff;
  border: 1px solid var(--line);
  width: 52px;
}

/* Org / structure tree mock */
.mock-org {
  padding: 26px 18px;
  background: radial-gradient(circle at center, #fcfbf8, #f3f1eb);
  overflow-x: auto;
}
.org {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 460px;
}
.org .trunk {
  width: 2px;
  height: 20px;
  background: #d8d2c6;
}
.org-row {
  display: flex;
  gap: 16px;
  position: relative;
  padding-top: 20px;
}
.org-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 2px;
  background: #d8d2c6;
}
.org-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.org-branch::before {
  content: "";
  width: 2px;
  height: 20px;
  margin-top: -20px;
  background: #d8d2c6;
}
.org-node {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 11px;
  background: #fff;
  min-width: 122px;
  box-shadow: var(--shadow);
}
.org-node.root {
  min-width: 168px;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow);
  text-align: center;
}
.org-node .nm {
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.2;
}
.org-node.root .nm {
  font-family: var(--serif);
  font-size: 15px;
}
.org-node .cd {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--faint);
  margin-top: 4px;
}
.org-node .st {
  margin-top: 7px;
}

/* Boards mock — mandate list */
.mock-list {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.mock-list .li {
  padding: 10px 13px;
  border-bottom: 1px solid var(--line-2);
}
.mock-list .li:last-child {
  border-bottom: none;
}
.mock-list .li .nm {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 12.5px;
}
.mock-list .li .meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--muted);
}
.mock-list .li .meta .num {
  font-family: var(--mono);
  color: var(--slate);
}

/* Banking mock — authority columns */
.bank-acct {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 12px;
}
.bank-acct .head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-2);
  flex-wrap: wrap;
}
.bank-acct .head .an {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 12px;
}
.bank-acct .head .bk {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
  background: #fff;
}
.bank-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.bank-col {
  padding: 11px 12px;
  border-right: 1px solid var(--line-2);
}
.bank-col:last-child {
  border-right: none;
}
.bank-col .h {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.bank-col.a .h {
  color: var(--accent);
}
.bank-col.b .h {
  color: #7a4fb5;
}
.bank-col.o .h {
  color: var(--slate);
}
.bank-col .sub {
  font-size: 8.5px;
  color: var(--faint);
  margin: 2px 0 9px;
}
.signer {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px;
  background: #fff;
}
.signer .pn {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 11px;
}
.signer .pr {
  font-size: 9.5px;
  color: var(--muted);
  margin-bottom: 6px;
}
.signer .tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tag2 {
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--slate);
  background: var(--slate-soft);
  border-radius: 5px;
  padding: 2px 6px;
}
.bank-col .empty {
  font-size: 10px;
  color: var(--faint);
  font-style: italic;
}

@media (max-width: 980px) {
  .tour-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tour-row.rev .tour-visual {
    order: 0;
  }
}

/* ===== Hero: stacked, centered text + big full-width product shot ===== */
.hero-head {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.hero-head .lead {
  margin: 16px auto 0;
  max-width: 660px;
}
.hero-head .hero-cta {
  justify-content: center;
}
.hero-head .hero-trust {
  justify-content: center;
}
.hero-shot {
  max-width: 1180px;
  margin: 46px auto 0;
}

/* Elegant bottom fade for cropped table screenshots (looks intentional, not cut off) */
.frame--fade {
  position: relative;
}
.frame--fade::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 1px;
  height: 110px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 92%);
  pointer-events: none;
  border-radius: 0 0 13px 13px;
}

/* ===== Accessibility & nav polish ===== */
.skip-link {
  position: absolute;
  left: 12px;
  top: -52px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
  text-decoration: none;
  outline: 2px solid var(--accent-bar);
}
.lang-switch {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 12px;
  line-height: 1;
}
.lang-switch:hover {
  color: var(--ink-2);
  border-color: #cfc9bd;
  background: var(--surface-2);
  text-decoration: none;
}
.nav-links a.active {
  color: var(--ink-2);
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

