:root {
  --bg: #09030c;
  --gold: #ffcc3d;
  --pink: #ff2d7a;
  --teal: #20e3c2;
  --ink: #fff6ea;
  --muted: #c9b09a;
  --card: #140a18;
  --line: rgba(255, 204, 61, 0.28);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: Trebuchet MS, "Segoe UI", sans-serif;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: linear-gradient(#09030c, transparent);
}
.logo, .nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 1.1rem; }
.nav-link { opacity: 0.7; }
.nav-link:hover { opacity: 1; }

.scene {
  position: relative;
  width: 100%;
  min-height: 165vh;
  overflow: hidden;
}
.track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.hero {
  position: relative;
  z-index: 4;
  padding: 5.5rem 6vw 8rem;
  max-width: 46rem;
  background: linear-gradient(90deg, #09030c 62%, rgba(9, 3, 12, 0.75) 78%, transparent 100%);
}
.kicker {
  margin: 0;
  color: var(--teal);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 800;
}
h1 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(3.2rem, 11vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  max-width: 8em;
  font-style: normal;
  text-shadow: 0 0 22px #09030c, 0 4px 0 #09030c;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), var(--pink) 55%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 16px #09030c);
}
.sub, .lead {
  margin: 0 0 1.2rem;
  font-size: 1.12rem;
  max-width: 36rem;
  color: #f0d9c0;
  line-height: 1.45;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cta {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  background: var(--gold);
  color: #140c08;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid var(--gold);
}
.cta.ghost {
  background: #09030c;
  color: var(--ink);
}
.cta.compact { margin-top: 1rem; padding: 0.65rem 1rem; }
.cta:not(.ghost) {
  box-shadow: 0 0 0 0 rgba(255, 204, 61, 0.5);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 14px rgba(255, 204, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 204, 61, 0); }
}

.truck {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  width: min(34vw, 280px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 0 rgba(0, 0, 0, 0.28));
  transform-origin: 0 0;
  will-change: transform, opacity;
  transition: opacity 0.25s linear;
}
.body { animation: bounce 0.35s ease-in-out infinite alternate; transform-origin: center; transform-box: fill-box; }
@keyframes bounce { to { transform: translateY(-3px); } }
.wheel { transform-box: fill-box; transform-origin: center; animation: spin 0.45s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.flag-cloth { transform-box: fill-box; transform-origin: left center; animation: flap 0.55s ease-in-out infinite alternate; }
@keyframes flap { to { transform: skewY(-12deg) scaleX(1.08); } }
.cone { transform-box: fill-box; transform-origin: center; animation: pulse 0.35s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scale(1.35); } }

.pitch {
  position: relative;
  z-index: 4;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.pitch > .block:first-child { padding-top: 5.5rem; }
.block {
  padding: 4.5rem 6vw;
  max-width: 72rem;
  margin: 0 auto;
  scroll-margin-top: 4.5rem;
}
.block h2 {
  margin: 0.45rem 0 0.9rem;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.95;
  max-width: 18ch;
}
.pains, .split {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}
.pains { grid-template-columns: repeat(3, 1fr); }
.split { grid-template-columns: 1fr 1fr; align-items: start; }
.pains article, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.3rem 1.25rem 1.4rem;
}
.pains h3, .card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}
.pains p, .card p { margin: 0; color: var(--muted); line-height: 1.5; }
.tag {
  margin: 0 0 0.5rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 800;
}
.card ol { margin: 1rem 0 0; padding: 0 0 0 1.1rem; color: var(--ink); line-height: 1.75; }
.number {
  margin: 1.2rem 0 0;
  padding: 0.9rem 1rem;
  border: 2px solid var(--gold);
  border-radius: 16px;
  font-size: 1.05rem;
  color: var(--ink);
}
.ticks {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
}
.ticks li {
  padding: 0.45rem 0 0.45rem 1.3rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 246, 234, 0.08);
}
.ticks li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
}
.ticks.tall li { padding: 0.7rem 0 0.7rem 1.3rem; }

.map-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
}
.map-card svg { width: 100%; height: auto; display: block; border-radius: 12px; }
.map-label, .map-caption {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}
.map-caption { margin-top: 0.7rem; color: var(--muted); letter-spacing: 0.04em; text-transform: none; font-weight: 400; }

.close { padding-bottom: 5rem; }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 6vw 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .pains, .split { grid-template-columns: 1fr; }
  .nav-links .nav-link:first-child,
  .nav-links .nav-link:nth-child(2) { display: none; }
  .logo { max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 720px) {
  h1 { font-size: clamp(2.6rem, 14vw, 4.2rem); }
  .hero { padding-bottom: 24vh; }
  .block { padding: 3rem 5vw; }
}

@media (prefers-reduced-motion: reduce) {
  .wheel, .flag-cloth, .cone, .cta, .body { animation: none; }
}
