/* mak4la.net, the game's home page. Fonts and colours: brand.css. */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); font-size: 1.15rem; line-height: 1.6; color: var(--brown); background: var(--cream); }
a:focus-visible { outline: 3px solid var(--sunflower); outline-offset: 4px; border-radius: 8px; }

/* Hero: the splash screen. */
.hero { text-align: center; padding: 56px 24px 64px; color: #fff;
        background: var(--purple) radial-gradient(ellipse at 50% 30%, var(--purple-light) 0%, var(--purple) 65%); }
.hero h1 { line-height: 0; margin-bottom: 20px; }
.hero h1 img { width: 82%; max-width: 440px; height: auto; }
.hero .tagline { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; margin-bottom: 20px;
                 color: var(--sunflower); text-shadow: 0 3px 0 rgba(0, 0, 0, .35); text-wrap: balance; }
.hero .description { max-width: 560px; margin: 0 auto; }

/* Store badges: official artwork, unmodified, equal height. */
.stores { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.stores a { display: block; line-height: 0; }
.stores img { display: block; height: 56px; width: auto; }

/* Features: the game's popup panels on cream. */
.features { max-width: 960px; margin: 0 auto; padding: 56px 24px; }
.features h2, .download h2 { font-family: var(--font-display); font-weight: 400; text-align: center; font-size: 1.7rem;
                             line-height: 1.2; text-wrap: balance; }
.features h2 { margin-bottom: 36px; color: var(--purple); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.feature { background: #FFF8EC; border: 4px solid var(--tan); border-radius: 18px; padding: 24px 22px;
           box-shadow: 0 5px 0 rgba(61, 46, 31, .15); }
.feature h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; line-height: 1.25; margin-bottom: 10px; color: var(--orange); }
.feature p { font-size: 1.05rem; line-height: 1.5; }

/* Download band. */
.download { text-align: center; padding: 56px 24px; color: #fff; background: var(--purple); }
.download h2 { margin-bottom: 12px; text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }

footer { text-align: center; padding: 36px 24px; background: var(--purple-dark); color: rgba(255, 255, 255, .75); font-size: 1rem; }
footer a { color: #fff; }
.footer-links { margin-bottom: 14px; }
.footer-links a { margin: 0 12px; }
footer p { margin-top: 10px; }
.trademarks { max-width: 620px; margin: 18px auto 0; font-size: .85rem; line-height: 1.4; opacity: .7; }

@media (max-width: 600px) {
  .hero { padding: 40px 20px 48px; }
  .hero .tagline { font-size: 1.4rem; }
  .features, .download { padding: 40px 20px; }
}
