:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-hi: #1b1b1a;
  --accent: #d3f24b;
  --accent-deep: #b6d62f;
  --ink: #f5f5f1;
  --muted: #8d8d86;
  --line: rgba(255, 255, 255, 0.09);
  --line-hi: rgba(211, 242, 75, 0.55);
  --display: "Poppins", system-ui, sans-serif;
  --mono: "Poppins", system-ui, sans-serif;
  --body: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- ambient map backdrop ---------- */
.map {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  opacity: 0.55;
  transform: translate(var(--px, 0px), var(--py, 0px));
  animation: map-drift 46s linear infinite;
  will-change: transform, background-position;
}

/* soft accent atmosphere behind the hero */
.glow {
  position: fixed;
  left: 50%;
  top: -180px;
  width: 620px;
  height: 620px;
  margin-left: -310px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(211, 242, 75, 0.10), transparent 62%);
  animation: breathe 9s ease-in-out infinite;
}

/* ---------- live route + pins ---------- */
.route {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.62;
  transform: translate(calc(var(--px, 0px) * 1.7), calc(var(--py, 0px) * 1.7));
  -webkit-mask-image: radial-gradient(125% 105% at 50% 32%, #000 34%, transparent 82%);
  mask-image: radial-gradient(125% 105% at 50% 32%, #000 34%, transparent 82%);
  will-change: transform;
}
.route-base { fill: none; stroke: rgba(211, 242, 75, 0.18); stroke-width: 1.4; stroke-linecap: round; }
.route-flow {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 95;
  filter: drop-shadow(0 0 4px rgba(211, 242, 75, 0.55));
  animation: route-flow 7.5s linear infinite;
}
.node .ping {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: radar 5.5s ease-out infinite;
}
.node .drop {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: drop-in 0.85s cubic-bezier(0.16, 1.2, 0.3, 1) backwards;
}
.node .pin path { fill: var(--accent); }
.node .pin .pin-dot { fill: var(--bg); }

/* ---------- layout ---------- */
.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 468px;
  padding: 30px 22px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* entrance reveal: visible by default, animated only when JS adds .has-js */
.reveal { opacity: 1; }
.has-js .reveal { opacity: 0; animation: rise 0.6s ease forwards; }

/* ---------- hero ---------- */
.hero { margin-bottom: 30px; }

.wordmark { line-height: 0; }
.wordmark img { width: clamp(150px, 46vw, 198px); height: auto; display: block; margin: 0 auto; }

.tagline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 4.8vw, 22px);
  line-height: 1.28;
  letter-spacing: 0.005em;
  color: var(--ink);
  max-width: 330px;
  margin: 18px auto 0;
}
.tagline b { color: var(--accent); font-weight: 500; }

.desc {
  color: var(--muted);
  font-size: 15px;
  max-width: 330px;
  margin: 14px auto 0;
}

/* ---------- primary CTAs ---------- */
.ctas { width: 100%; display: flex; flex-direction: column; gap: 12px; }

.cta {
  display: block;
  width: 100%;
  text-decoration: none;
  text-align: left;
  padding: 17px 20px;
  border-radius: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.cta-title { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: 0.01em; }
.cta-sub { font-size: 13px; margin-top: 2px; }

.cta--accent { background: var(--accent); color: #0a0a0a; }
.cta--accent .cta-sub { color: rgba(10, 10, 10, 0.62); }
.cta--accent:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(211, 242, 75, 0.22); background: #d9f55e; }

.cta--surface { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.cta--surface .cta-sub { color: var(--muted); }
.cta--surface:hover { transform: translateY(-2px); border-color: var(--line-hi); background: var(--surface-hi); }

/* ---------- explore eyebrow ---------- */
.eyebrow {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- explore links ---------- */
.links { width: 100%; display: flex; flex-direction: column; gap: 8px; }

.link {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-decoration: none;
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.link-pin { flex: none; width: 16px; height: 16px; color: var(--muted); transition: color 0.16s ease; }
.link-pin svg { width: 100%; display: block; }
.link-label { flex: 1; text-align: left; font-size: 15px; font-weight: 500; }
.link-arrow { flex: none; color: var(--muted); font-size: 16px; transition: transform 0.16s ease, color 0.16s ease; }

.link:hover { transform: translateX(3px); border-color: var(--line-hi); background: var(--surface-hi); }
.link:hover .link-pin { color: var(--accent); }
.link:hover .link-arrow { color: var(--accent); transform: translateX(3px); }

/* ---------- socials ---------- */
.socials { display: flex; gap: 12px; margin: 30px 0 0; }
.social {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.social svg { width: 19px; height: 19px; }
.social:hover { transform: translateY(-3px); border-color: var(--line-hi); color: var(--accent); background: var(--surface); }

/* ---------- footer ---------- */
.footer { margin-top: 34px; font-family: var(--mono); }
.footer-loc {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.footer-loc svg { width: 11px; height: 11px; }
.footer-copy { font-size: 11px; color: var(--muted); margin-top: 12px; letter-spacing: 0.03em; }
.footer-legal { margin-top: 8px; font-size: 11px; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }
.footer-legal span { color: rgba(255, 255, 255, 0.18); margin: 0 8px; }

/* ---------- focus + motion ---------- */
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 0;
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes map-drift { from { background-position: 0 0; } to { background-position: -56px -56px; } }
@keyframes route-flow { to { stroke-dashoffset: -100; } }
@keyframes radar { 0% { opacity: 0.5; transform: scale(0.3); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes drop-in { 0% { opacity: 0; transform: translateY(-26px); } 60% { opacity: 1; } 100% { opacity: 1; transform: translateY(0); } }
@keyframes breathe { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; animation: none !important; transform: none !important; }
  .map { animation: none; }
  .glow { animation: none; opacity: 0.85; }
  .route-flow { animation: none; stroke-dasharray: none; opacity: 0.5; }
  .node .ping { animation: none; opacity: 0; }
  .node .drop { animation: none; }
  .cta:hover, .link:hover, .social:hover { transform: none; }
}
