:root {
  --navy: #0b1130;
  --navy-soft: #1b2350;
  --bg: #f5f6fb;
  --bg-card: #ffffff;
  --blue: #2f5fe0;
  --green: #17a459;
  --orange: #ea6a1f;
  --ink: #0b1130;
  --ink-soft: #5b6178;
  --ink-faint: #9aa0b8;
  --line: #e2e4f0;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Ambient field: a very quiet gradient wash, no default cream/terracotta */
.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 18% 10%, rgba(47, 95, 224, 0.10), transparent 60%),
    radial-gradient(55% 45% at 85% 90%, rgba(234, 106, 31, 0.07), transparent 60%),
    radial-gradient(40% 40% at 90% 15%, rgba(23, 164, 89, 0.06), transparent 60%);
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  padding: 64px 28px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mark img {
  width: 96px;
  height: 96px;
  display: block;
}

.kicker {
  margin: 22px 0 6px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 8px 0 18px;
  color: var(--navy);
}

.headline span {
  color: var(--blue);
}

.sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 44px;
}

/* Journey track — triangles echo the wordmark's arena peak */
.track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.tri {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 15px solid var(--ink-faint);
  opacity: 0.55;
}

.node.done .tri { border-bottom-color: var(--blue); opacity: 1; }
.node.active .tri { border-bottom-color: var(--green); opacity: 1; }

.node .label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

.node.done .label { color: var(--navy); }
.node.active .label { color: var(--navy); }

.node.active .pulse {
  position: absolute;
  top: -3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  opacity: 0;
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { opacity: 0; }
}

.line {
  height: 1.5px;
  flex: 1;
  background: var(--line);
  margin: 0 6px;
  margin-bottom: 22px;
}

.line--filled { background: var(--blue); }

.track-caption {
  margin: 18px 0 40px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

.foot {
  margin-top: 40px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

.foot a {
  color: var(--ink-faint);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.foot a:hover { border-bottom-color: var(--ink-faint); }

@media (max-width: 480px) {
  .wrap { padding: 48px 20px 32px; }
  .track { max-width: 100%; }
  .line { margin: 0 2px; margin-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .node.active .pulse { animation: none; opacity: 0; }
}
