/* ─── Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}

/* ─── CSS Vars ─────────────────────────────────────── */
:root {
  --black:   #0a0a0a;
  --black2:  #111111;
  --surface: #1a1a1a;
  --surf2:   #222222;
  --white:   #ffffff;
  --grey:    #888888;
  --light:   #f5f5f5;
  --accent:  #e62828;
  --warm:    #f03c3c;
  --nav-h:   100px;
}

/* ─── Noise texture overlay ────────────────────────── */
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ─── Navbar ───────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
#navbar.scrolled {
  background: #0a0a0a;
  border-bottom-color: rgba(255,255,255,0.07);
}
.nav-logo { height: 88px; object-fit: contain; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #fff; }
.btn-nav {
  background: var(--accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-nav:hover { background: var(--warm); transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 2rem 2rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 99;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-size: 1rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
#mobile-menu a:hover { color: #fff; }
#mobile-menu .btn-nav { align-self: flex-start; }

/* ─── Buttons ──────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 24px rgba(230,40,40,0.35), 0 1px 4px rgba(0,0,0,0.4);
}
.btn-primary:hover {
  background: var(--warm);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(230,40,40,0.45), 0 2px 8px rgba(0,0,0,0.4);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.35);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
/* Buttons paired in a CTA group stretch to a shared track width, so the
   shorter label never renders a narrower pill than the longer one. */
.hero-ctas > .btn-primary,
.hero-ctas > .btn-secondary,
.cta-banner-actions > .btn-primary,
.cta-banner-actions > .btn-secondary { justify-content: center; }

/* ─── Animate on scroll ────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ─── Hero ─────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 15% 80%, rgba(230,40,40,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(60,60,70,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  min-height: 100vh;
  gap: 2rem;
}
.hero-text { padding: 4rem 0; }
/* Small-viewport units avoid the mobile URL-bar jump */
@supports (height: 100svh) {
  #hero { min-height: 100svh; }
  .hero-inner { min-height: 100svh; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
}
.hero-headline {
  font-family: 'Lora', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-headline span {
  color: var(--accent);
  text-shadow: 0 2px 4px rgba(0,0,0,0.55), 0 8px 24px rgba(230,40,40,0.35);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-ctas { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: fit-content; gap: 1rem; }
.hero-image-wrap {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%),
              linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 8%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%),
                      linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 8%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero-badge {
  position: absolute;
  bottom: 2rem; left: -1rem;
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 0.875rem 1.25rem;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.7);
  flex-shrink: 0;
}
.hero-badge p { font-size: 0.8125rem; font-weight: 600; color: #fff; }
.hero-badge span { font-size: 0.75rem; color: var(--grey); }

/* ─── Section base ─────────────────────────────────── */
section { padding: 7rem 2rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.section-label::before {
  content: ''; display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── How It Works ─────────────────────────────────── */
#how { background: var(--black2); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 4rem;
  position: relative;
}
.step-connector {
  position: absolute;
  top: 3.25rem;
  left: calc(33.33% - 1px);
  width: calc(33.33%);
  height: 1px;
  background: rgba(255,255,255,0.12);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s ease 0.4s;
}
.step-connector.c2 { left: calc(66.66% - 1px); }
.steps-grid.is-visible .step-connector { transform: scaleX(1); }
.step-card {
  padding: 2rem;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  transition: border-color 0.3s, background 0.3s;
}
.step-card:hover { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.02); }
.step-num {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step-icon {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 40%; height: 38%;
  overflow: hidden;
  background: rgba(230,40,40,0.12);
  border-radius: 16px;
}
.step-icon img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
a.step-icon { display: block; cursor: pointer; }
a.step-icon:hover img { transform: scale(1.06); }
a.step-icon:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.step-title { font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.step-desc { font-size: 0.9375rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ─── Showcase ─────────────────────────────────────── */
#showcase {
  background: #0d0d0d;
  padding: 0;
  overflow: hidden;
}
.showcase-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.showcase-bg {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.32);
}
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.15) 100%);
}
.showcase-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  left: 0; right: 0;
}
.showcase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.showcase-copy {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 520px;
  margin-top: 1.5rem;
}
.showcase-how-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-top: 1.75rem;
  margin-bottom: 0.875rem;
}
.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: 520px;
}
.showcase-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.showcase-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── Map ──────────────────────────────────────────── */
#locations { background: var(--black); }
.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 60px rgba(230,40,40,0.08), 0 0 120px rgba(0,0,0,0.6);
  margin-top: 3rem;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: none;
}
.stations-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.station-tile {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.station-tile:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-2px); }
.station-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.station-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.9);
  transition: transform 0.5s ease, filter 0.3s ease;
}
.station-tile:hover img { transform: scale(1.06); filter: brightness(0.95) saturate(1); }
.station-tile-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.25rem 1rem 0.875rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex; align-items: center; gap: 0.625rem;
}
.station-tile--soon {
  aspect-ratio: auto;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center;
  cursor: default;
}
.station-tile--soon:hover { transform: none; }
.station-tile--soon .station-tile-label { position: static; padding: 0; background: none; }
.station-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.station-dot.live { background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.6); }
.station-dot.soon { background: var(--grey); }
.station-name { font-size: 0.9375rem; font-weight: 600; color: #fff; }
.station-status { font-size: 0.75rem; color: var(--grey); margin-top: 0.125rem; }

/* ─── App ──────────────────────────────────────────── */
#app { background: var(--black2); }
.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.phone-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1800px;
  position: relative;
}
.phone-mockup::after {
  content: '';
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: 190px;
  height: 36px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, transparent 72%);
  transform: translateX(-58%);
  filter: blur(3px);
  z-index: 0;
  pointer-events: none;
}
.phone-frame {
  width: 240px;
  height: 480px;
  background: linear-gradient(155deg, #272727 0%, #141414 45%, #0a0a0a 100%);
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.14);
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.55),
    0 0 0 8px rgba(255,255,255,0.045),
    -18px 26px 50px rgba(0,0,0,0.55),
    0 60px 90px rgba(0,0,0,0.5),
    0 4px 24px rgba(230,40,40,0.18),
    inset 0 1px 1px rgba(255,255,255,0.18),
    inset 0 -1px 2px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: rotateY(-13deg) rotateX(4deg);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.phone-frame:hover {
  transform: rotateY(-6deg) rotateX(2deg);
}
.phone-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.03) 18%, transparent 32%, transparent 68%, rgba(255,255,255,0.05) 82%, rgba(255,255,255,0.12) 100%);
  pointer-events: none;
  z-index: 5;
}
.phone-notch {
  width: 80px; height: 20px;
  background: #0a0a0a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  flex-shrink: 0;
}
.phone-screen {
  flex: 1;
  padding: 1rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.phone-bar {
  height: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
}
.phone-bar.accent { background: rgba(230,40,40,0.4); width: 60%; }
.phone-bar.short { width: 40%; }
.phone-map-placeholder {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.625rem; color: rgba(255,255,255,0.2); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.phone-btn-row {
  display: flex; gap: 0.5rem; margin-top: 0.25rem;
}
.phone-mini-btn {
  flex: 1; height: 28px;
  border-radius: 8px;
  background: rgba(230,40,40,0.25);
}
.phone-mini-btn.grey { background: rgba(255,255,255,0.06); }
.app-store-btns { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.store-btn {
  display: inline-flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  max-width: 240px;
}
.store-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }

/* ─── Store button brand colours ─────────────────────── */
.store-btn-apple {
  background: #000000;
  border-color: #2a2a2a;
}
.store-btn-apple:hover {
  background: #111111;
  border-color: #444444;
  transform: translateY(-2px);
}
.store-btn-google {
  background: #000000;
  border-color: #2a2a2a;
}
.store-btn-google:hover {
  background: #111111;
  border-color: #444444;
  transform: translateY(-2px);
}
.store-btn-text { display: flex; flex-direction: column; }
.store-btn-text small { font-size: 0.6875rem; color: rgba(255,255,255,0.5); font-weight: 500; }
.store-btn-text strong { font-size: 1rem; font-weight: 700; line-height: 1.2; }

/* ─── Why ──────────────────────────────────────────── */
#why { background: var(--black); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 4rem;
}
.feature-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0;
  padding: 2.5rem 2rem;
  transition: background 0.3s, border-color 0.3s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.feature-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); transform: translateY(-4px); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:nth-child(1) { border-radius: 16px 0 0 0; }
.feature-card:nth-child(3) { border-radius: 0 16px 0 0; }
.feature-card:nth-child(4) { border-radius: 0 0 0 16px; }
.feature-card:nth-child(6) { border-radius: 0 0 16px 0; }
.card-icon {
  width: 52px; height: 52px;
  background: rgba(230,40,40,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.card-icon svg { width: 26px; height: 26px; color: var(--accent); }
.card-title { font-size: 1.0625rem; font-weight: 700; color: #fff; margin-bottom: 0.625rem; }
.card-desc { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ─── Footer ───────────────────────────────────────── */
#footer { background: #050505; padding: 5rem 2rem 2rem; }
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { height: 100px; object-fit: contain; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.65; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}
.social-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.social-btn--instagram { color: #E1306C; border-color: rgba(225,48,108,0.3); }
.social-btn--instagram:hover { background: rgba(225,48,108,0.12); color: #E1306C; border-color: rgba(225,48,108,0.5); }
.social-btn--facebook { color: #1877F2; border-color: rgba(24,119,242,0.3); }
.social-btn--facebook:hover { background: rgba(24,119,242,0.12); color: #1877F2; border-color: rgba(24,119,242,0.5); }
.social-btn--youtube { color: #FF0000; border-color: rgba(255,0,0,0.3); }
.social-btn--youtube:hover { background: rgba(255,0,0,0.12); color: #FF0000; border-color: rgba(255,0,0,0.5); }
.social-btn svg { width: 18px; height: 18px; }
.footer-h { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1.25rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.125rem; margin-bottom: 1.25rem; }
.contact-name { font-size: 0.9375rem; font-weight: 600; color: #fff; }
.contact-detail { font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.contact-detail a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.contact-detail a:hover { color: #fff; }
.footer-address { font-size: 0.875rem; color: rgba(255,255,255,0.4); line-height: 1.6; margin-top: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.25); }

/* Single-column hero override */
.hero-inner-solo {
  grid-template-columns: 40% !important;
  justify-content: end;
}

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  /* Stacked hero below desktop: photo fills the top half and fades into
     dark, text anchors below it */
  .hero-inner-solo {
    grid-template-columns: 1fr !important;
    justify-content: stretch;
    align-items: end;
  }
  .hero-image-wrap { height: 50vh; min-height: 320px; }
  .hero-img { mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .step-connector { display: none; }
  .app-inner { grid-template-columns: 1fr; gap: 3rem; }
  .phone-mockup { order: -1; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(1) { border-radius: 16px 0 0 0; }
  .feature-card:nth-child(2) { border-radius: 0 16px 0 0; }
  .feature-card:nth-child(3) { border-radius: 0; }
  .feature-card:nth-child(4) { border-radius: 0; }
  .feature-card:nth-child(5) { border-radius: 0 0 0 16px; }
  .feature-card:nth-child(6) { border-radius: 0 0 16px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 76px; }
  #navbar { padding: 0 1.25rem; }
  .nav-logo { height: 60px; }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  section { padding: 5rem 1.25rem; }
  .hero-text { padding: 0 0 3rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(n) { border-radius: 0; }
  .feature-card:first-child { border-radius: 16px 16px 0 0; }
  .feature-card:last-child { border-radius: 0 0 16px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  /* Step cards: cap the corner icon and add headroom so titles clear it */
  .step-card { min-height: 380px; }
  .step-icon { width: 45%; max-width: 180px; height: 130px; }
  /* Showcase: content defines section height, photo covers behind it */
  .showcase-bg { position: absolute; inset: 0; height: 100%; object-fit: cover; }
  .showcase-overlay { background: linear-gradient(to bottom, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.55) 100%); }
  .showcase-content { position: relative; inset: auto; padding: 4.5rem 1.25rem; }
  .map-frame iframe { height: 400px; }
}

@media (max-width: 480px) {
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .step-num { font-size: 2.25rem; }
  .stat-value { font-size: 1.5rem; }
  .stat-cell { padding: 1.25rem 1rem; }
  section { padding: 3.5rem 1rem; }
  #footer { padding: 3rem 1rem 1.5rem; }
  .phone-frame { width: 200px; height: 400px; transform: rotateY(-8deg) rotateX(2deg); }
  .store-btn { max-width: 100%; }
  #how .section-inner > div[data-animate]:last-child { margin-top: 2rem !important; }
  .hero-headline { font-size: 2.625rem; }
  .hero-eyebrow { font-size: 0.8125rem; margin-top: 1rem; }
  .hero-sub { font-size: 0.9375rem; margin-bottom: 2rem; }
  .section-label { font-size: 0.875rem; }
  .footer-logo { height: 80px; }
  .map-frame iframe { height: 360px; }
}

/* ─── Trust marquee strip ──────────────────────────── */
.trust-strip {
  background: #111111;
  border-top: 1px solid rgba(255,255,255,0.055);
  border-bottom: 1px solid rgba(255,255,255,0.055);
  overflow: hidden;
  padding: 0.875rem 0;
  position: relative;
}
.trust-strip::before, .trust-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.trust-strip::before { left: 0; background: linear-gradient(to right, #111111, transparent); }
.trust-strip::after  { right: 0; background: linear-gradient(to left,  #111111, transparent); }
.trust-track {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
  will-change: transform;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.trust-sep {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  flex-shrink: 0;
}

/* ─── Animations ───────────────────────────────────── */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0   rgba(74,222,128,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0   rgba(74,222,128,0); }
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes shimmer-stat {
  0%   { opacity: 0.4; }
  50%  { opacity: 1; }
  100% { opacity: 0.4; }
}

/* ─── Hero badge animate ───────────────────────────── */
.hero-badge      { animation: float-badge 5s ease-in-out infinite; }
.hero-badge-dot  { animation: pulse-ring  2.4s ease-out infinite; }

/* ─── Feature card spacing override ───────────────── */
.cards-grid { gap: 1.25rem; }
.feature-card,
.feature-card:nth-child(n),
.feature-card:first-child,
.feature-card:last-child { border-radius: 20px; }
@media (max-width: 1024px) {
  .feature-card,
  .feature-card:nth-child(n) { border-radius: 20px; }
}
@media (max-width: 768px) {
  .feature-card,
  .feature-card:nth-child(n),
  .feature-card:first-child,
  .feature-card:last-child { border-radius: 20px; }
}

/* ─── Station dot pulse ────────────────────────────── */
.station-dot.live { animation: pulse-ring 2.4s ease-out infinite; }

/* ─── Pre-footer CTA banner ────────────────────────── */
#cta-banner {
  background: #0c0c0c;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
#cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(230,40,40,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(240,60,60,0.04) 0%, transparent 70%);
  pointer-events: none;
}
#cta-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(230,40,40,0.35), transparent);
}
.cta-banner-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-banner-inner .section-label { justify-content: center; }
.cta-banner-inner .section-title { max-width: 600px; margin: 0 auto 1.25rem; }
.cta-banner-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.cta-banner-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: fit-content;
  margin: 0 auto;
  gap: 1rem;
}
/* The hero text column is only 40% wide on desktop, so the pair has to stack
   there even though the viewport is large. Key the stack off the group's own
   container rather than the viewport; either way both pills share one track. */
.hero-text,
.cta-banner-inner { container-type: inline-size; }
@container (max-width: 520px) {
  .hero-ctas,
  .cta-banner-actions { grid-auto-flow: row; }
}
@media (max-width: 480px) {
  .hero-ctas,
  .cta-banner-actions { width: 100%; }
}

/* ─── Map glow tweak ───────────────────────────────── */
.map-frame {
  box-shadow: 0 0 0 1px rgba(230,40,40,0.1), 0 0 80px rgba(230,40,40,0.07), 0 0 160px rgba(0,0,0,0.6);
}

/* ─── Hero unit background ─────────────────────────── */
.hero-unit-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-unit-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  /* Right-fade blends photo into dark hero; top/bottom soften edges */
  mask-image:
    linear-gradient(to left, transparent 0%, rgba(0,0,0,0.5) 18%, black 42%, black 100%),
    linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(to left, transparent 0%, rgba(0,0,0,0.5) 18%, black 42%, black 100%),
    linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}
/* Stacked hero below desktop: photo occupies the top half and fades into dark
   below (must follow the base rule above so height/mask overrides win) */
@media (max-width: 1024px) {
  .hero-unit-bg img {
    height: 54%;
    object-position: 20% 55%;
    mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 58%, transparent 98%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 58%, transparent 98%);
  }
}
/* ─── 3D Unit Viewer ───────────────────────────────── */
.unit-viewer-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2.5rem;
}
.unit-viewer {
  position: relative;
  width: 100%;
  max-width: 620px;
  cursor: grab;
  will-change: transform;
  transition: transform 0.12s ease;
  user-select: none;
  /* Radial vignette fades white corners into the dark hero */
  mask-image: radial-gradient(ellipse 80% 76% at 54% 52%, black 28%, rgba(0,0,0,0.55) 52%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 76% at 54% 52%, black 28%, rgba(0,0,0,0.55) 52%, transparent 78%);
}
.unit-viewer.is-dragging {
  cursor: grabbing;
  transition: none;
}
.unit-img-base {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.unit-img-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.15s ease;
}
.viewer-drag-hint {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.5s ease;
}
.viewer-drag-hint svg { flex-shrink: 0; }
.viewer-drag-hint.hidden { opacity: 0; pointer-events: none; }
@keyframes hint-pulse {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50%       { opacity: 0.7; transform: translateX(4px); }
}
.viewer-drag-hint { animation: hint-pulse 2.2s ease-in-out infinite; }
.viewer-drag-hint.hidden { animation: none; }

/* Progress track */
.viewer-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.viewer-track-bar {
  width: 80px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.viewer-track-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s ease;
}
.viewer-track-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  width: 28px;
}
.viewer-track-label.right { text-align: right; }

/* ─── Find Gas Near Me Modal ───────────────────────────── */
#fg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
#fg-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
#fg-modal {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  width: 100%;
  max-width: 560px;
  position: relative;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
}
#fg-scroll {
  overflow-y: auto;
  max-height: 88vh;
  padding: 2.5rem 2.5rem 2rem;
}
#fg-overlay.open #fg-modal {
  transform: translateY(0) scale(1);
}
#fg-close {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
#fg-close:hover { background: rgba(255,255,255,0.13); color: #fff; }

.fg-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.fg-eyebrow-line {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.fg-title {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.5rem;
  padding-right: 2.5rem;
}
.fg-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.fg-input-row {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}
.fg-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.11);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.fg-input-row input:focus { border-color: rgba(230,40,40,0.5); }
.fg-input-row input::placeholder { color: rgba(255,255,255,0.27); }
.fg-input-row button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.fg-input-row button:hover:not(:disabled) { background: var(--warm); transform: translateY(-1px); }
.fg-input-row button:disabled { opacity: 0.55; cursor: not-allowed; }

.fg-loading {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem 0;
  color: rgba(255,255,255,0.45);
  font-size: 0.9375rem;
}
.fg-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: fg-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes fg-spin { to { transform: rotate(360deg); } }

.fg-msg {
  font-size: 0.9375rem;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  line-height: 1.55;
}
.fg-msg--error {
  color: #f87171;
  background: rgba(230,40,40,0.08);
  border: 1px solid rgba(230,40,40,0.22);
}

.fg-results-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.875rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.fg-results-label strong { color: rgba(255,255,255,0.6); font-weight: 600; }

.fg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fg-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1rem 1.125rem;
  transition: background 0.2s, border-color 0.2s;
}
.fg-item:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); }
.fg-rank {
  font-size: 1.125rem;
  font-weight: 900;
  color: rgba(255,255,255,0.13);
  min-width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.fg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fg-dot.live { background: #4ade80; box-shadow: 0 0 7px rgba(74,222,128,0.65); animation: pulse-ring 2.4s ease-out infinite; }
.fg-dot.soon { background: var(--grey); }
.fg-info { flex: 1; min-width: 0; }
.fg-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fg-area { font-size: 0.8125rem; color: rgba(255,255,255,0.42); }
.fg-right { text-align: right; flex-shrink: 0; }
.fg-dist {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.3rem;
}
.fg-dir {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.fg-dir:hover { color: var(--warm); }
.fg-soon-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Modal scrollbar ──────────────────────────────────── */
#fg-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}
#fg-scroll::-webkit-scrollbar {
  width: 5px;
}
#fg-scroll::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 100px;
}
#fg-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 100px;
}
#fg-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.32);
}
#fg-scroll::-webkit-scrollbar-button {
  display: none;
}

@media (max-width: 540px) {
  #fg-modal { padding: 2rem 1.25rem 1.75rem; border-radius: 18px; }
  #fg-scroll { padding: 1.5rem 1.25rem 1.25rem; }
  .fg-input-row { flex-direction: column; }
  .fg-title { font-size: 1.375rem; }
  .fg-name { white-space: normal; }
}

/* ─── Station Photo Lightbox ──────────────────────────── */
#sl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
#sl-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
#sl-modal {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  position: relative;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
}
#sl-overlay.open #sl-modal {
  transform: translateY(0) scale(1);
}
#sl-image {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #0a0a0a;
  display: block;
}
#sl-close {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
  z-index: 1;
}
#sl-close:hover { background: rgba(0,0,0,0.75); color: #fff; }
#sl-caption {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
#sl-name { font-size: 1.0625rem; font-weight: 700; color: #fff; }
#sl-area { font-size: 0.8125rem; color: var(--grey); margin-top: 0.125rem; }
#sl-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
#sl-maps-link:hover { color: var(--warm); }

@media (max-width: 640px) {
  #sl-caption { flex-direction: column; align-items: flex-start; }
}

/* ─── Legal Document Modal ─────────────────────────────── */
#legal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
#legal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
#legal-modal {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  width: 100%;
  max-width: 680px;
  position: relative;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
}
#legal-overlay.open #legal-modal {
  transform: translateY(0) scale(1);
}
#legal-close {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
  z-index: 1;
}
#legal-close:hover { background: rgba(255,255,255,0.13); color: #fff; }
#legal-scroll {
  overflow-y: auto;
  max-height: 88vh;
  padding: 2.5rem 2.5rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}
#legal-scroll::-webkit-scrollbar { width: 5px; }
#legal-scroll::-webkit-scrollbar-track { background: transparent; }
#legal-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 100px; }
#legal-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.32); }
.legal-updated {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.legal-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 1.75rem 0 0.75rem;
}
.legal-body h3:first-child { margin-top: 0; }
.legal-body p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  margin-bottom: 0.875rem;
}
.legal-body strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.legal-body ul {
  margin: 0 0 0.875rem;
  padding-left: 1.25rem;
}
.legal-body li {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  margin-bottom: 0.375rem;
}

@media (max-width: 540px) {
  #legal-modal { border-radius: 18px; }
  #legal-scroll { padding: 2rem 1.25rem 1.5rem; }
}

/* ─── Home page section rhythm ─────────────────────── */
/* Alternates against the #111 trust strip that precedes them */
#home-how     { background: var(--black); }
#home-why     { background: var(--black2); }
#home-network { background: var(--black); }
#faq          { background: var(--black2); }

/* ─── "Read more" text link ────────────────────────── */
.link-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 2.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s cubic-bezier(0.2,0.8,0.3,1);
}
.link-more svg { width: 16px; height: 16px; transition: transform 0.3s cubic-bezier(0.2,0.8,0.3,1); }
.link-more:hover { color: var(--warm); }
.link-more:hover svg { transform: translateX(4px); }
.link-more:active svg { transform: translateX(2px); }
.link-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

/* ─── Network chips ────────────────────────────────── */
.network-chips {
  display: flex; flex-wrap: wrap; gap: 0.625rem;
  margin-top: 2.75rem;
  max-width: 860px;
}
.network-cta { margin-top: 2.75rem; }

/* ─── FAQ ──────────────────────────────────────────── */
.faq-list {
  margin-top: 3.5rem;
  max-width: 880px;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.09); }
.faq-q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  transition: color 0.25s ease;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--warm); }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px; }
/* Plus that loses its vertical stroke on open */
.faq-mark { position: relative; flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; }
.faq-mark::before,
.faq-mark::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 13px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.3,1), opacity 0.3s ease;
}
.faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.faq-a {
  padding: 0 3rem 1.75rem 0;
  max-width: 700px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
  animation: faq-reveal 0.32s cubic-bezier(0.2,0.8,0.3,1) both;
}
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  .faq-q { font-size: 1rem; }
  .faq-a { padding-right: 0; }
  .link-more { margin-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-a { animation: none; }
  .link-more svg,
  .faq-mark::before,
  .faq-mark::after { transition: none; }
}
