/* ==========================================================================
   INVOICE COMPLETE — SHARED STYLESHEET
   ========================================================================== */

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

:root {
  --bg-cream: #FAF6EE;
  --bg-cream-light: #FDF9F1;
  --ink-navy: #0B1B3D;
  --ink-navy-light: #1A2B52;
  --gold: #C8941E;
  --gold-light: #E8B547;
  --gold-dark: #8A6210;
  --text-muted: #5C6478;
  --text-light: #5F6671;
  --border-subtle: rgba(11, 27, 61, 0.08);
  --border-line: rgba(11, 27, 61, 0.12);
  --white: #FFFFFF;
  --status-red: #DC2626;
  --status-amber: #D97706;
  --status-green: #16A34A;
  --status-purple: #7C3AED;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-cream);
  color: var(--ink-navy);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Keyboard accessibility — visible focus state */
*:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-cta:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
}

.nav-links a:focus-visible,
.submenu a:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--ink-navy);
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink-navy);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink-navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s ease;
  position: relative;
}

.nav-links a:hover { opacity: 0.6; }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Dropdown submenu */
.has-submenu { position: relative; }

.has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.has-submenu > a::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  opacity: 0.6;
  transition: transform 0.2s ease;
  order: 2;
}

.has-submenu:hover > a::before {
  transform: rotate(225deg) translateY(-2px);
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px -8px rgba(11, 27, 61, 0.15);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 110;
}

/* Invisible hover bridge so dropdown doesn't close when crossing the gap */
.has-submenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li { margin: 0; }

.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-navy);
  white-space: nowrap;
  transition: background 0.15s ease;
}

.submenu a:hover {
  background: var(--bg-cream);
  opacity: 1;
}

.submenu a.active {
  background: var(--bg-cream);
  color: var(--ink-navy);
}

.submenu a.active::after { display: none; }

.nav-cta {
  background: var(--ink-navy);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  min-height: 44px;
}

.nav-cta:hover {
  background: var(--ink-navy-light);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-navy);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav-phone svg { color: var(--gold-dark); flex-shrink: 0; }
.nav-phone:hover { color: var(--gold-dark); }
.nav-phone:hover svg { color: var(--ink-navy); }

@media (max-width: 960px) {
  .nav-phone span { display: none; }
  .nav-phone { padding: 8px; }
}

@media (max-width: 600px) {
  .nav-actions .nav-cta { display: none; }
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink-navy);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 27, 61, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 27, 61, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 900px; }

/* Two-column hero with animation on the right */
.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-split .hero-content { max-width: 100%; }

.hero-split h1 { font-size: clamp(40px, 6vw, 80px); }
.hero-split .hero-lede { font-size: 18px; max-width: 540px; }

.hero-narrow { padding: 60px 0 40px; }
.hero-narrow .hero-content { max-width: 720px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-line);
  font-size: 13px;
  color: var(--ink-navy);
  font-weight: 500;
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--ink-navy);
}

.hero-narrow h1 { font-size: clamp(40px, 5.5vw, 72px); }

.hero h1 .accent { color: var(--gold-dark); }

.hero-lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   HERO ANIMATION (right side of homepage hero)
   ============================================================ */
.hero-anim {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}

.hero-anim svg { width: 100%; height: 100%; overflow: visible; }

/* Decorative grid + soft halo behind the animation */
.hero-anim::before {
  content: '';
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(200, 148, 30, 0.10), transparent 60%);
  z-index: 0;
}

/* Inflow stream — invoices flying in from the left */
.invoice-card {
  fill: var(--white);
  stroke: var(--ink-navy);
  stroke-opacity: 0.15;
  stroke-width: 1;
  filter: drop-shadow(0 8px 20px rgba(11, 27, 61, 0.10));
}

.invoice-line { fill: var(--ink-navy); opacity: 0.18; }
.invoice-stripe { fill: var(--gold); opacity: 0.55; }

/* Engine in the centre — pulsating ring */
.engine-ring {
  fill: none;
  stroke: var(--ink-navy);
  stroke-width: 1.5;
  stroke-opacity: 0.18;
  transform-origin: center;
}

.engine-ring.pulse-1 { animation: ringPulse 4s ease-out infinite; }
.engine-ring.pulse-2 { animation: ringPulse 4s ease-out infinite 1.3s; }
.engine-ring.pulse-3 { animation: ringPulse 4s ease-out infinite 2.6s; }

@keyframes ringPulse {
  0%   { r: 38;  stroke-opacity: 0.45; }
  100% { r: 110; stroke-opacity: 0; }
}

.engine-core {
  fill: var(--ink-navy);
  filter: drop-shadow(0 6px 16px rgba(11, 27, 61, 0.25));
}

.engine-mark {
  fill: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-anchor: middle;
  dominant-baseline: central;
}

.engine-rotor {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 12 8;
  transform-origin: 250px 250px;
  animation: rotorSpin 14s linear infinite;
}

@keyframes rotorSpin {
  to { transform: rotate(360deg); }
}

/* Connecting paths — animated dashes */
.flow-path {
  fill: none;
  stroke: var(--ink-navy);
  stroke-opacity: 0.18;
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  animation: dashFlow 3s linear infinite;
}

.flow-path.reverse { animation-direction: reverse; }

@keyframes dashFlow {
  to { stroke-dashoffset: -100; }
}

/* The three inflow invoices animate along the path */
.inflow {
  animation: slideInflow 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transform-origin: center;
}

.inflow.delay-1 { animation-delay: 0s; }
.inflow.delay-2 { animation-delay: 2s; }
.inflow.delay-3 { animation-delay: 4s; }

@keyframes slideInflow {
  0%   { transform: translate(-180px, 0) scale(0.85); opacity: 0; }
  10%  { opacity: 1; }
  40%  { transform: translate(-30px, 0) scale(1); opacity: 1; }
  50%  { transform: translate(0, 0) scale(0.6); opacity: 0; }
  100% { transform: translate(0, 0) scale(0.6); opacity: 0; }
}

/* Outflow approved invoices — shooting out to the right with a check */
.outflow {
  animation: slideOutflow 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transform-origin: center;
}

.outflow.delay-1 { animation-delay: 1s; }
.outflow.delay-2 { animation-delay: 3s; }
.outflow.delay-3 { animation-delay: 5s; }

@keyframes slideOutflow {
  0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
  10%  { transform: translate(20px, 0) scale(1); opacity: 1; }
  60%  { transform: translate(180px, 0) scale(1); opacity: 1; }
  80%  { transform: translate(220px, 0) scale(0.92); opacity: 0; }
  100% { transform: translate(220px, 0) scale(0.92); opacity: 0; }
}

.approved-card { fill: var(--white); stroke: #16A34A; stroke-opacity: 0.4; stroke-width: 1.5; }
.approved-check-bg { fill: #DCFCE7; }
.approved-check { fill: none; stroke: #16A34A; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Floating side labels */
.anim-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--text-light);
}

.anim-label.gold { fill: var(--gold); }

/* Subtle floating motion for the engine block */
.engine-group { animation: engineFloat 6s ease-in-out infinite; transform-origin: center; }

@keyframes engineFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .inflow, .outflow, .engine-ring, .engine-rotor, .flow-path, .engine-group {
    animation: none !important;
  }
  .inflow, .outflow { opacity: 1; transform: none; }
}
.btn-primary {
  background: var(--ink-navy);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--ink-navy-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink-navy);
  padding: 16px 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-line);
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-secondary:hover {
  background: var(--bg-cream-light);
  transform: translateY(-1px);
}

.hero-meta {
  color: var(--text-light);
  font-size: 14px;
  margin-left: 8px;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
section {
  padding: 120px 0;
  position: relative;
}

.section-sm { padding: 80px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 24px;
  max-width: 800px;
}

.section-title .accent { color: var(--gold-dark); }

.section-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
}

.section-head { margin-bottom: 64px; }

/* ============================================================
   APP MOCKUP — Browser frame with realistic UI
   ============================================================ */
.mockup-wrap {
  margin-top: 80px;
  position: relative;
}

.mockup {
  background: var(--ink-navy);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow:
    0 24px 60px -20px rgba(11, 27, 61, 0.25),
    0 0 0 1px rgba(11, 27, 61, 0.05);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 12px;
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mockup-dot.r { background: #FF5F57; }
.mockup-dot.y { background: #FEBC2E; }
.mockup-dot.g { background: #28C840; }

.mockup-url {
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', monospace;
}

.mockup-app {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 480px;
}

.mockup-sidebar {
  background: #0F1F44;
  padding: 20px 16px;
  color: rgba(255,255,255,0.85);
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  margin-bottom: 24px;
}

.mockup-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.mockup-brand-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.mockup-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 8px 8px 12px;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2px;
  cursor: pointer;
}

.mockup-nav-item.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.mockup-nav-item .ico {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.mockup-nav-item .badge-count {
  margin-left: auto;
  background: var(--gold);
  color: var(--ink-navy);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  min-width: 22px;
  text-align: center;
}

.mockup-nav-item .badge-mini {
  margin-left: auto;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  min-width: 22px;
  text-align: center;
}

.mockup-main {
  padding: 24px 28px;
  background: #FAF9F6;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mockup-title-block h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink-navy);
}

.mockup-title-block p {
  font-size: 12px;
  color: var(--text-muted);
}

.mockup-search {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 240px;
}

.mockup-table {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mockup-table-head {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr 0.8fr 1fr;
  gap: 12px;
  padding: 12px 16px;
  background: #FAF9F6;
  border-bottom: 1px solid var(--border-line);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.mockup-row {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr 0.8fr 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
  font-size: 12px;
}

.mockup-row:last-child { border-bottom: none; }

.supplier {
  display: flex;
  align-items: center;
  gap: 10px;
}

.supplier-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

.supplier-info .name {
  font-weight: 500;
  color: var(--ink-navy);
  margin-bottom: 1px;
}

.supplier-info .ref {
  font-size: 10px;
  color: var(--text-light);
}

.amount {
  font-weight: 500;
  text-align: right;
}

.due { font-size: 11px; font-weight: 500; }
.due.urgent { color: var(--status-red); }
.due.warn { color: var(--status-amber); }
.due.normal { color: var(--text-muted); }

.status-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 500;
}
.status-pill.purple { background: #F3F0FF; color: #6D28D9; }
.status-pill.amber  { background: #FEF3C7; color: #B45309; }
.status-pill.green  { background: #DCFCE7; color: #15803D; }
.status-pill.blue   { background: #DBEAFE; color: #1D4ED8; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-section {
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature {
  background: var(--white);
  padding: 40px 32px;
  transition: background 0.2s ease;
}

.feature:hover { background: var(--bg-cream-light); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--ink-navy);
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink-navy);
}

.feature p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================================
   HOW IT WORKS — Dark navy section
   ============================================================ */
.how-section {
  background: var(--ink-navy);
  color: var(--white);
  overflow: hidden;
}

.how-section .section-title,
.how-section h2 { color: var(--white); }

.how-section .section-lede { color: rgba(255,255,255,0.7); }

.how-section .eyebrow { color: var(--gold-light); }
.how-section .eyebrow-line { background: var(--gold-light); }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step {
  position: relative;
  padding: 28px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
}

.step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.step h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.step p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   SERVICES (2-column cards)
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(11, 27, 61, 0.12);
}

.service-card.dark {
  background: var(--ink-navy);
  color: var(--white);
  border-color: var(--ink-navy);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-cream);
  color: var(--ink-navy);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
  align-self: flex-start;
}

.service-card.dark .service-tag {
  background: rgba(200, 148, 30, 0.15);
  color: var(--gold-light);
}

.service-card h3 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-grow: 1;
}

.service-card.dark p { color: rgba(255,255,255,0.7); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-navy);
}

.service-card.dark .service-link { color: var(--gold-light); }

.service-link .arrow { transition: transform 0.2s ease; }
.service-card:hover .arrow { transform: translateX(4px); }

/* ============================================================
   SERVICE DETAIL CARDS (on /diensten page)
   ============================================================ */
.services-detailed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 40px 40px 40px 32px;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.service-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(11, 27, 61, 0.12);
  border-color: rgba(200, 148, 30, 0.4);
}

.service-detail-num {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--gold-dark);
  opacity: 0.55;
  line-height: 1;
  font-feature-settings: "tnum";
}

.service-detail-content { display: flex; flex-direction: column; }

.service-detail-content .service-tag { margin-bottom: 14px; }

.service-detail-content h3 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink-navy);
}

.service-detail-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 720px;
}

.service-detail-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-bottom: 24px;
  padding: 0;
}

.service-detail-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-detail-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ============================================================
   BENEFITS GRID
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.benefit {
  display: flex;
  gap: 20px;
}

.benefit-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink-navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-text h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-navy);
  letter-spacing: -0.01em;
}

.benefit-text p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================================
   CTA CARD
   ============================================================ */
.cta-section { padding: 60px 0 120px; }

.cta-card {
  background: var(--ink-navy);
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 75%);
}

.cta-card-inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.cta-card h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-card h2 .accent { color: var(--gold-light); }

.cta-card p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
}

.cta-card .btn-primary {
  background: var(--white);
  color: var(--ink-navy);
}

.cta-card .btn-primary:hover { background: var(--bg-cream); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 14px;
  color: var(--ink-navy);
  transition: opacity 0.2s ease;
}

.footer-col a:hover { opacity: 0.6; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-light);
}

/* ============================================================
   PROSE / RICH CONTENT (used on subpages)
   ============================================================ */
.prose h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
  color: var(--ink-navy);
}

.prose h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  color: var(--ink-navy);
}

.prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.prose ul {
  margin: 16px 0 24px 0;
  padding-left: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 28px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 2px;
  background: var(--gold);
}

.prose strong {
  color: var(--ink-navy);
  font-weight: 600;
}

/* ============================================================
   FORM (contact page)
   ============================================================ */
.form-card {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.form-field { display: flex; flex-direction: column; }

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink-navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-cream-light);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink-navy);
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink-navy);
  background: var(--white);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ============================================================
   CONTACT INFO BLOCKS
   ============================================================ */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

/* Two-column layout: form left, contact blocks right (stacked) */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-layout .form-card { margin: 0; }

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-stack .contact-info { margin: 0; }

.contact-info {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-cream);
  color: var(--ink-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink-navy);
}

.contact-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   APP DEMO TAB SWITCHER (used on Hoe het werkt page)
   ============================================================ */
.demo-tabs {
  display: flex;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border-line);
  padding: 6px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
  width: fit-content;
}

.demo-tab {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.demo-tab.active {
  background: var(--ink-navy);
  color: var(--white);
}

.demo-panel { display: none; }
.demo-panel.active { display: block; }

/* ============================================================
   DETAIL VIEW MOCKUP (for "Hoe het werkt" page)
   ============================================================ */
.mockup-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 600px;
}

.mockup-detail-left {
  padding: 24px 28px;
  background: #FAF9F6;
  border-right: 1px solid var(--border-line);
}

.mockup-detail-right {
  padding: 32px 28px;
  background: var(--white);
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.detail-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-navy);
  margin-bottom: 12px;
}

.detail-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: #FEF3C7;
  color: #B45309;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 20px;
}

.detail-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 16px;
}

.detail-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 24px;
}

.detail-field { display: flex; flex-direction: column; gap: 6px; }
.detail-field.full { grid-column: 1 / -1; }

.detail-field label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.detail-field .value {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--ink-navy);
}

.detail-field .value.muted { color: var(--text-light); background: #F5F4F0; }

.invoice-pdf {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: 8px;
  padding: 24px;
  font-size: 11px;
  color: var(--ink-navy);
  position: relative;
}

.invoice-pdf-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -24px -24px 20px;
  padding: 10px 14px;
  background: #FAF9F6;
  border-bottom: 1px solid var(--border-line);
  border-radius: 8px 8px 0 0;
}

.invoice-pdf-tool {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid var(--border-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 10px;
}

.invoice-pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-line);
}

.invoice-pdf-logo {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.invoice-pdf-logo .accent { color: var(--gold); }

.invoice-pdf-meta {
  font-size: 9px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: right;
}

.invoice-pdf-meta strong { color: var(--ink-navy); display: block; margin-bottom: 4px; }

.invoice-pdf-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 9px;
  line-height: 1.5;
  color: var(--text-muted);
}

.invoice-pdf-info strong { color: var(--ink-navy); display: block; margin-bottom: 3px; }

.invoice-pdf-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.invoice-pdf-ref {
  font-size: 9px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.invoice-pdf-line {
  display: grid;
  grid-template-columns: 1fr 60px 60px;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 10px;
  align-items: center;
}

.invoice-pdf-line .desc { color: var(--ink-navy); }
.invoice-pdf-line .val { text-align: right; color: var(--ink-navy); }

.invoice-pdf-totals {
  margin-top: 12px;
  padding-top: 12px;
  text-align: right;
}

.invoice-pdf-total-row {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  font-size: 10px;
  margin-bottom: 4px;
}

.invoice-pdf-total-row.final {
  font-weight: 700;
  font-size: 11px;
  padding-top: 8px;
  border-top: 1px solid var(--border-line);
  margin-top: 8px;
}

/* ============================================================
   STAT NUMBERS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
}

.stat-value {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-navy);
  margin-bottom: 8px;
}

.stat-value .accent { color: var(--gold-dark); }

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--ink-navy);
}

.faq[open] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding: 60px 0 40px; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-split h1 { font-size: clamp(40px, 7vw, 64px); }
  .hero-anim { max-width: 380px; margin: 0 auto; }
  section { padding: 80px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 56px 28px; }
  .mockup-app { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .mockup-table-head, .mockup-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .mockup-table-head .col-desc, .mockup-row .col-desc,
  .mockup-table-head .col-due, .mockup-row .col-due { display: none; }
  .mockup-detail { grid-template-columns: 1fr; }
  .mockup-detail-left { border-right: none; border-bottom: 1px solid var(--border-line); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .service-detail-card { grid-template-columns: 1fr; gap: 16px; padding: 32px 24px; }
  .service-detail-num { font-size: 40px; }
  .service-detail-points { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 20px; }
  .hero h1 { font-size: 44px; }
  .hero-narrow h1 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .cta-card { padding: 48px 24px; }
  .detail-fields { grid-template-columns: 1fr; }
}

/* ============================================================
   CUSTOMER LOGOS — homepage trust strip
   ============================================================ */
.logos-section {
  padding: 80px 0 40px;
}
.logos-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 32px;
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}
.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 56px;
  width: 100%;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  border: 1px dashed var(--border-line);
  border-radius: var(--radius-md);
  letter-spacing: 0.01em;
  line-height: 1.25;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.logo-placeholder:hover {
  color: var(--ink-navy);
  border-color: var(--gold-dark);
}
@media (max-width: 960px) {
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-section { padding: 56px 0 24px; }
}

/* ============================================================
   FAQ — accordion with FAQPage schema
   ============================================================ */
.faq-section {
  padding: 80px 0;
  background: var(--bg-cream-light);
}
.faq-list {
  max-width: 820px;
  margin: 40px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-line);
}
.faq-item:first-child { border-top: 1px solid var(--border-line); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--gold-dark);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 24px;
}
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin: 0; }
.faq-answer a { color: var(--gold-dark); text-decoration: underline; }

/* ============================================================
   ERP integraties — list page
   ============================================================ */
.erp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.erp-card {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-navy);
}
.erp-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-dark);
}
.erp-card strong { font-size: 16px; font-weight: 600; }
.erp-card span { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   BREADCRUMB & HERO-COMPACT — for sub-page templates
   ============================================================ */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border-line);
  transition: color 0.15s ease;
}
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span:not(:last-child) { color: var(--border-line); }

.hero-compact {
  padding: 40px 0 80px;
  min-height: auto;
}
.hero-compact h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 820px;
}
.hero-compact .hero-lede {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 32px;
}

/* ============================================================
   CTA-CARDS row — for 2/3/4-way matching comparison
   ============================================================ */
.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cta-card-item {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: border-color 0.2s ease;
}
.cta-card-item:hover { border-color: var(--gold-dark); }
.cta-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--ink-navy);
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  font-feature-settings: "tnum";
}
.cta-card-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-navy);
  margin: 0 0 12px;
}
.cta-card-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 960px) {
  .cta-cards { grid-template-columns: 1fr; }
}
