:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --secondary: #545454;
  --line: #e8e8e8;
  --ice-blue: #007c9e;
}

* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--secondary); }
button { font: inherit; }
:focus-visible { outline: 2px solid #111; outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, p, figure { margin: 0; }
.site-header { padding-inline: 24px; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; width: min(100%, 68rem); min-height: 72px; margin-inline: auto; }
.site-header nav { display: flex; gap: 24px; }
.site-header a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; color: var(--secondary); text-decoration: none; border-bottom: 2px solid transparent; }
.site-header .brand { color: var(--ice-blue); font-size: 1.125rem; font-weight: 750; letter-spacing: -.035em; white-space: nowrap; }
.site-header a[aria-current="page"] { color: var(--ice-blue); border-color: var(--ice-blue); }
.site-header a:hover { color: var(--ice-blue); }
.accent { color: var(--ice-blue); }

.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 7vw, 96px); width: min(100% - 48px, 68rem); min-height: calc(100svh - 73px); margin-inline: auto; padding-block: 32px; }
h1 { font-size: clamp(3.5rem, 9vw, 7rem); line-height: .98; font-weight: 700; letter-spacing: -.045em; }
.hero h1 { font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 650; line-height: 1.08; }
.game-story { margin-top: 28px; max-width: 29rem; color: var(--secondary); font-size: 1.125rem; line-height: 1.6; }
.family-badge { display: flex; align-items: center; gap: 16px; width: fit-content; max-width: 100%; margin-top: 26px; padding: 14px 20px 14px 12px; border: 1px solid #c6e8ef; border-radius: 22px; background: linear-gradient(115deg, #eafaff, #f4fcff 65%, #fff); box-shadow: 0 4px 18px #007c9e08; }
.family-badge-icon { display: block; flex: none; width: 76px; height: auto; }
.family-badge-copy { min-width: 0; }
.family-badge-title { color: #074c61; font-size: 1rem; font-weight: 650; line-height: 1.35; letter-spacing: -.02em; }
.family-badge-details { margin-top: 7px; color: #3a6470; font-size: .875rem; line-height: 1.5; }
.family-badge-details span { margin-inline: 4px; }
.hero-download { margin-top: 24px; }
.app-store-badge { display: inline-block; padding: 12px; margin-left: -12px; }
.app-store-badge img { display: block; width: auto; height: 48px; }
.hero-download p { margin-top: 2px; color: var(--secondary); font-size: .9375rem; line-height: 1.5; }
.gameplay { position: relative; width: min(100%, clamp(9rem, calc((100svh - 200px) * 1080 / 2348), 22rem)); margin-inline: auto; }
video { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 2348; border-radius: 6px; background: #f5f5f5; }
.video-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; }
.video-actions button { min-height: 44px; padding: 12px 8px; border: 0; background: transparent; color: var(--secondary); font-size: .875rem; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; }
.video-actions button:hover { color: #111; }
.video-error { font-size: .875rem; color: var(--secondary); line-height: 1.5; }
.text-section { padding-inline: 24px; text-align: center; }
.text-section h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; font-weight: 650; letter-spacing: -.045em; }
.text-section > p { margin: 18px auto 0; max-width: 32rem; font-size: 1.1875rem; line-height: 1.5; letter-spacing: -.02em; color: var(--secondary); }
strong { font-weight: 600; color: #111; }
.release { border-top: 1px solid var(--line); padding-top: 64px; margin-inline: auto; width: min(100% - 48px, 64rem); }
.release h2 { color: var(--ice-blue); font-size: clamp(2rem, 4vw, 3rem); }
.release-links { min-height: 44px; margin-top: 22px; color: var(--secondary); font-size: .9375rem; line-height: 1.6; }
.release-links a { display: inline-block; padding-block: 10px; }
.release-links .app-store-qr { padding: 0; margin-bottom: 12px; }
.app-store-qr img { display: block; background: #fff; }
.acquisition-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; min-height: 52px; padding: 12px 20px; background: #063d50; color: #fff; font-size: .9375rem; text-decoration: none; text-align: center; }
.acquisition-banner strong, .acquisition-banner:hover { color: #fff; }
.acquisition-banner:hover { background: #07516a; }
.acquisition { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; width: min(100% - 48px, 64rem); margin: 24px auto 48px; padding: 24px; border: 1px solid #315661; border-radius: 18px; background: #123b4a; color: #fff; scroll-margin-top: 24px; }
.acquisition-avatar { flex: none; border-radius: 50%; width: 72px; height: 72px; }
.acquisition h2 { flex: 1 1 12rem; font-size: clamp(1.125rem, 2.5vw, 1.5rem); line-height: 1.2; letter-spacing: -.025em; }
.acquisition a, .acquisition-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid #ffffff50; border-radius: 10px; font-size: .9375rem; text-decoration: none; }
.acquisition a { background: #fff; color: #123b4a; }
.acquisition a:hover { background: #dcf5ff; }
.acquisition-toggle { background: transparent; color: #fff; cursor: pointer; }
.acquisition-toggle:hover { background: #ffffff12; }
.acquisition-reveal { display: grid; grid-template-rows: 0fr; opacity: 0; flex-basis: 100%; transition: grid-template-rows .32s ease, opacity .25s ease; }
.acquisition.is-open .acquisition-reveal { grid-template-rows: 1fr; opacity: 1; }
.acquisition-more { min-height: 0; overflow: hidden; }
.acquisition ul { margin: 0; padding: 16px 0 0 20px; border-top: 1px solid #ffffff30; line-height: 1.6; }
.acquisition p { margin-top: 12px; font-size: .9375rem; line-height: 1.5; }
.revenue-footnote { display: inline-block; }
.revenue-footnote button { anchor-name: --revenue-reference; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: #c4efff; cursor: pointer; }
.revenue-footnote button:focus-visible { outline-offset: -4px; }
.revenue-footnote sup { text-decoration: underline; }
.footnote-text { position: fixed; inset: 0; margin: auto; width: min(28rem, calc(100vw - 32px)); height: fit-content; max-height: calc(100svh - 32px); overflow: auto; padding: 18px; border: 1px solid #567480; border-radius: 12px; background: #082531; color: #fff; font-size: .875rem; line-height: 1.5; box-shadow: 0 8px 28px #0005; }
.footnote-text strong { color: #fff; }
@supports (position-area: top) { .footnote-text { position-anchor: --revenue-reference; inset: auto; position-area: top; position-try-fallbacks: flip-block, flip-inline; margin: 8px; } }
.acquisition :focus-visible { outline-color: #bdeaff; }
@media (max-width: 480px) { .acquisition { gap: 12px; padding: 20px; } .acquisition h2 { flex-basis: calc(100% - 84px); } }
@media (prefers-reduced-motion: reduce) { .acquisition-reveal { transition: none; } }
footer { padding: 32px 20px 28px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; color: var(--secondary); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .social-links { gap: 8px 24px; margin-top: 12px; }
.social-links a { gap: 8px; font-size: .9375rem; }
.social-links svg { flex: none; }
.document-header { width: min(100% - 48px, 44rem); margin: 40px auto 0; }
.document-header a { font-size: .9375rem; font-weight: 600; text-decoration: none; }
.document-page { width: min(100% - 48px, 36rem); min-height: 55svh; margin: 80px auto 64px; }
.document-page h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1.1; letter-spacing: -.05em; font-weight: 650; }
.document-page h2 { margin-top: 36px; font-size: 1.25rem; letter-spacing: -.025em; font-weight: 600; }
.document-page p { margin-top: 20px; font-size: 1.0625rem; line-height: 1.65; color: var(--secondary); }
.document-page .draft { margin-top: 16px; font-size: .9375rem; }
#contact { scroll-margin-top: 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

@media (max-width: 760px) {
  .site-header { padding-inline: 20px; }
  .header-inner { min-height: 64px; }
  .site-header nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; gap: 24px; min-height: auto; width: calc(100% - 40px); padding-block: 28px 40px; }
  .hero-copy { width: min(100%, 29rem); margin-inline: auto; }
  .hero h1 { font-size: 2rem; }
  .game-story { margin-top: 18px; font-size: 1rem; line-height: 1.5; }
  .family-badge { gap: 12px; margin-top: 22px; padding: 12px; }
  .family-badge-icon { width: 64px; }
  .gameplay { width: min(100%, clamp(12rem, calc((100svh - 420px) * 1080 / 2348), 18rem)); }
}

@media (max-width: 600px) {
  h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .text-section > p { font-size: 1.0625rem; max-width: 20rem; }
  .release { padding-top: 48px; }
  .document-page { margin-top: 56px; }
}

@media (prefers-reduced-motion: no-preference) {
  a, button { transition: color .15s ease; }
}
