:root {
  --bg: #fff5f2;
  --surface: #fffaf8;
  --surface-strong: #ffffff;
  --ink: #241116;
  --muted: #7b5862;
  --line: #edd2d9;
  --primary: #d8245f;
  --primary-dark: #ad1749;
  --primary-soft: #ffe0e8;
  --gold: #f6b94f;
  --shadow: 0 24px 80px rgba(92, 28, 48, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(216, 36, 95, 0.16), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(246, 185, 79, 0.18), transparent 28rem),
    var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  box-shadow: 0 12px 30px rgba(216, 36, 95, 0.12);
}

.logo-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.nav-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  padding: 11px 16px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 40px;
  align-items: center;
  padding: 48px 0 64px;
}

.hero-copy {
  border: 1px solid var(--line);
  border-radius: 42px;
  background: rgba(255, 250, 248, 0.82);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 56px);
}

.eyebrow,
.mini-eyebrow {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(46px, 7.5vw, 88px);
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 950;
  padding: 0 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 16px 34px rgba(216, 36, 95, 0.32);
}

.primary:hover {
  background: var(--primary-dark);
}

.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.helper {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.privacy-note {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  padding: 14px 16px;
}

.privacy-note strong {
  color: var(--ink);
}

.phone-card {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 360px);
  border: 10px solid #241116;
  border-radius: 44px;
  background: #fff8f6;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-top {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 15px 0 8px;
}

.phone-top span:first-child {
  width: 58px;
  height: 7px;
  border-radius: 999px;
  background: #3b2027;
}

.phone-top span:last-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b2027;
}

.app-preview {
  padding: 24px 18px 26px;
}

.room-code {
  margin-bottom: 16px;
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 10px 22px rgba(92, 28, 48, 0.08);
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 0.18em;
  padding: 18px;
}

.score-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.score-row div,
.question-card,
.bet-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  padding: 15px;
}

.score-row strong,
.score-row span,
.bet-card small,
.bet-card strong {
  display: block;
}

.score-row span {
  margin-top: 6px;
  color: var(--primary);
  font-size: 28px;
  font-weight: 950;
}

.question-card p {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.question-card button {
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  cursor: pointer;
  font-size: 15px;
  font-weight: 950;
  margin-top: 8px;
  padding: 14px;
}

.bet-card {
  margin-top: 12px;
  background: linear-gradient(135deg, #fff, #ffe9ef);
}

.bet-card small {
  color: var(--primary);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bet-card strong {
  margin-top: 8px;
  line-height: 1.25;
}

.steps {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
  align-items: start;
  padding: 22px 0 70px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.step-grid article {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  padding: 22px;
}

.step-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-weight: 950;
}

h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.step-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 16px;
  text-align: center;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

footer strong {
  color: var(--primary);
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
  }

  .nav-link {
    display: none;
  }

  .hero,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 26px;
    padding-top: 20px;
  }

  .hero-copy {
    border-radius: 32px;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }
}
