:root {
  --ink: #070b16;
  --ink-soft: #0f1626;
  --gaze: #4fd8e8;
  --target: #f2c94c;
  --text: #e9eef7;
  --muted: #79879f;
  --line: rgba(233, 238, 247, 0.12);
  --measure: 34rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink);
  color: var(--text);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  overflow-x: hidden;
}

/* The dotted figure-eight is the game's own visual language, used here to
   place the headline inside the world of the app rather than decorate it. */
.trace {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.page { position: relative; z-index: 1; width: 100%; max-width: var(--measure); }

h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.1rem, 8vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.deck {
  margin: 0 auto 2.4rem;
  max-width: 26rem;
  color: var(--muted);
  font-size: clamp(1rem, 3.6vw, 1.1rem);
  text-wrap: balance;
}

.screen {
  display: block;
  width: min(15rem, 62vw);
  margin: 0 auto 2.4rem;
  aspect-ratio: 540 / 1170;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  object-fit: cover;
}

.get {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 2rem;
  border-radius: 999px;
  background: var(--gaze);
  color: #04121a;
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s ease;
}

.get:hover { background: #6fe4f2; }

.get:focus-visible {
  outline: 2px solid var(--target);
  outline-offset: 4px;
}

.fine {
  margin: 1.6rem auto 0;
  max-width: 24rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

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

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