/* ==========================================================================
   RUNNEX Design System & Landing Page Styles
   Recreated from Lovable Visual Reference (https://clone-visual-app.lovable.app/)
   Fonts: Anton (Headings) & Manrope (Body)
   ========================================================================== */

:root {
  /* Typography */
  --font-display: 'Anton', 'Impact', sans-serif;
  --font-sans: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  /* Color Palette matching Lovable OKLCH specification */
  --background: #171614;
  --foreground: #f4f3ef;
  --graphite: #22201e;
  --card: #22201e;
  --card-foreground: #f4f3ef;
  --popover: #22201e;
  --popover-foreground: #f4f3ef;

  --primary: #ff5722;
  --primary-foreground: #171614;
  --secondary: #2c2a27;
  --secondary-foreground: #f4f3ef;

  --muted: #2c2a27;
  --muted-foreground: #a6a39d;
  --accent: #ff5722;
  --accent-foreground: #171614;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --success: #10b981;

  --border: rgba(255, 255, 255, 0.12);
  --input: rgba(255, 255, 255, 0.16);
  --ring: #ff5722;

  /* Editorial Cream Paper Section */
  --paper: #f6f4ee;
  --paper-foreground: #1c1a18;
  --paper-muted: #6e6b65;

  /* Map & Telemetry GPS */
  --gps: #38bdf8;
  --glow-primary: 0 0 40px -6px rgba(255, 87, 34, 0.7);
  --gradient-hero-fade: linear-gradient(180deg, rgba(23, 22, 20, 0.35) 0%, rgba(23, 22, 20, 0.65) 55%, rgba(23, 22, 20, 1) 100%);
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: var(--primary-foreground);
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Layout Utilities */
.max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-md {
  max-width: 28rem;
}

.container-px {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container-px {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Typography Classes */
.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  line-height: 0.92;
}

.font-mono {
  font-family: var(--font-mono);
}

.eyebrow {
  font-family: var(--font-sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.text-primary {
  color: var(--primary);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-foreground-80 {
  color: rgba(244, 243, 239, 0.8);
}

.text-foreground-85 {
  color: rgba(244, 243, 239, 0.85);
}

/* Button Component Styles */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--glow-primary);
  border-radius: 0.6rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  font-size: 0.875rem;
  font-weight: 800;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  display: inline-flex;
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  color: var(--foreground);
  opacity: 0.85;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s, color 0.2s;
  display: inline-flex;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-ghost:hover {
  opacity: 1;
  color: var(--primary);
}

/* Form Field Inputs */
.field {
  background: var(--graphite);
  border: 1px solid var(--input);
  width: 100%;
  color: var(--foreground);
  border-radius: 0.6rem;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.field::placeholder {
  color: var(--muted-foreground);
}

.field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.3);
  outline: none;
}

select.field {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a6a39d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.field option {
  background: #1f1d1b;
  color: #fff;
}

/* Reveal on Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal[data-visible="true"] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .route-line {
    stroke-dashoffset: 0;
  }
}

/* Keyframe Animations */
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.route-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600px;
  animation: 3.2s ease-out 0.4s forwards draw;
}

@keyframes pulse-fill {
  0%, 100% {
    opacity: 0.18;
  }
  50% {
    opacity: 0.38;
  }
}

.territory-pulse {
  animation: 3.5s ease-in-out infinite pulse-fill;
}

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

.animate-spin {
  animation: spin 1s linear infinite;
}

/* ==========================================================================
   Section 1: Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: -20;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: var(--gradient-hero-fade);
}

.hero-svg-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -10;
  height: 100%;
  width: 100%;
}

.site-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--foreground);
}

.nav-link-waitlist {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.nav-link-waitlist:hover {
  color: var(--primary);
}

.hero-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-content {
    padding-bottom: 6rem;
  }
}

.hero-title {
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  margin-top: 1rem;
}

.hero-desc {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  color: var(--text-foreground-85);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero-desc {
    font-size: 1.25rem;
  }
}

.hero-cta-group {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-subtext {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Section 2: Built For Runners (Editorial Paper Section)
   ========================================================================== */
.section-paper {
  background-color: var(--paper);
  color: var(--paper-foreground);
}

.paper-grid {
  display: grid;
  gap: 3rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .paper-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .paper-sticky-col {
    position: sticky;
    top: 3rem;
    align-self: flex-start;
  }
}

.paper-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  margin-top: 1rem;
}

.paper-desc {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  color: var(--paper-muted);
  line-height: 1.6;
}

.paper-runner-img {
  margin-top: 2.5rem;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 28rem;
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
}

.paper-features-list {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.paper-feature-item {
  border-top: 1px solid rgba(28, 26, 24, 0.15);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.paper-feature-item:last-child {
  border-bottom: 1px solid rgba(28, 26, 24, 0.15);
}

.feature-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-heading {
  font-size: 2.25rem;
  transition: color 0.2s;
}

@media (min-width: 640px) {
  .feature-heading {
    font-size: 3rem;
  }
}

.paper-feature-item:hover .feature-heading {
  color: var(--primary);
}

.feature-text {
  margin-top: 0.75rem;
  color: var(--paper-muted);
  font-size: 1rem;
}

/* ==========================================================================
   Section 3: How It Works ("Every run can change the map")
   ========================================================================== */
.section-how {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .section-how {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.how-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  margin-top: 1rem;
}

.steps-track {
  position: relative;
  margin-top: 4rem;
  display: grid;
  gap: 2.5rem;
  list-style: none;
}

@media (min-width: 768px) {
  .steps-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.steps-line {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

@media (min-width: 768px) {
  .steps-line {
    left: 1.5rem;
    right: 1.5rem;
    top: 1.5rem;
    bottom: auto;
    height: 1px;
    width: auto;
    background: linear-gradient(to right, var(--primary), transparent);
  }
}

.step-item-wrap {
  display: flex;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .step-item-wrap {
    flex-direction: column;
  }
}

.step-circle {
  position: relative;
  z-index: 10;
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 2px solid var(--primary);
  background-color: var(--background);
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--primary);
}

.step-word {
  font-size: 3.75rem;
}

@media (min-width: 640px) {
  .step-word {
    font-size: 4.5rem;
  }
}

.step-text {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  font-size: 1rem;
}

/* ==========================================================================
   Section 4: Attraction Showcase — Cubbon Park Territory Example & App Visual
   ========================================================================== */
.section-showcase {
  background-color: #141311;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .section-showcase {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.showcase-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .showcase-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
  }
}

.showcase-title {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  margin-top: 1rem;
}

.showcase-desc {
  font-size: 1.125rem;
  color: var(--text-foreground-80);
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* Mobile App Viewport Visualizer Mockup */
.phone-mockup-frame {
  width: 100%;
  max-width: 390px;
  margin-left: auto;
  margin-right: auto;
  background: #0b0e14;
  border: 4px solid #2d3039;
  border-radius: 40px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 87, 34, 0.2);
  overflow: hidden;
  position: relative;
}

.phone-speaker-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #1f232c;
  border-radius: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-speaker-island::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00f0ff;
  opacity: 0.8;
  margin-left: 50px;
}

.phone-map-container {
  height: 540px;
  width: 100%;
  position: relative;
  background: #0b0e14;
}

.phone-hud-header {
  position: absolute;
  top: 48px;
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(18, 22, 31, 0.85);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-hud-footer {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 20;
  background: rgba(18, 22, 31, 0.9);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 87, 34, 0.3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}

.pulse-radar {
  animation: pulse-ring 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 0.25; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   Section 5: Founding Runners ("Don't just join RUNNEX. Help shape it.")
   ========================================================================== */
.section-founding {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(255, 87, 34, 0.25);
  border-bottom: 1px solid rgba(255, 87, 34, 0.25);
  background-color: var(--graphite);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .section-founding {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.founding-glow {
  position: absolute;
  right: -10rem;
  top: -10rem;
  z-index: -10;
  height: 32rem;
  width: 32rem;
  border-radius: 9999px;
  background-color: rgba(255, 87, 34, 0.15);
  filter: blur(64px);
}

.founding-title {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  margin-top: 1rem;
}

.founding-cards-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: var(--border);
}

@media (min-width: 768px) {
  .founding-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.founding-card {
  height: 100%;
  background-color: var(--graphite);
  padding: 2rem;
}

.card-top-bar {
  display: block;
  height: 0.25rem;
  width: 2.5rem;
  background-color: var(--primary);
}

.card-heading {
  font-size: 1.875rem;
  margin-top: 1.5rem;
}

.card-desc {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.5;
}

.founding-cta-wrap {
  margin-top: 3rem;
}

.disclaimer-text {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ==========================================================================
   Section 6: City Territory Selector ("Your city. Your routes.")
   ========================================================================== */
.section-cities {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .section-cities {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.cities-title {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.cities-pills-list {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
}

.city-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
  cursor: pointer;
  background: transparent;
}

.city-pill-btn:hover, .city-pill-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 87, 34, 0.08);
}

.gps-dot {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background-color: var(--gps);
}

/* ==========================================================================
   Section 7: Founding Runners Waitlist Form ("Your RUNNEX journey starts here.")
   ========================================================================== */
.section-waitlist {
  scroll-margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  background-color: rgba(34, 32, 30, 0.6);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .section-waitlist {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.waitlist-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .waitlist-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.waitlist-heading {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  margin-top: 1rem;
}

.waitlist-form {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .waitlist-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-full-col {
    grid-column: span 2 / span 2;
  }
}

.form-label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

#form-msg {
  margin-top: 1rem;
  min-height: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.text-destructive {
  color: var(--destructive);
}

.success-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 87, 34, 0.4);
  background-color: var(--graphite);
  padding: 2rem;
  text-align: center;
}

@media (min-width: 640px) {
  .success-card {
    padding: 3rem;
  }
}

.success-badge {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  display: grid;
  height: 3.5rem;
  width: 3.5rem;
  place-items: center;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.success-title {
  font-size: 2.25rem;
}

@media (min-width: 640px) {
  .success-title {
    font-size: 3rem;
  }
}

/* ==========================================================================
   Section 8: FAQ ("Questions")
   ========================================================================== */
.section-faq {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.faq-heading {
  font-size: 3rem;
}

.faq-accordion {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  transition: color 0.2s;
}

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

.faq-summary:hover {
  color: var(--primary);
}

.faq-plus-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

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

.faq-answer {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ==========================================================================
   Section 9: Bottom Banner ("The streets are waiting.")
   ========================================================================== */
.section-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.banner-bg-img {
  position: absolute;
  inset: 0;
  z-index: -20;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.banner-gradient {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: linear-gradient(to top, var(--background), rgba(23, 22, 20, 0.7), var(--background));
}

.banner-content {
  padding-top: 8rem;
  padding-bottom: 8rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .banner-content {
    padding-top: 11rem;
    padding-bottom: 11rem;
  }
}

.banner-title {
  font-size: clamp(3.2rem, 10vw, 9rem);
}

.banner-btn {
  margin-top: 2.5rem;
}

/* ==========================================================================
   Section 10: Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Legal Document Modal
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 40rem;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  color: var(--text-foreground-85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
}

.modal-close-btn:hover {
  color: var(--foreground);
}
