/* ==========================================================================
   EatssApp — Native #F7931A Brand Theme
   Palette: Brand Orange (#F7931A) | Deep Navy/Charcoal (#0B1324) | Ivory (#FAF9F6)
   ========================================================================== */

:root {
  --brand: #f7931a;
  --brand-hover: #e07d08;
  --brand-ink: #b85d00;
  --brand-soft: rgba(247, 147, 26, 0.10);
  --brand-border: rgba(247, 147, 26, 0.30);

  --navy-950: #070d19;
  --navy-900: #0b1324;
  --navy-850: #111b30;
  --navy-800: #182540;
  --navy-border: rgba(255, 255, 255, 0.10);
  --navy-border-strong: rgba(255, 255, 255, 0.18);

  --ivory-50: #faf9f6;
  --white: #ffffff;
  --stone-100: #f2f0ea;
  --stone-200: #e3e0d7;
  --stone-300: #cbc7bc;

  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-400: #94a3b8;

  --green-800: #145337;
  --green-700: #1f6f4a;
  --green-600: #22c55e;
  --green-400: #4ade80;
  --green-50: #edf7f1;

  --amber-700: #b45309;
  --amber-100: #fef3c7;
  --amber-400: #fbbf24;

  --slate-pill-bg: #eef2f6;
  --slate-pill-ink: #334155;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-subtle: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 14px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-elevated: 0 20px 48px rgba(7, 13, 25, 0.25);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background-color: var(--ivory-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Containers & Sections */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 92px 0;
  position: relative;
}

.section--dark {
  background-color: var(--navy-900);
  color: #f8fafc;
}

.section--ivory {
  background-color: var(--ivory-50);
  color: var(--ink-900);
}

.section--white {
  background-color: var(--white);
  color: var(--ink-900);
}

.section--border-top {
  border-top: 1px solid var(--stone-200);
}

.section--dark-border-top {
  border-top: 1px solid var(--navy-border);
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 14px;
}

.section--dark .eyebrow {
  color: var(--brand);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background-color: var(--brand);
  display: inline-block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink-500);
  max-width: 680px;
}

.section--dark .section-lead {
  color: #cbd5e1;
}

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
}

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill--live {
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid rgba(31, 111, 74, 0.25);
}

.section--dark .status-pill--live {
  background: rgba(74, 222, 128, 0.12);
  color: var(--green-400);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-pill--planned {
  background: var(--slate-pill-bg);
  color: var(--slate-pill-ink);
  border: 1px solid #cbd5e1;
}

.section--dark .status-pill--planned {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.status-pill--pilot {
  background: rgba(247, 147, 26, 0.14);
  color: var(--brand-ink);
  border: 1px solid var(--brand-border);
}

.section--dark .status-pill--pilot {
  background: rgba(247, 147, 26, 0.16);
  color: var(--brand);
  border: 1px solid rgba(247, 147, 26, 0.35);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-600);
  display: inline-block;
}

.section--dark .live-dot {
  background-color: var(--green-400);
}

/* Buttons — Native #F7931A */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid transparent;
  line-height: 1.2;
}

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

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--brand);
  color: #0b1324;
  border-color: var(--brand);
}

.btn--primary:hover {
  background-color: var(--brand-hover);
  border-color: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(247, 147, 26, 0.34);
}

.btn--secondary-dark {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: var(--navy-border-strong);
}

.btn--secondary-dark:hover {
  background-color: rgba(247, 147, 26, 0.12);
  border-color: var(--brand);
  transform: translateY(-1px);
}

.btn--secondary-light {
  background-color: var(--white);
  color: var(--ink-900);
  border-color: var(--stone-300);
}

.btn--secondary-light:hover {
  background-color: var(--stone-100);
  border-color: var(--brand);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.85rem;
  text-wrap: nowrap;
}

/* Navigation Header */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(11, 19, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-border);
  transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.site-nav.is-scrolled {
  background-color: rgba(7, 13, 25, 0.97);
  border-bottom-color: rgba(247, 147, 26, 0.22);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  /* max-width: var(--max-width); */
  /* margin: 0 auto; */
  width: 100%;
  
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-box {
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}

.brand-logo-box img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #cbd5e1;
  letter-spacing: 0.04em;
  display: none;
}

@media (min-width: 1140px) {
  .brand-sub {
    display: inline-block;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-menu a.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.nav-menu a.nav-link:hover {
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--navy-border-strong);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-menu-wrapper {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    background: var(--navy-950);
    border-bottom: 1px solid var(--navy-border-strong);
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  }
  .nav-menu-wrapper.is-open {
    display: flex;
  }
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }
  .nav-menu li {
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 1181px) {
  .nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
  }
}

/* Hero Section */
.hero-section {
  padding: 132px 0 84px;
  background-color: var(--navy-900);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-section--compact {
  padding: 128px 0 68px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 20%, rgba(247, 147, 26, 0.12), transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 95%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-recognition {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  color: var(--ink-900);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-recognition img.ds-badge-logo {
  height: 15px;
  width: auto;
}

.hero-recognition img.si-badge-logo {
  height: 17px;
  width: auto;
}

.hero-recognition-sep {
  width: 1px;
  height: 14px;
  background: #cbd5e1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.1vw, 3.45rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-title .accent {
  color: var(--brand);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--navy-border);
}

.hero-pillar-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 4px;
}

.hero-pillar-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f8fafc;
}

.hero-visual-frame {
  position: relative;
}

.hero-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(247, 147, 26, 0.28);
  background: var(--navy-850);
  box-shadow: var(--shadow-elevated);
}

.hero-photo-card img.hero-photo {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.hero-photo-caption {
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--navy-950);
  border-top: 1px solid var(--navy-border);
  font-size: 0.8rem;
  color: #cbd5e1;
}

.hero-app-inset {
  position: absolute;
  bottom: 58px;
  right: -14px;
  width: 142px;
  background: #0b111e;
  border: 3px solid var(--brand);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}


.hero-app-inset img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

/* Categories & Cards */
.customer-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-tile {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-subtle);
}

.category-tile--live {
  border-top: 3px solid var(--brand);
}

.category-tile--planned {
  border-top: 3px solid var(--stone-300);
}

.category-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.08rem;
}

.category-tile--planned .category-icon {
  background: var(--stone-100);
  color: var(--ink-500);
}

.category-tile h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.category-tile p {
  font-size: 0.9rem;
  color: var(--ink-500);
  line-height: 1.55;
}

/* Editorial Splits & Area Cards */
.gap-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.editorial-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stone-200);
  background: var(--ivory-50);
  box-shadow: var(--shadow-card);
}

.editorial-photo-wrap img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.editorial-photo-cap {
  padding: 16px 20px;
  font-size: 0.86rem;
  color: var(--ink-700);
  border-top: 1px solid var(--stone-200);
}

.area-card {
  background: var(--ivory-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  padding: 24px;
}

.gap-callout {
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  background: rgba(247, 147, 26, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--ink-700);
}

/* Journey & Advantage Grids */
.journey-box {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.journey-step {
  background: var(--ivory-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  padding: 20px;
}

.journey-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 8px;
}

.journey-step h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.journey-step p {
  font-size: 0.85rem;
  color: var(--ink-500);
  line-height: 1.5;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.advantage-card {
  background: var(--ivory-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.advantage-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 0.89rem;
  color: var(--ink-500);
  line-height: 1.55;
}

/* Merchant Benefits List */
.merchant-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.merchant-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.merchant-benefit-item i {
  color: var(--brand);
  font-size: 1.05rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.merchant-benefit-item strong {
  display: block;
  font-size: 0.96rem;
  color: var(--ink-900);
  margin-bottom: 2px;
}

.merchant-benefit-item span {
  display: block;
  font-size: 0.87rem;
  color: var(--ink-500);
  line-height: 1.5;
}

/* Dark Two-Column & Panels (Delivery Partners / Investors / Merchants) */
.investor-layout {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 44px;
  align-items: start;
}

.investor-thesis-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.investor-thesis-item {
  padding-left: 16px;
  border-left: 2px solid var(--brand);
}

.investor-thesis-item strong {
  display: block;
  color: #ffffff;
  font-size: 0.96rem;
  margin-bottom: 3px;
}

.investor-thesis-item span {
  display: block;
  color: #cbd5e1;
  font-size: 0.87rem;
  line-height: 1.55;
}

.funding-panel {
  background: var(--navy-850);
  border: 1px solid rgba(247, 147, 26, 0.28);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.funding-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 26px;
}

.funding-term-box {
  background: var(--navy-900);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.funding-term-k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 4px;
}

.funding-term-v {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.uof-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.uof-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.uof-row-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  font-size: 0.84rem;
  color: #e2e8f0;
}

.uof-bar-bg {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.uof-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--brand);
}

/* Forms & Banners (for /merchants/) */
.form-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

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

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-700);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-sm);
  background: var(--ivory-50);
  color: var(--ink-900);
  font-size: 0.92rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(247, 147, 26, 0.28);
  border-color: var(--brand);
}

.form-field--dark label {
  color: #e2e8f0;
}

.form-field--dark input,
.form-field--dark select,
.form-field--dark textarea {
  background: var(--navy-900);
  border-color: var(--navy-border-strong);
  color: #ffffff;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
}

.faq-trigger i {
  color: var(--brand-ink);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-trigger i {
  transform: rotate(180deg);
}

.faq-panel {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.91rem;
  color: var(--ink-700);
  line-height: 1.6;
  border-top: 1px solid var(--stone-100);
  padding-top: 14px;
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* Mini Step Strip (for Merchant / Rider Onboarding on Homepage) */
.mini-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.mini-step {
  background: var(--ivory-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.section--dark .mini-step {
  background: var(--navy-850);
  border-color: var(--navy-border-strong);
}

.mini-step-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 4px;
}

.section--dark .mini-step-num {
  color: var(--brand);
}

.mini-step strong {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 3px;
}

.mini-step span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-500);
  line-height: 1.4;
}

.section--dark .mini-step span {
  color: #cbd5e1;
}

@media (max-width: 760px) {
  .mini-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 500px) {
  .mini-steps {
    grid-template-columns: 1fr;
  }
}

.api-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.api-banner--ok {
  background: var(--green-50);
  border: 1px solid rgba(31, 111, 74, 0.22);
  color: var(--green-800);
}

.api-banner--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 72px 0 36px;
  border-top: 1px solid var(--navy-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--navy-border);
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.84rem;
  color: #94a3b8;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--navy-border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.footer-socials a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 25, 0.78);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  max-height: 84vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-elevated);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--stone-200);
  background: var(--ivory-50);
  color: var(--ink-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #0b1324;
}

.modal-container h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stone-200);
}

.modal-container h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 22px 0 8px;
}

.modal-container h3 {
  font-size: 1rem;
  margin: 18px 0 8px;
}

.modal-container p, .modal-container li {
  font-size: 0.93rem;
  color: var(--ink-700);
  line-height: 1.6;
  margin-bottom: 10px;
}

.modal-container ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

/* Roadmap Track (used on /investors/) */
.roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-subtle);
}

.roadmap-card--active {
  border-color: var(--brand);
  border-width: 1.5px;
}

.roadmap-quarter {
  font-family: var(--font-mono);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-900);
}

.roadmap-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.roadmap-card p {
  font-size: 0.86rem;
  color: var(--ink-500);
  line-height: 1.55;
}

/* Grid children safety against intrinsic min-content overflow */
.hero-layout > *,
.gap-layout > *,
.investor-layout > *,
.customer-categories-grid > *,
.advantage-grid > *,
.roadmap-track > *,
.journey-steps > *,
.footer-grid > * {
  min-width: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .section {
    padding: 72px 0;
  }
  .hero-layout,
  .gap-layout,
  .investor-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .hero-app-inset {
    right: 12px;
    bottom: 58px;
    width: 124px;
  }
  .customer-categories-grid,
  .advantage-grid,
  .journey-steps,
  .roadmap-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  .section {
    padding: 56px 0;
  }
  .hero-section {
    padding: 104px 0 52px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-pillars,
  .customer-categories-grid,
  .journey-steps,
  .advantage-grid,
  .funding-terms-grid,
  .roadmap-track,
  .form-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .journey-box,
  .form-card,
  .funding-panel,
  .area-card,
  .advantage-card {
    padding: 20px;
  }
  .faq-trigger {
    padding: 16px 18px;
    font-size: 0.94rem;
  }
  .faq-panel {
    padding: 12px 18px 16px;
  }
  .hero-app-inset {
    display: none;
  }
  .modal-container {
    padding: 22px;
  }
}
