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

:root {
  --accent:       #0EA5A4;
  --accent-light: #E6FFFA;
  --accent-dark:  #1E3A8A;
  --text:         #111827;
  --text-muted:   #64748B;
  --heading:      #1E3A8A;
  --border:       #E2E8F0;
  --bg:           #F8FAFC;
  --white:        #FFFFFF;
  --radius:       12px;
  --radius-lg:    18px;
  --shadow:       0 2px 6px rgba(15,23,42,.08), 0 6px 20px rgba(15,23,42,.10);
  --shadow-md:    0 4px 12px rgba(15,23,42,.10), 0 16px 40px rgba(15,23,42,.14);
  --shadow-hover: 0 8px 28px rgba(15,23,42,.13), 0 32px 64px rgba(15,23,42,.17);
  --nav-h:        64px;
  --font:         'Inter', system-ui, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.teal { color: #5EEAD4; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(248,250,252,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 36px;
}

.nav__logo {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex: 1;
}
.nav__links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color .15s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--accent); text-decoration: none; }

.nav__cta { margin-left: auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .18s ease, box-shadow .20s ease, transform .16s ease, border-color .18s ease;
  text-decoration: none !important;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 3px rgba(15,23,42,.18), 0 4px 12px rgba(14,165,164,.30);
}
.btn-primary:hover {
  background: #0891A0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 3px 8px rgba(15,23,42,.22), 0 10px 28px rgba(14,165,164,.46);
  transform: translateY(-2px);
}
.btn-outline {
  background: var(--white);
  color: var(--accent);
  border: 1.5px solid var(--accent);
  box-shadow: 0 1px 4px rgba(15,23,42,.08), 0 3px 10px rgba(15,23,42,.06);
}
.btn-outline:hover {
  background: var(--accent-light);
  box-shadow: 0 3px 12px rgba(14,165,164,.24);
  transform: translateY(-2px);
}
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
.btn:active { transform: translateY(0) !important; box-shadow: none !important; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 80px 40px 72px;
}

/* Decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-blob--1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(14,165,164,.14) 0%, transparent 70%);
  top: -220px; right: -160px;
  filter: blur(0);
}
.hero-blob--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(228,242,238,.9) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  filter: blur(20px);
}
.hero-blob--3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(14,165,164,.09) 0%, transparent 70%);
  top: 40%; left: 30%;
  filter: blur(10px);
}

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

.hero-content { max-width: 540px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 22px;
  border: 1px solid rgba(14,165,164,.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__metrics {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero__metric-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero__metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ── Hero preview panel ───────────────────────────────────── */
.hero-preview {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}

.hero-preview__bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-preview__dots {
  display: flex;
  gap: 5px;
}
.hero-preview__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hero-preview__dot:nth-child(1) { background: var(--border); }
.hero-preview__dot:nth-child(2) { background: var(--border); }
.hero-preview__dot:nth-child(3) { background: var(--border); }
.hero-preview__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  max-height: 380px;
  overflow: hidden;
  position: relative;
}
.hero-preview__grid::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}

.preview-card {
  background: var(--white);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.preview-card__header {
  display: flex;
  align-items: center;
  gap: 9px;
}
.preview-card__logo {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  object-fit: contain;
  padding: 3px;
  flex-shrink: 0;
}
.preview-card__logo-placeholder {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.preview-card__name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.preview-card__city {
  font-size: 0.68rem;
  color: var(--text-muted);
}
.preview-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-dark);
  width: fit-content;
}

/* ── Stats bar (inner pages / minimal) ───────────────────── */
.stats-strip {
  background: var(--accent-dark);
  color: var(--white);
  padding: 22px 40px;
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.stat__num {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat__label {
  font-size: 0.75rem;
  opacity: .65;
  margin-top: 4px;
}

/* ── Feature section ──────────────────────────────────────── */
.features-section {
  padding: 88px 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.features-section__header {
  max-width: 520px;
  margin-bottom: 48px;
}
.features-section__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.features-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--heading);
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow .22s ease, transform .18s ease, border-color .20s ease;
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: rgba(14,165,164,.25); }

.feature-card__icon {
  width: 40px; height: 40px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--heading);
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA section ──────────────────────────────────────────── */
.cta-section {
  background: var(--accent-dark);
  padding: 72px 40px;
  text-align: center;
  color: var(--white);
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.cta-section p {
  font-size: 0.95rem;
  opacity: .7;
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.btn-white {
  background: var(--white);
  color: var(--accent-dark);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 2px 8px rgba(0,0,0,.20), 0 4px 16px rgba(0,0,0,.12);
}
.btn-white:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 24px rgba(0,0,0,.30);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,.09);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.55);
  transform: translateY(-2px);
}

/* ── Page header (inner pages) ───────────────────────────── */
.page-header {
  background: var(--white);
  padding: 44px 40px 36px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--heading);
}
.page-header p {
  font-size: 0.93rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.65;
}

/* ── Ecosystem page ───────────────────────────────────────── */
.ecosystem-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 40px 80px;
}

.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.search-bar__input {
  flex: 1;
  min-width: 240px;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
}
.search-bar__input:focus { border-color: var(--accent); }
.search-bar__input::placeholder { color: #9BABA5; }

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-select {
  padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.83rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: border-color .15s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
}
.filter-select:focus { border-color: var(--accent); }

.results-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* Company card */
.company-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: box-shadow .22s ease, transform .18s ease, border-color .20s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.company-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: rgba(14,165,164,.22); }

.company-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.company-card__logo {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: contain;
  padding: 4px;
  background: var(--white);
  flex-shrink: 0;
}
.company-card__logo-placeholder {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.company-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.company-card__city {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}
.company-card__desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.company-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.tag-layer { background: var(--accent-light); color: var(--accent-dark); }
.tag-type  { background: #F0F7F5; color: #1D5C4E; }

.company-card__footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.company-card__keywords {
  font-size: 0.72rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
}
.no-results__icon { font-size: 2rem; margin-bottom: 12px; opacity: .4; }
.no-results h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }

/* ── Map page ──────────────────────────────────────────────── */
#map {
  height: calc(100vh - var(--nav-h) - 57px);
  min-height: 500px;
  width: 100%;
}
.map-controls {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 40px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Leaflet popup */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: var(--shadow-hover) !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--border) !important;
}
.leaflet-popup-content { margin: 0 !important; width: auto !important; }
.leaflet-popup-tip-container { display: none; }
.map-popup { padding: 18px 20px; min-width: 210px; max-width: 270px; }
.map-popup--clickable { cursor: pointer; transition: background .15s ease; }
.map-popup--clickable:hover { background: #F8FAFC; }
.map-popup--clickable:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.map-popup__name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text);
}
.map-popup__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.55;
}
.map-popup__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── Add org page ──────────────────────────────────────────── */
.form-page {
  max-width: 720px;
  margin: 48px auto 80px;
  padding: 0 24px;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 48px;
}
.form-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--heading);
}
.form-card .form-intro {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 36px;
  line-height: 1.65;
}
.form-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1D4ED8;
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}
.form-group label .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-left: 4px;
}
.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }
.char-count { font-size: 0.72rem; color: var(--text-muted); text-align: right; margin-top: 3px; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
}
.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.checkbox-item:hover { border-color: var(--accent); background: var(--accent-light); }
.checkbox-item input[type="checkbox"] { margin-top: 2px; accent-color: var(--accent); }
.checkbox-item__label { font-size: 0.83rem; font-weight: 600; color: var(--text); }
.checkbox-item__sublabel { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

.consent-block {
  background: var(--bg);
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border);
}
.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.consent-item input[type="checkbox"] { margin-top: 3px; accent-color: var(--accent); }

.form-submit {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.success-message {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.success-message__icon {
  width: 60px; height: 60px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--accent);
  font-size: 1.6rem;
}
.success-message h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.success-message p { font-size: 0.88rem; color: var(--text-muted); max-width: 380px; margin: 0 auto; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.5);
  padding: 28px 40px;
  text-align: center;
  font-size: 0.8rem;
}
.footer a { color: var(--teal-300); font-weight: 500; }
.footer a:hover { color: #fff; text-decoration: underline; }

/* ── Ecosystem layer tag colors ─────────────────────────── */
.layer-1  { background: #EEF2FF; color: #3730A3; }
.layer-2  { background: #ECFDF5; color: #065F46; }
.layer-3  { background: #F5F3FF; color: #6D28D9; }
.layer-4  { background: #FFF7ED; color: #B45309; }
.layer-5  { background: #EFF6FF; color: #1E40AF; }
.layer-6  { background: #F0FDF4; color: #166534; }
.layer-7  { background: #FEFCE8; color: #854D0E; }
.layer-eco{ background: #F1F5F9; color: #334155; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: none; }
  .hero-preview { max-width: 480px; margin: 0 auto; }
  .hero-blob--1 { width: 340px; height: 340px; right: -80px; top: -80px; }
}
@media (max-width: 768px) {
  .nav { padding: 0 20px; gap: 20px; }
  .nav__links { display: none; }
  .hero { padding: 56px 24px 56px; }
  .features-section { padding: 56px 24px; }
  .ecosystem-layout { padding: 20px 20px 60px; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .map-controls { padding: 10px 20px; }
  .stats-strip { gap: 28px; padding: 20px 20px; }
  .cta-section { padding: 56px 24px; }
  .footer { padding: 24px 20px; }
}

/* ── Homepage redesign ───────────────────────────────────── */

/* Dark hero */
.hero--dark {
  background:
    radial-gradient(ellipse 65% 55% at 15% 80%, rgba(14,165,164,.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 20%, rgba(30,58,138,.38) 0%, transparent 65%),
    linear-gradient(160deg, #0A1628 0%, #111827 100%);
  padding: 120px 40px 108px;
}
.hero--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.hero--dark .hero-blob--1,
.hero--dark .hero-blob--2,
.hero--dark .hero-blob--3 { display: none; }
.hero--dark .hero__eyebrow {
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.15);
}
.hero--dark h1 { color: #ffffff; }
.hero--dark h1 em { color: #5EEAD4; }
.hero--dark .hero__sub { color: rgba(255,255,255,.80); }

/* Centered single-column hero layout */
.hero-inner--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
}
.hero-inner--centered .hero__sub { max-width: 600px; }
.hero-inner--centered .hero__actions { justify-content: center; }

/* Proof strip */
.proof-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.proof-strip__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
}
.proof-card {
  flex: 1;
  text-align: center;
  padding: 36px 24px;
  border-right: 1px solid var(--border);
}
.proof-card:last-child { border-right: none; }
.proof-card__num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.proof-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Shared section utilities */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header { margin-bottom: 48px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--heading);
  line-height: 1.2;
}

/* Map preview panel */
.map-panel-section {
  background: var(--bg);
  padding: 80px 40px;
}
.map-panel-section__inner { max-width: 1180px; margin: 0 auto; }
.map-panel-section__header { margin-bottom: 32px; }
.map-panel-section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin-bottom: 8px;
  line-height: 1.2;
}
.map-panel-section__header p { font-size: 0.88rem; color: var(--text-muted); }
.map-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}
.map-panel__bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.map-panel__dots { display: flex; gap: 5px; }
.map-panel__dots div { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.map-panel__label { font-size: 0.73rem; color: var(--text-muted); font-weight: 500; flex: 1; }
.map-panel__link { font-size: 0.8rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.map-panel__link:hover { text-decoration: underline; }
#home-map { height: 460px; width: 100%; }

/* Waarom section */
.waarom-section {
  background: var(--white);
  padding: 88px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.waarom-section__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.waarom-section__left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--heading);
  line-height: 1.2;
  margin-top: 14px;
  padding-left: 20px;
  border-left: 4px solid var(--accent);
}
.waarom-section__right p {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.waarom-section__right p + p { margin-top: 16px; }

/* Stakeholder cards */
.stakeholder-section { background: var(--bg); padding: 88px 40px; }
.stakeholder-section__inner { max-width: 1180px; margin: 0 auto; }
.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stakeholder-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  transition: box-shadow .22s ease, transform .18s ease;
}
.stakeholder-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.stakeholder-card__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent-light) 0%, #99F6E4 100%);
  border: 1px solid rgba(14,165,164,.16);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.stakeholder-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: var(--heading); }
.stakeholder-card__subtitle {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  font-style: italic;
  margin-bottom: 10px;
}
.stakeholder-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* Contact section */
.contact-section {
  background: var(--white);
  padding: 72px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.contact-section__inner { max-width: 680px; margin: 0 auto; }
.contact-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin-bottom: 18px;
  margin-top: 10px;
}
.contact-section p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.contact-email { font-weight: 600; color: var(--accent); }
.contact-email:hover { text-decoration: underline; }

/* Logo strip */
.logo-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.logo-strip__fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.logo-strip__fade--left  { left:  0; background: linear-gradient(to right, var(--white) 30%, transparent); }
.logo-strip__fade--right { right: 0; background: linear-gradient(to left,  var(--white) 30%, transparent); }
.logo-strip__track {
  display: flex;
  gap: 40px;
  align-items: center;
  width: max-content;
  animation: logo-scroll 60s linear infinite;
  will-change: transform;
}
.logo-strip__track:hover { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-strip__item {
  flex-shrink: 0;
  width: 88px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity .22s ease, filter .22s ease;
  filter: grayscale(0.25) brightness(0.92);
}
.logo-strip__item:hover { opacity: 0.9; filter: grayscale(0) brightness(1); }
.logo-strip__item img {
  max-width: 86px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.logo-strip__item--initial {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.8rem;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive – homepage additions */
@media (max-width: 900px) {
  .waarom-section__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .hero--dark { padding: 80px 24px 72px; }
  .proof-strip__inner { flex-direction: column; }
  .proof-card { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 20px; }
  .proof-card:last-child { border-bottom: none; }
  .map-panel-section { padding: 56px 24px; }
  #home-map { height: 320px; }
  .waarom-section { padding: 56px 24px; }
  .stakeholder-section { padding: 56px 24px; }
  .stakeholder-grid { grid-template-columns: 1fr; }
  .contact-section { padding: 56px 24px; }
}

/* ==========================================================
   Homepage v2 — Navy editorial layout (mockup-aligned)
   ========================================================== */

:root {
  --navy-950: #020617;
  --navy-900: #061226;
  --navy-800: #082F49;
  --navy-700: #0B2545;
  --navy-600: #0F2A57;
  --brand-blue: #1D4ED8;
  --brand-blue-dark: #1E3A8A;
  --teal-500: #0F766E;
  --teal-400: #14B8A6;
  --teal-300: #5EEAD4;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-500: #64748B;
  --slate-700: #334155;
  --slate-900: #0F172A;
}

body.home { background: var(--slate-50); }

/* ── Dark sticky nav ── */
.nav--dark {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0 48px;
}
.nav--dark .nav__logo { color: #fff; letter-spacing: -0.02em; font-size: 1.15rem; }
.nav--dark .nav__logo span { color: var(--teal-300); }
.nav--dark .nav__links { gap: 32px; flex: 1; justify-content: flex-end; margin-right: 20px; }
.nav--dark .nav__links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav--dark .nav__links a:hover { color: #fff; }
.nav--dark .nav__links a.active { color: #fff; }
.nav--dark .nav__links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--teal-300);
}
.nav--dark .nav__cta {
  margin-left: 0;
  background: var(--teal-500);
  color: #fff;
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.nav--dark .nav__cta:hover {
  background: #0d8075;
  transform: translateY(-1px);
}

/* ── Hero split (dark gradient, two-column) ── */
.hero-split {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #050d22 0%, #081a3d 40%, #0a3a55 75%, #0e6f6a 100%);
  padding: clamp(28px, 4.5vh, 72px) clamp(20px, 4vw, 64px);
  color: #fff;
}
.hero-split::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 50%, transparent 100%);
}
.hero-split__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hero-split__left { max-width: 540px; }
.hero-split__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw + 0.6rem, 4.4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: clamp(10px, 1.6vh, 24px);
}
.hero-split__sub {
  font-size: clamp(0.88rem, 0.6vw + 0.7rem, 1.05rem);
  line-height: 1.6;
  color: rgba(226,232,240,0.82);
  max-width: 520px;
  margin-bottom: clamp(14px, 2.4vh, 32px);
}

/* ── Stat tiles ── */
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 16px);
  margin-bottom: clamp(12px, 2vh, 28px);
}
.stat-tile {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: clamp(10px, 1.4vh, 20px) clamp(10px, 1vw, 20px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.stat-tile__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.stat-tile__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.6vw + 0.8rem, 2.4rem);
  font-weight: 400;
  color: #5EEAD4;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.stat-tile__label {
  font-size: 0.78rem;
  color: rgba(226,232,240,0.75);
  line-height: 1.35;
}

/* ── Hero buttons (pill) ── */
.hero-split__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-white-pill {
  background: #fff;
  color: var(--navy-900);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  border: 1px solid #fff;
}
.btn-white-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.3);
  background: #fff;
  color: var(--navy-900);
  text-decoration: none;
}
.btn-ghost-pill {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost-pill:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

/* ── Map preview card ── */
.hero-split__right { min-width: 0; }
.map-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
}
.map-card__header {
  height: 48px;
  background: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.map-card__status { display: flex; align-items: center; gap: 10px; }
.map-card__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.22);
}
.map-card__status-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}
.map-card__meta {
  font-size: 0.78rem;
  color: rgba(226,232,240,0.75);
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}
.map-card__sep { color: rgba(226,232,240,0.4); }
.map-card #home-map,
.map-card > #home-map { height: clamp(280px, 48vh, 520px); width: 100%; background: #e9eef3; }
.map-card__footer {
  background: #fff;
  border-top: 1px solid var(--slate-200);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.map-card__footer p {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.5;
}
.map-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-blue);
  white-space: nowrap;
}
.map-card__link:hover { text-decoration: underline; }

/* ── Hidden logo strip (kept for JS compatibility) ── */
.logo-strip--hidden { display: none !important; }

/* ── Shared section labels ── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 16px;
}
.section-label--light { color: rgba(255,255,255,0.55); }

/* ── Why section ── */
.why-section {
  background: var(--slate-50);
  padding: 80px 48px;
}
.why-section__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: flex-start;
}
.why-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  padding-left: 18px;
  border-left: 3px solid var(--brand-blue-dark);
}
.why-section__right p {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.8;
}
.why-section__right p + p { margin-top: 16px; }
.why-section__right strong { color: var(--navy-900); font-weight: 700; }

/* ── For-who section ── */
.for-who-section {
  background: var(--slate-50);
  padding: 40px 48px 80px;
}
.for-who-section__inner { max-width: 1280px; margin: 0 auto; }
.for-who-section__header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 32px;
}
.for-who-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

/* ── Audience cards ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.audience-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--brand-blue);
  padding: 22px 22px 24px;
  box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 6px 18px rgba(15,23,42,.06);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .22s ease;
}
.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(15,23,42,.08), 0 20px 48px rgba(15,23,42,.10);
}
.audience-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.audience-card__icon {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.audience-card__eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.audience-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.audience-card__lead {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
}
.audience-card p {
  font-size: 0.84rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ── CTA banner ── */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  border-radius: 22px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 20px 40px rgba(6,18,38,0.18);
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent);
  mask-image: linear-gradient(to left, #000, transparent);
  pointer-events: none;
}
.cta-banner__text { position: relative; z-index: 1; flex: 1; min-width: 280px; }
.cta-banner__text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
  color: #fff;
}
.cta-banner__text p {
  font-size: 0.9rem;
  color: rgba(226,232,240,0.72);
  margin: 0;
}
.cta-banner__btn { position: relative; z-index: 1; }

/* ── Footer grid ── */
.footer--grid {
  background: var(--navy-900);
  color: rgba(226,232,240,0.7);
  padding: 36px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  text-align: left;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer--grid .footer__col p { line-height: 1.6; margin: 0; }
.footer--grid .footer__title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer--grid a {
  color: var(--teal-300);
  font-weight: 500;
}
.footer--grid a:hover { color: #fff; text-decoration: underline; }
.footer__col--right { text-align: right; }

/* ── Inner pages ── */
body.inner { background: var(--slate-50); }

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #050d22 0%, #081a3d 40%, #0a3a55 75%, #0e6f6a 100%);
  color: #fff;
  padding: 56px 48px 64px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 50%, transparent 100%);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(226,232,240,0.82);
  max-width: 640px;
  line-height: 1.65;
}

/* Inner page element overrides */
body.inner .ecosystem-layout { padding-top: 28px; }
body.inner .company-card { border-radius: 14px; border-color: #1D4ED8; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
body.inner .company-card:hover { border-color: #1D4ED8; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(29,78,216,.12); }
body.inner .company-card:focus-visible { outline: 2px solid #1D4ED8; outline-offset: 3px; }
body.inner .company-card__more {
  font-size: 0.72rem;
  font-weight: 600;
  color: #1D4ED8;
  white-space: nowrap;
}

/* ── Detail modal ── */
.detail-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 38, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s ease;
}
.detail-modal--open { display: flex; opacity: 1; }
.detail-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 18px;
  max-width: 640px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 36px 36px 32px;
  box-shadow: 0 24px 70px rgba(0,0,0,.30);
  border-top: 4px solid #1D4ED8;
  animation: detailModalIn .25s cubic-bezier(.2,.7,.3,1);
}
@keyframes detailModalIn {
  from { transform: translateY(20px) scale(.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.detail-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--slate-50, #F8FAFC);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .15s;
}
.detail-modal__close:hover { background: #E2E8F0; transform: rotate(90deg); }
.detail-modal__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.detail-modal__header .company-card__logo,
.detail-modal__header .company-card__logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  font-size: 1.4rem;
}
.detail-modal__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--navy-900);
  line-height: 1.15;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.detail-modal__city {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.detail-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.detail-modal__section { margin-bottom: 22px; }
.detail-modal__section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1D4ED8;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.detail-modal__desc {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  white-space: pre-wrap;
}
.detail-modal__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.kw-chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid rgba(29,78,216,.15);
}
.detail-modal__actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}
@media (max-width: 600px) {
  .detail-modal__panel { padding: 28px 20px 24px; }
  .detail-modal__name { font-size: 1.4rem; }
}
body.inner .company-card__name { color: var(--navy-900); }
body.inner .tag-layer { background: #EFF6FF; color: var(--brand-blue-dark); }
body.inner .btn-outline {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
body.inner .btn-outline:hover {
  background: #EFF6FF;
  color: var(--brand-blue-dark);
}
body.inner .search-bar__input:focus,
body.inner .filter-select:focus { border-color: var(--brand-blue); }

/* Footer CTA button in dark footer */
.footer--grid .btn-white-pill {
  margin-bottom: 14px;
  display: inline-flex;
  background: #fff;
  color: var(--navy-900);
}
.footer--grid .btn-white-pill:hover {
  background: rgba(255,255,255,.88);
  color: var(--navy-900);
}

/* Form page overlap with page-hero */
.page-hero--overlap { padding-bottom: 120px; margin-bottom: -90px; }
.form-page--overlap {
  position: relative;
  z-index: 2;
}
.form-page--overlap .form-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  padding: 48px 40px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-split__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-split__left { max-width: none; }
  .why-section__inner { grid-template-columns: 1fr; gap: 28px; }
  .for-who-section__header { flex-direction: column; gap: 8px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .footer--grid { grid-template-columns: 1fr; }
  .footer__col--right { text-align: left; }
}
/* ── Hamburger button (hidden on desktop) ── */
.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 110;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav--dark { padding: 0 20px; gap: 14px; flex-wrap: wrap; height: auto; min-height: var(--nav-h); }
  .nav__burger { display: flex; }
  .nav--dark .nav__links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    order: 10;
    background: var(--navy-900);
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav--dark .nav__links--open { display: flex; }
  .nav--dark .nav__links li a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
  }
  .nav--dark .nav__links a.active::after { display: none; }

  .hero-split { padding: 32px 20px 36px; }
  .hero-split__title { font-size: 2rem; }
  .stat-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-tile { padding: 10px 8px 8px; border-radius: 12px; }
  .stat-tile__icon { width: 24px; height: 24px; margin-bottom: 6px; border-radius: 6px; }
  .stat-tile__icon svg { width: 14px; height: 14px; }
  .stat-tile__num { font-size: 1.4rem; margin-bottom: 2px; }
  .stat-tile__label { font-size: 0.65rem; }
  .why-section { padding: 56px 20px; }
  .for-who-section { padding: 32px 20px 56px; }
  .audience-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 24px 22px; flex-direction: column; align-items: flex-start; }
  .footer--grid { padding: 28px 20px; }
  .map-card #home-map { height: 320px; }
  .map-card__header { flex-direction: column; align-items: flex-start; justify-content: center; height: auto; padding: 10px 16px; gap: 4px; }
  .map-card__meta { font-size: 0.72rem; }
  .page-hero { padding: 40px 20px 48px; }
  .page-hero h1 { font-size: 1.8rem; }
  .form-page--overlap .form-card { padding: 32px 20px; margin: 0 16px; }
}
