:root {
  color-scheme: light;
  font-family: Inter, ui-rounded, "Segoe UI", Arial, sans-serif;
  color: #17223b;
  background: #f8fbff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f8fbff; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #ef476f; outline-offset: 4px; }
.site-header {
  min-height: 124px;
  padding: 6px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #17223b;
  border-bottom: 4px solid #ffd643;
}
.brand { width: 168px; height: 112px; display: grid; place-items: center; }
.brand img { display: block; width: 145px; height: 145px; object-fit: contain; transform: translateY(-6px); }
.contact-link { font-weight: 700; text-decoration: none; color: #fff; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #708099; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; font-size: 28px; line-height: 1; }
.theme-toggle:hover { background: #29364d; border-color: #fff; }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-moon { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; }
:root[data-theme="dark"] { color-scheme: dark; color: #f2f3f5; background: #101113; }
:root[data-theme="dark"] body { background: #101113; }
:root[data-theme="dark"] .site-header, :root[data-theme="dark"] footer { background: #101113; }
:root[data-theme="dark"] .hero { background: #181a1d; }
:root[data-theme="dark"] h1 { color: #f2f3f5; }
:root[data-theme="dark"] .intro, :root[data-theme="dark"] .feature-list p, :root[data-theme="dark"] .about > p { color: #c2c6ce; }
:root[data-theme="dark"] .eyebrow { color: #94caff; }
:root[data-theme="dark"] .features { background: #101113; }
:root[data-theme="dark"] .feature-list article { background: #202226; border-left-color: #3c4048; border-right-color: #3c4048; border-bottom-color: #3c4048; }
:root[data-theme="dark"] .feature-number { color: #b2bdd0; }
:root[data-theme="dark"] .about { background: #252321; }
.contact-link:hover, .contact-link:focus-visible, footer a:hover, footer a:focus-visible { text-decoration: underline; }
.hero {
  min-height: min(720px, calc(100vh - 124px));
  padding: clamp(40px, 7vw, 100px) clamp(20px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
  overflow: hidden;
  background: #dff6ff;
  border-bottom: 8px solid #ffd643;
}
.hero-copy { max-width: 680px; }
.eyebrow { margin: 0 0 14px; color: #155a9d; font-size: 0.86rem; font-weight: 800; text-transform: uppercase; }
.game-logo { display: block; width: min(340px, 78%); max-height: 200px; object-fit: contain; object-position: left center; margin: 0 0 18px; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; font-size: 5.5rem; line-height: 0.98; color: #17223b; }
.intro { max-width: 620px; margin: 24px 0; font-size: 1.35rem; line-height: 1.6; color: #3a4964; }
.platform { display: inline-block; padding: 11px 16px; color: #fff; background: #155a9d; border-radius: 6px; font-weight: 800; text-decoration: none; }
.platform:hover { background: #104779; }
.app-art { width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.app-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 28px 34px rgba(15, 64, 112, 0.22)); }
.features { padding: clamp(64px, 9vw, 120px) clamp(20px, 7vw, 110px); background: #eef8f2; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
h2 { margin: 0; font-size: 3.7rem; line-height: 1.06; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-list article { min-height: 230px; padding: 28px; border: 1px solid #dce6f2; border-top: 5px solid #ef476f; border-radius: 8px; background: #fff; }
.feature-list article:nth-child(2) { border-top-color: #118ab2; }
.feature-list article:nth-child(3) { border-top-color: #62b32e; }
.feature-number { color: #72809b; font-size: 0.82rem; font-weight: 800; }
h3 { margin: 42px 0 12px; font-size: 1.35rem; }
.feature-list p, .about > p { margin: 0; color: #536078; line-height: 1.65; }
.about {
  padding: clamp(58px, 8vw, 100px) clamp(20px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(280px, 1.2fr);
  gap: 48px;
  align-items: start;
  background: #fff2b7;
}
.about > p { max-width: 720px; font-size: 1.16rem; }
footer { padding: 24px clamp(20px, 7vw, 110px); display: flex; justify-content: space-between; gap: 20px; color: #fff; background: #17223b; }
footer p { margin: 0; }
footer a { color: #fff; text-decoration: none; }
.contact-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.email-copy-wrap { position: relative; display: inline-flex; justify-content: center; max-width: 100%; }
.email-copy-link { padding: 0; border: 0; color: #fff; background: transparent; font: inherit; cursor: pointer; overflow-wrap: anywhere; }
.email-copy-link:hover, .email-copy-link:focus-visible { text-decoration: underline; }
.copy-status { position: absolute; left: 50%; bottom: calc(100% + 8px); pointer-events: none; color: #bff2cf; font-size: 0.9rem; font-weight: 700; opacity: 0; transform: translate(-50%, 4px); white-space: nowrap; }
.copy-status.is-visible { animation: copy-rise 1.5s ease-out both; }
@keyframes copy-rise {
  0% { opacity: 0; transform: translate(-50%, 4px); }
  18%, 72% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -10px); }
}
@media (max-width: 1200px) {
  h1 { font-size: 4rem; }
  h2 { font-size: 3rem; }
  .intro { font-size: 1.2rem; }
}
@media (max-width: 820px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 54px; }
  .app-art { width: min(100%, 430px); margin: 0 auto; }
  .feature-list, .about { grid-template-columns: 1fr; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
}
@media (max-width: 540px) {
  .site-header { min-height: 98px; }
  .brand { width: 136px; height: 86px; }
  .brand img { width: 112px; height: 112px; transform: translateY(-4px); }
  .hero { padding-top: 40px; }
  .game-logo { width: min(280px, 82%); }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  .intro { font-size: 1.08rem; }
  .feature-list article { min-height: 200px; }
  footer { flex-direction: column; }
  .contact-actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .copy-status.is-visible { animation: none; opacity: 1; }
}
