:root {
  color-scheme: light dark;
  --bg: #fff8ec;
  --surface: #ffffff;
  --ink: #23273a;
  --muted: #5a6075;
  --line: #f0e3cc;
  --orange: #ff7a2f;
  --orange-dark: #d85f17;
  --blue: #2f6fed;
  --green: #2bb673;
  --pink: #ff4d8d;
  --yellow: #ffc533;
  --soft: #ffeccd;
  --content-width: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--bg); font-family: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3, p, figure, ul { margin: 0; }
p, li { color: var(--muted); line-height: 1.65; }
h1, h2 { font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; }
h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 10px; }
.shell { width: min(calc(100% - 48px), var(--content-width)); margin: 0 auto; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 10; padding: 12px 20px; background: var(--surface); border: 2px solid var(--blue); border-radius: 10px; }
.skip-link:focus { top: 12px; }

.topbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 46px; height: 46px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; font-size: .95rem; color: var(--muted); }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; padding: 36px 0 56px; }
.tag { display: inline-block; padding: 8px 14px; background: var(--soft); color: var(--orange-dark); border-radius: 999px; font-size: .85rem; font-weight: 800; margin-bottom: 22px; }
.lede { font-size: 1.35rem; line-height: 1.4; font-weight: 700; color: var(--ink); margin-top: 20px; }
.summary { max-width: 520px; margin-top: 16px; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font-size: 1rem; font-weight: 800; }
.button-primary { background: var(--orange); color: #fff; box-shadow: 0 5px 0 var(--orange-dark); }
.button-primary:hover { color: #fff; background: #ff8a45; }
.button-soon { background: var(--soft); color: var(--orange-dark); }
.text-link { font-weight: 800; color: var(--blue); }
.note { margin-top: 18px; font-size: .9rem; font-weight: 700; color: var(--ink); }

.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 40px; background: linear-gradient(160deg, #ffe39a, #ffb3c7 60%, #b9d5ff); border: 3px solid #fff; box-shadow: 0 18px 40px rgba(255, 122, 47, .18); overflow: hidden; }
.hero-art .row { display: flex; align-items: center; gap: 22px; font-size: clamp(3.2rem, 9vw, 5.6rem); }
.hero-art .hero-icon { width: 56%; height: auto; filter: drop-shadow(0 14px 26px rgba(120, 40, 80, .28)); }
.hero-art .arrow { font-size: 2.6rem; color: var(--blue); font-weight: 900; }
.hero-art .sprinkle { position: absolute; font-size: 2.2rem; opacity: .85; }
.s1 { top: 8%; left: 10%; } .s2 { top: 14%; right: 12%; } .s3 { bottom: 12%; left: 14%; } .s4 { bottom: 9%; right: 10%; }

.band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 8px 0 8px; }
.band div { background: var(--surface); border: 2px solid var(--line); border-radius: 22px; padding: 22px 24px; }
.band strong { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.band p { font-size: .95rem; }

.section { padding-top: 88px; }
.heading { max-width: 720px; margin-bottom: 30px; }
.eyebrow { color: var(--orange-dark); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.heading > p:last-child:not(.eyebrow) { margin-top: 18px; font-size: 1.08rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 2px solid var(--line); border-radius: 22px; padding: 26px; }
.card p { font-size: .96rem; }
.card .emoji { display: block; font-size: 2.2rem; margin-bottom: 14px; }

.worlds { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.worlds span { padding: 10px 16px; background: var(--surface); border: 2px solid var(--line); border-radius: 999px; font-weight: 800; color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gallery img { width: 100%; border-radius: 22px; border: 2px solid var(--line); }
figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); }

.parents { background: var(--surface); border: 2px solid var(--line); border-radius: 28px; padding: 40px; }
.parents ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; margin-top: 24px; }
.parents li { padding-left: 34px; position: relative; color: var(--ink); font-weight: 600; }
.parents li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: .85rem; font-weight: 900; display: grid; place-items: center; }

.download { margin-top: 88px; padding: 52px 24px; border-radius: 32px; text-align: center; background: linear-gradient(160deg, #ffe39a, #ffb3c7); }
.download img { margin: 0 auto 18px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18)); }
.download h2 { color: #3a2a1a; }
.download p { margin: 14px 0 24px; color: #5a4632; font-weight: 600; }

.developer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; margin-top: 28px; padding: 26px 28px; background: var(--surface); border: 2px solid var(--line); border-radius: 22px; }
.developer h2 { font-size: 1.4rem; margin-bottom: 8px; }
.developer p { font-size: .95rem; max-width: 560px; }

.footer { padding: 32px 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .85rem; color: var(--muted); }
.footer div { display: flex; gap: 22px; font-weight: 700; }

.info-header { padding: 30px 0 12px; max-width: 820px; }
.back-link { display: inline-block; color: var(--blue); font-weight: 800; margin-bottom: 22px; }
.info-header h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.info-header p:not(.eyebrow) { margin-top: 16px; }
.info-stack { display: grid; gap: 18px; margin: 24px 0 8px; }
.info-card { background: var(--surface); border: 2px solid var(--line); border-radius: 22px; padding: 28px; }
.info-card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.info-card p + p { margin-top: 14px; }
.info-card ul { padding-left: 22px; }
.info-card li + li { margin-top: 8px; }
.info-card a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 420px; margin: 0 auto; width: 100%; }
  .grid, .band { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parents ul { grid-template-columns: 1fr; }
  .developer { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .topbar { flex-wrap: wrap; gap: 12px; }
  .section { padding-top: 60px; }
  .parents { padding: 28px 22px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1d1a24; --surface: #272333; --ink: #f6f1ff; --muted: #c4bdd3; --line: #3a3447; --soft: #3b2f2a; --orange-dark: #ffa266; --blue: #8fb4ff; }
  .tag { color: #ffb98a; }
  .hero-art, .download { background: linear-gradient(160deg, #4a3b63, #5b3550 60%, #2f3f6b); border-color: #3a3447; }
  .download h2 { color: #fff; }
  .download p { color: #e6dcf2; }
  .button-soon { color: #ffb98a; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
