@font-face {
  font-family: "Gowun Batang";
  src: url("../assets/fonts/gowun-batang-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Dongle";
  src: url("../assets/fonts/dongle-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../assets/fonts/baloo-2-medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../assets/fonts/baloo-2-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../assets/fonts/baloo-2-extra-bold.woff") format("woff");
  font-weight: 800;
  font-display: swap;
}

:root {
  --night: #172332;
  --navy: #202c42;
  --deep-teal: #193b40;
  --paper: #fcf1dc;
  --ink: #382820;
  --ink-soft: #5b4435;
  --teal-ink: #264c43;
  --cream: #fff1d6;
  --light-body: #e9ddcd;
  --gold: #efcb88;
  --paper-rule: #ac846b66;
  --dark-rule: #e5bd7947;
  --apricot: #eed5b9;
  --gutter: clamp(28px, 8vw, 112px);
  --section-pad: clamp(60px, 8vw, 112px);
  --body-type: "Baloo 2", system-ui, sans-serif;
  --accent-type: var(--body-type);
  --strong: 700;
  --heavy: 800;
  --focus: #b95c2b;
  font-family: var(--body-type);
  font-weight: 500;
  color: var(--ink);
  background: var(--night);
}

html[lang="ko"] {
  --body-type: "Gowun Batang", "Baloo 2", serif;
  --accent-type: "Dongle", "Gowun Batang", serif;
  --heavy: 700;
  font-weight: 700;
  word-break: keep-all;
}

html:not([data-lang="ko"]) .l-ko,
html:not([data-lang="en"]) .l-en,
html:not([data-lang="es"]) .l-es { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 114px; }
body { margin: 0; font-size: 1.125rem; line-height: 1.55; }
html[lang="ko"] body { font-size: 1.0625rem; line-height: 1.78; }
figure, p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.wrap { width: min(1192px, calc(100% - var(--gutter))); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.75rem); font-weight: var(--heavy); line-height: 1.09; text-wrap: balance; }
html[lang="ko"] h2 { line-height: 1.25; letter-spacing: -.045em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.18; font-weight: var(--strong); }
html[lang="ko"] h3 { line-height: 1.35; letter-spacing: -.035em; }
.section-head { max-width: 48rem; margin: 0 auto clamp(30px, 5vw, 62px); text-align: center; }
.section-head p { max-width: 43rem; margin: 19px auto 0; text-wrap: pretty; }
.skip {
  position: fixed; top: 10px; left: 14px; z-index: 20;
  padding: 7px 16px; background: var(--paper); color: var(--ink);
  transform: translateY(calc(-100% - 20px));
}
.skip:focus { transform: none; }
main:focus { outline: none; }

.masthead, .hero, .play, .restore, .books, .finale, .site-footer {
  color: var(--cream);
  --focus: #ffcf75;
}
.masthead {
  position: sticky; top: 0; z-index: 5;
  background: #172332;
  box-shadow: 0 2px 16px #12172240;
}
.masthead-top {
  min-height: 63px; display: flex; justify-content: space-between;
  align-items: center; gap: 8px; border-bottom: 1px solid var(--dark-rule);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.brand span { font: 700 1.12rem/1 "Baloo 2", system-ui, sans-serif; }
.header-actions, .languages { display: flex; align-items: center; }
.header-actions { gap: 17px; }
.languages { gap: 2px; }
.languages button {
  min-height: 44px; padding: 4px 10px;
  border: 0; background: transparent; color: #f1e3d0;
  font: 700 .91rem/1 "Baloo 2", system-ui, sans-serif;
}
.languages button[lang="ko"] { font: 700 .81rem/1 "Gowun Batang", serif; }
.languages button[aria-pressed="true"] { color: var(--gold); text-decoration: underline; text-underline-offset: 6px; }
.paint-button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 46px; padding: 5px 24px;
  color: #fff4df; background: #27575a url("../assets/art/button.webp") center / 100% 100% no-repeat;
  border-radius: 24px; font-weight: 700; text-align: center; text-decoration: none;
}
.paint-button:hover { filter: brightness(1.1); }
.nav-play { min-width: 92px; font-size: 1.08rem; }
.nav-links {
  display: flex; justify-content: space-between; gap: clamp(11px, 3vw, 48px);
  max-width: 880px; min-height: 43px;
}
.nav-links a {
  position: relative; display: inline-flex; align-items: center; padding-inline: 4px;
  color: var(--light-body); text-decoration: none; white-space: nowrap; font-size: 1rem;
}
html[lang="ko"] .nav-links a { font-size: .93rem; }
.nav-links a:hover, .nav-links a.on { color: #ffdb97; }
.nav-links a.on::after {
  content: ""; position: absolute; inset: auto 4px 0; height: 2px; background: var(--gold);
}

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); min-height: 588px;
  border-bottom: 1px solid #c29c6266;
}
.hero-scene {
  position: absolute; z-index: -1; inset: 0 0 0 35%;
  mask-image: linear-gradient(90deg, transparent, #000 31%);
}
.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero-layout {
  min-height: 588px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center; position: relative;
}
.hero-copy { padding: 42px 0 49px; position: relative; z-index: 1; }
.hero h1 img { width: 100%; max-width: 500px; height: auto; margin-left: -6px; }
.genre {
  width: fit-content; display: flex; align-items: center; justify-content: center;
  min-height: 49px; max-width: 100%; padding: 6px 31px;
  margin-top: 15px; background: url("../assets/art/ribbon.webp") center / 100% 100% no-repeat;
  color: #4d3021; font-weight: 700; font-size: 1rem; text-align: center; line-height: 1.15;
}
html[lang="ko"] .genre { font: 700 1.56rem/.95 var(--accent-type); padding-inline: 28px; }
.hero-description { color: var(--light-body); max-width: 24rem; margin-top: 24px; text-wrap: pretty; }
.stores { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.store { display: inline-flex; align-items: center; min-height: 44px; border-radius: 7px; }
.store img { height: 46px; width: auto; max-width: none; }
.store:hover { filter: brightness(1.13); }
.hero-visual { position: relative; align-self: stretch; min-width: 0; }
.phone {
  background: #36251e; padding: 5px; border: 1px solid #cda975;
  border-radius: 17px; box-shadow: 0 15px 34px #1613186e;
}
.phone img { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 12px; }
.hero-phone {
  position: absolute; z-index: 1; width: clamp(152px, 15.2vw, 224px);
  right: 0; bottom: 8%; transform: rotate(8deg);
}
.hero-drop, .hero-magic { position: absolute; pointer-events: none; }
.hero-drop { z-index: 2; height: auto; filter: drop-shadow(0 5px 10px #1e203b99); }
.hero-drop-blue { right: 29%; bottom: 10%; width: clamp(44px, 6vw, 80px); transform: rotate(-17deg); }
.hero-drop-gold { right: 25%; bottom: 25%; width: clamp(35px, 4.6vw, 62px); transform: rotate(15deg); }
.hero-drop-green { right: 38%; bottom: 21%; width: clamp(26px, 3.3vw, 44px); transform: rotate(-15deg); }
.hero-magic { right: 26%; bottom: 13%; width: 120px; height: 125px; z-index: 3; }
.hero-magic img { position: absolute; height: auto; opacity: 0; }
.hero-magic img:nth-child(1) { left: 26%; top: 14%; --spark-x: -42px; --spark-y: -37px; }
.hero-magic img:nth-child(2) { left: 2%; top: 34%; --spark-x: -40px; --spark-y: -8px; }
.hero-magic img:nth-child(3) { left: 39%; top: 31%; --spark-x: 20px; --spark-y: -36px; }

.features {
  background: #273641; color: var(--cream);
  border-bottom: 1px solid #e0be835c;
}
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid article { padding: 26px 20px 29px; border-inline-start: 1px solid var(--dark-rule); }
.feature-grid article:first-child { border: 0; padding-left: 0; }
.feature-grid img { height: 34px; width: 39px; object-fit: contain; margin-bottom: 12px; }
.feature-grid h2 { font-size: 1.26rem; line-height: 1.2; text-wrap: initial; }
.feature-grid p { color: var(--light-body); font-size: 1rem; line-height: 1.42; margin-top: 5px; }
html[lang="ko"] .feature-grid p { font-size: .94rem; line-height: 1.65; }

.paper-section { background: var(--paper); }
.story-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; gap: clamp(28px, 6vw, 91px); }
.story-copy { grid-column: 2; grid-row: 1; }
.story-copy h2 { margin-bottom: 22px; text-wrap: pretty; }
.story-copy p { max-width: 36rem; color: var(--ink-soft); }
.story-copy p + p { margin-top: 13px; }
.story-picture { position: relative; grid-column: 1; grid-row: 1; padding: 9px; background: #fff7e6; box-shadow: 0 14px 36px #724f3435; transform: rotate(-2deg); }
.story-picture > img:first-child { width: 100%; height: auto; aspect-ratio: 1.14; object-fit: cover; object-position: center 50%; }
.story-postcard { position: absolute; left: -9px; bottom: -24px; width: clamp(65px, 12vw, 130px); height: auto; transform: rotate(8deg); }
.character-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 25px); margin-top: clamp(42px, 7vw, 88px); }
.character-grid article {
  display: grid; grid-template-columns: minmax(54px, .36fr) minmax(0, 1fr); gap: 13px;
  align-items: center; padding: 21px 17px;
  background: #f5e5cb url("../assets/art/paper.webp") center / 100% 100%;
}
.character-grid img { width: 100%; height: 118px; object-fit: contain; }
.character-grid p, .goal-grid p, .drop-grid p, .notebook-grid p, .cozy-grid p { margin-top: 7px; color: var(--ink-soft); }
.character-grid p, .drop-grid p, .notebook-grid p, .cozy-grid p { font-size: 1rem; }

.play { background: var(--deep-teal); }
.play-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 70px); align-items: center; }
.play-gallery { display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; padding: 11px 4% 30px; }
.play-gallery .phone { width: min(46%, 222px); position: relative; z-index: 1; }
.play-gallery .phone:first-child { transform: rotate(-7deg) translateY(-10px); }
.play-gallery .phone:nth-child(2) { transform: rotate(6deg) translateY(21px); }
.play-paper { position: absolute; bottom: -20px; left: 6%; width: 43%; height: auto; opacity: .85; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--dark-rule); }
.steps li:last-child { border-bottom: 1px solid var(--dark-rule); }
.step-art { display: flex; align-items: center; justify-content: center; gap: 2px; }
.step-art img { object-fit: contain; }
/* 어두운 바탕에서도 수첩 번짐 도장의 선이 보이도록 밝은 금빛으로 표시한다. */
.step-art img[src="assets/art/ink-spread.webp"] { filter: brightness(0) saturate(100%) invert(88%) sepia(18%) saturate(648%) hue-rotate(328deg) brightness(102%); }
.steps p { color: var(--light-body); margin-top: 3px; font-size: 1.04rem; }
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.tips article {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 15px; padding: 20px 23px;
  background: #f1dec1 url("../assets/art/paper.webp") center / 100% 100%; color: var(--ink);
}
.tips p { color: var(--ink-soft); font-size: 1rem; margin-top: 5px; }

.rules { background-color: #f6e8d4; }
.goal-grid, .drop-grid { display: grid; gap: 12px; text-align: center; }
.goal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.goal-grid article { padding: 20px 21px 23px; background: #faedd6 url("../assets/art/paper.webp") center / 100% 100%; }
.goal-art { min-height: 70px; display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 10px; }
.goal-art img { max-width: 29%; height: auto; }
.goal-art img:nth-child(2) { transform: translateY(-5px); }
.drop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; border-block: 1px solid var(--paper-rule); }
.drop-grid article { padding: 19px 17px 23px; }
.drop-grid img { margin: 0 auto 13px; object-fit: contain; }

.restore { background: var(--navy); }
.restore .section-head p, .books .section-head p { color: var(--light-body); }
.restore-stage { max-width: 784px; margin: 0 auto; }
.restoration-art {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(9px, 3.5vw, 52px);
  padding: clamp(12px, 4vw, 49px);
  background: #d9b78a url("../assets/art/grain.webp") repeat;
  box-shadow: 0 18px 40px #1214237a;
  border: 1px solid #efd4a9;
}
.art-print { position: relative; padding: 5px; box-shadow: 0 8px 15px #6b4b3942; background: #fcf1d9; }
.art-print > img:first-child { width: 100%; height: auto; aspect-ratio: 2 / 3; }
.color-wash { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); }
.join-piece, .join-tail, .join-bloom { position: absolute; pointer-events: none; opacity: 0; height: auto; }
.join-piece { left: calc(9.67% + 4px); top: calc(9.44% + 4px); width: calc(65.53% - 6.55px); }
.join-tail { left: 12%; top: 10%; width: 54%; }
.join-bloom { left: 19%; top: 6%; width: 57%; }
.restore-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 3vw, 32px); margin: 54px auto 0; max-width: 704px; text-align: center; }
.restore-steps .phone { max-width: 199px; margin: 0 auto; }
.restored-cover {
  display: grid; place-items: center; margin: 0 auto;
  width: 100%; max-width: 199px; aspect-ratio: 199 / 345;
}
.restored-cover img { width: 87%; height: auto; filter: drop-shadow(3px 12px 10px #12142382); }
.restore-steps figcaption { margin-top: 11px; color: var(--gold); font-weight: 700; line-height: 1.25; }

.books { background: #25383c; border-top: 1px solid var(--dark-rule); }
.cover-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 3vw, 38px); text-align: center; }
.cover-grid img {
  width: 100%; max-width: 184px; height: auto; aspect-ratio: 2 / 3; object-fit: contain; margin: 0 auto;
  filter: drop-shadow(3px 12px 10px #111b1f80); transition: transform .24s ease;
}
.cover-grid figcaption { margin-top: 18px; color: var(--cream); line-height: 1.2; font-size: 1.23rem; font-weight: 700; }
.books-note { margin: 32px auto 0; text-align: center; color: var(--gold); }
@media (hover: hover) { .cover-grid figure:hover img { transform: translateY(-7px) rotate(-2deg); } }

.notebook-layout { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(25px, 6vw, 86px); align-items: center; }
.notebook-picture { position: relative; padding: 0 5%; }
.open-note { width: 100%; height: auto; filter: drop-shadow(4px 12px 16px #9a6c4555); }
.note-stamp, .note-card, .note-pen { position: absolute; height: auto; }
.note-stamp { width: 16%; left: 22%; top: 26%; transform: rotate(10deg); opacity: .84; }
.note-card { width: 29%; right: 16%; top: 16%; transform: rotate(9deg); }
.note-pen { width: 21%; left: 30%; bottom: 14%; transform: rotate(-14deg); }
.notebook-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
.notebook-grid article { padding: 16px 9px 0; border-top: 1px solid var(--paper-rule); }
.notebook-grid img { object-fit: contain; margin-bottom: 7px; }
.notebook-grid h3 { color: var(--teal-ink); }

.cozy { background: var(--apricot); border-block: 1px solid #cead8e; }
.cozy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 21px; max-width: 930px; margin-inline: auto; }
.cozy-grid article {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: center; padding: 20px 21px;
  background: #f8ebd1 url("../assets/art/paper.webp") center / 100% 100%;
}
.cozy-grid img { object-fit: contain; }

.finale {
  position: relative; isolation: isolate; overflow: hidden; background: #1c2839;
  text-align: center; padding-block: clamp(80px, 12vw, 155px);
}
.finale-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; z-index: -2; }
.finale::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #152335c9; }
.finale h2 { max-width: 50rem; margin: auto; }
.finale p { color: var(--light-body); margin-top: 14px; }
.finale .stores { justify-content: center; }
.site-footer { background: var(--night); padding-block: 29px; border-top: 1px solid var(--dark-rule); }
.footer-layout { display: flex; justify-content: space-between; gap: 13px 25px; }
.footer-layout p, .footer-links { color: var(--light-body); font-size: .92rem; }
.footer-layout p.footer-platform { color: var(--gold); font-weight: 700; margin-bottom: 7px; }
.footer-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px 17px; }
.footer-links a { text-underline-offset: 4px; }
.footer-links a:hover { color: var(--cream); }

.soon-open { overflow: hidden; }
[data-soon] {
  position: fixed; z-index: 10; inset: 0; overflow: auto;
  display: grid; place-items: center; padding: 16px; background: #111a28df;
}
[data-soon][data-kind="ios"] [data-kind="other"],
[data-soon][data-kind="other"] [data-kind="ios"] { display: none; }
.soon-card {
  position: relative; width: min(100%, 470px); padding: 31px clamp(23px, 6vw, 37px);
  background: var(--paper) url("../assets/art/paper.webp") center / 100% 100%;
  text-align: center; color: var(--ink); box-shadow: 0 15px 66px #1115228f;
}
.soon-card > img { margin: 0 auto 15px; border-radius: 13px; }
.soon-card h2 { font-size: 1.95rem; }
.soon-card p { color: var(--ink-soft); margin-top: 12px; }
.soon-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-top: 21px; }
.soon-actions button { border: 0; border-bottom: 1px solid var(--paper-rule); background: transparent; padding: 6px 12px; }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal].in { animation: rise .56s ease-out both; }
  .fx-ready .hero-drop-gold { animation: drop-pop .8s .45s both; }
  .fx-ready .hero-magic img { animation: sparkle .78s .72s both; }
  .fx-ready .hero-magic img:nth-child(2) { animation-delay: .8s; }
  .fx-ready .hero-magic img:nth-child(3) { animation-delay: .85s; }
  .fx-ready .color-wash { clip-path: ellipse(0 0 at 44% 23%); }
  .fx-ready .restore-stage.restored .color-wash { animation: watercolor 1.4s .35s both; }
  .fx-ready .restore-stage.restored .join-piece { animation: settle .92s both; }
  .fx-ready .restore-stage.restored .join-tail { animation: trail .78s both; }
  .fx-ready .restore-stage.restored .join-bloom { animation: glow .68s .52s both; }
}
@media (prefers-reduced-motion: reduce) {
  .cover-grid img { transition: none; }
  .cover-grid figure:hover img { transform: none; }
}
@keyframes rise { from { transform: translateY(12px); opacity: .78; } to { transform: translateY(0); opacity: 1; } }
@keyframes drop-pop {
  0%, 100% { transform: rotate(15deg) scale(1); }
  34% { transform: translateY(-8px) rotate(5deg) scale(1.19); }
  57% { transform: translateY(2px) rotate(18deg) scale(.93); }
}
@keyframes sparkle {
  0% { opacity: 0; transform: scale(.25); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--spark-x), var(--spark-y)) rotate(24deg) scale(.78); }
}
@keyframes watercolor {
  0% { clip-path: ellipse(0 0 at 44% 23%); }
  45% { clip-path: ellipse(40% 37% at 44% 25%); }
  100% { clip-path: ellipse(91% 100% at 49% 31%); }
}
@keyframes settle {
  0% { opacity: 0; transform: translate(-78%, -27%) rotate(-24deg) scale(.6); }
  29% { opacity: 1; }
  63% { opacity: 1; transform: translate(1%, 2%) rotate(2deg) scale(1.055); }
  76% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes trail {
  0% { opacity: 0; transform: translateX(-85%) rotate(-23deg) scale(.4); }
  37% { opacity: .95; transform: translateX(-35%) rotate(-23deg) scale(1.06); }
  100% { opacity: 0; transform: translateX(0) rotate(-17deg) scale(.6); }
}
@keyframes glow {
  0% { opacity: 0; transform: scale(.4); }
  35% { opacity: .85; }
  100% { opacity: 0; transform: scale(1.32); }
}

@media (max-width: 1000px) {
  .hero, .hero-layout { min-height: 530px; }
  .hero-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .hero-phone { width: clamp(142px, 18vw, 207px); bottom: 9%; }
  .character-grid article { grid-template-columns: 1fr; align-content: start; }
  .character-grid img { height: 137px; }
}
@media (max-width: 690px) {
  html { scroll-padding-top: 102px; }
  body, html[lang="ko"] body { font-size: 1.0625rem; }
  .masthead-top { min-height: 55px; }
  .brand img { width: 26px; height: 26px; }
  .brand span { font-size: .93rem; }
  .brand { gap: 5px; }
  .header-actions { gap: 3px; }
  .languages { gap: 0; }
  .languages button { padding-inline: 5px; font-size: .81rem; }
  .languages button[lang="ko"] { font-size: .75rem; }
  .nav-play { min-width: 51px; min-height: 44px; padding-inline: 9px; font-size: .86rem; }
  .nav-links {
    width: 100%; justify-content: flex-start; gap: 15px; min-height: 43px;
    padding-inline: calc(var(--gutter) / 2); overflow-x: auto;
    scrollbar-width: thin; scrollbar-color: #ad895c #172332;
  }
  .nav-links a { font-size: .9rem; padding-inline: 2px; }
  html[lang="ko"] .nav-links a { font-size: .89rem; }
  .nav-links :focus-visible { outline-offset: -3px; }
  .hero, .hero-layout { min-height: 0; }
  .hero-layout { display: block; }
  .hero-copy { padding: 28px 0 0; text-align: center; }
  .hero h1 img { width: min(100%, 365px); margin-inline: auto; }
  .genre { margin: 8px auto 0; min-height: 44px; padding-inline: 24px; }
  .hero-description { margin: 14px auto 0; line-height: 1.48; }
  html[lang="ko"] .hero-description { line-height: 1.68; }
  .stores { justify-content: center; margin-top: 16px; gap: 8px; }
  .store img { height: 42px; }
  .hero-scene { inset: auto 0 0; height: clamp(350px, 89vw, 495px); mask-image: linear-gradient(0deg, #000 66%, transparent 100%); }
  .hero-scene img { object-position: center 49%; }
  .hero-visual { height: clamp(269px, 75vw, 385px); }
  .hero-phone { width: clamp(104px, 29vw, 149px); right: 4%; bottom: 9%; padding: 4px; border-radius: 13px; }
  .hero-phone img { border-radius: 9px; }
  .hero-drop-blue { right: 35%; bottom: 11%; width: 49px; }
  .hero-drop-gold { right: 37%; bottom: 24%; width: 32px; }
  .hero-drop-green { right: 49%; bottom: 17%; width: 31px; }
  .hero-magic { right: 30%; bottom: 7%; width: 100px; height: 94px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid article { padding: 15px 10px 18px 13px; }
  .feature-grid article:nth-child(odd) { padding-left: 0; border-inline-start: 0; }
  .feature-grid article:nth-child(n+3) { border-top: 1px solid var(--dark-rule); }
  .feature-grid p { font-size: .95rem; }
  .feature-grid h2 { font-size: 1.14rem; }
  .feature-grid img { height: 29px; margin-bottom: 7px; }
  .story-lead, .play-layout, .notebook-layout { grid-template-columns: 1fr; }
  .story-copy, .story-picture { grid-column: auto; grid-row: auto; }
  .story-picture { margin: 0 7px; order: -1; }
  .story-copy h2 { margin-bottom: 13px; }
  .story-lead { gap: 35px; }
  .character-grid { grid-template-columns: 1fr; }
  .character-grid article { grid-template-columns: 72px minmax(0, 1fr); align-content: center; padding: 15px; }
  .character-grid img { height: 96px; }
  .play-gallery { padding-inline: 6%; }
  .play-gallery .phone:nth-child(2) { transform: rotate(6deg) translateY(13px); }
  .steps li { grid-template-columns: 59px minmax(0, 1fr); gap: 9px; }
  .step-art img { max-width: 32px; }
  .step-art img:nth-child(3) { width: 16px; }
  .tips { grid-template-columns: 1fr; margin-top: 28px; gap: 10px; }
  .tips article { padding: 16px; }
  .goal-grid { grid-template-columns: 1fr; }
  .goal-grid article { padding: 14px 18px 16px; }
  .goal-art { min-height: 48px; margin-bottom: 6px; }
  .goal-art img { width: 44px; height: auto; }
  .drop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; margin-top: 23px; }
  .drop-grid article { padding: 15px 6px; }
  .drop-grid article:nth-child(n+3) { border-top: 1px solid var(--paper-rule); }
  .drop-grid img { width: 54px; height: 54px; margin-bottom: 8px; }
  .restore-steps { margin-top: 27px; }
  .restore-steps .phone { padding: 3px; border-radius: 10px; }
  .restore-steps .phone img { border-radius: 6px; }
  .restore-steps figcaption { font-size: .97rem; }
  .cover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .cover-grid img { max-width: 139px; }
  .cover-grid figcaption { margin-top: 10px; font-size: 1.06rem; }
  .notebook-layout { gap: 23px; }
  .notebook-picture { max-width: 345px; margin: 0 auto; }
  .notebook-grid article { padding-inline: 3px; }
  .cozy-grid { grid-template-columns: 1fr; gap: 9px; }
  .cozy-grid article { padding: 15px 16px; }
  .footer-layout { flex-direction: column; }
}
@media (max-width: 375px) {
  .masthead-top { width: calc(100% - 22px); }
  .brand span { font-size: .84rem; }
  .languages button { padding-inline: 4px; }
}
