/* Lock In marketing site. The palette is the app's own (LockIn/ArcadeTheme.swift)
   and the layout language is the Quizcade design canvas: neon signage on
   near-black violet, Press Start 2P for anything that would be lit, Chakra
   Petch for anything that has to be read. */

@font-face {
  font-family: "Press Start 2P";
  src: url("fonts/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: "Chakra Petch"; src: url("fonts/ChakraPetch-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("fonts/ChakraPetch-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("fonts/ChakraPetch-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("fonts/ChakraPetch-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0D0221;
  --ink-glow: #16043A;
  --panel: #1A0B3D;
  --pit: #050014;
  --pink: #FF2E88;
  --cyan: #00E5FF;
  --gold: #FFD60A;
  --gold-rim: #B8860B;
  --green: #39FF14;
  --red: #FF2E2E;
  --violet: #7C3AED;
  --orange: #FF7A1A;
  --lime: #C6FF3D;
  --aqua: #2AF5C0;
  --sky: #4DA3FF;
  --lavender: #B388FF;
  --magenta: #E040FB;
  --peach: #FFB07C;
  --jade: #00C97A;
  --salmon: #FF8C69;
  --text: #F1ECFF;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.42);
  --rule: rgba(255, 255, 255, 0.14);
  --pixel: "Press Start 2P", "Courier New", monospace;
  --body: "Chakra Petch", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --silver: #C0C0C0;
  --grad: linear-gradient(90deg, var(--pink), var(--violet));
  --grad-warm: linear-gradient(90deg, var(--pink), var(--gold));
  color-scheme: dark;
}

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

body {
  margin: 0;
  background: var(--ink);
  background-image: radial-gradient(ellipse 90% 40% at 50% 0%, var(--ink-glow) 0%, var(--ink) 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--pink); }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 10px; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; color: #fff; }
::selection { background: var(--pink); color: #fff; }

.pixel {
  font-family: var(--pixel);
  font-size: 9px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow { color: var(--cyan); }
.eyebrow.gold { color: var(--gold); }
.eyebrow.pink { color: var(--pink); }
.eyebrow.green { color: var(--green); }
.eyebrow.violet { color: #a78bfa; }
.label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 20px;
}
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 0, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  gap: 22px;
}
.nav ul a {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav ul a:hover { color: var(--cyan); }
@media (min-width: 900px) { .nav ul { display: flex; } }

/* Buttons: the app's pill, pink to gold for the main action, quiet outline
   for the rest. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); }
/* Apple's badge, as supplied: never redrawn, only sized to the buttons. */
.store-badge { display: inline-flex; align-items: center; transition: transform 0.12s ease; }
.store-badge img { display: block; height: 52px; width: auto; }
.store-badge:hover { transform: translateY(-1px); }
.hero .actions, .closing .actions { align-items: center; }
.btn:active { transform: scale(0.97); }
.btn.primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 46, 136, 0.5);
}
.btn.primary:hover { box-shadow: 0 0 28px rgba(255, 46, 136, 0.7); }
.btn.quiet {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.btn.quiet:hover { border-color: var(--cyan); color: var(--cyan); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 8px; border-radius: 10px; }
.btn.small.quiet { font-size: 12px; }

/* The ticker, the way an idle cabinet flashes INSERT COIN. */
.ticker {
  border-top: 1px solid rgba(0, 229, 255, 0.35);
  border-bottom: 1px solid rgba(0, 229, 255, 0.35);
  padding: 10px 0;
  text-align: center;
  overflow: hidden;
}
.ticker span {
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--cyan);
  animation: blink 1.6s step-end infinite;
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.25; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 12px rgba(255, 46, 136, 0.5); } 50% { box-shadow: 0 0 26px rgba(255, 46, 136, 0.9); } }

/* Sections */
section { padding-block: 72px; }
@media (min-width: 720px) { section { padding-block: 104px; } }
section + section { border-top: 1px solid var(--rule); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 8px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 {
  font-family: var(--pixel);
  font-size: clamp(15px, 2.4vw, 22px);
  line-height: 1.65;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h3 {
  font-family: var(--pixel);
  font-size: 10px;
  line-height: 1.7;
  text-transform: uppercase;
  color: #fff;
}
.lead {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 14px;
  max-width: 60ch;
}

/* Hero */
.hero { padding-block: 64px 72px; border-top: 0; }
@media (min-width: 720px) { .hero { padding-block: 96px 112px; } }
.hero .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
}
/* The logo, Igor waving over the letters, from the app's launch screen.
   Too detailed for the nav and footer, which go without. */
.logo-igor { display: block; width: 100%; height: auto; }
.hero .logo-igor { max-width: clamp(234px, 34vw, 360px); }
.hero h1 {
  margin-top: 20px;
  font-family: var(--body);
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #fff;
}
.hero .lead { margin-top: 18px; }
.hero .actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero .facts {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.hero .facts li {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}
.hero .facts b { color: var(--gold); font-weight: 700; }
.hero-art {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* The phone: an iPhone frame around a real capture of the app, taken on
   the simulator. The captures carry their own status bar and island. */
.phone {
  width: 300px;
  max-width: 100%;
  aspect-ratio: 300 / 620;
  border-radius: 44px;
  background: var(--pit);
  border: 6px solid #241245;
  outline: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(124, 58, 237, 0.18);
  overflow: hidden;
  position: relative;
  flex: none;
}
.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  border-radius: 14px;
  background: #000;
  z-index: 2;
}
.phone.photo { aspect-ratio: 1206 / 2622; border-color: #1c0f38; }
.phone.photo::before { display: none; }
.phone.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art .phone { width: 320px; }

/* Card grids */
.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid.two, .grid.four { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.card p { color: rgba(255, 255, 255, 0.7); font-size: 15px; line-height: 1.5; }
.card .n {
  font-family: var(--pixel);
  font-size: 16px;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.55);
}
.card.lit { border: 2px solid var(--c, var(--cyan)); padding: 0; overflow: hidden; gap: 0; }
/* Each cabinet card leads with its home tile's screen, cropped from the app. */
.card.lit .glass { display: block; width: 100%; height: auto; background: var(--pit); }
.card.lit .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.card.lit h3 { color: #fff; }
.card .meta { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }

/* The loop, four steps and a return. */
.loop-return {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  text-align: center;
  color: var(--faint);
}
.loop-return .pixel { font-size: 8px; }

/* Igor's screen, as the design notes drew it. */
.igor {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) { .igor { grid-template-columns: 1fr 1fr; gap: 56px; } }
.crt {
  background: var(--pit);
  border: 3px solid var(--panel);
  outline: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 0 40px rgba(255, 214, 10, 0.12), inset 0 0 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}
.crt::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px);
}
.crt .who { color: var(--gold); font-size: 9px; }
.crt .who-row { display: flex; align-items: center; gap: 14px; }
.crt .who-row img { width: 72px; height: 72px; flex: none; }
.crt blockquote {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  padding-left: 14px;
  border-left: 2px solid rgba(255, 214, 10, 0.5);
}
.crt .blink { color: var(--pink); font-size: 8px; animation: blink 1.2s step-end infinite; }

/* Packs */
.packs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .packs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .packs { grid-template-columns: repeat(3, 1fr); } }
.packs li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(26, 11, 61, 0.7);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--c);
}
.packs .num { font-family: var(--pixel); font-size: 10px; color: var(--c); line-height: 1.6; text-shadow: 0 0 10px color-mix(in srgb, var(--c) 60%, transparent); }
.packs b { display: block; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; }
.packs small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.stats li {
  flex: 1 1 140px;
  padding: 16px 14px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}
.stats .big { font-family: var(--pixel); font-size: 16px; color: var(--c, var(--gold)); line-height: 1.4; }
.stats .k { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-top: 8px; }

/* Screens row */
.screens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 20px;
}
.screens figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 0 1 232px; }
.screens .phone { width: 232px; border-width: 5px; border-radius: 36px; }
.screens figcaption { text-align: center; color: var(--muted); font-size: 14px; max-width: 232px; }
.screens figcaption b { display: block; font-family: var(--pixel); font-size: 8px; color: var(--text); margin-bottom: 6px; }

/* Founders */
.founder {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--ink-glow), var(--ink));
  border: 1.5px solid var(--c);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) 40%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pixel);
  font-size: 13px;
  color: var(--c);
  text-shadow: 0 0 10px color-mix(in srgb, var(--c) 70%, transparent);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder .role { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); margin-top: 4px; }
.founder p { margin-top: 10px; }

/* Parents list */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.5;
}
.checks li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 5px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2 8.5l3.5 3.5L14 3.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 16px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2 8.5l3.5 3.5L14 3.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 16px no-repeat, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.checks b { color: #fff; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: var(--panel);
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--pixel); font-size: 12px; color: var(--cyan); flex: none; }
.faq details[open] summary::after { content: "-"; color: var(--pink); }
.faq details p { color: rgba(255, 255, 255, 0.7); padding-bottom: 18px; font-size: 15px; }

/* Closing call */
.closing { text-align: center; }
.closing .logo-igor { max-width: clamp(180px, 27vw, 251px); margin-inline: auto; }
.closing .lead { margin-inline: auto; }
.closing .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 36px 0 48px;
  color: var(--faint);
  font-size: 14px;
}
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
footer nav a:hover { color: var(--cyan); }

/* Documents: terms, privacy, support. Body copy has to be read, so it
   stays in the rounded face, with the pixel face for headings only. */
.doc { padding-block: 56px 96px; }
.doc .wrap { max-width: 760px; }
.doc header { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.doc header .eyebrow { margin-bottom: 10px; }
.doc header .logo-igor { max-width: 180px; }
.doc header p { color: var(--muted); margin-top: 14px; }
.doc h2 { font-size: 11px; margin-top: 44px; margin-bottom: 14px; color: var(--cyan); }
.doc h3 { font-family: var(--body); font-size: 17px; font-weight: 700; text-transform: none; margin-top: 22px; margin-bottom: 8px; }
.doc p, .doc li { color: rgba(255, 255, 255, 0.8); font-size: 16px; }
.doc ul, .doc ol { margin: 10px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.doc li::marker { color: var(--faint); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 12px; }
.doc .tablewrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; }
.doc th, .doc td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--rule); vertical-align: top; color: rgba(255, 255, 255, 0.8); }
.doc thead th { border-top: 0; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, 0.04); }
.doc .note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 214, 10, 0.5);
  background: rgba(255, 214, 10, 0.08);
  color: var(--text);
}
.doc .note .pixel { color: var(--gold); font-size: 8px; margin-bottom: 6px; }
.doc address { font-style: normal; }
.doc .contact {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 640px) { .doc .contact { grid-template-columns: 1fr 1fr; } }
.doc .contact a.card { color: var(--text); gap: 6px; padding: 18px 20px; }
.doc .contact a.card:hover { border-color: var(--cyan); }
.doc .contact .card .k { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.doc .contact .card p { font-size: 14px; }
