:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #1f1f2e;
  --muted: #5c5a66;
  --line: rgba(31, 31, 46, 0.08);
  --pink: #e91e8c;
  --purple: #7b4397;
  --blue: #163b68;
  --accent: linear-gradient(135deg, #e91e8c 0%, #7b4397 55%, #163b68 100%);
  --shadow: 0 18px 48px rgba(31, 31, 46, 0.08);
  --radius: 20px;
  --max: 1120px;
  --legal-max: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(165deg, #fff8f0 0%, var(--bg) 42%, #e8f4ff 100%);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--purple);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.container--legal {
  width: min(100% - 32px, var(--legal-max));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand__logo:not(.brand__logo--header) {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.brand__logo--header {
  display: block;
  width: auto;
  height: 56px;
  max-width: min(240px, 72vw);
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: rgba(22, 59, 104, 0.06);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 2px;
}

.hero {
  padding: 56px 0 40px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero .headline-accent {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .subheadline {
  margin: 0 0 24px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 38rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-card img {
  width: min(220px, 70%);
  margin: 0 auto 16px;
  display: block;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  flex: 1 1 180px;
}

.store-btn--play {
  background: #0f9d58;
}

.store-btn small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.85;
}

.section {
  padding: 28px 0 48px;
}

.section__title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 42rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(31, 31, 46, 0.04);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pink);
  font-weight: 900;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.price-card--featured {
  border-color: rgba(233, 30, 140, 0.25);
  box-shadow: 0 16px 40px rgba(233, 30, 140, 0.12);
}

.price-card h3 {
  margin: 0 0 6px;
}

.price-card ul {
  margin: 14px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(22, 59, 104, 0.06);
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  padding: 40px 0 24px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.content-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.content-panel h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.content-panel h3 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
}

.content-panel p,
.content-panel li {
  color: var(--text);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 16px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.faq p {
  margin: 0 0 16px;
  color: var(--muted);
}

.email-link {
  font-weight: 800;
  word-break: break-all;
}

.notice {
  border-left: 4px solid var(--pink);
  padding: 12px 14px;
  background: rgba(233, 30, 140, 0.06);
  border-radius: 0 12px 12px 0;
  margin: 16px 0;
}

.legal-doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 36px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.legal-doc__title {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 900;
}

.legal-doc__meta {
  margin: 0 0 24px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.legal-doc__section {
  margin: 24px 0 0;
  font-size: 1.05rem;
  font-weight: 900;
}

.legal-doc__subsection {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.legal-doc p {
  margin: 0 0 12px;
}

.legal-doc ul {
  margin: 0 0 14px;
  padding-left: 1.2rem;
}

.legal-doc li {
  margin-bottom: 6px;
}

.site-footer {
  margin-top: 48px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.site-footer h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.site-footer p,
.site-footer li {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  text-decoration: none;
  font-weight: 700;
}

.footer-copy {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header__inner {
    position: relative;
  }
}

@media (max-width: 520px) {
  .brand__logo--header {
    height: 48px;
    max-width: min(200px, 68vw);
  }

  .hero {
    padding-top: 36px;
  }

  .content-panel,
  .legal-doc {
    padding: 20px 16px;
  }
}
