:root {
  color-scheme: light;
  --ink: #234c3e;
  --paper: #fffdf5;
  --green: #eaf2e5;
  --muted: #516958;
  font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #ad6100; outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 10; background: var(--paper); padding: 12px; }
.skip:focus { top: 12px; }
.preview-notice { padding: 6px 20px; text-align: center; background: #f0f3e9; color: var(--muted); font-size: .75rem; line-height: 1.6; }
h1, h2 { line-height: 1.45; text-wrap: balance; letter-spacing: .02em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.25rem, 3.5vw, 3rem); font-weight: 850; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
p { margin: 20px 0; overflow-wrap: anywhere; }
strong { font-weight: 800; }

/* Characters carry the first impression; copy has a narrower, quiet column. */
.hero { position: relative; isolation: isolate; padding: 24px 0 20px; }
.hero-background { position: absolute; inset: 0; z-index: -1; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-inner { width: min(1120px, calc(100% - 48px)); display: grid; grid-template-columns: .83fr 1.17fr; grid-template-areas: 'heading characters' 'description characters'; column-gap: 0; align-items: center; min-height: 610px; }
.hero-heading { grid-area: heading; align-self: end; }
.brand { width: 260px; margin-bottom: 18px; }
.genre { font-size: .875rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin: 0 0 12px; }
.hero-description { grid-area: description; align-self: start; }
.hero-description p { font-size: 1.0625rem; }
.hero-characters { grid-area: characters; align-self: center; aspect-ratio: 4 / 3; }
.hero-duo { width: 100%; }
.stores { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 20px 0; }
.store { display: flex; align-items: center; justify-content: center; min-height: 64px; flex-shrink: 0; text-decoration: none; }
.store.apple { width: 155px; }
.store.google { width: 194px; margin-left: -12px; }
.store.apple img { width: 155px; }
.store.google img { width: 194px; }
.store[aria-disabled] { cursor: default; }

/* The two core benefits get the strongest section titles. */
.section { padding: 85px 0; }
.section-intro { text-align: center; max-width: 860px; margin: 0 auto 38px; }
.intro-sentence { display: block; text-wrap: pretty; }
.grow h2, .season h2 { font-size: clamp(1.8rem, 3.1vw, 2.75rem); font-weight: 850; }
.heading-lead { display: block; font-size: .76em; font-weight: 650; margin-bottom: .15em; }
.heading-focus { display: block; }
.personality { display: block; font-size: 1.125rem; margin-bottom: 6px; }
.grow { background: linear-gradient(var(--paper), #f4f7ed); }
.grow-pair, .season-pair { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; max-width: 980px; margin: auto; }
figure { margin: 0; min-width: 0; }
.seal-art { position: relative; aspect-ratio: 1 / 1.1; }
.seal-dragon { width: 94%; margin: auto; }
.seal { position: absolute; width: 32%; max-width: 170px; }
.book { left: 0; top: 7%; transform: rotate(-10deg); }
.ghost { left: 0; top: 65%; transform: rotate(-7deg); }
.breath { right: 0; top: 63%; transform: rotate(8deg); }
.screenshot { max-width: 345px; width: 100%; margin: auto; }
.screenshot-link { display: block; cursor: zoom-in; border-radius: 16px; background: white; box-shadow: 0 8px 35px #234c3e15; overflow: hidden; }
.screenshot-link img { width: 100%; height: auto; }
.season-art { width: 100%; max-width: 540px; margin: auto; }
.team-collage { width: 100%; }
.season-screens { width: 100%; max-width: 345px; margin: auto; }
.screen-tabs { display: flex; gap: 6px; padding: 4px; margin-bottom: 16px; border-radius: 12px; background: #d9e6d4; }
.screen-tabs button { flex: 1; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; font-size: .875rem; line-height: 1.4; }
.screen-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.season-screen { aspect-ratio: 936 / 1634; }
.season-screen:not([hidden]) { display: grid; align-items: center; }
.season-screen:focus-visible { outline: 3px solid #ad6100; outline-offset: 5px; }
.season { background: #eaf2e5; }
.season .intro-sentence { text-wrap: balance; }

/* A short discovery interlude, followed by the final invitation. */
.secret { background: linear-gradient(#f3f7ed, #edf5ed); padding-block: 55px; }
.secret-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 36px; max-width: 980px; }
.secret h2 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); font-weight: 650; }
.secret-art { width: 100%; max-width: 440px; justify-self: center; }
.secret-art > div { position: relative; aspect-ratio: 4 / 3; }
.ruins { width: 100%; }
.egg { position: absolute; left: 14%; bottom: 11%; width: 24%; filter: drop-shadow(0 5px 5px #234c3e24); }
.final { text-align: center; background: linear-gradient(#fffdf5, #f0f4e8); padding-top: 45px; }
.final h2 { font-size: clamp(1.8rem, 2.8vw, 2.35rem); }
.final-characters { display: flex; justify-content: center; align-items: flex-end; height: auto; max-width: 620px; aspect-ratio: 1.95; margin: 0 auto 28px; gap: 25px; }
.final-demon, .final-bird { width: 33%; max-height: 310px; object-fit: contain; }
.trophy { width: 22%; align-self: center; }
.final .stores { justify-content: center; }
.game-info { display: flex; justify-content: center; gap: 55px; flex-wrap: wrap; margin: 48px 0 0; font-size: 1rem; }
.game-info div { min-width: 100px; }
.game-info dt { color: var(--muted); font-size: .8125rem; margin-bottom: 5px; }
.game-info dd { margin: 0; font-weight: 700; }
footer { padding-block: 32px 22px; color: var(--muted); font-size: .8125rem; }
footer nav { display: flex; gap: 16px 30px; flex-wrap: wrap; }
footer p { margin: 0 0 16px; }
.trademarks { font-size: .75rem; margin-top: 28px; }
.mobile-break { display: none; }

.lightbox { width: min(1040px, calc(100% - 24px)); max-height: 90dvh; padding: 20px; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink); overscroll-behavior: contain; }
.lightbox::backdrop { background: #10281be6; }
.lightbox-bar { display: flex; align-items: center; justify-content: flex-end; position: sticky; top: -20px; background: var(--paper); padding: 12px 0; }
.close { flex-shrink: 0; border: 1px solid #b2c8b3; background: #eaf2e5; min-height: 48px; padding: 5px 16px; border-radius: 8px; }
.lightbox img { margin: auto; width: min(100%, 650px); }
html:has(dialog[open]) { overflow: hidden; }

@media (min-width: 901px) {
  .hero { padding-block: 20px 8px; }
  /* Center the copy and visible artwork as one group. */
  .hero-inner { width: min(1240px, calc(100% - 48px)); min-height: 0; grid-template-columns: .82fr 1.18fr; transform: translateX(clamp(12px, 1.5vw, 18px)); }
  .brand { width: clamp(260px, 23vw, 310px); }
  .grow { padding-top: 48px; }
}

@media (min-width: 1101px) {
  .hero-inner { width: min(1060px, calc(100% - 48px)); grid-template-columns: 440px minmax(0, 1fr); }
  .hero-characters { width: calc(100% + 70px); margin-left: -70px; }
  html[lang="en"] .hero-inner { width: min(1120px, calc(100% - 48px)); grid-template-columns: 500px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .hero { padding-top: 18px; }
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: 'heading' 'characters' 'description'; min-height: 0; gap: 10px; }
  .hero-heading { text-align: center; }
  .brand { width: min(230px, 72%); margin: 0 auto 12px; }
  .hero h1 { font-size: clamp(1.875rem, 5vw, 2.5rem); }
  .hero-characters { width: min(calc(100% + 24px), 600px); margin-left: max(-12px, calc((100% - 600px) / 2)); aspect-ratio: 4 / 3; }
  .hero-description { width: 100%; max-width: 36rem; margin-inline: auto; text-align: center; }
  .hero-description p { margin: 8px 0 15px; }
  .hero .stores { justify-content: center; }
  .grow-pair, .season-pair { grid-template-columns: 1fr; gap: 35px; }
  .seal-figure, .season-art { width: 100%; max-width: 480px; margin: auto; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .brand { width: min(200px, 72%); margin: 0 auto 12px; }
  .genre { font-size: .78125rem; letter-spacing: 0; margin-bottom: 10px; }
  .hero h1 { font-size: clamp(1.875rem, 8vw, 2.25rem); }
  .hero-description p { font-size: 1rem; }
  .stores { gap: 16px; justify-content: center; flex-wrap: wrap; }
  .store.apple, .store.apple img { width: 130px; }
  .store.google, .store.google img { width: 164px; }
  .store.google { margin-left: -10px; }
  .section { padding: 55px 0; }
  .section-intro { margin-bottom: 26px; }
  .section-intro p { margin-block: 17px; }
  h2 { font-size: 1.6rem; }
  .grow h2, .season h2 { font-size: 1.8rem; }
  .personality { font-size: 1.0625rem; }
  .mobile-break { display: block; }
  .desktop-break { display: none; }
  .screenshot { max-width: 345px; }
  .secret { padding-block: 38px; }
  .secret-inner { grid-template-columns: 1fr; gap: 5px; }
  .secret h2 { font-size: 1.4rem; }
  .secret-art { max-width: 360px; margin: auto; }
  .final-characters { gap: 8px; margin-bottom: 28px; }
  .game-info { gap: 24px; margin-top: 35px; }
  .game-info div:last-child { flex-basis: 100%; }
  footer { padding-top: 28px; }
  .lightbox { padding: 12px; }
  .lightbox-bar { top: -12px; }
}
@media (max-width: 350px) {
  .store.apple, .store.apple img { width: 119px; }
  .store.google, .store.google img { width: 149px; }
  .store { min-height: 58px; }
}

.release-notice { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 64px; margin: 20px 0; padding: 12px 16px; border: 1px solid #234c3e26; border-radius: 10px; background: #fffdf5e6; font-weight: 700; color: var(--ink); line-height: 1.6; text-wrap: balance; }
.hero-description .release-notice { margin: 20px 0; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
