:root {
  --brand-blue: #00b6d4;
  --brand-royal: #2f6fe4;
  --brand-teal: #14b8a6;
  --brand-purple: #8b5cf6;
  --brand-sand: #d9bfa2;
  --navy-blue: #0f172a;
  --neo-black: #000000;
  --neo-shadow: 6px 6px 0px 0px #000000;
}

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

body {
  font-family: "Space Grotesk", sans-serif;
  background-color: #f6f8ff;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

img,
svg {
  max-width: 100%;
}

.tap-target {
  min-height: 48px;
}

section {
  scroll-margin-top: 7rem;
}

h1,
h2,
h3,
.heading-font {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
}

.neo-border {
  border: 4px solid var(--neo-black);
}

.neo-shadow {
  box-shadow: var(--neo-shadow);
}

.neo-button {
  border: 4px solid var(--neo-black);
  box-shadow: var(--neo-shadow);
  padding: 1rem 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease,
    color 150ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.neo-button:hover {
  transform: translateY(-0.25rem);
  box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 1);
}

.neo-button:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.cc-logo {
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.85)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.35));
}

.brand-outline {
  text-shadow: 3px 3px 0 var(--neo-black);
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 16px;
  background: #ffffff;
  color: #000000;
  border: 4px solid #000000;
  box-shadow: var(--neo-shadow);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

*:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 4px;
}

.mobile-nav {
  background: #ffffff;
  border-bottom: 4px solid #000000;
}

.mobile-nav-panel {
  padding: 10px;
  display: grid;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 14px 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 3px solid transparent;
}

.mobile-nav-link:hover {
  border-color: #000000;
  background: rgba(47, 111, 228, 0.12);
}

.mobile-nav-link--cta {
  border: 4px solid #000000;
  background: var(--navy-blue);
  color: #ffffff;
}

.mobile-nav-link--cta:hover {
  background: var(--brand-royal);
}

.cc-icon {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cc-icon--dark {
  stroke: #000000;
}

.cc-icon--ink {
  width: 18px;
  height: 18px;
  stroke: #000000;
}

.how-card {
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 1);
}

.how-card.is-active {
  outline: 4px solid var(--brand-blue);
  outline-offset: 2px;
}

.cc-chip {
  border: 3px solid var(--neo-black);
  padding: 0.25rem 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--brand-royal);
  color: #ffffff;
  box-shadow: 4px 4px 0px 0px #000000;
}

.text-stroke {
  -webkit-text-stroke: 2px var(--neo-black);
  color: transparent;
}

.bg-brand-gradient {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 35%, rgba(47, 111, 228, 0.14) 70%, rgba(0, 182, 212, 0.22) 100%);
}

.roadmap-board {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, rgba(47, 111, 228, 0.06) 70%, rgba(0, 182, 212, 0.06) 100%);
  overflow: hidden;
  min-height: 360px;
  border-radius: 0;
}

.roadmap-road {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.roadmap-road-bg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.08);
  stroke-width: 70;
  stroke-linecap: round;
}

.roadmap-road-line {
  fill: none;
  stroke: rgba(47, 111, 228, 0.95);
  stroke-width: 4;
  stroke-dasharray: 16 18;
  stroke-linecap: round;
}

.roadmap-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.roadmap-pin {
  width: 18px;
  height: 18px;
  background: var(--brand-blue);
  border: 3px solid #000000;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 1), 0 0 18px rgba(0, 182, 212, 0.25);
}

.roadmap-label {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  background: #ffffff;
  color: #000000;
  border: 3px solid #000000;
  padding: 0.15rem 0.5rem;
}

.roadmap-card {
  position: absolute;
  width: min(320px, 86%);
  background: #ffffff;
  color: #000000;
  padding: 18px;
  cursor: grab;
  user-select: none;
  z-index: 3;
  touch-action: none;
}

.roadmap-card:active {
  cursor: grabbing;
}

.roadmap-tag {
  display: inline-block;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  background: var(--brand-royal);
  color: #ffffff;
  border: 3px solid #000000;
  padding: 0.2rem 0.5rem;
  box-shadow: 4px 4px 0px 0px #000000;
}

.roadmap-title {
  margin-top: 12px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.roadmap-body {
  margin-top: 10px;
  font-weight: 700;
}

.roadmap-hint {
  margin-top: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  opacity: 0.55;
}

.roadmap-card.is-dragging {
  transform: rotate(-1deg);
  box-shadow: 12px 12px 0px 0px rgba(0, 0, 0, 1);
}

.roadmap-card[data-marker="1"] {
  left: 6%;
  top: 12%;
}

.roadmap-card[data-marker="2"] {
  left: 34%;
  top: 62%;
}

.roadmap-card[data-marker="3"] {
  left: 64%;
  top: 18%;
}

@media (max-width: 900px) {
  .roadmap-card {
    width: min(300px, 92%);
  }
}

@media (max-width: 768px) {
  .mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 60;
    max-height: calc(100vh - 80px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .roadmap-board {
    min-height: auto;
    padding: 18px;
    overflow: visible;
  }

  .roadmap-road {
    display: none;
  }

  .roadmap-marker {
    display: none;
  }

  .roadmap-card {
    position: static;
    width: 100%;
    margin-top: 14px;
    cursor: default;
    touch-action: pan-y;
  }

  .roadmap-hint {
    display: none;
  }
}

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