:root {
  --bg: #fff8ed;
  --surface: #ffffff;
  --ink: #1c2430;
  --muted: #667080;
  --line: #e8dcc8;
  --primary: #ff4f6d;
  --primary-dark: #dd284a;
  --secondary: #2563eb;
  --lime: #b7f34b;
  --shadow: 0 24px 70px rgba(42, 31, 16, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

a:hover {
  color: var(--primary-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 248, 237, 0.9);
  border-bottom: 1px solid rgba(232, 220, 200, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  border-radius: 8px;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(255, 79, 109, 0.32);
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(42px, 8vw, 96px);
  align-items: center;
  min-height: calc(100vh - 71px);
  padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 76px);
  background:
    radial-gradient(circle at 80% 10%, rgba(183, 243, 75, 0.45), transparent 28%),
    linear-gradient(135deg, #fff8ed 0%, #fff1d6 44%, #e9f7ff 100%);
}

.app-hero--home {
  grid-template-columns: 1fr;
  min-height: 72vh;
}

.app-hero__copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.app-hero h1,
.section-title h2,
.legal-document h1 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.app-hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
}

.app-hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
}

.button--primary {
  color: white;
  background: var(--primary);
}

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

.button--secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.phone-preview {
  width: min(100%, 380px);
  justify-self: center;
  padding: 14px;
  border-radius: 34px;
  background: #19202d;
  box-shadow: var(--shadow);
}

.phone-preview__screen {
  min-height: 620px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fdf7eb 0%, #ffffff 100%);
}

.preview-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.game-card {
  margin-top: 42px;
  padding: 22px;
  color: white;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.game-card span,
.game-card strong {
  display: block;
}

.game-card span {
  opacity: 0.82;
  font-size: 0.9rem;
  font-weight: 800;
}

.game-card strong {
  margin-top: 8px;
  font-size: 1.7rem;
  line-height: 1.08;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.player-grid span {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-weight: 850;
}

.preview-button {
  width: 100%;
  min-height: 50px;
  margin-top: 28px;
  color: #19202d;
  border: 0;
  border-radius: 8px;
  background: var(--lime);
  font: inherit;
  font-weight: 900;
}

.content-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) clamp(18px, 4vw, 32px);
}

.section-title {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid--single {
  grid-template-columns: minmax(0, 420px);
}

.feature-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--secondary);
  font-weight: 850;
}

.legal-page {
  padding: clamp(42px, 6vw, 76px) clamp(18px, 4vw, 32px);
}

.legal-document {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 52px rgba(42, 31, 16, 0.08);
}

.legal-document h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.legal-document h2 {
  margin: 38px 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
}

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

.legal-document a {
  color: var(--secondary);
  font-weight: 750;
}

.updated {
  margin-top: 12px;
  font-weight: 800;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

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

  .phone-preview {
    justify-self: start;
  }

  .phone-preview__screen {
    min-height: 520px;
  }
}
