/* ============================================================
   STREETS — Global Stylesheet
   streets.realestate
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors — per Charte graphique v1.1 */
  --color-primary:       #14185E;  /* Burlingame navy */
  --color-accent:        #FF643C;  /* Brand coral-orange (use on dark bg + as tint only) */
  --color-accent-strong: #C8431F;  /* Darker orange for text/CTA on light bg — WCAG AA 4.91:1 on white */
  --color-accent-hover:  #B23C18;  /* CTA hover */

  /* Typography — Burlingame is the logo only (per Charte graphique v1.1);
     the charter does not mandate a headings/body font. Space Grotesk + Inter chosen.
     Change these two lines to swap fonts site-wide. */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: var(--font-heading);  /* alias used by legal pages' inline styles */
  --color-bg-light:      #F3F3F7;  /* Tertiary off-white */
  --color-bg-warm:       #FFF7F5;  /* Tertiary warm white */
  --color-bg-light-blue: #9cc9f2;  /* Tertiary light blue */
  --color-secondary:     #343ef7;  /* Secondary vivid blue */
  --color-text:          #0d0f2b;  /* Near-black with navy tint */
  --color-text-muted:    #6b7280;
  --color-white:         #ffffff;
  --color-border:        #CCD2D9;  /* Tertiary grey */
  --color-success:       #10b981;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);

  /* Border Radius */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;

  /* Spacing */
  --section-padding:        80px;
  --section-padding-mobile: 48px;

  /* Layout */
  --max-width:  1200px;
  --nav-height: 72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Text wordmark fallback (the live logo is an SVG). Uses the heading font. */
.wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(1.875rem, 4vw, 3rem);   letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem);  letter-spacing: -0.015em; }
h3 { font-size: clamp(1.0625rem, 2vw, 1.375rem); }
h4 { font-size: 1.0625rem; }

p { line-height: 1.7; }

.lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-padding) 0; }
.section-white  { background: var(--color-white); }
.section-light  { background: var(--color-bg-light); }
.section-warm   { background: var(--color-bg-warm); }
.section-dark   { background: var(--color-primary); color: var(--color-white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-white); }
.section-accent { background: var(--color-accent); }

/* ============================================================
   TAGLINE BAR (SIMPLIFY · UNITE · OPTIMISE)
   ============================================================ */
.tagline-bar {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.tagline-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.tagline-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.tagline-pill svg { color: var(--color-accent); flex-shrink: 0; }
.tagline-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-border);
}

/* How It Works steps */
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.how-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.how-step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 0 0 8px var(--color-white), 0 0 0 9px var(--color-border);
}
.how-step h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.how-step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.how-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  color: var(--color-border);
  flex-shrink: 0;
}

/* Why STREETS — 6 pillars */
.why-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-pillar {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-pillar:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.why-pillar-num {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.why-pillar h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.why-pillar p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* KPI strip */
.kpi-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.kpi-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(20,24,94,0.06);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1rem; color: var(--color-text-muted); }
.section-dark .section-header p { color: var(--color-bg-light-blue); }

/* Pages with transparent nav: hero extends behind it */
main { padding-top: 0; }
/* Non-hero pages that start with white content need their own top offset */
.page-no-hero { padding-top: var(--nav-height); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  height: var(--nav-height);
  transition: background 0.25s, border-bottom 0.25s, box-shadow 0.25s;
}
/* Transparent state — white logo + links on dark hero */
.nav:not(.scrolled) .nav-logo { color: var(--color-white); }
.nav:not(.scrolled) .nav-links > a { color: rgba(255,255,255,0.82); }
.nav:not(.scrolled) .nav-links > a:hover { color: var(--color-white); }
.nav:not(.scrolled) .nav-dropdown-trigger { color: rgba(255,255,255,0.82); }
.nav:not(.scrolled) .nav-dropdown-trigger:hover { color: var(--color-white); }
.nav:not(.scrolled) .btn-primary { background: var(--color-accent-strong); border-color: var(--color-accent-strong); }
.nav:not(.scrolled) .nav-hamburger span { background: var(--color-white); }

/* Scrolled state — white background */
.nav.scrolled {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 16px rgba(20,24,94,0.08);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links > a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.15s;
}
.nav-links > a:hover { color: var(--color-primary); }

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  transition: color 0.15s;
}
.nav-dropdown-trigger:hover { color: var(--color-primary); }
.nav-dropdown-trigger svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--color-white);
  padding: 16px 24px 40px;
  overflow-y: auto;
  z-index: 999;
}
.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border);
}
.nav-mobile a.btn { border-bottom: none; margin-top: 20px; }

.nav-mobile-group-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  padding: 20px 0 4px;
}

.nav-mobile-sub a {
  padding-left: 16px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--color-border);
  padding-top: 11px;
  padding-bottom: 11px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--color-accent-strong);
  color: var(--color-white);
  border: 2px solid var(--color-accent-strong);
}
.btn-primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary); color: var(--color-white); }

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--color-white); background: rgba(255,255,255,0.08); }

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
}
.btn-white:hover { background: var(--color-bg-light); }

.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--color-primary);
  padding: calc(var(--nav-height) + 72px) 0 80px;
  position: relative;
  overflow: hidden;
}

/* STREETS brand wavy-line pattern — white lines on navy */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M-100 480 C150 360 350 520 600 420 S900 280 1100 380 1350 480 1400 440' stroke='white' stroke-width='1.2' fill='none' opacity='0.07'/%3E%3Cpath d='M-100 400 C100 300 300 440 550 340 S850 200 1050 300 1300 400 1400 360' stroke='white' stroke-width='1.8' fill='none' opacity='0.06'/%3E%3Cpath d='M-100 320 C200 220 400 360 650 260 S950 120 1150 220 1350 320 1400 280' stroke='white' stroke-width='1.2' fill='none' opacity='0.08'/%3E%3Cpath d='M-100 240 C180 140 380 280 630 180 S930 40 1130 140 1330 240 1400 200' stroke='white' stroke-width='2' fill='none' opacity='0.05'/%3E%3Cpath d='M-100 540 C120 440 320 580 570 480 S870 340 1070 440 1320 540 1400 500' stroke='white' stroke-width='0.8' fill='none' opacity='0.1'/%3E%3Cpath d='M-100 160 C220 60 420 200 670 100 S970 -40 1170 60 1370 160 1400 120' stroke='white' stroke-width='1.5' fill='none' opacity='0.06'/%3E%3Cpath d='M-100 580 C80 500 260 600 480 540 S750 440 950 520 1200 580 1400 560' stroke='%23FF643C' stroke-width='1.5' fill='none' opacity='0.18'/%3E%3Cpath d='M-100 100 C260 0 460 160 700 60 S1010 -80 1210 20 1370 100 1400 80' stroke='%23FF643C' stroke-width='1' fill='none' opacity='0.12'/%3E%3Cpath d='M-100 460 C170 380 370 460 560 400 S820 300 1020 380 1280 460 1400 420' stroke='white' stroke-width='0.6' fill='none' opacity='0.12'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* Subtle orange glow top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,100,60,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 24px;
}
.hero-content .lead {
  color: var(--color-bg-light-blue);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Centered hero (for persona / inner pages) */
.hero-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-centered h1   { color: var(--color-white); margin-bottom: 20px; }
.hero-centered .lead { color: var(--color-bg-light-blue); margin-bottom: 40px; }

/* ============================================================
   DASHBOARD MOCKUP (Homepage Hero Visual)
   ============================================================ */
.hero-visual { position: relative; z-index: 1; }

.dashboard-mockup {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mockup-dot { width: 9px; height: 9px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  margin-left: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.mockup-kpi {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 10px 12px;
}
.mockup-kpi-label {
  font-size: 0.5625rem;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.mockup-kpi-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}
.mockup-kpi-delta {
  font-size: 0.625rem;
  font-weight: 500;
  color: #10b981;
  margin-top: 2px;
}
.mockup-kpi-delta.down { color: #f87171; }

.mockup-chart {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 12px 14px 0;
  margin-bottom: 10px;
  height: 90px;
  display: flex;
  flex-direction: column;
}
.mockup-chart-label {
  font-size: 0.5625rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}
.mockup-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 48px;
}
.mockup-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(255,255,255,0.12);
}
.mockup-bar.hi { background: var(--color-accent); }
.mockup-bar.md { background: rgba(244,124,32,0.5); }

.mockup-row { display: flex; gap: 10px; }

.mockup-table {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 10px 12px;
  flex: 1;
}
.mockup-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.625rem;
}
.mockup-table-row:last-child { border-bottom: none; }
.mockup-tl { color: rgba(255,255,255,0.45); font-weight: 500; }
.mockup-tv { color: var(--color-white); font-weight: 600; }

.mockup-status {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 10px 12px;
  flex: 1;
}
.mockup-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.625rem;
}
.mockup-status-row:last-child { border-bottom: none; }
.mockup-sl { color: rgba(255,255,255,0.45); font-weight: 500; }
.mockup-badge {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-green { background: rgba(16,185,129,0.18); color: #34d399; }
.badge-amber { background: rgba(245,158,11,0.18); color: #fbbf24; }
.badge-red   { background: rgba(248,113,113,0.18); color: #f87171; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-bar-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  margin-right: 8px;
}
.trust-items { display: flex; flex-wrap: wrap; gap: 28px; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}
.trust-item svg { color: var(--color-accent); flex-shrink: 0; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.cards-grid { display: grid; gap: 24px; }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card-icon {
  width: 44px; height: 44px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { color: var(--color-primary); }

.card h3 { font-size: 1rem; margin-bottom: 10px; }
.card p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.65; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap 0.15s;
}
.card-link:hover { gap: 10px; }
.card-link svg { width: 14px; height: 14px; }

/* Problem cards */
.problem-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.problem-card h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 10px; }
.problem-card p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.65; }

/* Use-case cards */
.use-case-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.use-case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.use-case-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.use-case-card-icon svg { color: var(--color-white); }
.use-case-card h3 { font-size: 1.125rem; margin-bottom: 12px; }
.use-case-card p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.65; flex: 1; }

/* ============================================================
   FEATURE SECTIONS (alternating)
   ============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature-block + .feature-block { margin-top: 80px; }
.feature-block.reverse .feature-visual { order: -1; }

.feature-content h2 { margin-bottom: 16px; }
.feature-content .lead { margin-bottom: 28px; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--color-text);
}
.feature-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--color-accent); }

.feature-visual {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.9375rem;
  color: var(--color-bg-light-blue);
  line-height: 1.6;
}
.stat-source {
  font-size: 0.75rem;
  color: rgba(232,238,248,0.4);
  margin-top: 6px;
}

/* ============================================================
   TESTIMONIAL / QUOTE
   ============================================================ */
.quote-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  display: block;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--color-accent);
  font-family: Georgia, serif;
  margin-bottom: 28px;
}
.quote-text {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--color-white);
  font-style: italic;
  margin-bottom: 28px;
}
.quote-attribution {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.quote-attribution span {
  display: block;
  font-weight: 400;
  color: var(--color-bg-light-blue);
  font-size: 0.875rem;
  margin-top: 4px;
  text-transform: none;
  letter-spacing: 0;
  font-style: normal;
}

/* Inline testimonial on white background */
.testimonial-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.testimonial-card blockquote {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-card cite {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  font-style: normal;
  display: block;
}
.testimonial-card .case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--color-accent);
  padding: var(--section-padding) 0;
  text-align: center;
}
.cta-section h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-section p {
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(to right, var(--color-border), var(--color-border));
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 6px var(--color-white), 0 0 0 7px var(--color-border);
}
.process-step h3 { text-align: center; font-size: 1rem; margin-bottom: 12px; }
.process-step p { text-align: center; font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
}
.faq-question svg { flex-shrink: 0; transition: transform 0.2s; color: var(--color-accent); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 0 22px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.comparison-table th {
  padding: 14px 18px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
}
.comparison-table th:first-child { text-align: left; }
.comparison-table th.streets-col {
  background: var(--color-primary);
  color: var(--color-white);
}
.comparison-table td {
  padding: 12px 18px;
  text-align: center;
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  vertical-align: middle;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  background: var(--color-bg-light);
  color: var(--color-text);
  font-size: 0.875rem;
}
.comparison-table td.streets-col { background: rgba(10,37,64,0.03); }
.check-yes     { font-size: 1.0625rem; color: #10b981; }
.check-no      { font-size: 1.0625rem; color: #ef4444; }
.check-partial { font-size: 0.75rem; font-weight: 600; color: #f59e0b; }

/* Competitor cards (accordion) */
.competitor-cards { display: flex; flex-direction: column; gap: 12px; }
.competitor-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.competitor-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
}
.competitor-card-header h3 { font-size: 0.9375rem; font-weight: 600; }
.competitor-card-header svg { flex-shrink: 0; transition: transform 0.2s; color: var(--color-text-muted); }
.competitor-card.open .competitor-card-header svg { transform: rotate(180deg); }
.competitor-card.open .competitor-card-header { border-bottom: 1px solid var(--color-border); }
.competitor-card-body {
  display: none;
  padding: 20px 24px 24px;
}
.competitor-card.open .competitor-card-body { display: block; }
.competitor-card-body p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.72;
  margin-bottom: 16px;
}
.verdict-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 12px 16px;
  background: var(--color-bg-light);
  border-radius: 6px;
  border-left: 3px solid var(--color-accent);
}
.verdict-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-thumb {
  height: 160px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-card h3 { font-size: 0.9375rem; margin-bottom: 10px; line-height: 1.45; }
.blog-card p { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; flex: 1; }
.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-detail svg { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.contact-detail-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 4px;
}
.contact-detail-text { font-size: 0.9375rem; color: var(--color-text); line-height: 1.6; }
.contact-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrapper h3 { margin-bottom: 24px; }
.hubspot-placeholder {
  padding: 48px 24px;
  text-align: center;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
}
.hubspot-placeholder p { font-size: 0.875rem; line-height: 1.6; }
.form-notice {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   PLACEHOLDER SECTIONS
   ============================================================ */
.placeholder-block {
  border: 2px dashed #d97706;
  background: #fffbeb;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}
.placeholder-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b45309;
  margin-bottom: 8px;
}
.placeholder-block p { font-size: 0.9375rem; color: #92400e; line-height: 1.65; }

/* ============================================================
   META BAR (Case Study)
   ============================================================ */
.meta-bar {
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.meta-bar-inner { display: flex; flex-wrap: wrap; gap: 40px; }
.meta-item { display: flex; flex-direction: column; gap: 3px; }
.meta-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-text-muted);
}
.meta-value { font-size: 0.9375rem; font-weight: 600; color: var(--color-text); }

/* ============================================================
   RESULT CARDS
   ============================================================ */
.result-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.result-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.result-card-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(244,124,32,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.result-card-icon svg { color: var(--color-accent); }
.result-card h3 { font-size: 0.9375rem; margin-bottom: 8px; }
.result-card p { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; }

/* ============================================================
   CASE STUDY INDEX CARD
   ============================================================ */
.cs-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cs-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cs-card-badge {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  background: var(--color-primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-card-badge svg { color: var(--color-white); }
.cs-card-content h3 { margin-bottom: 8px; }
.cs-card-content p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.65; margin-bottom: 16px; }
.cs-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

.coming-soon-card {
  background: var(--color-bg-light);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  color: var(--color-text-muted);
}
.coming-soon-card p { font-size: 0.9375rem; }

/* ============================================================
   WHY STREETS CARDS
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.why-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.why-card-icon svg { color: var(--color-white); }
.why-card h3 { font-size: 0.9375rem; margin-bottom: 8px; }
.why-card p { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; }

/* ============================================================
   SECURITY PILLARS
   ============================================================ */
.security-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.security-pillar {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.security-pillar-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.security-pillar-icon svg { color: var(--color-white); }
.security-pillar h3 { margin-bottom: 10px; }
.security-pillar p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.65; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.offices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.office-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.office-flag { font-size: 1.25rem; margin-bottom: 8px; }
.office-card h3 { font-size: 1rem; margin-bottom: 12px; }
.office-card p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.65; }

.team-placeholder {
  background: var(--color-bg-light);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  color: var(--color-text-muted);
}
.team-placeholder p { font-size: 0.9375rem; }

/* ============================================================
   NEWSLETTER FORM
   ============================================================ */
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 24px auto 0; }
.newsletter-input {
  flex: 1;
  padding: 11px 16px;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s;
  color: var(--color-text);
}
.newsletter-input:focus { border-color: var(--color-primary); }
.newsletter-input::placeholder { color: var(--color-text-muted); }

/* ============================================================
   WHAT YOU GET (Onboarding)
   ============================================================ */
.what-get-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.what-get-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
}
.what-get-item svg { color: var(--color-accent); flex-shrink: 0; }

/* ============================================================
   PRICING INCLUDED LIST
   ============================================================ */
.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 40px auto 0;
}
.included-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  padding: 14px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.included-item svg { color: var(--color-accent); flex-shrink: 0; }

/* ============================================================
   PERSONA FEATURE ROWS (deep-dives)
   ============================================================ */
.feature-rows { display: flex; flex-direction: column; gap: 48px; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row.flip .feature-row-visual { order: -1; }
.feature-row-visual {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-row h3 { margin-bottom: 12px; }
.feature-row p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.7; }

/* ============================================================
   PERSONA BULLET LIST
   ============================================================ */
.bullet-list { display: flex; flex-direction: column; gap: 12px; }
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.bullet-list li svg { flex-shrink: 0; color: var(--color-accent); margin-top: 2px; }

/* ============================================================
   INLINE LINK ARROW
   ============================================================ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap 0.15s;
}
.link-arrow:hover { gap: 10px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ============================================================
   BADGE / TAG
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(10,37,64,0.07);
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
  background: var(--color-primary);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.page-404-inner { max-width: 480px; }
.page-404-code {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  letter-spacing: -0.04em;
}
.page-404-inner h1 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
  margin-top: -12px;
}
.page-404-inner p { color: var(--color-bg-light-blue); margin-bottom: 40px; }
.page-404-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-primary);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(232,238,248,0.6);
  margin-bottom: 6px;
}
.footer-col h3 {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(232,238,248,0.4);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(232,238,248,0.7);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--color-white); }
.footer-col p {
  font-size: 0.875rem;
  color: rgba(232,238,248,0.7);
  margin-bottom: 8px;
  line-height: 1.65;
}
.footer-col .footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(232,238,248,0.7);
  margin-top: 8px;
  transition: color 0.15s;
}
.footer-col .footer-social:hover { color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(232,238,248,0.35); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(232,238,248,0.35);
  transition: color 0.15s;
}
.footer-bottom-links a:hover { color: var(--color-white); }

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-grid { gap: 32px; }
  .result-cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-block { gap: 48px; }
  .feature-row { gap: 40px; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-padding: var(--section-padding-mobile); }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: calc(var(--nav-height) + 40px) 0 48px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

  .cards-grid-2,
  .cards-grid-3,
  .cards-grid-4 { grid-template-columns: 1fr; }

  .feature-block,
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-block.reverse .feature-visual,
  .feature-row.flip .feature-row-visual { order: 0; }

  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .process-steps { grid-template-columns: 1fr; }
  .security-pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .result-cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .newsletter-form { flex-direction: column; }
  .what-get-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .included-list { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-items { flex-direction: column; gap: 10px; }
  .meta-bar-inner { gap: 20px; }
  .cs-card { flex-direction: column; }
  .feature-visual { min-height: 180px; }
  .testimonial-card { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-cta .btn { width: 100%; justify-content: center; }
  .page-404-actions .btn { width: 100%; justify-content: center; }
  .result-cards { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.8125rem; }
  .comparison-table th,
  .comparison-table td { padding: 10px 12px; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   BLOG CARD — additional classes
   ============================================================ */
.blog-card { padding: 28px; }
.blog-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(244,124,32,0.1);
  color: var(--color-accent);
}
.blog-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 10px 0 12px;
  color: var(--color-text);
}
.blog-card-title a {
  color: inherit;
  transition: color 0.15s;
}
.blog-card-title a:hover { color: var(--color-accent); }
.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap 0.15s;
}
.blog-card-link:hover { gap: 10px; }

/* ============================================================
   CONTACT PAGE — enhanced form layout
   ============================================================ */
.contact-details { padding-top: 8px; }
.contact-details h2 { margin-bottom: 0; }
.contact-detail-group {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.contact-detail-group h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.contact-detail-group p {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.65;
}
.contact-form-area {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form-header { margin-bottom: 28px; }
.contact-form-header h2 { font-size: 1.25rem; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10,37,64,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-muted); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 6 5-6' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-consent { margin-top: 4px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* ============================================================
   COOKIE NOTICE
   ============================================================ */
.cookie-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 200;
  font-size: 0.875rem;
  line-height: 1.5;
}
.cookie-notice p { color: rgba(255,255,255,0.85); margin: 0; }
.cookie-notice a { color: var(--color-accent); }

/* ============================================================
   404 PAGE — additional elements
   ============================================================ */
.page-404-links {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.page-404-links > p {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(232,238,248,0.4);
  margin-bottom: 16px;
}
.page-404-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.page-404-link-grid a {
  padding: 10px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: rgba(232,238,248,0.7);
  text-align: center;
  transition: background 0.15s, color 0.15s;
}
.page-404-link-grid a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
}

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-area { padding: 28px 20px; }
  .contact-form-area iframe[src*="calendar.google.com"] { height: 480px; }
  .page-404-link-grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-notice { flex-direction: column; align-items: flex-start; bottom: 0; left: 0; right: 0; border-radius: 0; }
}

/* ============================================================
   HERO — EYEBROW & TRUST ROW
   ============================================================ */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.trust-sep {
  color: rgba(255,255,255,0.2);
  font-weight: 400;
}

/* ============================================================
   MOCKUP KPI DELTA — positive / neutral states
   ============================================================ */
.mockup-kpi-delta.positive { color: #10b981; }
.mockup-kpi-delta.neutral  { color: rgba(255,255,255,0.4); }

/* ============================================================
   PROBLEM CARD NUMBER
   ============================================================ */
.problem-card-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(20,24,94,0.08);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

/* ============================================================
   KPI STRIP (full-width section)
   ============================================================ */
.kpi-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.kpi-strip-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.kpi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 768px) {
  .how-steps {
    flex-direction: column;
    align-items: center;
  }
  .how-step { padding: 0 0 32px; width: 100%; max-width: 360px; }
  .how-step-arrow { transform: rotate(90deg); padding: 0 0 24px; }
  .why-pillars { grid-template-columns: 1fr 1fr; }
  .kpi-tags { gap: 6px; }
  .hero-trust { flex-direction: column; gap: 4px; }
  .trust-sep { display: none; }
}

@media (max-width: 480px) {
  .why-pillars { grid-template-columns: 1fr; }
}

/* ============================================================
   VIDEO EXPLAINER SECTION
   ============================================================ */
.video-section { padding-bottom: 0; }

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-placeholder {
  position: relative;
  background: var(--color-primary);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  border: none;
  width: 100%;
}
.video-placeholder:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Background grid visual */
.video-bg-grid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0.15;
  pointer-events: none;
}
.vbg-row {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 6px;
  padding: 0 48px;
  padding-bottom: 40px;
}
.vbg-cell {
  flex: 1;
  height: 40%;
  border-radius: 4px 4px 0 0;
  background: rgba(255,255,255,0.25);
}
.vbg-cell.hi { height: 75%; background: var(--color-accent); }
.vbg-cell.md { height: 55%; background: rgba(255,100,60,0.5); }
.vbg-label-row {
  display: flex;
  justify-content: space-around;
  padding: 8px 48px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(20,24,94,0.3) 0%, rgba(20,24,94,0.7) 100%);
  pointer-events: none;
}

.video-play-btn {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  transition: transform 0.2s;
}
.video-placeholder:hover .video-play-btn { transform: scale(1.06); }
.video-play-btn svg {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  transition: background 0.2s;
}
.video-placeholder:hover .video-play-btn svg { background: rgba(255,255,255,0.2); }
.video-play-btn span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.video-caption {
  position: absolute;
  bottom: 20px;
  right: 24px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

.video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

.video-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
  padding-bottom: var(--section-padding);
}
.video-cta-sep {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ============================================================
   HOW IT WORKS — INTERACTIVE TABS
   ============================================================ */
.hiw-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 64px;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.hiw-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  color: var(--color-text);
  width: 100%;
}
.hiw-step:hover {
  background: var(--color-bg-light);
  border-color: var(--color-border);
}
.hiw-step.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.hiw-step-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.hiw-step.active .hiw-step-num { color: rgba(255,255,255,0.5); }

.hiw-step-text { flex: 1; }
.hiw-step-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.hiw-step-text span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}
.hiw-step.active .hiw-step-text span { color: rgba(255,255,255,0.65); }

.hiw-chevron { flex-shrink: 0; opacity: 0.3; transition: opacity 0.2s; }
.hiw-step.active .hiw-chevron { opacity: 0.7; }

/* Panels */
.hiw-panels { min-height: 340px; }

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

.hiw-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.hiw-panel-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.hiw-panel-content h3 { font-size: 1.125rem; margin-bottom: 14px; line-height: 1.35; }
.hiw-panel-content p  { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 20px; }

.hiw-feature-list { display: flex; flex-direction: column; gap: 10px; }
.hiw-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.5;
}
.hiw-feature-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--color-accent); }

/* Panel visual mock */
.hiw-vis {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 0.8125rem;
  box-shadow: var(--shadow-sm);
}
.hiw-vis-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

/* Import visual */
.hiw-vis-sources { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.hiw-vis-source {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--color-text);
}
.hiw-vis-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  flex-shrink: 0;
}
.hiw-vis-status {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 20px;
}
.hiw-vis-status.ok   { background: rgba(16,185,129,0.1); color: #10b981; }
.hiw-vis-status.warn { background: rgba(245,158,11,0.12); color: #d97706; }
.hiw-vis-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  border-top: 1px dashed var(--color-border);
  padding-top: 12px;
  margin-top: 4px;
}

/* Control checks visual */
.hiw-vis-checks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.hiw-vis-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
}
.hiw-vis-check.pass { background: rgba(16,185,129,0.08); color: var(--color-text); }
.hiw-vis-check.pass svg { color: #10b981; flex-shrink: 0; }
.hiw-vis-check.fail { background: rgba(248,113,113,0.08); color: var(--color-text); }
.hiw-vis-check.fail svg { color: #ef4444; flex-shrink: 0; }

.hiw-vis-audit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
}
.hiw-vis-audit-label {
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

/* Outputs visual */
.hiw-vis-outputs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.hiw-vis-output {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.hiw-vis-output svg { color: var(--color-primary); flex-shrink: 0; }

/* ============================================================
   ECOSYSTEM DIAGRAM — Where STREETS fits
   ============================================================ */
.ecosystem {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--color-bg-light);
}

.ecosystem-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.ecosystem-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.eco-layer {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.eco-node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.eco-node-role {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.eco-node-role svg { color: var(--color-primary); }

.eco-node-pm {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-weight: 500;
}
.eco-node-pm svg { color: var(--color-text-muted); }

.eco-node-sys {
  background: var(--color-white);
  border: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  font-weight: 500;
}
.eco-node-sys svg { color: var(--color-text-muted); }

.eco-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  position: relative;
}
.eco-connector::before {
  content: '';
  width: 1.5px;
  height: 28px;
  background: linear-gradient(to bottom, var(--color-border), var(--color-accent));
  border-radius: 2px;
}
.eco-connector-down::before { background: linear-gradient(to bottom, var(--color-accent), var(--color-border)); }
.eco-connector span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  background: var(--color-bg-light);
  padding: 0 8px;
}

.eco-center { padding: 6px 0; }

.eco-streets {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 18px 40px;
  box-shadow: 0 0 0 4px rgba(20,24,94,0.12), var(--shadow-md);
}

.eco-streets-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
}

.eco-streets-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  text-align: center;
}

/* ============================================================
   RESPONSIVE — HIW + VIDEO + ECOSYSTEM
   ============================================================ */
@media (max-width: 1024px) {
  .hiw-layout { grid-template-columns: 1fr; gap: 24px; }
  .hiw-steps { position: static; flex-direction: row; flex-wrap: wrap; }
  .hiw-step { flex: 1; min-width: 200px; }
  .hiw-panel-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hiw-step { padding: 14px 16px; min-width: 100%; }
  .hiw-step-text span { display: none; }
  .video-play-btn svg { width: 60px; height: 60px; }
  .video-play-btn span { font-size: 0.875rem; }
  .ecosystem { padding: 24px 16px; }
  .eco-layer { gap: 8px; }
  .eco-node { font-size: 0.75rem; padding: 8px 12px; }
}

/* ============================================================
   ADDITIVE CALLOUT BAR
   "STREETS doesn't replace your existing systems"
   ============================================================ */
.additive-bar {
  background: linear-gradient(135deg, #0f1248 0%, var(--color-primary) 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}

.additive-bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.additive-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(255,100,60,0.15);
  border: 1px solid rgba(255,100,60,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.additive-text {
  flex: 1;
  min-width: 200px;
  color: var(--color-white);
  font-size: 0.9375rem;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
}
.additive-text strong {
  font-weight: 700;
  color: var(--color-white);
}
.additive-text span {
  color: rgba(255,255,255,0.7);
}
.additive-text strong em {
  color: var(--color-accent);
  font-style: normal;
}

.additive-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.additive-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 5px 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .additive-bar-inner { gap: 16px; }
  .additive-icon { width: 40px; height: 40px; }
  .additive-badges { display: none; }
  .additive-text { font-size: 0.875rem; }
}

/* ============================================================
   WHY STREETS — AI PILLAR (7th — full-width featured row)
   ============================================================ */
.why-pillar-ai {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0f1248 0%, var(--color-primary) 100%);
  border-color: transparent;
  color: var(--color-white);
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.why-pillar-ai .why-pillar-num { color: var(--color-accent); }
.why-pillar-ai h3 {
  color: var(--color-white);
  font-size: 1.0625rem;
  margin-bottom: 8px;
}
.why-pillar-ai p {
  color: rgba(255,255,255,0.65);
  max-width: 680px;
}
.why-pillar-ai:hover { transform: none; box-shadow: var(--shadow-md); }

@media (max-width: 768px) {
  .why-pillar-ai { flex-direction: column; gap: 0; }
}

/* ============================================================
   DESIGN SYSTEM V2 — Bold & Editorial
   Overrides for a world-class B2B SaaS aesthetic
   ============================================================ */

/* ---- TYPOGRAPHY: much larger, more commanding ---- */
h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(1.875rem, 3.75vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Hero H1: full display treatment (heading font) */
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.25rem, 8.5vw, 6.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.94;
  margin-bottom: 0;
}

/* Hero eyebrow: animated badge treatment */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(255, 100, 60, 0.12);
  border: 1px solid rgba(255, 100, 60, 0.28);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFB29E;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  animation: eyebrow-pulse 2.2s ease-in-out infinite;
}
@keyframes eyebrow-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* Hero accent divider — orange rule below H1 */
.hero-divider {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 24px 0 28px;
}

/* Hero lead text — slightly bigger */
.hero-content .lead {
  font-size: 1.0625rem;
  max-width: 460px;
  line-height: 1.78;
  margin-bottom: 36px;
}

/* ---- BUTTONS: orange glow, more presence ---- */
.btn-primary {
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 16px rgba(255, 100, 60, 0.28);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 6px 28px rgba(255, 100, 60, 0.42);
  transform: translateY(-2px);
}
.btn-ghost {
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.09);
  transform: translateY(-1px);
}

/* ---- SECTION OVERLINE — eyebrow ---- */
.section-overline {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-strong); /* darker orange: 4.91:1 on light bg (WCAG AA) */
  margin-bottom: 14px;
}
.section-dark .section-overline { color: var(--color-accent); } /* keep lighter orange: 5.40:1 on navy */
.section-light .section-overline { color: var(--color-accent-strong); }

/* ---- CARDS: borderless, elevated shadows ---- */
.card {
  border: none;
  box-shadow: 0 1px 3px rgba(20,24,94,0.06), 0 4px 20px rgba(20,24,94,0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover {
  box-shadow: 0 4px 8px rgba(20,24,94,0.06), 0 12px 40px rgba(20,24,94,0.13);
  transform: translateY(-4px);
}

/* Why pillars: bottom accent bar on hover */
.why-pillar {
  border: none;
  box-shadow: 0 1px 3px rgba(20,24,94,0.06), 0 4px 20px rgba(20,24,94,0.07);
  border-bottom: 3px solid transparent;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.why-pillar:hover {
  box-shadow: 0 4px 8px rgba(20,24,94,0.07), 0 16px 48px rgba(20,24,94,0.13);
  transform: translateY(-5px);
  border-bottom-color: var(--color-accent);
}

/* ---- BILLBOARD STATS — the numbers should stop you scrolling ---- */
.stats-billboard {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}
/* Subtle noise/street pattern layer */
.stats-billboard::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400'%3E%3Cpath d='M-100 350 C200 250 400 380 700 300 S1050 180 1300 280' stroke='white' stroke-width='1' fill='none' opacity='0.04'/%3E%3Cpath d='M-100 280 C180 180 380 310 680 230 S1030 110 1280 210' stroke='white' stroke-width='1.5' fill='none' opacity='0.03'/%3E%3Cpath d='M-100 180 C200 80 450 200 750 120 S1100 20 1300 80' stroke='%23FF643C' stroke-width='1.2' fill='none' opacity='0.1'/%3E%3C/svg%3E");
  background-size: cover;
}
.stats-billboard-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}
.stat-billboard-item {
  padding: 64px 48px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-billboard-item:last-child { border-right: none; }
.stat-billboard-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.stat-billboard-num em {
  color: var(--color-accent);
  font-style: normal;
}
.stat-billboard-label {
  font-size: 1rem;
  color: rgba(156, 201, 242, 0.85);
  line-height: 1.55;
  max-width: 220px;
  margin-bottom: 10px;
}
.stat-billboard-source {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  font-style: italic;
}
/* Billboard section heading */
.stats-billboard-header {
  padding: 64px 48px 0;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 48px;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.stats-billboard-header h2 {
  color: var(--color-white);
  max-width: 520px;
  margin: 0;
}
.stats-billboard-header p {
  color: rgba(156,201,242,0.7);
  font-size: 0.9375rem;
  max-width: 280px;
  text-align: right;
}

/* ---- TESTIMONIAL: bigger, more editorial ---- */
.testimonial-card {
  background: transparent;
  border: none;
  border-left: none;
  border-top: 3px solid var(--color-accent);
  border-radius: 0;
  padding: 48px 0 0;
  max-width: 860px;
}
.testimonial-card blockquote {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: normal;
  font-weight: 500;
  margin-bottom: 24px;
}
.testimonial-card blockquote::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--color-accent);
  display: block;
  margin-bottom: 20px;
  opacity: 0.8;
}
.testimonial-card cite {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  font-style: normal;
  display: block;
}

/* ---- REVEAL ANIMATIONS — scroll-triggered entrance ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---- MOCKUP ENHANCEMENTS — more depth and polish ---- */
.dashboard-mockup {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 24px 64px rgba(0,0,0,0.35),
    0 8px 24px rgba(0,0,0,0.2);
  padding: 18px;
  backdrop-filter: blur(2px);
}
.mockup-kpi-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---- CTA SECTION — navy instead of orange, more premium ---- */
.cta-section {
  background: var(--color-text);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,100,60,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-white);
}
.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
}

/* ---- RESPONSIVE ADDITIONS ---- */
@media (max-width: 1024px) {
  .stats-billboard-header { padding: 48px 32px 32px; }
  .stat-billboard-item { padding: 48px 32px; }
  .stats-billboard-inner { grid-template-columns: 1fr; }
  .stat-billboard-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-billboard-item:last-child { border-bottom: none; }
  .stats-billboard-header { flex-direction: column; align-items: flex-start; }
  .stats-billboard-header p { text-align: left; max-width: 100%; }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: clamp(2.75rem, 11vw, 4.5rem);
  }
  .stats-billboard-header { padding: 40px 24px 28px; }
  .stat-billboard-item { padding: 36px 24px; }
  .stat-billboard-num { font-size: clamp(4rem, 18vw, 6.5rem); }
  .testimonial-card { padding: 36px 0 0; }
}

/* ---- PROBLEM CARDS: bolder left border ---- */
.problem-card {
  border: none;
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 1px 3px rgba(20,24,94,0.06), 0 4px 20px rgba(20,24,94,0.07);
  transition: box-shadow 0.25s, transform 0.25s;
}
.problem-card:hover {
  box-shadow: 0 4px 8px rgba(20,24,94,0.08), 0 16px 48px rgba(20,24,94,0.13);
  transform: translateY(-3px);
}

/* ---- USE CASE CARDS: more distinct ---- */
.use-case-card {
  border: none;
  box-shadow: 0 1px 3px rgba(20,24,94,0.06), 0 4px 20px rgba(20,24,94,0.07);
}
.use-case-card:hover {
  box-shadow: 0 4px 8px rgba(20,24,94,0.08), 0 16px 48px rgba(20,24,94,0.13);
  transform: translateY(-4px);
}

/* ---- FOOTER: deeper, richer ---- */
.footer {
  background: #0a0d1f;
}

/* ---- AIO DEFINITION — readable, understated, AI-citable ---- */
.aio-definition {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.aio-definition p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 900px;
}
.aio-definition strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ============================================================
   INSTITUTIONAL REFINEMENT — V2.1
   Elevating STREETS from B2B SaaS to premium institutional
   Less startup energy, more Swiss private-bank precision.
   ============================================================ */

/* ---- SPACING: more breathing room throughout ---- */
:root {
  --section-padding: 96px;
}

/* ---- NAV LOGO: real SVG logo, dual-state ---- */
.nav-logo {
  display: flex;
  align-items: center;
  font-size: 0;          /* hide any residual text */
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  display: block;
  height: 30px;
  width: auto;
  transition: opacity 0.2s ease;
}
/* transparent nav = show white logo, hide dark */
.nav:not(.scrolled) .nav-logo-dark  { display: none; }
.nav:not(.scrolled) .nav-logo-light { display: block; }
/* scrolled nav = show dark logo, hide white */
.nav.scrolled .nav-logo-light { display: none; }
.nav.scrolled .nav-logo-dark  { display: block; }

/* ---- NAV SCROLLED: add orange hairline accent at top ---- */
.nav.scrolled {
  border-top: 2px solid var(--color-accent);
  border-bottom: 1px solid var(--color-border);
}

/* ---- FOOTER LOGO: real SVG ---- */
.footer-logo {
  font-size: 0;
  margin-bottom: 20px;
}
.footer-logo-img {
  display: block;
  height: 32px;
  width: auto;
  opacity: 0.9;
}

/* ---- HERO H1: more dignified, less screaming ---- */
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 700;
  text-transform: none;           /* remove uppercase — more institutional */
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--color-white);
}

/* ---- HERO EYEBROW: clean badge, no pulse animation ---- */
.hero-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  gap: 8px;
  padding: 5px 14px 5px 10px;
}
.hero-eyebrow-dot {
  animation: none;
  width: 5px; height: 5px;
  background: var(--color-accent);
  opacity: 1;
}

/* ---- HERO DIVIDER: thinner, more refined ---- */
.hero-divider {
  width: 40px;
  height: 2px;
  margin: 20px 0 24px;
}

/* ---- HERO LEAD: slightly more muted ---- */
.hero-content .lead {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---- HERO TRUST LINE ---- */
.hero-trust {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
}

/* ---- BUTTONS: less glow, more confidence ---- */
.btn-primary {
  box-shadow: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: none;
  transform: translateY(-1px);
}

/* ---- SECTION OVERLINES: navy-tinted, not orange ---- */
.section-overline {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  opacity: 0.55;
  margin-bottom: 12px;
}
/* Override for dark sections where orange makes sense */
.stats-billboard .section-overline { 
  color: var(--color-accent);
  opacity: 0.8;
}
.cta-section .section-overline { 
  color: var(--color-accent);
  opacity: 0.9;
}

/* ---- SECTION HEADERS: more generous margins ---- */
.section-header {
  margin-bottom: 64px;
}

/* ---- CARDS: slightly more padding, sharper radius ---- */
.card {
  border-radius: 6px;
  padding: 36px 32px;
}
.use-case-card {
  border-radius: 6px;
  padding: 36px 32px;
}
.why-pillar {
  border-radius: 6px;
  padding: 32px 28px;
}

/* ---- PROBLEM CARDS: refined left rule ---- */
.problem-card {
  border-left: 3px solid rgba(20, 24, 94, 0.25);
  border-radius: 0 6px 6px 0;
}
.problem-card:hover {
  border-left-color: var(--color-accent);
}
.problem-card-num {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

/* ---- STATS BILLBOARD: more editorial, less bombastic ---- */
.stat-billboard-num {
  font-size: clamp(3.75rem, 8vw, 6.5rem);
  font-weight: 700;                /* 700 not 800 */
}
.stat-billboard-item {
  padding: 56px 52px;
}
.stats-billboard-header {
  padding: 64px 52px 48px;
}
.stat-billboard-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
}
.stat-billboard-source {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.2);
}
/* Remove the decorative SVG path overlay — too busy */
.stats-billboard::before { display: none; }

/* ---- CTA SECTION: less aggressive ---- */
.cta-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  text-transform: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
}
/* Remove the radial glow bubble */
.cta-section::before { display: none; }

/* ---- TESTIMONIAL: cleaner, no giant orange quote mark ---- */
.testimonial-card {
  border-top: 1px solid var(--color-border);
  max-width: 720px;
  padding: 40px 0 0;
}
.testimonial-card blockquote {
  font-size: 1.1875rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 20px;
}
.testimonial-card blockquote::before {
  content: none;                   /* remove giant quote mark */
}
.testimonial-card cite {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
  font-style: normal;
}

/* ---- ADDITIVE BAR: more refined ---- */
.additive-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.additive-bar-inner {
  padding: 24px 0;
}

/* ---- HOW IT WORKS: refine steps ---- */
.hiw-step {
  border-radius: 6px;
}
.hiw-step-num {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ---- KPI TAGS: slightly more refined ---- */
.kpi-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(20,24,94,0.05);
  border: 1px solid rgba(20,24,94,0.1);
  border-radius: 4px;
  color: var(--color-primary);
  padding: 4px 12px;
}

/* ---- TAGLINE BAR: refined treatment ---- */
.tagline-bar {
  background: var(--color-white);
  border-top: none;
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}
.tagline-pill {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.tagline-sep {
  background: var(--color-border);
  opacity: 0.6;
}

/* ---- FOOTER: improved spacing ---- */
.footer-col h3 {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
}

/* ---- RESPONSIVE ADJUSTMENTS ---- */
@media (max-width: 768px) {
  :root { --section-padding: 64px; }
  .hero-content h1 {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }
  .stat-billboard-item { padding: 40px 24px; }
  .stats-billboard-header { padding: 48px 24px 36px; }
  .stat-billboard-num { font-size: clamp(3.25rem, 16vw, 5.5rem); }
  .cta-section h2 { font-size: clamp(1.75rem, 8vw, 2.75rem); }
}


/* ============================================================
   INSTITUTIONAL REFINEMENT — V2.2 micro-polish
   ============================================================ */

/* Hero: remove startup orange glow, keep wavy lines but soften */
.hero::after { display: none; }
.hero::before { opacity: 0.6; }  /* soften the wavy lines */

/* Hero lead: clean white, not light blue */
.hero-content .lead {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  max-width: 460px;
}

/* Hero padding: more generous above the fold */
.hero {
  padding: calc(var(--nav-height) + 88px) 0 96px;
}

/* Nav height tweak for the border-top offset */
.nav.scrolled {
  top: 0;
}

/* Ecosystem diagram: refine STREETS centre node */
.eco-streets {
  background: var(--color-primary);
  border: 2px solid rgba(255,100,60,0.3);
}
.eco-streets-logo {
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* Why pillar numbers: lowercase, more editorial */
.why-pillar-num {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 700;
}

/* Section header spacing on light sections */
.section-light .section-header,
.section-white .section-header {
  margin-bottom: 56px;
}

/* Video section: cleaner placeholder */
.video-placeholder {
  border-radius: 8px;
}
.video-play-btn {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 40px;
  padding: 12px 24px 12px 20px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
}

/* ============================================================
   HERO SCREENSHOT FRAME — V2.3
   Browser-chrome mockup that wraps the real product screenshot
   ============================================================ */

.hero-screenshot-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.4s ease;
}

.hero-screenshot-frame:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0.5deg) translateY(-4px);
}

.hero-screenshot-bar {
  background: rgba(20, 24, 94, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-screenshot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.hero-screenshot-dot:first-child  { background: rgba(255, 100, 60, 0.55); }
.hero-screenshot-dot:nth-child(2) { background: rgba(255, 196, 0, 0.45); }
.hero-screenshot-dot:nth-child(3) { background: rgba(40, 200, 100, 0.40); }

.hero-screenshot-url {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.32);
  margin-left: 8px;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* Mobile: remove 3D tilt, keep shadow */
@media (max-width: 768px) {
  .hero-screenshot-frame {
    transform: none;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
  .hero-screenshot-frame:hover {
    transform: translateY(-2px);
  }
}

/* ============================================================
   YOUTUBE LITE EMBED — video section
   ============================================================ */

.yt-lite {
  position: relative;
  display: block;
  background-color: #000;
  cursor: pointer;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.yt-lite::before {
  content: '';
  display: block;
  padding-bottom: 56.25%; /* 16:9 */
}

.yt-lite img.yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.yt-lite:hover img.yt-thumb { opacity: 0.8; }

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: #FF0000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  pointer-events: none;
}

.yt-lite:hover .yt-play-btn {
  background: #cc0000;
  transform: translate(-50%, -50%) scale(1.06);
}

.yt-play-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 4px;
}

.yt-lite iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   HERO REDESIGN — V3.0
   Bigger headline · bleed screenshot · glow behind product
   ============================================================ */

/* Much bigger, more commanding headline */
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 5.75rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--color-white);
  margin-bottom: 0;
}

/* Allow screenshot to bleed below the hero section */
.hero {
  overflow: visible;
  padding-bottom: 0;
  /* Add a stronger glow centred behind the right column */
  isolation: isolate;
}

/* The wavy SVG ::before must stay clipped — give it its own stacking context */
.hero::before {
  clip-path: inset(0);    /* keeps SVG inside the hero box even with overflow:visible */
}

/* Align hero content to top so headline leads, screenshot can run long */
.hero-inner {
  align-items: flex-start;
  padding-bottom: 0;
}

/* Hero content column: extra top padding to balance the larger headline */
.hero-content {
  padding-top: 16px;
}

/* Remove the orange divider rule — headline is strong enough on its own */
.hero-divider {
  display: none;
}

/* Lead text: a touch more breathing room without the divider */
.hero-content .lead {
  margin-top: 24px;
  margin-bottom: 36px;
}

/* Trust line stays but with more top margin */
.hero-trust {
  margin-top: 32px;
}

/* Screenshot visual: bleed 80px below the hero */
.hero-visual {
  position: relative;
  margin-bottom: -80px;
  z-index: 2;
}

/* Glow emanating from BELOW the screenshot — coral light source */
.hero-visual::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 10%;
  right: 10%;
  height: 100px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,100,60,0.45) 0%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  z-index: -1;
}

/* Glow behind the screenshot — ambient light from inside the product */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at 60% 40%, rgba(52, 62, 247, 0.28) 0%, transparent 65%);
  filter: blur(32px);
  pointer-events: none;
  z-index: -1;
}

/* Tagline bar must sit above the bled screenshot */
.tagline-bar {
  position: relative;
  z-index: 3;
}

/* Mobile: revert bleed — screenshot is already hidden on mobile */
@media (max-width: 768px) {
  .hero {
    overflow: hidden;
    padding-bottom: 48px;
  }
  .hero-visual {
    margin-bottom: 0;
  }
  .hero-content h1 {
    font-size: clamp(2.75rem, 11vw, 4rem);
  }
  .hero-content .lead {
    margin-top: 20px;
  }
}

/* ============================================================
   V4.0 — MODERN FINTECH VISUAL REFRESH
   Larger radii, gradient accents, elevated cards, glass nav
   ============================================================ */

:root {
  --radius-card: 18px;
  --radius-xl:   24px;
  --shadow-card:       0 2px 16px rgba(20,24,94,0.07), 0 1px 3px rgba(20,24,94,0.04);
  --shadow-card-hover: 0 10px 40px rgba(20,24,94,0.13), 0 2px 8px rgba(20,24,94,0.06);
}

/* --- Problem cards: gradient top bar + hover lift --- */
.problem-card {
  border-radius: var(--radius-card);
  background: #ffffff;
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF643C 0%, #343ef7 100%);
}
.problem-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }

/* --- Why pillars: card elevation --- */
.why-pillar {
  border-radius: var(--radius-card);
  background: #ffffff;
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.why-pillar:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }

/* --- General .card --- */
.card {
  border-radius: var(--radius-card);
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }

/* --- Use-case cards --- */
.use-case-card {
  border-radius: var(--radius-card);
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.use-case-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }

/* --- Blog cards --- */
.blog-card {
  border-radius: var(--radius-card);
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.blog-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }

/* --- Pricing cards --- */
.pricing-card {
  border-radius: var(--radius-card);
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.pricing-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.pricing-card.featured { border-color: var(--color-accent); }

/* --- KPI tags: pill badges with navy tint --- */
.kpi-tag {
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(20,24,94,0.07) 0%, rgba(52,62,247,0.06) 100%);
  border: 1px solid rgba(20,24,94,0.1);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  transition: background 0.15s ease, transform 0.15s ease;
}
.kpi-tag:hover { background: rgba(20,24,94,0.12); transform: scale(1.04); cursor: default; }

/* --- Section light: subtle blue-tinted mesh gradient --- */
.section-light {
  background: linear-gradient(160deg, #f8f9ff 0%, #f3f3f7 55%, #f8f9ff 100%);
}

/* --- Additive bar: premium dark glass panel --- */
.additive-bar {
  background: linear-gradient(130deg, #12165a 0%, #0d1050 100%);
  border-radius: var(--radius-xl);
  max-width: calc(var(--max-width) + 48px);
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 12px 48px rgba(20,24,94,0.28), 0 2px 8px rgba(20,24,94,0.12);
}
.additive-badge {
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.15s ease;
}
.additive-badge:hover { background: rgba(255,255,255,0.17); }

/* --- CTA section: radial ambient glow --- */
.cta-section { position: relative; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(255,100,60,0.18) 0%, transparent 68%);
  pointer-events: none;
}

/* --- Feature .tag labels: pill shape --- */
.tag {
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
}

/* --- Nav glass when scrolled --- */
.nav.scrolled {
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  background: rgba(20,24,94,0.90);
}

/* --- AIO definition: very soft blue wash --- */
.aio-definition {
  background: linear-gradient(160deg, #f8f9ff 0%, #eef0ff 50%, #f8f9ff 100%);
  border-top: 1px solid rgba(20,24,94,0.06);
  border-bottom: 1px solid rgba(20,24,94,0.06);
}

/* --- Feature visual panel: elevated card --- */
.feature-visual {
  border-radius: var(--radius-card);
  background: #ffffff;
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* --- HIW visual --- */
.hiw-vis {
  border-radius: var(--radius-card);
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
}

/* --- HIW active step indicator --- */
/* Active step is a transparent bordered row with dark text (see final block below).
   Do NOT set a white background here: earlier rules colour the active text white,
   which produced white-on-white. Keep bg transparent and text dark. */
.hiw-step.active {
  background: transparent;
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.hiw-step.active .hiw-step-text strong { color: var(--color-text); }
.hiw-step.active .hiw-step-text span  { color: var(--color-text-muted); }

/* --- Testimonial / case-study cards --- */
.testimonial-card, .case-study-card {
  border-radius: var(--radius-card);
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.testimonial-card:hover, .case-study-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

/* --- Cards grid: slightly wider gap --- */
.cards-grid { gap: 22px; }

/* --- Contact form area: card style --- */
.contact-form-area {
  border-radius: var(--radius-card);
  border: 1px solid rgba(20,24,94,0.08);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 32px;
}

/* --- Footer: soft top gradient fade --- */
.footer {
  background: linear-gradient(180deg, #0e1240 0%, #0a0e36 100%);
}

/* --- Security/feature icon boxes --- */
.security-feature, .feature-item {
  border-radius: var(--radius-card);
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.security-feature:hover, .feature-item:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* ============================================================
   V4.1 — SCROLL ANIMATION SYSTEM (Safe-by-default)
   Elements are ALWAYS VISIBLE by default.
   .anim + specific class = initial offset state.
   .in-view = final resting state (added by JS observer).
   ============================================================ */

/* ---- Elements are visible by default — animation is additive ---- */
.anim { will-change: transform, opacity; }

/* Up */
.anim.anim-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.anim.anim-up.in-view { opacity: 1; transform: translateY(0); }

/* Left */
.anim.anim-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.anim.anim-left.in-view { opacity: 1; transform: translateX(0); }

/* Right */
.anim.anim-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.anim.anim-right.in-view { opacity: 1; transform: translateX(0); }

/* Scale */
.anim.anim-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1),
              transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.anim.anim-scale.in-view { opacity: 1; transform: scale(1); }

/* Keep .reveal working (legacy class) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal.is-visible,
.reveal.in-view,
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ---- Hero: sequential load animation (pure CSS, no JS needed) ---- */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow        { animation: hero-enter 0.6s  cubic-bezier(0.22,1,0.36,1) 0.05s both; }
.hero-content h1     { animation: hero-enter 0.7s  cubic-bezier(0.22,1,0.36,1) 0.15s both; }
.hero-content .lead  { animation: hero-enter 0.65s cubic-bezier(0.22,1,0.36,1) 0.28s both; }
.hero-cta            { animation: hero-enter 0.6s  cubic-bezier(0.22,1,0.36,1) 0.4s  both; }
.hero-trust          { animation: hero-enter 0.6s  cubic-bezier(0.22,1,0.36,1) 0.52s both; }
.hero-visual         { animation: hero-enter 0.8s  cubic-bezier(0.22,1,0.36,1) 0.22s both; }

/* Hero-centered (other pages) */
.hero-centered .tag      { animation: hero-enter 0.55s cubic-bezier(0.22,1,0.36,1) 0s    both; }
.hero-centered h1        { animation: hero-enter 0.65s cubic-bezier(0.22,1,0.36,1) 0.1s  both; }
.hero-centered .lead     { animation: hero-enter 0.65s cubic-bezier(0.22,1,0.36,1) 0.22s both; }
.hero-centered .hero-cta { animation: hero-enter 0.6s  cubic-bezier(0.22,1,0.36,1) 0.33s both; }
.hero-centered .hero-trust { animation: hero-enter 0.6s cubic-bezier(0.22,1,0.36,1) 0.44s both; }

/* ---- Floating accent ---- */
@keyframes float-vertical {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.float-anim { animation: float-vertical 4.5s ease-in-out infinite; }

/* ---- SAFETY NET: if JS fails, ensure everything is visible ---- */
/* Elements only get .anim class from JS, so without JS they're always visible */

/* ---- Reduced motion: disable everything ---- */
@media (prefers-reduced-motion: reduce) {
  .anim, .anim.anim-up, .anim.anim-left, .anim.anim-right, .anim.anim-scale,
  .reveal, .float-anim {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-eyebrow, .hero-content h1, .hero-content .lead,
  .hero-cta, .hero-trust, .hero-visual,
  .hero-centered h1, .hero-centered .lead, .hero-centered .hero-cta,
  .hero-centered .hero-trust, .hero-centered .tag {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   V4.2 — SPACING, BLANK CARD FIX & POLISH
   ============================================================ */

/* ---- More generous section padding ---- */
:root {
  --section-padding: 100px;
  --section-padding-mobile: 60px;
}

/* ---- Feature visual: never show as blank white box ---- */
/* SVG fills get a subtle background so they don't look empty */
.feature-visual {
  background: linear-gradient(145deg, #f0f2ff 0%, #f8f9ff 100%);
  border-radius: var(--radius-card);
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

/* HIW panel visual: also needs background */
.hiw-vis {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(20,24,94,0.07);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 24px;
}

/* ---- AIO definition: more breathing room ---- */
.aio-definition {
  padding: 48px 0;
}
.aio-definition p {
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

/* ---- KPI strip: more space ---- */
.kpi-strip {
  padding: 32px 0;
}

/* ---- Problem cards: more internal padding ---- */
.problem-card {
  padding: 36px 32px 32px;
}

/* ---- Why pillars: consistent padding ---- */
.why-pillar {
  padding: 32px 28px;
}

/* ---- Cards: consistent padding ---- */
.card {
  padding: 32px 28px;
}

/* ---- Use case cards ---- */
.use-case-card {
  padding: 32px 28px;
}

/* ---- Section header spacing ---- */
.section-header {
  margin-bottom: 56px;
}

/* ---- Additive bar: more padding ---- */
.additive-bar-inner {
  padding: 28px 36px;
  gap: 24px;
}

/* ---- Video section: more space around it ---- */
.video-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.video-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(20,24,94,0.18);
}

/* ---- YouTube embed black thumbnail fix ---- */
.yt-lite {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(135deg, #0d1050 0%, #14185E 100%);
}
.yt-thumb {
  object-fit: cover;
  width: 100%;
  opacity: 0.85;
}

/* ---- CTA section: more padding ---- */
.cta-section {
  padding: 100px 0;
}

/* ---- Footer: more breathing room at top ---- */
.footer {
  padding-top: 80px;
}

/* ---- Blog cards: proper internal padding ---- */
.blog-card {
  padding: 0;
  overflow: hidden;
}
.blog-card-body {
  padding: 28px 28px 24px;
}

/* ---- Feature block: more gap between content and visual ---- */
.feature-block {
  gap: 64px;
  align-items: center;
}

/* ---- HIW layout: more gap ---- */
.hiw-layout {
  gap: 48px;
}

/* ---- Hero improvements ---- */
/* Ensure hero image loads gracefully */
.hero-screenshot-img {
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -8px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
}

/* ---- Tagline bar: better spacing ---- */
.tagline-bar {
  padding: 20px 0;
  margin-top: 16px;
}

/* ---- Contact form area: override to not double-pad ---- */
.contact-form-area {
  padding: 0;
}
.contact-form-header {
  padding: 32px 32px 0;
}

/* ---- Mobile: adjusted spacing ---- */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  .problem-card { padding: 28px 24px 24px; }
  .why-pillar   { padding: 24px 20px; }
  .card         { padding: 24px 20px; }
  .use-case-card { padding: 24px 20px; }
  .additive-bar-inner { padding: 20px 20px; flex-direction: column; }
  .feature-block { gap: 40px; }
  .section-header { margin-bottom: 40px; }
  .feature-visual { padding: 24px; min-height: 180px; }
}

/* ============================================================
   V4.3 — TARGETED BUG FIXES
   ============================================================ */

/* ---- 1. FUTURE-READY dark pillar: restore gradient (V4.0 .why-pillar{background:#fff} overrode it) ---- */
.why-pillar-ai {
  background: linear-gradient(135deg, #0f1248 0%, #14185E 100%) !important;
  color: var(--color-white);
}
.why-pillar-ai h3 { color: #ffffff !important; }
.why-pillar-ai p  { color: rgba(255,255,255,0.72) !important; }

/* ---- 2. Nav glass scrolled: white links + white logo ---- */
.nav.scrolled {
  background: rgba(14,16,74,0.94) !important;
  backdrop-filter: blur(20px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
  border-top: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.nav.scrolled .nav-links > a,
.nav.scrolled .nav-dropdown-trigger {
  color: rgba(255,255,255,0.82) !important;
}
.nav.scrolled .nav-links > a:hover,
.nav.scrolled .nav-dropdown-trigger:hover { color: #ffffff !important; }
/* Swap logo back to white version */
.nav.scrolled .nav-logo-light { display: block !important; }
.nav.scrolled .nav-logo-dark  { display: none  !important; }
/* Dropdown menu: dark themed */
.nav.scrolled .nav-dropdown-menu {
  background: #0e1050;
  border-color: rgba(255,255,255,0.1);
}
.nav.scrolled .nav-dropdown-menu a { color: rgba(255,255,255,0.8); }
.nav.scrolled .nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.07);
  color: #ffffff;
}
/* Keep hamburger white */
.nav.scrolled .nav-hamburger span { background: rgba(255,255,255,0.9) !important; }

/* ---- 3. Testimonial: editorial quote block, not a box card ---- */
.testimonial-card {
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  max-width: 820px;
  margin: 0 auto;
}
.testimonial-card:hover {
  box-shadow: none !important;
  transform: none !important;
}
.testimonial-card blockquote {
  font-size: 1.4375rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 0;
  padding: 36px 40px;
  background: var(--color-bg-light);
  border-radius: 16px;
  border-left: 4px solid var(--color-accent);
  position: relative;
}
.testimonial-card blockquote::before { content: none !important; }
.testimonial-card cite {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 0 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  font-style: normal;
}
.testimonial-card cite::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}
.testimonial-card .case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 0 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}
.testimonial-card .case-link:hover { text-decoration: underline; }

/* ---- 4. Ecosystem diagram: larger text ---- */
.ecosystem-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.eco-streets-logo {
  font-family: var(--font-heading);
  font-size: 1.375rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
}
.eco-streets-sub { font-size: 0.75rem !important; }
.eco-node { font-size: 0.9375rem !important; }
.eco-connector span { font-size: 0.8125rem !important; }

/* ---- 5. Hero: more bottom padding so trust bar has room ---- */
.hero {
  padding-bottom: 80px !important;
}
/* Trust bar: prevent wrap, allow overflow to scroll on very small screens */
.hero-trust {
  flex-wrap: nowrap !important;
  gap: 10px !important;
  margin-bottom: 8px;
}

/* ---- 6. Why pillar non-ai gets white bg (prevent leaking to ai) ---- */
.why-pillar:not(.why-pillar-ai) {
  background: #ffffff;
}

/* ---- 7. HIW step 01 visual box: prevent blank white box ---- */
.hiw-vis-submissions {
  background: #f8f9ff;
  border-radius: 12px;
  padding: 16px;
}

/* ---- Mobile adjustments ---- */
@media (max-width: 768px) {
  .hero-trust { flex-wrap: wrap !important; }
  .testimonial-card blockquote { padding: 24px; font-size: 1.1875rem; }
  .testimonial-card cite { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   V5.0 — SPACING SYSTEM, TRUST SIGNALS, NAV POLISH, CREDIBILITY
   ============================================================ */

/* ---- Standardised section padding ---- */
:root {
  --section-padding: 80px;
  --section-padding-mobile: 48px;
}

/* Hero sections: more deliberate bottom padding to create visual breathing room */
.hero {
  padding-bottom: 100px !important;
}

/* Hero-centered (sub-pages): slightly tighter */
.hero .hero-centered {
  padding-bottom: 0;
}

/* First content section after hero: extra top padding for transition */
.hero + .section,
.hero + .kpi-strip + .section,
.hero + .tagline-bar + .section {
  padding-top: 96px;
}

/* Between subsequent sections: tighter than the first */
.section + .section {
  padding-top: 72px;
}

/* Section header: reduce gap to content below */
.section-header {
  margin-bottom: 48px;
}

/* Section header description: tighter */
.section-header p {
  margin-top: 12px;
}

/* ---- Trust bar: update styling for credibility strip ---- */
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px 12px;
  margin-top: 36px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.01em;
}
.hero-trust .trust-sep {
  color: rgba(255,255,255,0.2);
}

/* ---- Navigation: active page state ---- */
.nav-links > a.nav-active,
.nav-links > a[aria-current="page"] {
  color: #ffffff !important;
  position: relative;
}
.nav-links > a.nav-active::after,
.nav-links > a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* Nav scrolled active state */
.nav.scrolled .nav-links > a.nav-active,
.nav.scrolled .nav-links > a[aria-current="page"] {
  color: #ffffff !important;
}

/* ---- Nav dropdown: polish ---- */
.nav-dropdown-menu {
  min-width: 180px;
  padding: 8px 0;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(20,24,94,0.14), 0 2px 8px rgba(20,24,94,0.06);
  border: 1px solid rgba(20,24,94,0.08);
}
.nav-dropdown-menu a {
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
  color: var(--color-text);
  transition: background 0.12s ease, color 0.12s ease;
}
.nav-dropdown-menu a:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

/* ---- CTA section: remove duplicate background overlay ---- */
.cta-section {
  padding: 96px 0;
}

/* ---- Comparison page: improve table readability ---- */
.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  font-size: 0.9375rem;
}
.comparison-table .streets-col {
  background: rgba(20,24,94,0.04);
  font-weight: 600;
}

/* ---- Blog page: card improvements ---- */
.blog-card {
  cursor: pointer;
}
.blog-card:hover .blog-card-title {
  color: var(--color-primary);
}

/* ---- Security page: tighter card heights ---- */
.security-feature {
  padding: 28px 24px;
}
.security-feature h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.security-feature p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ---- Placeholder block: hide any remaining development notes ---- */
.placeholder-block,
.placeholder-label {
  display: none !important;
}

/* ---- Pricing page: included items ---- */
.included-list {
  margin-bottom: 0;
}

/* ---- Mobile spacing ---- */
@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
    --section-padding-mobile: 40px;
  }
  .hero { padding-bottom: 60px !important; }
  .hero + .section { padding-top: 60px; }
  .section + .section { padding-top: 48px; }
  .section-header { margin-bottom: 36px; }
  .cta-section { padding: 64px 0; }
}

/* ============================================================
   V5.1 — FINAL DEFINITIVE FIXES (last block, wins all specificity)
   ============================================================ */

/* ---- 1. Hero spacing: definitive bottom padding ---- */
/* V3.0 set padding-bottom:0 for the bleed effect. */
/* Sub-pages need explicit padding-back since they have no .hero-visual bleed */
.hero {
  padding-bottom: 80px !important;
}
/* Homepage hero: the screenshot bleeds -80px, so we compensate with more bottom */
.hero:has(.hero-visual) {
  padding-bottom: 120px !important;
}

/* ---- 2. Homepage: aio-definition needs top separation from hero/tagline-bar ---- */
/* .aio-definition is NOT a .section so hero+.section doesn't match it */
.tagline-bar {
  margin-top: 48px;
}
.aio-definition {
  padding-top: 64px;
  padding-bottom: 64px;
}

/* ---- 3. Sub-pages: hero → first section spacing ---- */
.hero + .section {
  padding-top: 96px !important;
}

/* ---- 4. Nav scrolled: definitive white links (beats all previous rules) ---- */
.nav.scrolled {
  background: rgba(14,16,74,0.95) !important;
}
.nav.scrolled .nav-links > a {
  color: rgba(255,255,255,0.85) !important;
}
.nav.scrolled .nav-links > a:hover {
  color: #ffffff !important;
}
.nav.scrolled button.nav-dropdown-trigger {
  color: rgba(255,255,255,0.85) !important;
}
.nav.scrolled button.nav-dropdown-trigger:hover {
  color: #ffffff !important;
}
.nav.scrolled .nav-logo-light { display: block !important; }
.nav.scrolled .nav-logo-dark  { display: none  !important; }

/* ---- 5. Animation safety net: elements with .anim that NEVER got .in-view ---- */
/* After 3 seconds, force reveal anything still hidden */
/* CSS-only fallback: use animation-delay */
.anim.anim-up:not(.in-view) {
  animation: anim-safety-reveal 0.001s 3s forwards;
}
.anim.anim-left:not(.in-view) {
  animation: anim-safety-reveal 0.001s 3s forwards;
}
.anim.anim-right:not(.in-view) {
  animation: anim-safety-reveal 0.001s 3s forwards;
}
.anim.anim-scale:not(.in-view) {
  animation: anim-safety-reveal 0.001s 3s forwards;
}
@keyframes anim-safety-reveal {
  to { opacity: 1 !important; transform: none !important; }
}

/* ---- 6. White box cards: ensure why-pillars, cards always have visible bg ---- */
/* If a card has anim class but never reveals, its box-shadow is still there */
/* making a white "ghost" card shape. Force opacity to 1 if somehow stuck. */
.why-pillar.anim:not(.in-view) { opacity: 0; }
.problem-card.anim:not(.in-view) { opacity: 0; }
.card.anim:not(.in-view) { opacity: 0; }
/* These get the safety animation above after 3s */

/* ---- 7. Mobile ---- */
@media (max-width: 768px) {
  .hero { padding-bottom: 48px !important; }
  .hero:has(.hero-visual) { padding-bottom: 48px !important; }
  .hero + .section { padding-top: 56px !important; }
  .tagline-bar { margin-top: 24px; }
  .aio-definition { padding-top: 40px; padding-bottom: 40px; }
  .nav.scrolled .nav-links > a { color: rgba(255,255,255,0.85) !important; }
}

/* ============================================================
   V5.1 — FINAL DEFINITIVE FIXES (last block, wins all specificity)
   ============================================================ */

/* ---- 1. Hero spacing: definitive bottom padding ---- */
.hero {
  padding-bottom: 80px !important;
}

/* ---- 2. Homepage: tagline-bar and aio-definition need breathing room ---- */
.tagline-bar {
  margin-top: 48px;
}
.aio-definition {
  padding-top: 64px;
  padding-bottom: 64px;
}

/* ---- 3. Sub-pages: hero to first section ---- */
.hero + .section {
  padding-top: 96px !important;
}

/* ---- 4. Nav scrolled: white links — definitive ---- */
.nav.scrolled {
  background: rgba(14,16,74,0.95) !important;
}
.nav.scrolled .nav-links > a {
  color: rgba(255,255,255,0.85) !important;
}
.nav.scrolled .nav-links > a:hover {
  color: #ffffff !important;
}
.nav.scrolled button.nav-dropdown-trigger {
  color: rgba(255,255,255,0.85) !important;
}
.nav.scrolled button.nav-dropdown-trigger:hover {
  color: #ffffff !important;
}
.nav.scrolled .nav-logo-light { display: block !important; }
.nav.scrolled .nav-logo-dark  { display: none  !important; }

/* ---- 5. CSS safety net: cards stuck with opacity:0 reveal after 3s ---- */
@keyframes anim-safety {
  to { opacity: 1; transform: none; }
}
.anim.anim-up:not(.in-view),
.anim.anim-left:not(.in-view),
.anim.anim-right:not(.in-view),
.anim.anim-scale:not(.in-view) {
  animation: anim-safety 0.5s ease 0.8s both;
}

/* ---- 6. Mobile ---- */
@media (max-width: 768px) {
  .hero { padding-bottom: 48px !important; }
  .hero + .section { padding-top: 56px !important; }
  .tagline-bar { margin-top: 20px; }
  .aio-definition { padding-top: 40px; padding-bottom: 40px; }
}

/* ============================================================
   V5.2 — PRODUCT SCREENSHOT STYLES
   ============================================================ */

/* Feature screenshot: fills the visual panel cleanly */
.feature-visual {
  padding: 0 !important;
  overflow: hidden;
  background: #f0f2ff;
}
.feature-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  object-fit: cover;
  object-position: top left;
  max-height: 420px;
  transition: transform 0.4s ease;
}
.feature-block:hover .feature-screenshot {
  transform: scale(1.02);
}

/* HIW panel screenshots */
.hiw-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  object-position: top left;
  max-height: 360px;
}

/* Use-case page feature screenshots */
.feature-row-screenshot {
  display: block;
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 40px rgba(20,24,94,0.12);
  object-fit: cover;
  object-position: top left;
  max-height: 400px;
}

/* Mobile: screenshots scale correctly */
@media (max-width: 768px) {
  .feature-screenshot,
  .hiw-screenshot,
  .feature-row-screenshot { max-height: 260px; }
}

/* ============================================================
   V5.3 — NAV GLASS DEFINITIVE FIX + HIW STEP VISIBILITY
   ============================================================ */

/* Nav: always white text in the dark glass scrolled state */
html body nav.nav.scrolled a,
html body nav.nav.scrolled .nav-links > a,
html body nav.nav.scrolled button.nav-dropdown-trigger {
  color: rgba(255,255,255,0.88) !important;
}
html body nav.nav.scrolled a:hover,
html body nav.nav.scrolled .nav-links > a:hover,
html body nav.nav.scrolled button.nav-dropdown-trigger:hover {
  color: #ffffff !important;
}

/* HIW steps: never animate — they are interactive tab controls */
.hiw-step {
  opacity: 1 !important;
  transform: none !important;
}

/* HIW step active: clear card */
.hiw-step.active {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   V5.4 — HOMEPAGE HERO POLISH
   Bring the homepage closer to the stronger inner-page rhythm.
   ============================================================ */

.hero-home .container {
  position: relative;
  z-index: 1;
}

.hero-home .hero-home-copy {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  padding-top: 0;
}

.hero-home .hero-eyebrow {
  margin-bottom: 20px;
}

.hero-home .hero-home-copy h1 {
  max-width: 12ch;
  margin: 0 auto;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-home .hero-home-copy .lead {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: 1.125rem;
  line-height: 1.8;
}

.hero-home .hero-cta {
  justify-content: center;
}

.hero-home .hero-trust {
  justify-content: center;
  margin-top: 28px;
}

.hero-home .hero-visual {
  max-width: 1040px;
  margin: 48px auto -80px;
}

.tagline-bar-home {
  background: transparent;
  border: none;
  margin-top: 44px;
  padding: 0;
}

.tagline-bar-home .tagline-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tagline-bar-home .tagline-item {
  background: var(--color-white);
  border: 1px solid rgba(20,24,94,0.08);
  border-radius: 14px;
  padding: 24px 24px 22px;
  box-shadow: 0 12px 28px rgba(20,24,94,0.07);
}

.tagline-bar-home .tagline-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.tagline-bar-home .tagline-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .hero-home .hero-home-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.75rem, 10vw, 4rem);
  }

  .hero-home .hero-home-copy .lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .tagline-bar-home {
    margin-top: 28px;
  }

  .tagline-bar-home .tagline-bar-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tagline-bar-home .tagline-item {
    padding: 20px;
  }
}

/* ============================================================
   V5.5 — HOMEPAGE CORRECTIONS
   Restore brand tagline, remove stacked hero screenshot, and
   strip white-box treatment from the "How STREETS works" section.
   ============================================================ */

.hero-home {
  padding-bottom: 88px !important;
  overflow: hidden;
}

.hero-home .hero-home-copy {
  max-width: 760px;
}

.hero-home .hero-home-copy h1 {
  max-width: 11ch;
  font-family: var(--font-body);
  font-size: clamp(3rem, 5.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-home .hero-home-copy .lead {
  max-width: 680px;
  margin-top: 22px;
  font-size: 1.125rem;
  line-height: 1.8;
}

.hero-home .hero-trust {
  margin-top: 30px;
}

.tagline-bar-home {
  background: var(--color-white);
  border-top: 1px solid rgba(20,24,94,0.08);
  border-bottom: 1px solid rgba(20,24,94,0.08);
  margin-top: 0;
  padding: 22px 0;
}

.tagline-bar-home .tagline-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.tagline-bar-home .tagline-pill {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-primary);
}

.tagline-bar-home .tagline-sep {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: rgba(20,24,94,0.28);
  font-size: 1rem;
  line-height: 1;
}

.hiw-layout {
  grid-template-columns: 300px 1fr;
  gap: 40px;
}

.hiw-steps {
  gap: 0;
}

.hiw-step {
  padding: 18px 0;
  border: none;
  border-bottom: 1px solid rgba(20,24,94,0.12);
  border-radius: 0;
  background: transparent;
}

.hiw-step:hover {
  background: transparent;
  border-color: rgba(20,24,94,0.18);
}

.hiw-step.active {
  background: transparent;
  border-color: rgba(20,24,94,0.18);
  color: var(--color-primary);
}

.hiw-step-num {
  width: 42px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

.hiw-step.active .hiw-step-num {
  color: var(--color-accent);
}

.hiw-step-text strong {
  font-size: 1rem;
  color: var(--color-text);
}

.hiw-step-text span,
.hiw-step.active .hiw-step-text span {
  color: var(--color-text-muted);
}

.hiw-chevron,
.hiw-step.active .hiw-chevron {
  opacity: 0.42;
}

.hiw-panel-inner {
  gap: 48px;
  align-items: start;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.hiw-panel-content {
  padding-top: 4px;
}

.hiw-panel-content h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.hiw-panel-content p {
  font-size: 0.975rem;
  line-height: 1.8;
}

.hiw-panel-visual {
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

.hiw-screenshot {
  border-radius: 16px;
  border: 1px solid rgba(20,24,94,0.10);
  box-shadow: 0 18px 40px rgba(20,24,94,0.10);
}

@media (max-width: 980px) {
  .hiw-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hiw-steps {
    position: static;
    top: auto;
  }

  .hiw-panel-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .hero-home {
    padding-bottom: 64px !important;
  }

  .hero-home .hero-home-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.6rem, 9vw, 3.5rem);
  }

  .hero-home .hero-home-copy .lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .tagline-bar-home {
    padding: 18px 0;
  }

  .tagline-bar-home .tagline-bar-inner {
    gap: 12px;
  }

  .tagline-bar-home .tagline-pill {
    letter-spacing: 0.16em;
  }

  .hiw-step {
    padding: 14px 0;
  }

  .hiw-step-text span {
    display: block;
  }
}

/* ============================================================
   ACCESSIBILITY — keyboard focus + skip link
   ============================================================ */
/* Visible, consistent focus ring for keyboard users (mouse clicks unaffected) */
:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: 2px;
}
/* On dark/navy surfaces, use a light ring so it stays visible */
.section-dark :focus-visible,
.nav:not(.scrolled) :focus-visible {
  outline-color: #ffffff;
}

/* Skip-to-content link: off-screen until focused */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}

/* Legal pages: "Contents" is now an <h2> for a sequential heading outline,
   but keep it visually modest (smaller than numbered section headings). */
.legal-toc h2 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

/* Responsive <picture> wrapper for screenshots — must fill the panel like the
   bare <img> did (img keeps its .feature-screenshot / .hiw-screenshot rules). */
.img-frame {
  display: block;
  width: 100%;
}


/* Insights feature images (full-bleed cover on padded blog cards) */
.blog-card-cover {
  display: block;
  width: calc(100% + 56px);
  margin: -28px -28px 20px -28px;
  height: 170px;
  object-fit: cover;
  background: var(--color-primary);
}
