:root {
  --paper: #f2f7fc;
  --ink: #1a2f4a;
  --muted: #5a6c82;
  --accent: #e53935;
  --green: #4caf50;
  --yellow: #f5b82a;
  --sky: #3d8fd9;
  --red: var(--accent);
  --line: #d0dde9;
  --soft: #e5eff9;
  --shadow-tint: #c5d4e4;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--red);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  max-width: 1440px;
  min-height: 102px;
  margin: auto;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -1px;
  text-decoration: none;
  flex-shrink: 0;
  min-height: 44px;
}

.brand-icon {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 2px 10px rgb(26 47 74 / 14%);
}

.brand-icon img,
.brand-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

nav > a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: auto;
  min-height: min(72svh, 720px);
  padding: 72px 6% 56px;
}

.content-section {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 6% 64px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.content-section h2 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -1px;
  margin: 8px 0 12px;
}

.content-section .section-lead {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  text-align: left;
}

.steps li {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 22px 24px;
  box-shadow: 4px 4px 0 var(--shadow-tint);
}

.steps strong {
  display: block;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  text-align: left;
}

.feature-card {
  border: 1px solid var(--line);
  padding: 20px 22px;
  background: var(--paper);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -0.3px;
}

.feature-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.scene-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scene-tags li {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--soft);
}

.store-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.store-badge:hover {
  background: var(--soft);
}

.coming-soon {
  margin: 28px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 12px 20px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  display: inline-block;
  max-width: 360px;
}

.release-note {
  font-size: 12px;
  color: var(--muted);
  max-width: 520px;
  margin: 20px auto 0;
  line-height: 1.7;
}

code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.hero-copy {
  width: 100%;
  max-width: 950px;
}

.eyebrow,
.section-kicker,
.platform {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
}

.signal {
  width: 7px;
  height: 7px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgb(229 57 53 / 12%);
  flex-shrink: 0;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -1.2px;
}

.hero h1 {
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 1.04;
  letter-spacing: -5px;
  position: relative;
  isolation: isolate;
  margin: 36px 0 42px;
}

.hero h1 span {
  color: var(--sky);
}

.hero h1 svg {
  display: block;
  position: absolute;
  width: 78%;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  z-index: -1;
  overflow: visible;
}

.hero-tagline {
  font-size: 21px;
  letter-spacing: -0.4px;
  font-weight: 650;
  margin: 0;
}

.intro {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 560px;
  margin: 24px auto 0;
}

.platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
  margin: 32px 0 0;
}

.game-facts {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}

.game-facts li::before {
  content: "✓";
  color: var(--green);
  margin-right: 6px;
}

.audience {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  font-size: 13px;
  margin-top: 16px;
}

.site-footer {
  max-width: 1440px;
  min-height: 142px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 28px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer .brand {
  font-size: 17px;
  min-height: 34px;
}

.site-footer .brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.6;
}

.footer-meta {
  text-align: right;
}

.footer-meta nav {
  justify-content: flex-end;
  gap: 24px;
}

.footer-meta nav a {
  min-height: 32px;
  font-size: 12px;
}

.legal,
.support-page {
  max-width: 850px;
  margin: 64px auto 80px;
  padding: 0 28px;
  line-height: 1.85;
}

.section-kicker {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  margin: 0;
}

.legal h1,
.support-page h1 {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.1;
  margin: 20px 0;
}

.legal h2 {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 12px;
  letter-spacing: -0.45px;
}

.legal h3 {
  font-size: 17px;
  line-height: 1.45;
  margin: 24px 0 10px;
  letter-spacing: -0.35px;
  color: var(--ink);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 13px;
  text-align: left;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  vertical-align: top;
  line-height: 1.55;
}

.legal-table th {
  background: var(--soft);
  color: var(--ink);
  font-weight: 600;
}

.legal-table td {
  color: var(--muted);
}

@media (max-width: 700px) {
  .legal-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.legal p,
.legal li,
.contact-list,
.support-page p,
.faq {
  font-size: 15px;
  color: var(--muted);
}

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

.legal .updated {
  font-size: 13px;
  margin: 0 0 24px;
}

.legal .doc-link {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
}

.policy-summary {
  border-left: 4px solid var(--yellow);
  background: var(--soft);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.policy-summary p {
  margin: 0;
}

.contents {
  display: block;
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.contents h2 {
  font-size: 17px;
  margin: 0 0 12px;
}

.contents ol {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 28px;
}

.contents li {
  font-size: 13px;
  break-inside: avoid;
  margin-bottom: 5px;
  line-height: 1.7;
}

.contents a {
  display: inline-block;
  min-height: 30px;
}

.legal section + section {
  margin-top: 36px;
}

.legal section > p {
  margin: 0 0 14px;
}

.contact-list {
  margin: 18px 0 0;
}

.contact-list > div {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.contact-list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.back-link {
  margin: 36px 0 0;
}

.page-intro {
  max-width: 520px;
  margin: 0 0 32px;
}

.support-card {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 32px;
  margin: 34px 0 48px;
  box-shadow: 5px 5px 0 var(--shadow-tint);
}

.support-card h2,
.support-section h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 12px 0 18px;
  letter-spacing: -0.7px;
}

.support-card p {
  margin: 12px 0;
}

.support-card .contact-email {
  font-size: clamp(15px, 2.8vw, 23px);
  font-weight: 650;
  line-height: 1.6;
  color: var(--sky);
  overflow-wrap: anywhere;
}

.support-card .support-note,
.support-note {
  font-size: 13px;
  line-height: 1.8;
}

.support-section + .support-section {
  margin-top: 48px;
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding-right: 8px;
}

.faq p {
  font-size: 14px;
  margin: 14px 0 0;
}

.support-page .doc-link {
  margin: -12px 0 32px;
  font-size: 14px;
  color: var(--muted);
}

.support-steps {
  margin: 14px 0 0;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  text-align: left;
}

.support-steps li {
  margin-bottom: 6px;
}

@media (max-width: 700px) {
  .site-header {
    min-height: 80px;
    padding: 14px 6%;
    gap: 14px;
  }

  .site-header .brand {
    font-size: 17px;
    gap: 8px;
  }

  .site-header .brand-icon {
    width: 34px;
    height: 34px;
  }

  .site-header nav {
    gap: 18px;
  }

  .site-header nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 0;
    padding: 70px 7% 48px;
  }

  .content-section {
    padding: 44px 7% 52px;
  }

  .steps li {
    padding: 18px 20px;
  }

  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.6px;
    line-height: 1.8;
  }

  .hero h1 {
    font-size: clamp(36px, 9.2vw, 60px);
    letter-spacing: -2px;
    margin: 28px 0 38px;
  }

  .hero h1 svg {
    width: 94%;
    bottom: -12px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .intro {
    font-size: 13px;
    max-width: 360px;
  }

  .intro br {
    display: none;
  }

  .platform {
    font-size: 8px;
    gap: 10px;
    margin-top: 28px;
  }

  .game-facts {
    gap: 9px 16px;
    font-size: 12px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 7%;
    gap: 18px;
  }

  .footer-meta {
    text-align: left;
    width: 100%;
  }

  .footer-meta nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 24px;
  }

  .legal,
  .support-page {
    margin: 42px auto 54px;
    padding: 0 7%;
  }

  .legal h1,
  .support-page h1 {
    font-size: 38px;
    letter-spacing: -1.3px;
  }

  .legal h2 {
    font-size: 20px;
  }

  .contents ol {
    columns: 1;
  }

  .policy-summary {
    padding: 18px;
  }

  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 14px 0;
  }

  .support-card {
    padding: 24px 20px;
    margin: 28px 0 40px;
  }

  .support-card h2,
  .support-section h2 {
    font-size: 24px;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-inline: 5%;
    gap: 8px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header .brand {
    font-size: 15px;
  }

  .hero .eyebrow {
    font-size: 7px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 35px;
    letter-spacing: -1.8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}