/* The game's own look (theme G): a daytime sky, navy ink, white cards that sit on a drop shadow,
   chunky orange buttons, and the Lilita One cartoon face for anything that's a title. */
:root {
  --sky-top: #7EC8EE; --sky-bottom: #D8F1FF;
  --navy: #0E2A47; --panel: #13355A; --navy-shadow: #071628;
  --orange: #FF7A1A; --orange-light: #FF9A4D; --orange-deep: #E8640A; --orange-shadow: #A84A0A;
  --sub: #5D7FA3; --pale: #EEF4FA; --track: #DCE7F2; --star: #FFC93C; --cream: #FFF3E8;
  --card: #FFFFFF;
  --display: "Lilita One", "Arial Rounded MT Bold", "Avenir Next", system-ui, sans-serif;
  --body: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0; color: var(--navy); font-family: var(--body); font-size: 17px; line-height: 1.55;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 55%, #EAF7FF 100%) fixed var(--sky-bottom);
  padding-inline: clamp(16px, 4vw, 40px); padding-block: 0 48px;
}
a { color: var(--orange-deep); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; }
main > .policy, main > .faq, main > .lead, main > .contact, main > .summary, .policy p, .policy ul { max-width: 760px; }

/* Header: the icon and the sticker wordmark, navigation as chips. */
header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; }
header.site .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: var(--display); font-size: 24px; letter-spacing: 1px;
  text-shadow: 2px 0 var(--navy), -2px 0 var(--navy), 0 2px var(--navy), 0 -2px var(--navy), 0 4px var(--navy); }
header.site .brand img { width: 44px; height: 44px; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
header.site nav { display: flex; gap: 8px; flex-wrap: wrap; }
header.site nav a { text-decoration: none; color: #fff; font-weight: 900; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 14px; border-radius: 999px;
  background: var(--navy); border: 3px solid #fff; box-shadow: 0 4px 0 rgba(0,0,0,.3); }
header.site nav a[aria-current="page"] { background: var(--orange); }

/* Type. */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: .5px; }
h1 { font-size: clamp(46px, 9vw, 76px); }
h2 { font-size: clamp(30px, 5vw, 40px); margin-top: 48px; }
h3 { font-size: 22px; margin-top: 6px; }
p { margin: 10px 0 0; }
.sticker { color: #fff; text-shadow: 3px 0 var(--navy), -3px 0 var(--navy), 0 3px var(--navy), 0 -3px var(--navy), 2px 2px var(--navy), -2px -2px var(--navy), 2px -2px var(--navy), -2px 2px var(--navy), 0 7px var(--navy); }
.lead { font-size: 20px; color: var(--navy); font-weight: 800; }
.eyebrow { display: inline-block; align-self: flex-start; font-family: var(--display); font-size: 18px; letter-spacing: .5px; color: var(--navy);
  background: var(--orange); border: 3px solid var(--navy); border-radius: 10px; padding: 2px 12px; transform: rotate(-3deg); }

/* Hero: the pitch beside the phone. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: center; padding-block: 24px 8px; }
.hero .copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.phone { position: relative; width: 100%; max-width: 330px; justify-self: center; padding: 11px; border-radius: 54px; background: #141418;
  box-shadow: inset 0 0 0 2px #3A3A42, 0 12px 0 var(--navy-shadow), 0 28px 48px rgba(14,42,71,.35); }
.phone::before { content: ""; position: absolute; left: 50%; top: 22px; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 14px; background: #141418; z-index: 1; }
.phone img { width: 100%; height: auto; aspect-ratio: 720 / 1564; border-radius: 43px; display: block; }
@media (max-width: 760px) { .hero { grid-template-columns: minmax(0, 1fr); } .phone { max-width: 270px; border-radius: 46px; } .phone img { border-radius: 36px; } .phone::before { width: 76px; height: 22px; top: 19px; } }

/* The app icon in place of a screenshot, until the game is shown. */
.badge { justify-self: center; width: min(260px, 70vw); aspect-ratio: 1; border-radius: 22%; border: 6px solid #fff; overflow: hidden;
  box-shadow: 0 12px 0 var(--navy-shadow), 0 28px 48px rgba(14,42,71,.35); transform: rotate(-4deg); }
.badge img { width: 100%; height: 100%; display: block; }
@media (max-width: 760px) { .badge { width: min(200px, 60vw); } }

/* Buttons: orange with a darker base, pressed in on hover. */
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 22px; border-radius: 20px; text-decoration: none;
  font-family: var(--display); font-size: 20px; letter-spacing: .5px; color: #fff;
  background: linear-gradient(180deg, var(--orange-light), var(--orange) 55%, var(--orange-deep)); border: 4px solid #fff; box-shadow: 0 6px 0 var(--orange-shadow); }
.btn.quiet { background: var(--panel); box-shadow: 0 6px 0 var(--navy-shadow); }
.btn[aria-disabled="true"] { cursor: default; }
.btn svg { width: 20px; height: 20px; }
.btn small { font-family: var(--body); font-weight: 900; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; }

/* White cards on a drop shadow, as in the game. */
.card, .feature, .contact, .summary, .faq details { background: var(--card); border-radius: 24px; box-shadow: 0 8px 0 rgba(14,42,71,.22); }
.note { margin-top: 30px; color: var(--navy); font-weight: 700; max-width: 62ch; }
.note code, .contact code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; background: var(--pale); padding: 3px 9px; border-radius: 9px; user-select: all; }

/* Features: four cards, each with its screenshot. */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
@media (max-width: 760px) { .features { grid-template-columns: minmax(0, 1fr); } }
.feature { padding: 20px; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; align-items: start; min-width: 0; }
.feature img { width: 116px; height: auto; aspect-ratio: 720 / 1564; border-radius: 18px; border: 3px solid var(--navy); display: block; }
.feature .tag { display: inline-block; font-weight: 900; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--sub); }
.feature p { color: #2C4A6B; }
.feature ul { margin: 8px 0 0; padding-left: 20px; color: #2C4A6B; }
.feature li { margin-top: 4px; }
.feature li b { color: var(--navy); }

/* The seven ages as a row of discs. */
.ages { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.age { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border: 3px solid #fff; border-radius: 999px; padding: 5px 14px 5px 6px; font-weight: 900; font-size: 14px; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.age i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; display: inline-block; }

/* Support, privacy. */
.faq details { padding: 4px 18px; margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 18px; padding-block: 12px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sub); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 14px; margin-top: 0; }
.contact { padding: 22px; margin-top: 28px; }
.policy h2 { font-size: 26px; margin-top: 34px; }
.policy ul { margin: 10px 0 0; padding-left: 22px; }
.policy li { margin-top: 6px; }
.summary { padding: 20px 22px; margin-top: 20px; }
.summary ul { margin: 8px 0 0; padding-left: 22px; }

footer.site { margin-top: 56px; padding-top: 20px; border-top: 3px solid rgba(14,42,71,.18); color: var(--sub); font-size: 14px; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.site a { color: var(--sub); }
@media (prefers-reduced-motion: no-preference) {
  .phone { transition: transform .3s ease; } .phone:hover { transform: translateY(-4px) rotate(-1deg); }
  .btn:not([aria-disabled="true"]):hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--orange-shadow); }
}
