/* CivicLens — Modern Civic Tech Design System */

:root {
  /* Colors */
  --color-navy: #0b3d91;
  --color-navy-light: #1a4d9f;
  --color-navy-dark: #062b6b;
  --color-gold: #ffb81c;
  --color-gold-light: #ffc94d;
  
  --color-bg: #ffffff;
  --color-surface: #f8f9fb;
  --color-surface-2: #eef2f7;
  --color-text: #0a1628;
  --color-text-muted: #536579;
  --color-border: #dce1e8;
  --color-border-light: #eef2f7;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 24px 64px rgba(10, 22, 40, 0.16);
  
  /* Typography */
  --font-system: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Respect users' reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .badge-dot {
    animation: none !important;
  }
}
body {
  font-family: var(--font-system);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Keyboard focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
}
.skip-link:focus {
  position: fixed;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-navy);
  color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* Status Banner */
.status-banner {
  background: #fff8e6;
  border-bottom: 1px solid #ffe08a;
  padding: var(--space-sm) 0;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.banner-icon {
  flex-shrink: 0;
}

.status-text {
  font-size: 13px;
  color: var(--color-text);
}

@media (min-width: 480px) {
  .status-text {
    font-size: 14px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
  transition: opacity 200ms ease;
  z-index: 101;
}

@media (min-width: 480px) {
  .brand {
    font-size: 20px;
  }
}

.brand:hover {
  opacity: 0.8;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all 300ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.site-nav {
  display: flex;
  gap: var(--space-lg);
}

.site-nav a {
  font-weight: 500;
  font-size: 15px;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.site-nav a:hover {
  color: var(--color-navy);
  border-bottom-color: var(--color-gold);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: var(--space-lg);
    gap: 0;
    border-top: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 300ms ease;
    z-index: 100;
  }

  .site-nav[aria-expanded="true"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    font-size: 16px;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border-light);
    width: 100%;
    min-height: 48px;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .site-nav a:hover {
    border-bottom-color: var(--color-border-light);
    color: var(--color-navy);
    padding-left: var(--space-sm);
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-lg);
  overflow: hidden;
  background: var(--color-surface);
}

@media (min-width: 640px) {
  .hero {
    padding: var(--space-xl) 0 var(--space-xl);
  }
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-2xl) 0 var(--space-xl);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--color-border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-light) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 480px) {
  .hero-badge {
    padding: 6px 16px;
    font-size: 13px;
  }
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 72px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

@media (min-width: 480px) {
  .hero-title {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
  }
}

.title-highlight {
  position: relative;
  color: var(--color-navy);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .title-highlight {
    white-space: normal;
  }
}

.title-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.18em;
  background: var(--color-gold);
  opacity: 0.3;
  border-radius: 2px;
  z-index: -1;
}

.hero-lead {
  font-size: clamp(16px, 3vw, 22px);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  max-width: 760px;
}

@media (min-width: 480px) {
  .hero-lead {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
  }
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
}

@media (min-width: 480px) {
  .hero-actions {
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }
}

/* Hero Verification Badge */
.hero-verification-badge {
  position: absolute;
  top: 15%;
  right: 6%;
  z-index: 1;
  pointer-events: none;
}

.verification-badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.verification-badge-inner svg {
  filter: drop-shadow(0 4px 12px rgba(11, 61, 145, 0.2));
}

.verification-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

@media (max-width: 968px) {
  .hero-verification-badge {
    top: 10%;
    right: 4%;
  }
  .verification-badge-inner svg {
    width: 80px;
    height: 80px;
  }
  .verification-text {
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .hero-verification-badge {
    display: none;
  }
}

/* Hero Bottom Geometric Shapes - Building Silhouettes */
.hero-bottom-shapes {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 300px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero-bottom-shapes {
    height: 500px;
  }
}

@media (min-width: 968px) {
  .hero-bottom-shapes {
    height: 700px;
  }
}

.hero-bottom-shapes svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Hero Stats Section - Full Width */
.hero-stats-section {
  background: white;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-xl) 0;
  margin-top: calc(-1 * var(--space-lg));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.stat-card-hero {
  background: var(--color-surface);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all 300ms ease;
}

.stat-card-hero:hover {
  transform: translateY(-4px);
  border-color: var(--color-navy);
  box-shadow: var(--shadow-lg);
}

.stat-value {
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: clamp(13px, 2vw, 14px);
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .hero-stats-section {
    padding: var(--space-lg) 0;
    margin-top: calc(-1 * var(--space-md));
  }
  .stat-card-hero {
    padding: var(--space-md);
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}

@media (min-width: 480px) {
  .btn {
    padding: 14px 28px;
    font-size: 16px;
  }
}

.btn-primary {
  background: var(--color-navy);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  box-shadow: var(--shadow-sm);
  opacity: 1;
}

.btn-secondary:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-md);
}

.btn-cta {
  background: var(--color-gold);
  color: var(--color-navy);
  box-shadow: var(--shadow-md);
  font-size: 16px;
  padding: 14px 28px;
}

@media (min-width: 480px) {
  .btn-cta {
    font-size: 18px;
    padding: 16px 32px;
  }
}

.btn-cta:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-ghost:hover {
  background: var(--color-navy);
  color: white;
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

@media (min-width: 640px) {
  .section {
    padding: var(--space-xl) 0;
  }
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }
}

.section-header {
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

@media (min-width: 640px) {
  .section-header {
    margin: 0 auto var(--space-xl);
  }
}

.section-label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

@media (min-width: 480px) {
  .section-title {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
  }
}

.section-subtitle {
  font-size: clamp(16px, 2.5vw, 18px);
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (min-width: 480px) {
  .section-subtitle {
    font-size: 18px;
    line-height: 1.6;
  }
}

/* Features Section */
.features {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .features-grid {
    gap: var(--space-lg);
  }
}

@media (min-width: 968px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  position: relative;
  padding: var(--space-md);
  background: var(--color-surface);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: all 300ms ease;
}

@media (min-width: 640px) {
  .feature-card {
    padding: var(--space-lg);
  }
}

.feature-card:hover {
  border-color: var(--color-navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-highlight {
  background: var(--color-navy);
  color: white;
  border-color: var(--color-navy);
}

.feature-highlight .feature-title,
.feature-highlight .feature-description {
  color: white;
}

.feature-highlight .feature-number {
  color: var(--color-gold);
}

.feature-highlight svg {
  stroke: white;
}

.feature-highlight svg path[stroke="#ffb81c"] {
  stroke: var(--color-gold);
}

.feature-highlight svg circle[fill="#0b3d91"] {
  fill: var(--color-gold);
}

.feature-number {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 48px;
  font-weight: 800;
  color: var(--color-border);
  line-height: 1;
  opacity: 0.5;
}

.feature-icon-large {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-md);
}

.feature-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  line-height: 1.3;
}

.feature-description {
  font-size: clamp(15px, 2vw, 16px);
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Process/Timeline Section */
.process {
  background: var(--color-surface);
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-lg);
  position: relative;
}

.timeline-item:not(:last-child) {
  margin-bottom: var(--space-xl);
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-outer {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--color-navy);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}

.marker-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
}

.timeline-line {
  flex: 1;
  width: 2px;
  background: var(--color-border);
  margin-top: var(--space-xs);
}

.timeline-content {
  padding-bottom: var(--space-md);
}

.timeline-title {
  font-size: clamp(20px, 3vw, 22px);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.timeline-text {
  font-size: clamp(15px, 2vw, 16px);
  line-height: 1.65;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: var(--space-md);
  }
  .timeline-item:not(:last-child) {
    margin-bottom: var(--space-lg);
  }
}

/* Impact Section */
.impact {
  background: white;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 968px) {
  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.impact-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.impact-text {
  font-size: clamp(16px, 2.5vw, 17px);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

@media (min-width: 480px) {
  .impact-text {
    margin-bottom: var(--space-lg);
  }
}

.impact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.impact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: clamp(15px, 2vw, 16px);
  line-height: 1.65;
}

@media (min-width: 480px) {
  .impact-list li {
    gap: var(--space-md);
    line-height: 1.6;
  }
}

.impact-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sources-note {
  margin-top: var(--space-md);
  color: var(--color-text-muted);
  font-size: 12px;
}

.sources-title {
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: var(--color-text-muted);
  opacity: 0.9;
}

.sources-list {
  list-style: disc;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sources-list a {
  color: inherit;
  text-decoration: underline;
  opacity: 0.9;
}

.stat-card {
  padding: var(--space-md);
  background: var(--color-surface);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

@media (min-width: 640px) {
  .stat-card {
    padding: var(--space-lg);
  }
}

.stat-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.stat-card-accent {
  background: #fff8e6;
  border-color: var(--color-gold);
}

.stat-card-icon {
  font-size: 32px;
  margin-bottom: var(--space-sm);
}

.stat-card-value {
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-card-label {
  font-size: clamp(14px, 2vw, 15px);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Audience Section */
.audience {
  background: var(--color-surface);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .audience-grid {
    gap: var(--space-lg);
  }
}

@media (min-width: 968px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.audience-card {
  padding: var(--space-md);
  background: white;
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: all 300ms ease;
}

@media (min-width: 640px) {
  .audience-card {
    padding: var(--space-lg);
  }
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-navy);
}

.audience-card-featured {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: white;
}

.audience-card-featured .audience-title {
  color: white;
}

.audience-card-featured .audience-description {
  color: rgba(255, 255, 255, 0.9);
}

.audience-card-featured svg {
  stroke: var(--color-gold);
}

.audience-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
}

.audience-title {
  font-size: clamp(20px, 3vw, 22px);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.audience-description {
  font-size: clamp(14px, 2vw, 15px);
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* CTA Section */
.cta-section {
  background: var(--color-navy);
  padding: var(--space-xl) 0;
}

@media (min-width: 768px) {
  .cta-section {
    padding: var(--space-2xl) 0;
  }
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  text-align: center;
}

@media (min-width: 640px) {
  .cta-box {
    padding: var(--space-xl);
  }
}

@media (min-width: 968px) {
  .cta-box {
    grid-template-columns: 1fr auto;
    gap: var(--space-xl);
    text-align: left;
  }
}

.cta-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.cta-subheading {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex-wrap: wrap;
  width: 100%;
}

@media (min-width: 480px) {
  .cta-actions {
    flex-direction: row;
    gap: var(--space-md);
    justify-content: center;
  }
}

@media (min-width: 968px) {
  .cta-actions {
    justify-content: flex-start;
    width: auto;
  }
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .site-footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }
}

/* Footer Top Shapes - Building Silhouettes */
.footer-top-shapes {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 200px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.4;
}

@media (min-width: 640px) {
  .footer-top-shapes {
    height: 300px;
  }
}

@media (min-width: 968px) {
  .footer-top-shapes {
    height: 400px;
  }
}

.footer-top-shapes svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* footer grid background removed as per design */

.site-footer .container {
  position: relative;
  z-index: 1;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: none;
}

@media (min-width: 568px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 968px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: white;
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 200ms ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-meta {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--color-gold);
}

.footer-contrib {
  color: var(--color-gold);
  font-weight: 700;
}

.footer-cta-link {
  color: var(--color-gold);
  text-decoration: underline;
  font-weight: 800;
}

.footer-cta-link:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin: 4px 0;
}
