@font-face { font-family: "Round"; src: url("/fonts/round-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Round"; src: url("/fonts/round-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Round"; src: url("/fonts/round-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --cream: #F5F7F0;
  --paper: #FFFDF6;
  --ink: #1C2B21;
  --ink-soft: #46574B;
  --leaf: #3DAA4E;
  --leaf-deep: #23803A;
  --forest: #17602A;
  --sky: #2FB4F5;
  --sky-ink: #0F3550;
  --pot: #E8835A;
  --gold: #FFC93C;
  --peach: #FFE6D9;
  --butter: #FFF4C7;
  --mint: #E6F7E1;
  --line: rgba(28, 43, 33, .1);
  --shadow: 0 10px 28px rgba(23, 60, 33, .14), 0 2px 6px rgba(23, 60, 33, .08);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1);
  --gutter: clamp(20px, 5vw, 56px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--leaf) var(--cream); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.7 "Round", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  word-break: keep-all; overflow-wrap: anywhere; caret-color: var(--leaf);
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--leaf-deep); text-underline-offset: .22em; text-decoration-thickness: 2px; }
b, strong { font-weight: 800; }
h1, h2, h3 { font-weight: 800; line-height: 1.22; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
::selection { background: #CDEFC5; color: var(--forest); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 12px; font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- per-language faces (Round lacks Latin accents, kana/kanji, Hanzi, Thai) */
body.f-nunito { font-family: "Nunito", "Round", system-ui, sans-serif; }
body.f-mplus { font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif; }
body.f-mitr { font-family: "Mitr", "Leelawadee UI", "Thonburi", sans-serif; }
body.f-mitr h1, body.f-mitr h2, body.f-mitr h3, body.f-mitr b, body.f-mitr strong, body.f-mitr .lcard blockquote { font-weight: 600; }
body.f-zh { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html:lang(zh-Hant) body.f-zh { font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
.stop text { font-family: inherit; }
:lang(ja), :lang(zh), :lang(th) { word-break: normal; line-break: strict; }
:lang(de) h2, :lang(fr) h2, :lang(es) h2, :lang(pt) h2, :lang(it) h2, :lang(ru) h2, :lang(id) h2, :lang(vi) h2 { hyphens: auto; }
:lang(ja) h1, :lang(ja) h2, :lang(zh) h1, :lang(zh) h2 { letter-spacing: 0; }

/* ---------------------------------------------------------------- shared bits */
.pot { width: 100%; height: auto; overflow: visible; }
.plant { transform-box: fill-box; transform-origin: 50% 100%; }
.stage { margin: 0; display: flex; align-items: center; gap: 12px; }
.stage .pot { width: 64px; flex: none; }
.stage figcaption {
  font-weight: 800; font-size: .95rem; color: var(--forest); background: var(--mint);
  padding: 5px 14px; border-radius: 999px;
}

.stores { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 20px 8px 14px;
  background: var(--paper); color: var(--ink); text-decoration: none; border-radius: 999px;
  box-shadow: var(--shadow); font-weight: 800; font-size: 1.05rem; line-height: 1.1;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease-out), background-color .2s;
}
.store svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--mint); color: var(--forest); }
.store small { display: block; font-weight: 500; font-size: .72rem; color: var(--ink-soft); letter-spacing: .01em; margin-bottom: 2px; }
.store:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(23, 60, 33, .2), 0 3px 8px rgba(23, 60, 33, .1); }
.store:active { transform: translateY(0) scale(.97); }
html[data-os="ios"] .store[data-store="ios"], html[data-os="android"] .store[data-store="android"] { order: -1; background: var(--leaf-deep); color: #fff; }
html[data-os="ios"] .store[data-store="ios"] small, html[data-os="android"] .store[data-store="android"] small { color: #D8F2DC; }
html[data-os="ios"] .store[data-store="ios"] svg, html[data-os="android"] .store[data-store="android"] svg { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------------------------------------------------------------- top bar + language menu */
.topbar { position: absolute; z-index: 6; top: max(14px, env(safe-area-inset-top)); right: 14px; }
.langs { position: relative; }
.langs summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px;
  border-radius: 999px; background: var(--paper); color: var(--sky-ink); font-weight: 800; font-size: .92rem; box-shadow: var(--shadow);
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary svg { width: 20px; height: 20px; color: var(--leaf-deep); }
.langs ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; list-style: none; margin: 0; padding: 8px;
  width: max-content; min-width: 200px; max-height: min(70vh, 560px); overflow: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: 20px; box-shadow: 0 18px 40px rgba(23, 60, 33, .22), 0 3px 8px rgba(23, 60, 33, .1);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.langs a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; color: var(--ink);
  text-decoration: none; font-weight: 500; font-size: .95rem; word-break: normal;
}
.langs a:hover { background: var(--mint); }
.langs a[aria-current="page"] { background: var(--mint); color: var(--forest); font-weight: 800; }
.langs[open] summary { box-shadow: 0 0 0 3px var(--gold), var(--shadow); }

/* ---------------------------------------------------------------- hero: the title art itself */
.hero { position: relative; background: #8ED3F8; isolation: isolate; overflow: hidden; }
.hero-fill { display: none; }
.hero-art { position: relative; width: 100%; aspect-ratio: 1440 / 2760; margin: 0 auto; container-type: inline-size; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-line {
  position: absolute; left: 6%; right: 6%; top: 38.6%; margin: 0; text-align: center;
  color: var(--sky-ink); font-weight: 800; font-size: clamp(1rem, 5.1cqi, 1.6rem); line-height: 1.45; letter-spacing: -.01em; text-wrap: balance;
}
.hero-stores { position: absolute; left: 4%; right: 4%; bottom: 5.5%; }
/* the art's own tagline spot, just left of the logo's little clover (ends where the baked Korean line ended) */
.hero-tag {
  position: absolute; left: 3%; right: 36.6%; top: 14.75%; transform: translateY(-50%); margin: 0;
  text-align: right; white-space: nowrap; color: #0B2233; font-weight: 500; font-size: 3.4cqi; line-height: 1.2; letter-spacing: 0;
}
.hero-lock {
  position: absolute; left: 30.6%; top: 62.2%; width: 40.6%; aspect-ratio: 1; pointer-events: none;
  border-radius: 14%; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
  animation: lockPulse 3.6s var(--ease-out) 1.2s infinite;
}
.hero-lock svg { display: none; }
@keyframes lockPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .75); }
  45%, 100% { box-shadow: 0 0 0 7cqi rgba(255, 255, 255, 0); }
}
.spark {
  position: absolute; width: 5.5%; aspect-ratio: 1; pointer-events: none; opacity: 0;
  background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9));
  animation: spark 3.6s var(--ease-out) 1.2s infinite;
}
.spark.s1 { left: 64%; top: 63%; }
.spark.s2 { left: 27%; top: 70%; width: 4%; animation-delay: 1.45s; }
.spark.s3 { left: 59%; top: 79%; width: 3.4%; animation-delay: 1.7s; }
@keyframes spark {
  0% { opacity: 0; transform: scale(.2) rotate(0); }
  12% { opacity: 1; transform: scale(1) rotate(45deg); }
  30%, 100% { opacity: 0; transform: scale(.4) rotate(90deg); }
}
.stage-hero {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 46%); z-index: 3;
  flex-direction: column; gap: 4px;
}
.stage-hero .pot { width: 84px; filter: drop-shadow(0 8px 14px rgba(23, 60, 33, .25)); }
.stage-hero figcaption { background: var(--paper); box-shadow: var(--shadow); }

/* ---------------------------------------------------------------- chapters: the pot grows */
.chapters { padding-top: 64px; }
.ch {
  position: relative; display: grid; gap: 22px; align-items: start;
  padding: clamp(64px, 11vw, 132px) var(--gutter) clamp(40px, 6vw, 72px);
  max-width: 1240px; margin: 0 auto;
}
.ch h2 { font-size: clamp(1.9rem, 1.15rem + 3.3vw, 3.25rem); color: var(--ink); }
.lead { margin: 0; max-width: 34rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.lead.small { font-size: 1.02rem; margin-top: 14px; }
.ch-body { display: grid; gap: 18px; align-content: start; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; max-width: 34rem; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; background: var(--leaf);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 2 2'%3E%3Cg%3E%3Cpath d='M0 -.647L.004 -.672L.032 -.736L.096 -.806L.193 -.848L.306 -.838L.405 -.776L.463 -.675L.463 -.559L.405 -.444L.306 -.338L.193 -.241L.096 -.151L.032 -.074L0 0L-.032 -.074L-.096 -.151L-.193 -.241L-.306 -.338L-.405 -.444L-.463 -.559L-.463 -.675L-.405 -.776L-.306 -.838L-.193 -.848L-.096 -.806L-.032 -.736L-.004 -.672Z' transform='rotate%2845%29 translate%280 -0.06%29'/%3E%3Cpath d='M0 -.647L.004 -.672L.032 -.736L.096 -.806L.193 -.848L.306 -.838L.405 -.776L.463 -.675L.463 -.559L.405 -.444L.306 -.338L.193 -.241L.096 -.151L.032 -.074L0 0L-.032 -.074L-.096 -.151L-.193 -.241L-.306 -.338L-.405 -.444L-.463 -.559L-.463 -.675L-.405 -.776L-.306 -.838L-.193 -.848L-.096 -.806L-.032 -.736L-.004 -.672Z' transform='rotate%28135%29 translate%280 -0.06%29'/%3E%3Cpath d='M0 -.647L.004 -.672L.032 -.736L.096 -.806L.193 -.848L.306 -.838L.405 -.776L.463 -.675L.463 -.559L.405 -.444L.306 -.338L.193 -.241L.096 -.151L.032 -.074L0 0L-.032 -.074L-.096 -.151L-.193 -.241L-.306 -.338L-.405 -.444L-.463 -.559L-.463 -.675L-.405 -.776L-.306 -.838L-.193 -.848L-.096 -.806L-.032 -.736L-.004 -.672Z' transform='rotate%28225%29 translate%280 -0.06%29'/%3E%3Cpath d='M0 -.647L.004 -.672L.032 -.736L.096 -.806L.193 -.848L.306 -.838L.405 -.776L.463 -.675L.463 -.559L.405 -.444L.306 -.338L.193 -.241L.096 -.151L.032 -.074L0 0L-.032 -.074L-.096 -.151L-.193 -.241L-.306 -.338L-.405 -.444L-.463 -.559L-.463 -.675L-.405 -.776L-.306 -.838L-.193 -.848L-.096 -.806L-.032 -.736L-.004 -.672Z' transform='rotate%28315%29 translate%280 -0.06%29'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 2 2'%3E%3Cg%3E%3Cpath d='M0 -.647L.004 -.672L.032 -.736L.096 -.806L.193 -.848L.306 -.838L.405 -.776L.463 -.675L.463 -.559L.405 -.444L.306 -.338L.193 -.241L.096 -.151L.032 -.074L0 0L-.032 -.074L-.096 -.151L-.193 -.241L-.306 -.338L-.405 -.444L-.463 -.559L-.463 -.675L-.405 -.776L-.306 -.838L-.193 -.848L-.096 -.806L-.032 -.736L-.004 -.672Z' transform='rotate%2845%29 translate%280 -0.06%29'/%3E%3Cpath d='M0 -.647L.004 -.672L.032 -.736L.096 -.806L.193 -.848L.306 -.838L.405 -.776L.463 -.675L.463 -.559L.405 -.444L.306 -.338L.193 -.241L.096 -.151L.032 -.074L0 0L-.032 -.074L-.096 -.151L-.193 -.241L-.306 -.338L-.405 -.444L-.463 -.559L-.463 -.675L-.405 -.776L-.306 -.838L-.193 -.848L-.096 -.806L-.032 -.736L-.004 -.672Z' transform='rotate%28135%29 translate%280 -0.06%29'/%3E%3Cpath d='M0 -.647L.004 -.672L.032 -.736L.096 -.806L.193 -.848L.306 -.838L.405 -.776L.463 -.675L.463 -.559L.405 -.444L.306 -.338L.193 -.241L.096 -.151L.032 -.074L0 0L-.032 -.074L-.096 -.151L-.193 -.241L-.306 -.338L-.405 -.444L-.463 -.559L-.463 -.675L-.405 -.776L-.306 -.838L-.193 -.848L-.096 -.806L-.032 -.736L-.004 -.672Z' transform='rotate%28225%29 translate%280 -0.06%29'/%3E%3Cpath d='M0 -.647L.004 -.672L.032 -.736L.096 -.806L.193 -.848L.306 -.838L.405 -.776L.463 -.675L.463 -.559L.405 -.444L.306 -.338L.193 -.241L.096 -.151L.032 -.074L0 0L-.032 -.074L-.096 -.151L-.193 -.241L-.306 -.338L-.405 -.444L-.463 -.559L-.463 -.675L-.405 -.776L-.306 -.838L-.193 -.848L-.096 -.806L-.032 -.736L-.004 -.672Z' transform='rotate%28315%29 translate%280 -0.06%29'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.note {
  margin: 0; max-width: 34rem; padding: 14px 18px; border-radius: 16px; background: var(--paper);
  color: var(--ink-soft); font-size: .98rem; box-shadow: 0 1px 0 var(--line);
}
.fortune {
  margin: 2px 0 0; max-width: 30rem; padding: 16px 20px; border-radius: 20px; background: var(--mint);
  font-weight: 800; font-size: 1.15rem; color: var(--forest); line-height: 1.45;
}
.fortune span { display: block; font-weight: 500; font-size: .85rem; color: var(--forest); margin-bottom: 4px; }
.ch-art { position: relative; }
.shot {
  width: min(78vw, 300px); height: auto; border-radius: 34px; margin: 0 auto;
  box-shadow: 0 24px 50px rgba(23, 60, 33, .2), 0 4px 12px rgba(23, 60, 33, .1);
  border: 6px solid var(--paper);
}

/* scan demo */
.scan { position: relative; width: min(100%, 460px); margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.scan img { width: 100%; height: auto; }
.track { position: absolute; left: 31%; top: 15.5%; width: 40%; aspect-ratio: 1; }
.corner { position: absolute; width: 28%; height: 28%; border: 0 solid #fff; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); transition: border-color .3s; }
.corner.tl { left: 0; top: 0; border-left-width: 5px; border-top-width: 5px; border-top-left-radius: 18px; }
.corner.tr { right: 0; top: 0; border-right-width: 5px; border-top-width: 5px; border-top-right-radius: 18px; }
.corner.bl { left: 0; bottom: 0; border-left-width: 5px; border-bottom-width: 5px; border-bottom-left-radius: 18px; }
.corner.br { right: 0; bottom: 0; border-right-width: 5px; border-bottom-width: 5px; border-bottom-right-radius: 18px; }
.lock {
  position: absolute; left: 50%; bottom: -16px; transform: translate(-50%, 100%); white-space: nowrap;
  background: var(--gold); color: #5A3B00; font-weight: 800; font-size: .95rem; padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
}
.corner { border-color: var(--gold); }
.js .track { animation: none; }
.js .ch-find .corner { border-color: #fff; }
.js .ch-find .lock { opacity: 0; }
.js .ch-find.in .track { animation: sweep 2.6s var(--ease-out) .2s both; }
.js .ch-find.in .corner { animation: goldOn .01s linear 2.5s forwards; }
.js .ch-find.in .lock { animation: lockIn .6s var(--spring) 2.6s forwards; }
@keyframes sweep {
  0% { transform: translate(-58%, 118%) scale(.78); }
  38% { transform: translate(-30%, 90%) scale(.84); }
  66% { transform: translate(52%, 70%) scale(.9); }
  100% { transform: none; }
}
@keyframes goldOn { to { border-color: var(--gold); } }
@keyframes lockIn { from { opacity: 0; transform: translate(-50%, 140%) scale(.6); } to { opacity: 1; transform: translate(-50%, 100%) scale(1); } }

/* luck cards */
.cards-art { display: grid; gap: 28px; justify-items: center; }
.deck { display: grid; gap: 14px; width: min(100%, 360px); }
.lcard {
  margin: 0; background: var(--bg); color: var(--ink); border-radius: 24px; padding: 20px 20px 18px;
  display: grid; justify-items: center; gap: 8px; text-align: center; box-shadow: var(--shadow);
}
.lcard svg { width: 58px; height: 58px; }
.lcard blockquote { margin: 0; color: var(--ink); font-weight: 800; font-size: 1.12rem; line-height: 1.45; }
.lcard figcaption { font-size: .85rem; color: var(--ink); opacity: .78; }
.lcard:nth-child(1) { rotate: -3deg; }
.lcard:nth-child(2) { rotate: 2deg; }
.lcard:nth-child(3) { rotate: -1.5deg; }

/* journey */
.journey { margin: 0 auto; width: min(100%, 420px); background: var(--paper); border-radius: 28px; padding: 22px 18px 18px; box-shadow: var(--shadow); }
.journey svg { width: 100%; height: auto; overflow: visible; }
.route { fill: none; stroke: var(--leaf); stroke-width: 4; stroke-linecap: round; stroke-dasharray: .012 .02; }
.stop circle { fill: var(--paper); stroke: var(--leaf-deep); stroke-width: 4; }
.stop text { font-weight: 800; font-size: 15px; fill: var(--ink); }
.journey figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .9rem; color: var(--ink-soft); }
.journey figcaption b { color: var(--forest); }
.js .ch-journey .stop, .js .ch-journey .hop { opacity: 0; }
.js .ch-journey.in .stop { animation: pop .5s var(--spring) calc(.25s + var(--i) * .22s) forwards; transform-box: fill-box; transform-origin: center; }
.js .ch-journey.in .hop { animation: fadeIn .4s var(--ease-out) 1.5s forwards; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

/* medals */
.medals { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 12px; width: min(100%, 460px); }
.medals li { display: grid; justify-items: center; gap: 8px; text-align: center; font-weight: 800; font-size: .92rem; line-height: 1.3; }
.medals .medal { width: clamp(64px, 18vw, 88px); height: auto; filter: drop-shadow(0 6px 10px rgba(23, 60, 33, .16)); }
.medals .locked { color: var(--ink-soft); font-weight: 500; }
.js .ch-bloom .medals li { opacity: 0; }
.js .ch-bloom.in .medals li { animation: pop .55s var(--spring) calc(.1s + var(--i) * .07s) forwards; }

/* pot grows when its chapter arrives */
.js .ch .stage .plant { transform: scale(.35); opacity: 0; }
.js .ch.in .stage .plant { animation: grow .9s var(--spring) .1s forwards; }
@keyframes grow { to { transform: none; opacity: 1; } }

/* ---------------------------------------------------------------- promise + cta */
.promise { padding: clamp(56px, 9vw, 110px) var(--gutter); max-width: 1240px; margin: 0 auto; }
.promise h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); text-align: center; margin-bottom: 30px; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: var(--paper); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.promise li { padding: 24px 26px; }
.promise li + li { border-top: 2px dashed #D6E5CF; }
.promise h3 { font-size: 1.3rem; color: var(--forest); margin-bottom: 6px; }
.promise p { margin: 0; color: var(--ink-soft); }

.cta {
  position: relative; text-align: center; color: #fff; background: var(--leaf-deep);
  padding: 96px var(--gutter) 92px; margin-top: 70px; border-radius: 48px 48px 0 0;
}
.cta-pot { width: 150px; margin: -170px auto 10px; filter: drop-shadow(0 14px 18px rgba(10, 50, 20, .3)); }
.cta h2 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); }
.cta p { margin: 14px auto 30px; max-width: 30rem; color: #fff; font-size: 1.1rem; }
.cta .store { box-shadow: 0 12px 28px rgba(5, 40, 14, .35); }

.foot { background: var(--forest); color: #D9EEDC; padding: 48px var(--gutter) calc(48px + env(safe-area-inset-bottom)); }
.foot-in { max-width: 1240px; margin: 0 auto; display: grid; gap: 18px; justify-items: start; }
.foot img { width: 110px; height: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { color: #fff; font-weight: 500; }
.foot .by { margin: 0; font-size: .95rem; }
.foot-langs { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; }
.foot-langs a { font-weight: 400; color: #CFE9D3; }
.foot .attr { margin: 0; font-size: .78rem; line-height: 1.6; color: #A9D3B1; max-width: 60rem; }

/* ---------------------------------------------------------------- docs (privacy, support, go) */
.docbar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); max-width: 1000px; margin: 0 auto; }
.docbar .home { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; min-height: 44px; }
.docbar .home img { width: 40px; height: 40px; border-radius: 11px; }
.langs.on-doc summary { background: var(--mint); color: var(--forest); box-shadow: none; }
.doc { max-width: 46rem; margin: 0 auto; padding: 24px var(--gutter) 90px; }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.8rem); margin: 16px 0 14px; }
.doc h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.doc p { color: var(--ink-soft); }
.doc .mail { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--leaf-deep); color: #fff; font-weight: 800; text-decoration: none; box-shadow: var(--shadow); }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.mail-row span { color: var(--ink-soft); font-weight: 500; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: 18px; box-shadow: 0 1px 0 var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 800; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); rotate: 45deg; transition: rotate .3s var(--ease-out);
}
.faq details[open] summary::after { rotate: 225deg; margin-top: -2px; }
.faq details p { margin: 0; padding: 0 20px 18px; }
.policy h1 { font-size: 1.9rem; color: var(--leaf-deep); }
.policy h2 { font-size: 1.15rem; margin: 26px 0 6px; }
.policy .date { font-size: .9rem; }
.doc hr { border: 0; border-top: 2px dashed #D6E5CF; margin: 56px 0; }
.go { text-align: center; display: grid; justify-items: center; gap: 18px; padding-top: 30px; }
.go .pot { width: 140px; }
.go h1 { font-size: 1.6rem; max-width: 22rem; }

/* ---------------------------------------------------------------- wider screens */
@media (min-width: 760px) {
  .hero { height: max(640px, min(100svh, 1180px)); }
  .hero-fill {
    display: block; position: absolute; inset: -40px; z-index: -1;
    background: url("/img/hero-ambient.webp") center / cover no-repeat; filter: blur(34px) saturate(1.1);
  }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(245, 247, 240, 0), var(--cream)); }
  .hero-art { height: 100%; width: auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
  .ch { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); }
  .ch .stage { grid-column: 1 / -1; }
  .deck { width: 100%; }
  .promise ul { grid-template-columns: repeat(3, 1fr); }
  .promise li + li { border-top: 0; border-left: 2px dashed #D6E5CF; }
}
@media (min-width: 1080px) {
  .ch { grid-template-columns: 170px minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
  .ch .stage { grid-column: auto; flex-direction: column; align-self: start; position: sticky; top: 26vh; }
  .ch .stage .pot { width: 120px; }
  .medals { grid-template-columns: repeat(4, 1fr); width: 100%; }
  .foot-in { grid-template-columns: auto 1fr; align-items: center; column-gap: 40px; }
  .foot img { grid-row: span 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .hero-lock, .spark { display: none; }
}
