:root {
  color-scheme: dark;
  --vf-bg: #0f1117;
  --vf-bg-panel: #1a1d27;
  --vf-text: #e1e4ed;
  --vf-muted: #8b90a0;
  --vf-border: #2e3344;
  --vf-accent: #6c8cff;
  --vf-green: #4ade80;
  --vf-purple: #c084fc;
  --vf-gold: #e6b450;
  --focus: #8ba3ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at top, rgba(108, 140, 255, 0.14), transparent 42%),
    var(--vf-bg);
  color: var(--vf-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--vf-text);
  color: var(--vf-bg);
  font-size: 0.875rem;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

main {
  width: min(76rem, 100%);
  margin-inline: auto;
  padding: clamp(2.75rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2.75rem) clamp(3rem, 7vw, 5rem);
}

.intro {
  max-width: 70rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--vf-border);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(108, 140, 255, 0.19), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--vf-bg-panel);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.2);
  text-align: center;
}

.intro h1,
.intro p {
  margin: 0;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5.75rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.95;
  text-shadow: 0 0.08em 0.5em rgba(0, 0, 0, 0.28);
}

h1 span {
  background: linear-gradient(135deg, #9bafff, var(--vf-accent) 46%, #526fdf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 0.45em rgba(108, 140, 255, 0.46);
}

.intro p {
  max-width: 48rem;
  margin-top: 1.35rem;
  margin-inline: auto;
  color: color-mix(in srgb, var(--vf-text) 88%, var(--vf-muted));
  font-size: clamp(1.08rem, 1.9vw, 1.32rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.6;
}

.intro .subline {
  width: fit-content;
  font-size: clamp(1.51rem, 2.66vw, 1.85rem);
  background: linear-gradient(135deg, #9bafff, var(--vf-accent) 46%, #526fdf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 0.45em rgba(108, 140, 255, 0.46);
}

.intro .tagline {
  margin-top: 1.5rem;
  color: var(--vf-text);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.intro .map {
  margin-top: 1.35rem;
}

.intro .closer-build {
  display: inline-block;
  font-size: 1.25em;
  line-height: 1.35;
}

.stage {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
  margin: 0;
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
  border: 1px solid var(--vf-border);
  border-radius: 1.15rem;
  list-style: none;
}

.step {
  min-width: 0;
  text-align: center;
}

.step-plan {
  --step: var(--vf-accent);
}

.step-coordinate {
  --step: var(--vf-green);
}

.step-enforce {
  --step: var(--vf-purple);
}

.step-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.35rem;
  margin-bottom: 0.85rem;
  border-radius: 0.7rem;
  background: color-mix(in srgb, var(--step) 24%, #12141c);
  color: var(--step);
}

.step-mark svg {
  width: 1.45rem;
  height: 1.45rem;
}

.step h2 {
  margin: 0;
  color: var(--vf-text);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.step p {
  margin: 0.4rem 0 0;
  color: var(--vf-muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
}

.map {
  margin: 0;
  min-width: 0;
}

.map img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--vf-border);
  border-radius: 0.75rem;
  background: var(--vf-bg);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 52rem) {
  .flow {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
