@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #172033;
  --muted: #5c6b7a;
  --blue-deep: #0b3f86;
  --blue: #0e4fa8;
  --blue-mid: #2e8be3;
  --blue-bright: #7ec8ff;
  --orange: #f88000;
  --orange-hot: #ff9a1f;
  --paper: #f4f7fb;
  --go: #a0c890;
  --mid: #f8e070;
  --stop: #f87870;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.5;
}

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

button, a { font: inherit; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  color: #1a1208;
  background: linear-gradient(180deg, var(--orange-hot) 0%, var(--orange) 100%);
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.btn-lg { padding: 18px 26px; font-size: 13px; }

.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.btn[aria-busy="true"] {
  cursor: progress;
  opacity: 0.72;
}

.hero .btn:focus-visible { outline-color: #fff; }

.hero {
  position: relative;
  overflow: visible;
  color: #fff;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 28px 0 36px;
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(126, 200, 255, 0.45), transparent 58%),
    radial-gradient(640px 420px at 100% 10%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(155deg, var(--blue-deep) 0%, var(--blue) 34%, var(--blue-mid) 72%, #9ed4ff 130%);
  background-size: 140% 140%;
  animation: drift 22s ease-in-out infinite alternate;
}

@keyframes drift {
  from { background-position: 0% 0%; }
  to { background-position: 80% 30%; }
}

.nav,
.hero-grid,
.modes {
  position: relative;
  z-index: 2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 28px;
}

.hero-copy { max-width: 640px; }

h1 {
  margin-top: 14px;
  font-size: clamp(52px, 7.4vw, 104px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.rule {
  width: 168px;
  height: 1px;
  margin: 26px 0 22px;
  background: rgba(255, 255, 255, 0.72);
}

.lead {
  max-width: 38ch;
  font-size: 20px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.hero-copy .btn { margin-top: 28px; }

.noscript {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.orb {
  justify-self: end;
  width: min(440px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, #f8fbfe 0%, #e6eef6 100%);
  color: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 64px;
}

.orb span {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(14, 79, 168, 0.18);
}

.orb span:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.modes {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--blue);
}

.dek {
  margin-top: 14px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 18px;
}

.world-map {
  --map-w: min(1280px, 96vw);
  --map-h: calc(var(--map-w) * 1573 / 1400);
  --map-peek: clamp(220px, 36vh, 440px);
  position: absolute;
  z-index: 1;
  top: calc(100svh - var(--map-peek));
  left: 50%;
  width: var(--map-w);
  height: var(--map-h);
  transform: translateX(-50%);
  pointer-events: none;
  -webkit-mask: url("/map.svg") top center / 100% 100% no-repeat;
  mask: url("/map.svg") top center / 100% 100% no-repeat;
}

.world-map--hero {
  background: rgba(255, 255, 255, 0.72);
  clip-path: inset(0 0 calc(100% - var(--map-peek)) 0);
}

.world-map--page {
  background: rgba(111, 158, 196, 0.42);
  clip-path: inset(calc(var(--map-peek) - 1px) 0 20% 0);
}

.answers-sec {
  position: relative;
  padding: 112px 0 96px;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.answers-sec .wrap {
  position: relative;
  z-index: 2;
}

.answers {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
}

.answers li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid rgba(23, 32, 51, 0.12);
}

.answers li:last-child { border-bottom: 1px solid rgba(23, 32, 51, 0.12); }

.n {
  padding-top: 10px;
  color: var(--blue-mid);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.answers h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.answers p {
  margin-top: 8px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 18px;
}

.checks-intro { padding: 96px 0 36px; }

.panel {
  background: linear-gradient(90deg,
    #fbf6f1 0%,
    #f3d2b5 22%,
    #f7f5f3 50%,
    #cfe4f8 78%,
    #eef5fb 100%);
}

.split-head,
.row {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.split-head {
  padding: 28px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.split-head span:last-child { text-align: left; }

.row {
  padding: 26px 0;
  border-top: 1px solid rgba(23, 32, 51, 0.1);
}

.row:last-child { border-bottom: 1px solid rgba(23, 32, 51, 0.1); }

.row h3 {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.buyer,
.seller {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.buyer { text-align: right; color: #1c140e; }

.seller { color: #102033; }

.lights {
  padding: 112px 0;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.lights-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  margin-top: 48px;
}

.lamps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 108px;
  padding: 18px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #243044 0%, #121820 100%);
}

.lamp {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid transparent;
  padding: 0;
  cursor: pointer;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.78), transparent 46%),
    var(--go);
  transition: border-color 160ms ease, outline-color 160ms ease;
}

.lamp-mid {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.78), transparent 46%),
    var(--mid);
}

.lamp-stop {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.78), transparent 46%),
    var(--stop);
}

.lamp:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.lamp[aria-pressed="true"] {
  border-color: var(--orange);
  outline: 6px solid rgba(248, 128, 0, 0.28);
  outline-offset: 3px;
}

.light-list {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}

.light-item {
  padding: 22px 0 22px 18px;
  border-left: 2px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.light-item + .light-item { margin-top: 8px; }

.light-item.is-on {
  border-left-color: var(--orange);
  background: linear-gradient(90deg, rgba(248, 128, 0, 0.1), transparent 72%);
}

.light-item[data-lamp="go"].is-on {
  background: linear-gradient(90deg, rgba(160, 200, 144, 0.42), rgba(160, 200, 144, 0.08) 78%, transparent);
}

.light-item[data-lamp="mid"].is-on {
  background: linear-gradient(90deg, rgba(248, 224, 112, 0.62), rgba(248, 224, 112, 0.14) 78%, transparent);
}

.light-item h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.light-item p {
  margin-top: 6px;
  color: var(--muted);
  max-width: 36ch;
}

.human {
  padding: 88px 0 128px;
  background: linear-gradient(180deg, var(--paper) 0%, #fff 42%, #e7f2fb 100%);
}

.human-kicker {
  color: var(--blue-mid);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.human-line {
  margin-top: 16px;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.human-line span { color: var(--blue-mid); }

.human .btn { margin-top: 36px; }

@media (max-width: 860px) {
  .hero-grid,
  .lights-grid,
  .split-head,
  .row {
    grid-template-columns: 1fr;
  }

  .orb {
    justify-self: start;
    width: min(360px, 100%);
    padding: 48px;
  }

  .modes { justify-content: flex-start; }

  .buyer,
  .seller,
  .row h3,
  .split-head span:last-child { text-align: left; }

  .split-head { display: none; }

  .lights-grid { gap: 28px; justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { animation: none; }
  .btn,
  .lamp,
  .light-item { transition: none; }
}
