:root {
  --ink: #fff7df;
  --muted: #d8bfad;
  --paper: #fff2d0;
  --blacktop: #100713;
  --asphalt: #1b1021;
  --purple: #25113a;
  --cyan: #23f6ff;
  --pink: #ff2aa8;
  --orange: #ff7a35;
  --gold: #fff0a0;
  --green: #5dffab;
  --line: rgba(255, 242, 208, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 42, 168, .16), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(35, 246, 255, .13), transparent 32rem),
    linear-gradient(180deg, #0c0411 0%, #17091f 52%, #09030c 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
}

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

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(10, 4, 15, .76);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 16px rgba(255, 42, 168, .5));
}

.brand small {
  display: block;
  color: var(--cyan);
  font-size: .64rem;
  letter-spacing: .24em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: .92rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, .08);
}

.nav-links .nav-cta {
  color: #160816;
  background: linear-gradient(135deg, var(--gold), var(--orange), var(--pink));
  font-weight: 900;
  box-shadow: 0 0 28px rgba(255, 42, 168, .32);
}

.hero {
  position: relative;
  padding: 88px 0 56px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 900;
  font-size: .82rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: .96;
  margin: 0;
}

h1 {
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  letter-spacing: -.08em;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255, 240, 160, .48),
    0 0 34px rgba(255, 42, 168, .32);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  letter-spacing: -.055em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -.03em;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.65;
  max-width: 760px;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 900;
  color: var(--ink);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 22px rgba(35, 246, 255, .12);
}

.button.primary {
  color: #160816;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--orange) 46%, var(--pink));
  box-shadow: 0 0 32px rgba(255, 42, 168, .36);
}

.button.ghost {
  color: var(--cyan);
}

.hero-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  box-shadow: var(--shadow);
}

.hero-card img {
  display: block;
  border-radius: 26px;
  box-shadow: 0 0 54px rgba(255, 42, 168, .22);
}

.map-hero {
  padding-top: 52px;
}

.map-hero-copy {
  max-width: 980px;
  margin-bottom: 28px;
}

.map-hero-copy h1 {
  max-width: 980px;
}

.layer-map-shell {
  border: 1px solid rgba(255, 240, 160, .25);
  border-radius: 38px;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 42, 168, .2), transparent 24rem),
    radial-gradient(circle at 80% 18%, rgba(35, 246, 255, .18), transparent 26rem),
    linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035)),
    rgba(16, 7, 19, .84);
  box-shadow: var(--shadow);
}

.layer-map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  padding: 8px 8px 16px;
}

.layer-map-toolbar h2 {
  font-size: clamp(1.8rem, 4vw, 3.8rem);
}

.compact-notice {
  margin: 0;
  max-width: 420px;
}

.layer-map-stage {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    radial-gradient(circle at 26% 26%, rgba(255, 240, 160, .08), transparent 22rem),
    linear-gradient(180deg, rgba(12, 4, 17, .6), rgba(7, 2, 10, .92));
  background-size: 54px 54px, 54px 54px, auto, auto;
}

.layer-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.layer-map polyline {
  cursor: crosshair;
  transition: stroke-width .18s ease, opacity .18s ease;
}

.layer-map polyline:hover {
  stroke-width: 12;
}

.map-city-dot {
  fill: var(--paper);
  stroke: var(--blacktop);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(255, 240, 160, .8));
}

.map-city-label {
  fill: var(--ink);
  font-size: 15px;
  font-weight: 900;
  paint-order: stroke;
  stroke: rgba(8, 2, 12, .9);
  stroke-width: 5px;
  stroke-linejoin: round;
}

.layer-map-controls {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  width: min(330px, calc(100% - 36px));
  display: grid;
  gap: 10px;
}

.layer-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .15);
  border-left: 5px solid var(--layer-color);
  border-radius: 16px;
  background: rgba(10, 4, 15, .82);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}

.layer-control span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.layer-control input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--pink);
}

.layer-control input[type="range"] {
  padding: 0;
  accent-color: var(--layer-color);
}

.layer-map-details {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  width: min(430px, calc(100% - 36px));
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(35, 246, 255, .28);
  border-radius: 22px;
  background: rgba(10, 4, 15, .82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
}

.layer-map-details strong {
  color: var(--gold);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.1rem;
}

.layer-map-details span {
  color: var(--muted);
  line-height: 1.5;
}

.ticker {
  display: flex;
  gap: 14px;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker span {
  white-space: nowrap;
  color: var(--gold);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  opacity: .86;
}

.section {
  padding: 76px 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 32px;
}

.section-header p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

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

.card,
.panel,
.stop-card,
.pricing-card,
.profile-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)),
    rgba(16, 7, 19, .72);
  box-shadow: var(--shadow);
}

.card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--pink));
  border-radius: 999px 999px 0 0;
}

.icon-pill {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  margin-bottom: 20px;
  color: var(--blacktop);
  font-weight: 1000;
  background: linear-gradient(135deg, var(--cyan), var(--gold), var(--pink));
}

.card p,
.profile-card p,
.pricing-card p,
.stop-card p,
.panel p,
.form-card p {
  color: var(--muted);
  line-height: 1.6;
}

.road-map {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    radial-gradient(circle at 24% 18%, rgba(35, 246, 255, .16), transparent 22rem),
    radial-gradient(circle at 80% 18%, rgba(255, 42, 168, .18), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.road-map::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 240, 160, .24);
  border-radius: 30px;
}

.route-line {
  position: absolute;
  inset: 12% 7% 12% 7%;
  background:
    radial-gradient(circle at 0 50%, var(--cyan) 0 8px, transparent 9px),
    radial-gradient(circle at 100% 50%, var(--pink) 0 8px, transparent 9px);
}

.route-line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(35, 246, 255, .44));
}

.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(255, 240, 160, .12), 0 0 24px var(--gold);
}

.pin strong {
  position: absolute;
  left: 22px;
  top: -8px;
  white-space: nowrap;
  color: var(--ink);
  background: rgba(12, 4, 17, .78);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: .76rem;
}

.pin:nth-of-type(1) { left: 8%; top: 24%; }
.pin:nth-of-type(2) { left: 24%; top: 45%; }
.pin:nth-of-type(3) { left: 34%; top: 54%; }
.pin:nth-of-type(4) { left: 47%; top: 42%; }
.pin:nth-of-type(5) { left: 58%; top: 62%; }
.pin:nth-of-type(6) { left: 72%; top: 38%; }
.pin:nth-of-type(7) { left: 79%; top: 48%; }
.pin:nth-of-type(8) { left: 91%; top: 72%; }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.filter-button {
  color: var(--ink);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active {
  color: #160816;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}

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

.stop-card {
  padding: 18px;
}

.stop-card .meta,
.badge-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.tag {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 900;
}

.check-button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: #160816;
  background: linear-gradient(135deg, var(--gold), var(--orange), var(--pink));
  cursor: pointer;
  font-weight: 1000;
}

.check-button.checked {
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.profile-grid,
.business-grid,
.passport-grid,
.community-grid {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
}

.profile-card,
.panel,
.pricing-card,
.form-card {
  padding: 24px;
}

.avatar {
  width: 116px;
  height: 116px;
  border-radius: 38px;
  display: grid;
  place-items: center;
  color: #17091f;
  background: linear-gradient(135deg, var(--cyan), var(--gold), var(--pink));
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2.4rem;
  font-weight: 1000;
  box-shadow: 0 0 38px rgba(255, 42, 168, .38);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, .05);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 1.45rem;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  border-left: 3px solid var(--pink);
  padding: 10px 0 10px 16px;
}

.timeline-item strong {
  display: block;
}

.timeline-item span {
  color: var(--muted);
}

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

.badge-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, .06);
}

.badge-symbol {
  display: grid;
  place-items: center;
  min-width: 76px;
  height: 76px;
  width: max-content;
  padding: 0 14px;
  border-radius: 50%;
  margin-bottom: 16px;
  color: #17091f;
  font-size: clamp(1rem, 2vw, 1.7rem);
  font-weight: 1000;
  background: linear-gradient(135deg, var(--gold), var(--orange), var(--pink));
  box-shadow: 0 0 28px rgba(255, 122, 53, .28);
}

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

.pricing-card.featured {
  border-color: rgba(255, 240, 160, .56);
  box-shadow: 0 0 48px rgba(255, 42, 168, .22);
}

.price {
  display: block;
  margin: 16px 0;
  color: var(--cyan);
  font-size: 2rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 1000;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: rgba(0, 0, 0, .28);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.notice {
  border: 1px solid rgba(35, 246, 255, .3);
  border-radius: 22px;
  padding: 18px;
  background: rgba(35, 246, 255, .08);
  color: var(--muted);
}

.passport-card {
  position: relative;
  overflow: hidden;
}

.passport-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255, 240, 160, .22);
  border-radius: 22px;
  pointer-events: none;
}

.proof-status {
  margin-top: 18px;
}

.photo-preview {
  margin-top: 14px;
  border: 1px dashed rgba(255, 240, 160, .32);
  border-radius: 20px;
  min-height: 120px;
  display: grid;
  gap: 12px;
  place-items: center;
  padding: 16px;
  color: var(--muted);
  background:
    radial-gradient(circle at 20% 0, rgba(255, 42, 168, .12), transparent 16rem),
    rgba(0, 0, 0, .18);
}

.photo-preview img {
  width: min(100%, 420px);
  max-height: 260px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(35, 246, 255, .18);
}

.stamp-list {
  display: grid;
  gap: 12px;
}

.stamp-item {
  border-left-color: var(--cyan);
}

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

.profile-tile {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  background:
    linear-gradient(150deg, rgba(35, 246, 255, .1), rgba(255, 42, 168, .08)),
    rgba(16, 7, 19, .78);
  box-shadow: var(--shadow);
}

.profile-tile .avatar {
  width: 78px;
  height: 78px;
  border-radius: 26px;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.profile-tile p,
.profile-tile span {
  color: var(--muted);
  line-height: 1.55;
}

.community-feed {
  display: grid;
  gap: 14px;
}

.community-feed article {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, .055);
}

.community-feed strong,
.community-feed span {
  display: block;
}

.community-feed span {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

.footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero-grid,
  .section-header,
  .profile-grid,
  .business-grid,
  .passport-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .stop-grid,
  .badge-grid,
  .pricing-grid,
  .profile-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layer-map-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .layer-map-stage {
    min-height: 620px;
  }
}

@media (max-width: 680px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .cards,
  .stop-grid,
  .badge-grid,
  .pricing-grid,
  .profile-directory,
  .form-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .road-map {
    min-height: 420px;
  }

  .pin strong {
    display: none;
  }

  .layer-map-shell {
    padding: 10px;
    border-radius: 28px;
  }

  .layer-map-stage {
    min-height: 680px;
  }

  .layer-map-controls,
  .layer-map-details {
    position: relative;
    inset: auto;
    width: auto;
    margin: 12px;
  }

  .layer-map {
    position: absolute;
    inset: 180px 0 130px;
    height: auto;
  }

  .map-city-label {
    display: none;
  }
}
