/* Arcade Data — modern static site stylesheet
   Single source of truth. No framework dependency. */

/* ============================================================
   1. FONT
   ============================================================ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter/InterVariable.woff2') format('woff2-variations'),
       url('../fonts/inter/InterVariable.woff2') format('woff2');
}

/* ============================================================
   2. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --brand-blue: #0E76BC;
  --brand-blue-hover: #0a5d96;
  --brand-blue-soft: #3EA4DD;     /* lighter blue for dark backgrounds */
  --brand-orange: #F0592B;
  --brand-orange-hover: #d8451a;
  --brand-green: #8CC53F;

  /* Neutrals */
  --ink-900: #0F172A;
  --ink-700: #1E293B;
  --ink-600: #475569;
  --ink-500: #64748B;
  --ink-300: #CBD5E1;
  --ink-200: #E2E8F0;
  --ink-100: #F1F5F9;

  --surface-0: #FFFFFF;
  --surface-1: #F8FAFC;
  --surface-2: #EEF2F7;

  /* Gradients */
  --grad-blue-orange: linear-gradient(135deg, #0E76BC 0%, #F0592B 100%);
  --grad-orange-green: linear-gradient(135deg, #F0592B 0%, #8CC53F 100%);
  --grad-hero: linear-gradient(135deg, #F8FAFC 0%, #EEF2F7 60%, #DEE7F2 100%);

  /* Type scale */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --nav-height: 72px;
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--s-4));
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--surface-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-blue); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--brand-orange); }

h1, h2, h3, h4, h5 {
  margin: 0 0 var(--s-4);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-900);
}
h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }

p { margin: 0 0 var(--s-4); color: var(--ink-600); }
p.lead { font-size: 20px; line-height: 1.55; color: var(--ink-700); }

ul, ol { margin: 0 0 var(--s-4); padding-left: var(--s-5); color: var(--ink-600); }
li + li { margin-top: var(--s-2); }

:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-orange); color: white; }

/* ============================================================
   4. LAYOUT PRIMITIVES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.container-narrow { max-width: var(--container-narrow); }

.section {
  padding: var(--s-9) 0;
}
.section--tight { padding: var(--s-8) 0; }
.section--alt { background: var(--surface-1); }
.section--dark { background: var(--ink-900); color: var(--ink-200); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: white; }
.section--dark p { color: var(--ink-300); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--s-7); }
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: var(--s-4);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  background: rgba(14, 118, 188, 0.08);
  border-radius: var(--r-full);
}

.grid {
  display: grid;
  gap: var(--s-5);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand-blue);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--brand-blue-hover); color: white; box-shadow: var(--shadow-lg); }

.btn-accent {
  background: var(--brand-orange);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-accent:hover { background: var(--brand-orange-hover); color: white; box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-200);
}
.btn-ghost:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

.section--dark .btn-ghost,
.cta-band .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}
.section--dark .btn-ghost:hover,
.cta-band .btn-ghost:hover {
  border-color: white;
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ============================================================
   6. NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-brand img { height: 36px; width: auto; }
.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.nav-links {
  display: flex;
  align-items: center;
  height: 40px;
  gap: var(--s-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 0;
  margin: 0;
  transition: color 0.15s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: transparent;
  transition: background 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-blue);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  background: var(--brand-blue);
}
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links-wrap {
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    padding: var(--s-6) var(--s-5) var(--s-9);
  }
  .nav-links-wrap[data-open="true"] { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .nav-links li { border-bottom: 1px solid var(--ink-100); display: block; height: auto; }
  .nav-links a {
    display: block;
    height: auto;
    padding: var(--s-4) 0;
    font-size: 18px;
    line-height: 1.4;
  }
  .nav-links a::after { display: none; }
  .nav-cta { margin: var(--s-5) 0 0; }
  .nav-cta .btn { width: 100%; padding: 14px; font-size: 16px; }
}

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-9);
  background: var(--grad-hero);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 118, 188, 0.18), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(240, 89, 43, 0.14), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.035em;
  margin-bottom: var(--s-5);
}
.hero h1 .accent-blue { color: var(--brand-blue); }
.hero h1 .accent-orange { color: var(--brand-orange); }
.hero h1 .accent-green { color: var(--brand-green); }
.hero p.lead { margin-bottom: var(--s-6); }
.hero .btn-row { justify-content: center; }

.hero--compact { padding: var(--s-8) 0 var(--s-7); }
.hero--compact h1 { font-size: clamp(32px, 4.5vw, 48px); }

/* ============================================================
   8. CARDS
   ============================================================ */
.card {
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  background: var(--surface-0);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink-200);
}
.card h3 { margin-bottom: var(--s-3); }
.card p { margin-bottom: var(--s-4); }
.card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s-4);
  background: rgba(14, 118, 188, 0.09);
  border-radius: var(--r-md);
  color: var(--brand-blue);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card .card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 15px;
}
.card .card-link::after { content: ' →'; transition: margin-left 0.15s ease; }
.card .card-link:hover::after { margin-left: 4px; }

.card-outcome {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--ink-100);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-blue);
}

/* Product card — larger, distinct */
.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--s-7);
  background: var(--surface-0);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card .product-logo {
  height: 44px;
  width: auto;
  margin-bottom: var(--s-5);
}
.product-card h3 { font-size: 22px; margin-bottom: var(--s-3); }
.product-card .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}

/* Platform architecture diagram (light background) */
.platform-diagram {
  margin: var(--s-7) auto var(--s-6);
  max-width: 1120px;
  padding: var(--s-6);
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 89, 43, 0.06), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(14, 118, 188, 0.06), transparent 55%),
    linear-gradient(135deg, #ffffff, var(--surface-1) 60%, var(--surface-2));
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.platform-diagram svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 580px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .platform-diagram { padding: var(--s-3); }
}

/* Product card — horizontal layout for full-width rows */
.product-card--row {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: var(--s-7);
  align-items: center;
}
.product-card--row .product-media .product-logo { margin-bottom: var(--s-4); }
.product-card--row .product-media .product-meta { margin-bottom: 0; }
.product-card--row .product-body { display: flex; flex-direction: column; align-items: flex-start; }
.product-card--row .product-body h3 { margin-bottom: var(--s-3); }
@media (max-width: 700px) {
  .product-card--row { grid-template-columns: 1fr; gap: var(--s-5); }
  .product-card--row .product-media .product-meta { margin-bottom: var(--s-2); }
}
.pill {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-full);
  background: var(--surface-2);
  color: var(--ink-700);
}
.pill--blue { background: rgba(14, 118, 188, 0.1); color: var(--brand-blue); }
.pill--orange { background: rgba(240, 89, 43, 0.1); color: var(--brand-orange); }
.pill--green { background: rgba(140, 197, 63, 0.14); color: #5a8126; }

/* ============================================================
   8a. GRAPH ANIMATION (hero background)
   ============================================================ */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
}
/* keep hero content above the animation and the decorative radial blobs */
.hero .hero-inner { position: relative; z-index: 2; }
.hero::before, .hero::after { z-index: 0; }

/* ============================================================
   8b. CUSTOMER LOGOS + MARQUEE
   ============================================================ */
.marquee-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 var(--s-6);
}

/* Static logo strip — used when there are only a few customer logos */
.customer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s-7) var(--s-8);
}
.customer-logo {
  display: inline-flex;
  align-items: center;
  height: 56px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.customer-logo:hover { opacity: 1; filter: grayscale(0); }

/* For logos delivered as white-on-transparent (designed for dark nav bars) */
.customer-logo--invert,
.customer-logo--invert:hover { filter: brightness(0); }
.customer-logo--invert:hover { opacity: 1; }

/* Text-only wordmark customers (no image asset available) */
.customer-logo--text {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-900);
  cursor: default;
  filter: grayscale(1);
}
.customer-logo--text:hover {
  filter: none;
  color: var(--brand-blue);
}
.customer-logo img {
  max-height: 56px;
  width: auto;
  display: block;
}

/* Scrolling marquee — turn on by wrapping logos in .logo-marquee > .logo-track */
.logo-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}
.logo-track:hover { animation-play-state: paused; }
.logo-item {
  flex: 0 0 auto;
  height: 48px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink-500);
  white-space: nowrap;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}
a.logo-item { cursor: pointer; }
.logo-item:hover { opacity: 1; color: var(--brand-blue); }
.logo-track img {
  max-height: 40px;
  width: auto;
  filter: grayscale(1);
  transition: filter 0.2s ease;
}
.logo-track .logo-item:hover img { filter: grayscale(0); }
/* White-on-transparent logos (designed for dark nav bars) */
.logo-track .logo-item--invert img,
.logo-track .logo-item--invert:hover img { filter: brightness(0); }
/* Optional: monospace/terminal wordmark style for items like HACKBOX */
.logo-item--text {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.12em;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* ============================================================
   9. STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding: var(--s-7) 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.stat { text-align: center; }
.stat-value {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-blue);
  margin-bottom: var(--s-2);
}
.stat-value.accent-orange { color: var(--brand-orange); }
.stat-value.accent-green { color: var(--brand-green); }
.stat-label {
  font-size: 14px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-4); }
}

/* ============================================================
   10. TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5);
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  padding: var(--s-6);
  background: var(--surface-0);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto var(--s-4);
  border-radius: 50%;
  font-size: 32px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar--lg { background: var(--grad-blue-orange); }
.avatar--rf { background: linear-gradient(135deg, #0E76BC, #8CC53F); }
.avatar--jr { background: linear-gradient(135deg, #8CC53F, #0E76BC); }
.avatar--mb { background: linear-gradient(135deg, #F0592B, #8CC53F); }
.team-card .name { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--ink-900); }
.team-card .role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--s-3);
}
.team-card .bio { font-size: 14px; color: var(--ink-600); margin-bottom: var(--s-4); }
.team-card .social-row { display: flex; justify-content: center; gap: var(--s-2); }
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink-700);
  transition: background 0.15s ease, color 0.15s ease;
}
.icon-link:hover { background: var(--brand-blue); color: white; }
.icon-link svg { width: 18px; height: 18px; }

/* ============================================================
   11. TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: var(--s-7);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-orange));
  border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: var(--s-7); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: white;
  border: 3px solid var(--brand-blue);
  border-radius: 50%;
}
.timeline-item .year {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 18px; margin-bottom: var(--s-2); }

/* ============================================================
   12. DARK CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  padding: var(--s-9) 0;
  background: var(--ink-900);
  color: white;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(14, 118, 188, 0.25), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(240, 89, 43, 0.2), transparent 40%);
  pointer-events: none;
}
.cta-band > .container { position: relative; }
.cta-band h2 {
  color: white;
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: var(--s-4);
  text-align: center;
}
.cta-band p {
  color: var(--ink-300);
  font-size: 18px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--s-6);
}
.cta-band .btn-row { justify-content: center; }

/* ============================================================
   13. FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: var(--s-9) 0 var(--s-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 36px; margin-bottom: var(--s-4); filter: brightness(0) invert(1); }
.footer-brand p { color: var(--ink-300); font-size: 15px; max-width: 280px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: var(--s-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0 0 10px; }
.footer-col a { color: var(--ink-300); font-size: 15px; }
.footer-col a:hover { color: white; }
.footer-col address { font-style: normal; font-size: 14px; line-height: 1.65; color: var(--ink-300); }
.footer-col address a { color: var(--ink-300); }
.social-row-footer { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.social-row-footer .icon-link {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-200);
}
.social-row-footer .icon-link:hover { background: var(--brand-orange); color: white; }
.footer-bottom {
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: 13px;
  color: var(--ink-500);
}
.footer-bottom a { color: var(--ink-500); }
.footer-bottom a:hover { color: white; }

/* ============================================================
   14. LEGAL / LONG-FORM PAGES
   ============================================================ */
.prose {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--s-8) var(--s-5);
}
.prose h1 { margin-bottom: var(--s-6); }
.prose h2 { margin-top: var(--s-7); margin-bottom: var(--s-4); font-size: 24px; }
.prose h3, .prose h4 { margin-top: var(--s-6); margin-bottom: var(--s-3); font-size: 18px; }
.prose p, .prose ul, .prose ol { color: var(--ink-700); }
.prose ul, .prose ol { padding-left: var(--s-5); }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-5) 0;
  font-size: 15px;
}
.prose table th, .prose table td {
  padding: var(--s-3);
  border: 1px solid var(--ink-200);
  vertical-align: top;
  text-align: left;
}
.prose table th { background: var(--surface-1); font-weight: 600; }
.prose hr { border: none; border-top: 1px solid var(--ink-200); margin: var(--s-6) 0; }

/* ============================================================
   15. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--s-4);
  left: var(--s-4);
  right: var(--s-4);
  max-width: 480px;
  margin-left: auto;
  z-index: 200;
  padding: var(--s-5);
  background: var(--ink-900);
  color: white;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 24px));
  transition: transform 0.3s ease;
}
.cookie-banner[data-show="true"] { transform: translateY(0); }
.cookie-banner p { color: var(--ink-300); font-size: 14px; margin-bottom: var(--s-4); }
.cookie-banner p a { color: var(--brand-blue-soft); text-decoration: underline; }
.cookie-banner .btn-row { gap: var(--s-2); }
.cookie-banner .btn { padding: 10px 16px; font-size: 14px; }
.cookie-banner .btn-ghost { border-color: rgba(255,255,255,0.25); color: white; }

/* ============================================================
   16. UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-7); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Print */
@media print {
  .site-header, .site-footer, .cookie-banner, .cta-band, .btn-row { display: none; }
  body { color: black; background: white; }
}

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