/* =========================================================
   Mega Parking Tycoon — Rooftop Lot Map landing
   Differentiated layout: sunny city sky + zigzag parking
   stalls + asphalt screenshot strip + exit-ramp CTA
   (NOT a standard centered-hero / equal card grid template)
   ========================================================= */

:root {
  --sky: #7ec8ff;
  --sky-deep: #4aa8f0;
  --sun: #ffe566;
  --asphalt: #dfe5ec;
  --asphalt-deep: #c5ced8;
  --curb: #ffd400;
  --blue: #1e6bff;
  --blue-deep: #0d4fd6;
  --navy: #12305c;
  --yellow: #ffd400;
  --yellow-hot: #ffbf00;
  --pink: #ff4d8d;
  --red: #ff3b4a;
  --green: #2ecc71;
  --green-deep: #1fa855;
  --cyan: #00e5ff;
  --ink: #14233a;
  --muted: #4a5d78;
  --white: #ffffff;
  --panel: #ffffff;
  --shadow: 0 18px 40px rgba(18, 48, 92, 0.18);
  --shadow-deep: 0 28px 60px rgba(18, 48, 92, 0.28);
  --radius: 28px;
  --radius-sm: 18px;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --booth-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(30, 107, 255, 0.45);
  --trail: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

[data-theme="dark"] {
  --sky: #1a3358;
  --sky-deep: #0f2240;
  --asphalt: #243448;
  --asphalt-deep: #1a2838;
  --ink: #f0f5fb;
  --muted: #a8b8cc;
  --panel: #1c2d42;
  --navy: #e8f0ff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  --shadow-deep: 0 28px 60px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sky);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.75rem 1rem;
  font-weight: 800;
  border-radius: 12px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ----- Sunny sky atmosphere ----- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(255, 229, 102, 0.55), transparent 55%),
    linear-gradient(180deg, var(--sky) 0%, #b8e0ff 42%, var(--asphalt) 78%, var(--asphalt-deep) 100%);
  overflow: hidden;
}

.sky__sun {
  position: absolute;
  top: 6%;
  right: 12%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff9c4, var(--sun) 55%, #ffb800);
  box-shadow: 0 0 60px rgba(255, 214, 0, 0.55);
}

.sky__ray {
  position: absolute;
  top: 0;
  right: 0;
  width: 55vmax;
  height: 55vmax;
  background: conic-gradient(from 200deg at 78% 12%, transparent 0deg, rgba(255, 255, 255, 0.12) 20deg, transparent 40deg);
  opacity: 0.7;
}

.sky__cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  filter: blur(0.5px);
}

.sky__cloud--1 {
  width: 140px;
  height: 48px;
  top: 14%;
  left: 8%;
  animation: drift 28s ease-in-out infinite alternate;
}

.sky__cloud--2 {
  width: 100px;
  height: 36px;
  top: 22%;
  left: 28%;
  opacity: 0.6;
  animation: drift 34s ease-in-out infinite alternate-reverse;
}

.sky__cloud--3 {
  width: 160px;
  height: 52px;
  top: 10%;
  right: 28%;
  opacity: 0.5;
  animation: drift 40s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(36px); }
}

[data-theme="dark"] .sky__cloud {
  background: rgba(180, 210, 255, 0.12);
}

[data-theme="dark"] .sky__sun {
  opacity: 0.35;
}

/* ----- Ticket booth navbar ----- */
.booth {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1120px, calc(100% - 28px));
  height: var(--booth-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem 0 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border: 3px solid var(--blue);
  border-radius: 999px;
  box-shadow:
    0 8px 0 rgba(13, 79, 214, 0.35),
    var(--shadow);
  transition: box-shadow 200ms var(--ease), background 200ms var(--ease);
}

.booth.is-scrolled {
  box-shadow:
    0 6px 0 rgba(13, 79, 214, 0.28),
    0 16px 40px rgba(18, 48, 92, 0.22);
}

[data-theme="dark"] .booth {
  background: rgba(28, 45, 66, 0.92);
  border-color: var(--cyan);
  box-shadow: 0 8px 0 rgba(0, 229, 255, 0.2), var(--shadow);
}

.booth__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  flex-shrink: 0;
}

.booth__brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid var(--curb);
  box-shadow: 0 3px 0 rgba(255, 191, 0, 0.5);
}

.booth__name em {
  font-style: normal;
  color: var(--yellow-hot);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.booth__nav {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 0.35rem;
}

.booth__nav a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.booth__nav a:hover {
  background: rgba(30, 107, 255, 0.1);
  color: var(--blue);
}

.booth__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.theme-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--asphalt);
  color: var(--navy);
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.theme-btn:hover {
  background: var(--curb);
}

.theme-btn .icon-moon { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-moon { display: block; }

.theme-btn svg {
  width: 18px;
  height: 18px;
}

.burger {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--blue);
}

.burger span {
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
}

@media (min-width: 900px) {
  .booth__nav { display: flex; }
  .burger { display: none; }
}

/* Drawer */
.drawer {
  position: fixed;
  top: calc(var(--booth-h) + 28px);
  left: 14px;
  right: 14px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: var(--panel);
  border: 3px solid var(--blue);
  border-radius: 24px;
  box-shadow: var(--shadow-deep);
}

.drawer[hidden] { display: none; }

.drawer a {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  background: var(--asphalt);
}

.drawer a:hover {
  background: rgba(30, 107, 255, 0.12);
}

/* ----- Buttons: chunky 3D curb style ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease), filter 150ms var(--ease);
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.92rem;
}

.btn--lg {
  padding: 1.05rem 1.6rem;
  font-size: 1.1rem;
}

.btn--block {
  width: 100%;
}

.btn--go {
  background: linear-gradient(180deg, #ffea5c, var(--yellow-hot));
  color: var(--navy);
  border: 2px solid #e09a00;
  box-shadow: 0 5px 0 #c47d00;
}

.btn--go:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #c47d00;
}

.btn--go:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c47d00;
}

.btn--ghost {
  background: var(--panel);
  color: var(--blue);
  border: 2px solid var(--blue);
  box-shadow: 0 5px 0 rgba(13, 79, 214, 0.35);
}

.btn--ghost:hover {
  background: rgba(30, 107, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(13, 79, 214, 0.35);
}

.btn--ghost:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(13, 79, 214, 0.35);
}

/* ----- Hero: brand-first rooftop composition ----- */
.hero {
  min-height: 100svh;
  padding: calc(var(--booth-h) + 48px) 1.25rem 3rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    padding-top: calc(var(--booth-h) + 64px);
  }

  /* Flip: media dominates left edge-to-edge feel on desktop */
  .hero__media { order: 0; }
  .hero__copy { order: 1; }
}

.hero__media {
  position: relative;
  justify-self: center;
  width: min(340px, 78vw);
}

.hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 506 / 900;
  object-fit: cover;
  border-radius: 36px;
  border: 4px solid var(--white);
  box-shadow:
    0 0 0 4px var(--blue),
    var(--shadow-deep);
}

.hero__trail {
  position: absolute;
  left: -18%;
  bottom: 18%;
  width: 55%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), #7affff);
  box-shadow: 0 0 24px var(--cyan);
  transform: rotate(-18deg);
  animation: pulse-trail 2.4s ease-in-out infinite;
}

@keyframes pulse-trail {
  0%, 100% { opacity: 0.55; filter: blur(0); }
  50% { opacity: 1; filter: blur(1px); }
}

.hero__copy {
  text-align: center;
}

@media (min-width: 960px) {
  .hero__copy { text-align: left; }
}

.hero__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--blue-deep);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .hero__brand {
  color: var(--cyan);
  text-shadow: none;
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__title .t-white {
  display: block;
  color: var(--white);
  -webkit-text-stroke: 3px var(--navy);
  paint-order: stroke fill;
  text-shadow: 0 6px 0 rgba(18, 48, 92, 0.35);
}

[data-theme="dark"] .hero__title .t-white {
  -webkit-text-stroke: 3px #061428;
}

.hero__title .t-yellow {
  display: inline-block;
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--navy);
  paint-order: stroke fill;
  text-shadow:
    0 6px 0 rgba(196, 125, 0, 0.55),
    0 0 28px rgba(255, 212, 0, 0.45);
}

.hero__tag {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 600;
  max-width: 34rem;
}

@media (min-width: 960px) {
  .hero__tag { margin-left: 0; margin-right: auto; }
}

@media (max-width: 959px) {
  .hero__tag { margin-left: auto; margin-right: auto; }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.35rem;
}

@media (min-width: 960px) {
  .hero__cta { justify-content: flex-start; }
}

.hero__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

@media (min-width: 960px) {
  .hero__chips { justify-content: flex-start; }
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(30, 107, 255, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

[data-theme="dark"] .hero__chips li {
  background: rgba(28, 45, 66, 0.85);
  color: var(--ink);
}

.hero__chips svg {
  width: 15px;
  height: 15px;
  color: var(--blue);
}

/* ----- Section heads ----- */
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.1;
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.section-head--light h2 { color: var(--white); }
.section-head--light p { color: rgba(255, 255, 255, 0.82); }

.lot-sign {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  border-radius: 12px;
  border: 3px solid var(--white);
  box-shadow: 0 4px 0 rgba(13, 79, 214, 0.45);
}

/* ----- Features: zigzag parking stalls ----- */
.features {
  padding: 3.5rem 1.25rem 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.stalls {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.stall {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 860px) {
  .stall {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.75rem;
  }

  /* Zigzag offsets — like staggered parking rows */
  .stall--left {
    transform: translateX(-1.5%);
  }

  .stall--right {
    transform: translateX(1.5%);
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.stall__paint {
  position: relative;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
  overflow: hidden;
}

.stall--blue .stall__paint { border-color: var(--blue); }
.stall--pink .stall__paint { border-color: var(--pink); }
.stall--yellow .stall__paint { border-color: var(--yellow-hot); }
.stall--green .stall__paint { border-color: var(--green); }

.stall__paint::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--curb);
}

.stall--blue .stall__paint::before { background: var(--blue); }
.stall--pink .stall__paint::before { background: var(--pink); }
.stall--yellow .stall__paint::before { background: var(--yellow-hot); }
.stall--green .stall__paint::before { background: var(--green); }

.stall__arrow {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  width: 36px;
  height: 36px;
  background: var(--asphalt);
  border-radius: 10px;
  clip-path: polygon(0 35%, 55% 35%, 55% 0, 100% 50%, 55% 100%, 55% 65%, 0 65%);
  opacity: 0.9;
}

.stall--blue .stall__arrow { background: var(--blue); }
.stall--pink .stall__arrow { background: var(--pink); }
.stall--yellow .stall__arrow { background: var(--yellow-hot); }
.stall--green .stall__arrow { background: var(--green); }

.stall__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--asphalt);
  color: var(--blue);
  margin-bottom: 0.85rem;
}

.stall--blue .stall__icon { background: rgba(30, 107, 255, 0.12); color: var(--blue); }
.stall--pink .stall__icon { background: rgba(255, 77, 141, 0.12); color: var(--pink); }
.stall--yellow .stall__icon { background: rgba(255, 191, 0, 0.18); color: #c47d00; }
.stall--green .stall__icon { background: rgba(46, 204, 113, 0.15); color: var(--green-deep); }

.stall__icon svg {
  width: 26px;
  height: 26px;
}

.stall__paint h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.15;
  color: var(--navy);
  padding-right: 2.5rem;
}

.stall__paint p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.98rem;
}

.stall__shot {
  margin: 0;
  justify-self: center;
  width: min(240px, 70vw);
}

.stall__shot img {
  width: 100%;
  aspect-ratio: 506 / 900;
  object-fit: cover;
  border-radius: 28px;
  border: 3px solid var(--white);
  box-shadow:
    0 0 0 3px var(--blue),
    var(--shadow);
}

.stall--pink .stall__shot img { box-shadow: 0 0 0 3px var(--pink), var(--shadow); }
.stall--yellow .stall__shot img { box-shadow: 0 0 0 3px var(--yellow-hot), var(--shadow); }
.stall--green .stall__shot img { box-shadow: 0 0 0 3px var(--green), var(--shadow); }

/* Boarding lane power-ups */
.boarding {
  margin-top: 3rem;
  background: var(--panel);
  border-radius: var(--radius);
  border: 3px dashed var(--blue);
  padding: 1.5rem 1.25rem 1.75rem;
  box-shadow: var(--shadow);
}

.boarding__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.boarding__label svg {
  width: 22px;
  height: 22px;
  color: var(--yellow-hot);
}

.boarding__queue {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 800px) {
  .boarding__queue {
    grid-template-columns: repeat(4, 1fr);
  }
}

.boarding__queue li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.85rem 0.5rem;
  border-radius: 18px;
  background: var(--asphalt);
}

.boarding__queue strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
}

.boarding__queue span:last-child {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

.bubble svg { width: 22px; height: 22px; }
.bubble--blue { background: var(--blue); }
.bubble--yellow { background: var(--yellow-hot); color: var(--navy); }
.bubble--pink { background: var(--pink); }
.bubble--green { background: var(--green); }

/* ----- Lot asphalt strip (screens) ----- */
.lot {
  margin-top: 2rem;
  padding: 3.5rem 0 3rem;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 48px,
      rgba(255, 212, 0, 0.35) 48px,
      rgba(255, 212, 0, 0.35) 52px
    ),
    linear-gradient(180deg, #3d4f63 0%, #2a3848 100%);
  position: relative;
  overflow: hidden;
}

.lot::before,
.lot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: var(--curb);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}

.lot::before { top: 0; }
.lot::after { bottom: 0; }

.lot__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.lot__rail-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lot__rail {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.75rem 0.25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--curb) transparent;
}

.phone {
  margin: 0;
  flex: 0 0 auto;
  width: min(200px, 58vw);
  scroll-snap-align: center;
  transform: rotate(-2deg);
  transition: transform 200ms var(--ease);
}

.phone:nth-child(even) {
  transform: rotate(2deg);
}

.phone:hover {
  transform: rotate(0deg) translateY(-6px);
}

.phone img {
  width: 100%;
  aspect-ratio: 506 / 900;
  object-fit: cover;
  border-radius: 24px;
  border: 3px solid var(--white);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.phone--square {
  width: min(220px, 62vw);
}

.phone--square img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.lot__nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--curb);
  color: var(--navy);
  box-shadow: 0 4px 0 #c47d00;
  transition: transform 150ms var(--ease);
}

.lot__nav:hover {
  transform: translateY(-2px);
}

.lot__nav:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #c47d00;
}

.lot__nav svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 640px) {
  .lot__nav { display: none; }
}

.lot__perks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.lot__perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.lot__perks svg {
  width: 16px;
  height: 16px;
  color: var(--curb);
}

/* ----- Download ramp ----- */
.download {
  padding: 3.5rem 1.25rem 4rem;
  max-width: 1120px;
  margin: 0 auto;
}

.ramp {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(30, 107, 255, 0.12), transparent 50%),
    var(--panel);
  border: 3px solid var(--blue);
  border-radius: 36px;
  padding: 2rem 1.5rem;
  box-shadow:
    0 10px 0 rgba(13, 79, 214, 0.28),
    var(--shadow);
  position: relative;
  overflow: hidden;
}

.ramp::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 55%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.25), transparent 70%);
  pointer-events: none;
}

@media (min-width: 860px) {
  .ramp {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 2.5rem 2.25rem;
  }
}

.ramp__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue);
  font-size: 0.95rem;
}

.ramp__copy h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  color: var(--navy);
}

.ramp__copy p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-weight: 600;
  max-width: 36rem;
}

.ramp__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ramp__art {
  justify-self: center;
  width: min(260px, 70vw);
  position: relative;
  z-index: 1;
}

.ramp__art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--yellow-hot), var(--shadow);
  animation: bob 3.5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* ----- Footer ----- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.25rem 1.25rem 2rem;
}

[data-theme="dark"] .footer {
  background: #061428;
}

.footer__top {
  max-width: 1120px;
  margin: 0 auto 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.footer__brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer__links a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--curb);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms var(--ease);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__copy {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ----- Modal ----- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 48, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  background: var(--panel);
  border: 3px solid var(--blue);
  border-radius: 28px;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-deep);
  animation: pop-in 220ms var(--ease);
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__x {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--asphalt);
  color: var(--ink);
}

.modal__x svg { width: 18px; height: 18px; }

.modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 5px 0 rgba(13, 79, 214, 0.4);
}

.modal__icon svg { width: 32px; height: 32px; }

.modal__panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
}

.modal__panel p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-weight: 600;
}

body.modal-open {
  overflow: hidden;
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .sky__cloud,
  .hero__trail,
  .ramp__art img {
    animation: none !important;
  }

  .btn,
  .phone,
  .lot__nav,
  .theme-btn {
    transition: none !important;
  }
}
