@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/montserrat-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/montserrat-latin-600-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/montserrat-latin-800-italic.woff2') format('woff2');
}

:root {
  --bg: #011f45; /* the runners art background, so the image blends in */
  --bg-deep: #010f26;
  --ink: #ffffff;
  --muted: #b9cbe6;
  --cyan: #2fc6f5;
  --electric: #2f7df6;
  --line: rgba(120, 190, 255, 0.45);
  --panel: rgba(8, 48, 104, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: var(--bg);
}

body {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(47, 125, 246, 0.22), transparent 45%),
    radial-gradient(ellipse at 100% 100%, rgba(47, 198, 245, 0.14), transparent 45%),
    var(--bg);
  min-height: 100vh;
  color: var(--ink);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cyan);
}

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

body {
  overflow-x: hidden;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: 'head' 'art' 'body';
  gap: 8px;
  align-items: center;
}

.head {
  grid-area: head;
}

.body {
  grid-area: body;
}

.art {
  margin: 0;
  grid-area: art;
  /* soft edges so the picture melts into the page */
  -webkit-mask-image: radial-gradient(ellipse 64% 62% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 64% 62% at 50% 50%, #000 72%, transparent 100%);
}

.art img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
}

.text {
  text-align: center;
}

.wordmark {
  margin: 0;
  font-style: italic;
  line-height: 0.95;
}

.wordmark .w1 {
  display: block;
  font-weight: 600;
  font-size: clamp(30px, 8vw, 46px);
}

.wordmark .w2 {
  display: block;
  font-weight: 800;
  font-size: clamp(56px, 17vw, 92px);
  letter-spacing: 0.5px;
  margin-top: 0.12em;
}

.stroke {
  display: block;
  width: min(300px, 70%);
  height: 14px;
  margin: 6px auto 0;
}

.fullname {
  margin: 14px 0 0;
  font-style: italic;
  font-weight: 600;
  color: var(--muted);
  font-size: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0;
  padding: 8px 18px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan);
  font-style: italic;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(47, 198, 245, 0.08);
}

.badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge .dot {
    animation: none;
  }
}

.question {
  margin: 10px 0 0;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(26px, 6.5vw, 38px);
  line-height: 1.15;
}

.question .hl {
  color: var(--cyan);
}

.lead {
  margin: 14px auto 0;
  max-width: 34em;
  color: var(--muted);
}

.lead strong {
  color: var(--ink);
  font-weight: 400;
}

.blocks {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.blocks li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 0 14px rgba(47, 125, 246, 0.25);
}

.blocks b {
  display: block;
  width: 100%;
  padding: 6px 8px 4px;
  font-style: italic;
  font-weight: 800;
  font-size: 22px;
  text-align: center;
}

.blocks span {
  display: block;
  width: 100%;
  padding: 4px 8px 6px;
  border-top: 1px solid var(--line);
  font-style: italic;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
}

.links a {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.04);
}

.links a.primary {
  background: var(--electric);
  border-color: var(--electric);
  font-weight: 600;
  font-style: italic;
}

.links a:hover,
.links a:focus-visible {
  border-color: var(--cyan);
}

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

.book {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(120, 190, 255, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.footer a {
  color: var(--muted);
}

@media (min-width: 880px) {
  .page {
    padding-top: 48px;
  }
  .hero {
    grid-template-columns: 1fr 1.05fr;
    grid-template-areas: 'art head' 'art body';
    column-gap: 32px;
    row-gap: 0;
    align-items: start;
  }
  .head {
    align-self: end;
  }
  .art {
    align-self: center;
  }
  .question {
    margin-top: 26px;
  }
  .art img {
    max-width: 520px;
  }
  .text {
    text-align: left;
  }
  .stroke {
    margin-left: 0;
  }
  .lead {
    margin-left: 0;
  }
  .blocks,
  .links {
    justify-content: flex-start;
  }
}

/* privacy page */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
}

.doc h1 {
  font-style: italic;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.2;
}

.doc .back {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(47, 198, 245, 0.12);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  text-decoration: none;
  font-size: 15px;
}

.doc p,
.doc li {
  color: var(--muted);
}

.book-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-underline-offset: 3px;
}

.book-link:hover,
.book-link:focus-visible {
  color: var(--cyan);
}
