:root {
  --ink: #101b20;
  --panel: #1b2a30;
  --edge: #2a3c43;
  --cream: #f2efe4;
  --muted: #9fb0b3;
  --mint: #b8eacf;
  --gold: #ffd98e;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: radial-gradient(1200px 700px at 50% -10%, #1a2a30 0%, var(--ink) 60%) fixed, var(--ink);
  color: var(--cream);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-feature-settings: "tnum" 1;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 0;
}
header.top img { width: 36px; height: 36px; border-radius: 9px; }
header.top span { font-weight: 800; letter-spacing: 0.18em; font-size: 15px; }

.eyebrow {
  color: var(--muted); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}

h1 {
  font-size: clamp(40px, 7vw, 68px); line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 800; margin: 12px 0 18px;
}
h1 em { font-style: normal; color: var(--gold); }

.lede { color: var(--muted); font-size: 19px; max-width: 34ch; margin: 0 0 28px; }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 17px;
  padding: 16px 26px; border-radius: 999px;
  transition: transform 0.15s ease;
}
.cta:hover { transform: translateY(-1px); }
.cta svg { width: 20px; height: 20px; }
.cta.secondary { background: transparent; color: var(--cream); border: 1px solid var(--edge); }
.fine { color: var(--muted); font-size: 13px; margin-top: 12px; }

.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding: 36px 0 72px;
}
.phone {
  justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 16;
  border-radius: 34px; overflow: hidden; background: #0b1316;
  border: 1px solid var(--edge); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding-bottom: 72px;
}
.feature {
  background: var(--panel); border: 1px solid var(--edge); border-radius: 24px;
  padding: 24px;
}
.feature h2 { font-size: 18px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature .mark { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: 0.18em; }

footer {
  border-top: 1px solid var(--edge); padding: 26px 0 40px;
  color: var(--muted); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
}
footer a { text-decoration: none; }
footer a:hover { color: var(--cream); }

/* Challenge page */
.board {
  max-width: 460px; margin: 20px auto 0; text-align: center; padding-bottom: 56px;
}
.target {
  font-size: clamp(88px, 26vw, 132px); font-weight: 800; letter-spacing: -0.04em;
  line-height: 1; margin: 10px 0 26px;
}
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.tile {
  background: var(--cream); color: var(--ink); border-radius: 18px;
  font-size: 32px; font-weight: 800; padding: 18px 0;
}
.board .lede { margin: 0 auto 26px; }
.board .actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.missing { color: var(--muted); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 12px; text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .features { grid-template-columns: 1fr; }
}
