:root {
  --ink: #090b10;
  --paper: #f3f1ec;
  --white: #fffcf8;
  --text: #090b10;
  --muted: #5a5f6b;
  --blue: #0066ff;
  --blue-hot: #3d8bff;
  --line: rgba(9, 11, 16, 0.12);
  --wrap: 1180px;
  --header: 76px;
  --display: "Unbounded", "Arial Black", Impact, sans-serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: #004ed1;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--white);
}

.skip:focus {
  top: 12px;
}

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

.kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
  height: 48px;
  overflow: visible;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  position: relative;
  display: block;
  flex-shrink: 0;
  height: 118%;
  width: auto;
  aspect-ratio: 1 / 1;
  overflow: visible;
}

.logo-mark__layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo-wordmark {
  flex: 0 0 auto;
  height: 72%;
  width: auto;
  overflow: visible;
}

.logo--cardpr .logo-wordmark {
  aspect-ratio: 803 / 257;
}

.logo--passquare .logo-wordmark {
  aspect-ratio: 965 / 257;
}

.logo-mark__layer--top,
.logo-mark__stem {
  transition: transform 0.1s ease-out;
}

.logo-mark__layer--top {
  transform: translateY(0);
}

.logo-mark__stem {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(1);
}

.logo:hover .logo-mark__layer--top,
.logo:hover .logo-mark__stem,
.logo:focus-visible .logo-mark__layer--top,
.logo:focus-visible .logo-mark__stem,
a:hover .logo-mark__layer--top,
a:hover .logo-mark__stem {
  transition-duration: 0.08s;
}

.logo:hover .logo-mark__layer--top,
.logo:focus-visible .logo-mark__layer--top,
a:hover .logo-mark__layer--top {
  transform: translateY(10%);
}

.logo:hover .logo-mark__stem,
.logo:focus-visible .logo-mark__stem,
a:hover .logo-mark__stem {
  transform: scaleY(0.4);
}

@media (prefers-reduced-motion: reduce) {
  .logo-mark__layer--top,
  .logo-mark__stem {
    transition: none;
  }

  .logo:hover .logo-mark__layer--top,
  .logo:hover .logo-mark__stem,
  .logo:focus-visible .logo-mark__layer--top,
  .logo:focus-visible .logo-mark__stem,
  a:hover .logo-mark__layer--top,
  a:hover .logo-mark__stem {
    transform: none;
  }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--blue);
}

.btn-primary:hover,
a.btn-primary:hover {
  background: var(--blue);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -12vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.28), transparent 68%);
  pointer-events: none;
}

.hero .kicker {
  color: var(--muted);
}

.hero .wrap {
  container-type: inline-size;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(18px, 5.7vw, 72px);
  font-size: clamp(18px, 6.2cqi, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero__line {
  white-space: nowrap;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.band {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 48px 0 28px;
  background: var(--ink);
  color: var(--white);
}

.routes {
  display: grid;
  gap: 12px;
}

.route {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 112px;
  padding: 28px 28px 28px 32px;
  background: #161a22;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.route:first-child {
  background:
    radial-gradient(circle at 92% 120%, rgba(0, 102, 255, 0.32), transparent 46%),
    #161a22;
}

.route:hover {
  background: #1c2230;
  color: var(--white);
  border-color: rgba(61, 139, 255, 0.45);
}

.route:first-child:hover {
  background:
    radial-gradient(circle at 92% 120%, rgba(0, 102, 255, 0.4), transparent 46%),
    #1c2230;
}

.route__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-right: 88px;
}

.route__brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.route__title {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.route__n {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  color: var(--white);
  opacity: 0.08;
  pointer-events: none;
}

.route__arrow {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  color: var(--blue-hot);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.page-404 {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 80px 0;
}

.page-404 h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(42px, 10vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.page-404 p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.page-404 .btn {
  margin-top: 32px;
}

.site-version {
  display: block;
  margin: 28px auto 0;
  width: min(calc(100% - 48px), var(--wrap));
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.band .site-version {
  margin-top: auto;
  padding-top: 40px;
}

body > .site-version {
  color: var(--muted);
  opacity: 0.75;
}

@media (max-width: 900px) {
  :root {
    --header: 64px;
  }

  .wrap {
    width: min(calc(100% - 32px), var(--wrap));
  }

  .hero {
    padding: 36px 0 56px;
  }

  .band {
    padding: 32px 0 28px;
  }

  .route {
    align-items: flex-start;
    min-height: 0;
    padding: 24px 20px;
  }

  .route__copy {
    padding-right: 0;
  }

  .route__n {
    display: none;
  }

  .route__arrow {
    align-self: center;
  }
}
