:root {
  color-scheme: dark;
  --bg: #07140f;
  --ink: #f5f4ea;
  --muted: #b9c7bd;
  --line: rgba(245, 244, 234, 0.18);
  --green: #2ee98b;
  --green-soft: rgba(46, 233, 139, 0.14);
  --coral: #ff7c5f;
  --amber: #ffd166;
  --blue: #78d7ff;
  --panel: rgba(6, 16, 24, 0.72);
  --panel-strong: rgba(5, 13, 20, 0.88);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 74% 38%, rgba(104, 130, 255, 0.2), transparent 25rem),
    radial-gradient(circle at 16% 72%, rgba(46, 233, 139, 0.08), transparent 28rem),
    linear-gradient(180deg, #020507 0%, #060b12 48%, #050706 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

.scene-shell {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 38%, rgba(94, 119, 255, 0.12), transparent 30rem),
    #010205;
}

#globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.site-header {
  position: fixed;
  top: 14px;
  left: clamp(12px, 3vw, 36px);
  right: clamp(12px, 3vw, 36px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px 9px 12px;
  border: 1px solid rgba(245, 244, 234, 0.1);
  border-radius: 8px;
  background: rgba(3, 10, 14, 0.66);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.brand,
.nav-links,
.hero-actions,
.signup-form div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(120, 215, 255, 0.3);
  border-radius: 8px;
  background: rgba(120, 215, 255, 0.08);
}

.brand-mark img {
  width: 30px;
  height: 30px;
}

.nav-links {
  gap: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  border-radius: 8px;
  padding: 10px 12px;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav-links a:hover {
  background: rgba(245, 244, 234, 0.08);
  color: var(--ink);
}

.nav-links .nav-cta {
  border: 1px solid rgba(46, 233, 139, 0.32);
  background: rgba(46, 233, 139, 0.12);
  color: var(--ink);
}

main {
  position: relative;
  z-index: 2;
}

.panel {
  min-height: 100vh;
  width: 100%;
  display: grid;
  align-items: center;
  padding: 108px clamp(20px, 6vw, 86px) 72px;
}

.panel-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(270px, 0.62fr);
  gap: clamp(28px, 6vw, 88px);
}

.panel-copy {
  max-width: 720px;
  position: relative;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.44);
}

.copy-surface {
  max-width: 760px;
  border: 1px solid rgba(245, 244, 234, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(2, 8, 12, 0.84), rgba(4, 14, 20, 0.58) 58%, rgba(4, 12, 18, 0.2)),
    radial-gradient(circle at 10% 0%, rgba(46, 233, 139, 0.1), transparent 26rem);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  padding: clamp(22px, 4vw, 40px);
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7.4vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.14;
}

.lead,
.panel-copy p:not(.eyebrow),
.route-content p,
.answer-grid p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  line-height: 1.65;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.proof-strip span,
.signal-row span {
  border: 1px solid rgba(245, 244, 234, 0.12);
  border-radius: 8px;
  background: rgba(245, 244, 234, 0.07);
  color: rgba(245, 244, 234, 0.88);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 11px;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button,
.signup-form button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button-primary,
.signup-form button {
  background: var(--green);
  color: #06120d;
  box-shadow: 0 16px 34px rgba(46, 233, 139, 0.22);
}

.button-ghost {
  background: rgba(245, 244, 234, 0.08);
  color: var(--ink);
}

.button:hover,
.signup-form button:hover {
  transform: translateY(-1px);
}

.question-stack {
  display: grid;
  gap: 14px;
  justify-self: end;
  width: min(100%, 390px);
}

.message-card,
.route-card,
.answer-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.055), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.message-card {
  padding: 20px;
  transform: translateY(var(--float, 0));
}

.message-card.answer {
  margin-left: 42px;
  border-color: rgba(46, 233, 139, 0.34);
}

.message-meta span,
.answer-grid span,
.mini-label {
  display: block;
  margin-bottom: 9px;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.message-meta span {
  margin: 0;
}

.message-meta small {
  color: rgba(245, 244, 234, 0.64);
  font-size: 0.76rem;
  font-weight: 800;
}

.message-card strong {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  line-height: 1.28;
}

.split-panel {
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 7vw, 104px);
}

.route-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 36px);
  background:
    linear-gradient(160deg, rgba(6, 16, 24, 0.92), rgba(9, 24, 28, 0.7)),
    var(--panel-strong);
}

.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(120, 215, 255, 0.16), transparent 38%),
    linear-gradient(315deg, rgba(255, 209, 102, 0.14), transparent 42%);
  pointer-events: none;
}

.route-line {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 76px;
}

.route-line::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--coral));
}

.route-dot {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(245, 244, 234, 0.55);
  border-radius: 50%;
  background: #101b17;
}

.route-dot.active {
  background: var(--green);
  box-shadow: 0 0 34px rgba(46, 233, 139, 0.7);
}

.route-content {
  position: relative;
}

.steps-list {
  position: relative;
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(245, 244, 234, 0.12);
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(245, 244, 234, 0.84);
  font-weight: 700;
  line-height: 1.35;
}

.steps-list span {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.city-panel {
  position: relative;
  justify-items: end;
}

.city-copy {
  margin-right: clamp(0px, 4vw, 64px);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.answer-panel {
  align-items: end;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
}

.answer-grid article {
  min-height: 260px;
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  align-content: space-between;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(8, 19, 28, 0.9), rgba(6, 14, 18, 0.72)),
    var(--panel);
}

.answer-grid h3 {
  margin-bottom: 0;
}

.answer-grid p {
  margin-bottom: 0;
}

.answer-grid small {
  color: rgba(245, 244, 234, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
}

.answer-grid article:nth-child(2) {
  transform: translateY(-34px);
}

.answer-grid article:nth-child(3) {
  transform: translateY(-68px);
}

.final-panel {
  min-height: 88vh;
  align-items: center;
}

.final-copy {
  max-width: 820px;
}

.signup-form {
  max-width: 580px;
  margin-top: 36px;
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 700;
}

.signup-form div {
  gap: 10px;
}

.signup-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 244, 234, 0.12);
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
  outline: none;
}

.signup-form input:focus {
  border-color: rgba(46, 233, 139, 0.76);
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

  .panel,
  .panel-hero,
  .split-panel,
  .city-panel {
    grid-template-columns: 1fr;
  }

  .panel {
    min-height: auto;
    padding-top: 124px;
  }

  .panel-hero {
    min-height: 100vh;
  }

  .question-stack,
  .route-card {
    justify-self: start;
    width: 100%;
  }

  .city-copy {
    order: 1;
  }

  .answer-grid {
    grid-template-columns: 1fr;
  }

  .answer-grid article,
  .answer-grid article:nth-child(2),
  .answer-grid article:nth-child(3) {
    min-height: auto;
    transform: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  h1 {
    font-size: clamp(2.55rem, 14.5vw, 3.95rem);
    line-height: 0.92;
  }

  h2 {
    font-size: clamp(2rem, 11.5vw, 3rem);
    line-height: 1;
  }

  .panel {
    padding-inline: 22px;
  }

  .panel-hero {
    padding-top: 132px;
  }

  .proof-strip span,
  .signal-row span {
    font-size: 0.8rem;
  }

  .hero-actions,
  .signup-form div {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .signup-form button {
    text-align: center;
    width: 100%;
  }

  .message-card.answer {
    margin-left: 0;
  }
}
