:root {
  color-scheme: light dark;
  --bg: #eef7fd;
  --surface: #ffffff;
  --ink: #1c3347;
  --muted: #55697a;
  --line: #cfe2f1;
  --accent: #3e9a5b;
  --accent-dark: #2b7a46;
  --blue: #2f6fed;
  --green: #3e9a5b;
  --pink: #ff4d8d;
  --yellow: #ffc533;
  --soft: #dcefd2;
  --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(--accent-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(--accent-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(--accent); color: #fff; box-shadow: 0 5px 0 var(--accent-dark); }
.button-primary:hover { color: #fff; background: #4fae6c; }
.button-soon { background: var(--soft); color: var(--accent-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(170deg, #7fcdff, #4ea9ea 55%, #3e9a5b 56%, #2c7a49); border: 3px solid #ffffff; box-shadow: 0 18px 40px rgba(28, 51, 71, .22); 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(8, 36, 22, .38)); }
.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(--accent-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; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.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); }

.shots { display: grid; gap: 44px; }
.shot-group h3 { margin-bottom: 16px; }
.gallery-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery-2 img { width: 100%; border-radius: 22px; border: 2px solid var(--line); }
.gallery-phone { max-width: 620px; }
.gallery-ipad { max-width: 820px; }
.gallery-wide { max-width: 1000px; }
.gallery-fold { max-width: 560px; }
.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(170deg, #7fcdff, #4ea9ea 55%, #3e9a5b 56%, #2c7a49); }
.download img { margin: 0 auto 18px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18)); }
.download h2 { color: #fff; }
.download p { margin: 14px 0 24px; color: #eaf6ee; 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, .grid-2, .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) {
  .gallery-2:not(.gallery-phone) { grid-template-columns: 1fr; }
  .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: #0e1822; --surface: #172431; --ink: #eef4fa; --muted: #aebfcc; --line: #28394a; --soft: #21372b; --accent-dark: #86d6a2; --blue: #8fc3ff; }
  .tag { color: #9be0b3; }
  .hero-art, .download { background: linear-gradient(170deg, #2c5f8c, #234f78 55%, #245a3c 56%, #1c4a31); border-color: #28394a; }
  .download h2 { color: #fff; }
  .download p { color: #d6ece0; }
  .button-soon { color: #9be0b3; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
