:root {
  --night: #0B1015; --night-2: #141C23; --night-3: #1D2831; --curtain: #070B0F;
  --moon: #F3EFE8; --moon-2: #93A1AE;
  --dawn: #BE8B4A; --dawn-2: #D9B77F; --dawn-hi: #FDF0DC;
  --morning: #FAF7F2; --morning-2: #EFEAE2; --ink: #1A1D21; --ink-2: #5E6873;
  --amber-ink: #9A6110;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ff); background: var(--night); color: var(--moon); line-height: 1.6; }
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
html[lang="ja"] body, html[lang^="zh"] body { line-break: strict; }
html[lang="ja"] h1, html[lang="ja"] h2 { word-break: auto-phrase; }
img { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

.top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 18px 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.05rem; min-width: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.langpick { position: relative; font-size: .85rem; flex: none; }
.langpick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; line-height: 1.3; border: 1px solid rgba(243,239,232,.28); color: var(--moon); }
.langpick summary span { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.langpick summary::-webkit-details-marker { display: none; }
.langpick[open] summary { background: var(--moon); color: var(--ink); border-color: var(--moon); }
.langpick ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  background: var(--morning); color: var(--ink); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.45);
  max-height: 70vh; overflow: auto; min-width: 13em; }
.langpick li a, .langpick li span { display: block; padding: 6px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.langpick li a:hover { background: var(--morning-2); }
.langpick li [aria-current] { background: var(--dawn-2); font-weight: 700; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores a { display: inline-block; border-radius: 10px; transition: transform .2s; }
.stores a:hover { transform: translateY(-3px); }
.stores img { display: block; height: 54px; width: auto; }

.mark { position: relative; width: calc(var(--u) * 208); height: calc(var(--u) * 256); flex: none; }
.mark i { position: absolute; display: block; }
.mark .bar { top: 0; width: calc(var(--u) * 72); height: 100%; border-radius: calc(var(--u) * 6) calc(var(--u) * 6) 2px 2px; }
.mark .l { left: 0; background: var(--moon); }
.mark .r { right: 0; background: linear-gradient(180deg, var(--dawn-2), var(--dawn)); }
.mark .refl { top: calc(100% + 2px); height: 38%; opacity: .2; filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.mark .halo { left: -150%; right: -150%; top: 15%; height: 165%;
  background: radial-gradient(50% 50% at 50% 62%, rgba(217,183,127,.24), rgba(190,139,74,.10) 45%, rgba(190,139,74,0) 75%); }
@keyframes breathe { 0%, 100% { opacity: .55; } 45% { opacity: 1; } }
.mark .halo { animation: breathe 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .mark .halo { animation: none; } }

.hero { position: relative; overflow: hidden; min-height: min(100svh, 860px); display: flex; align-items: stretch;
  padding: 110px 0 120px;
  background:
    radial-gradient(46% 42% at 74% 82%, rgba(217,183,127,.42), rgba(190,139,74,.18) 40%, rgba(190,139,74,0) 72%),
    linear-gradient(180deg, var(--curtain) 0%, var(--night) 45%, var(--night-2) 80%, var(--night-3) 100%); }
.stars { position: absolute; inset: 0; background:
  radial-gradient(1.4px 1.4px at 8% 14%, rgba(243,239,232,.55), transparent),
  radial-gradient(1px 1px at 19% 31%, rgba(243,239,232,.35), transparent),
  radial-gradient(1.2px 1.2px at 37% 9%, rgba(243,239,232,.45), transparent),
  radial-gradient(1px 1px at 52% 22%, rgba(243,239,232,.3), transparent),
  radial-gradient(1.4px 1.4px at 63% 12%, rgba(243,239,232,.5), transparent),
  radial-gradient(1px 1px at 78% 26%, rgba(243,239,232,.3), transparent),
  radial-gradient(1.2px 1.2px at 91% 8%, rgba(243,239,232,.45), transparent); }
.hero .wrap { position: relative; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero .copy { max-width: 600px; align-self: center; }
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.hero .sub { margin: 22px 0 34px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--dawn-2); font-weight: 500; max-width: 30em; text-wrap: pretty; }
.mark.big { --u: 1.25px; margin-right: 6%; }
.horizon { position: absolute; left: 0; right: 0; bottom: 92px; height: 1px;
  background: linear-gradient(90deg, rgba(217,183,127,0), rgba(217,183,127,.25) 40%, rgba(217,183,127,.65) 76%, rgba(217,183,127,0)); }
.hero .mark.big { margin-bottom: -28px; }

.beats { padding: 40px 0; }
.beat { margin: 0 auto; max-width: 1120px; padding: 70px 28px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 56px; }
.beat:nth-child(even) { grid-template-columns: auto 1fr; }
.beat:nth-child(even) figcaption { order: 2; }
.beat figcaption { max-width: 560px; }
.beat:nth-child(odd) figcaption { justify-self: end; text-align: right; }
.beat .n { display: block; font-size: .95rem; font-weight: 700; letter-spacing: .12em; color: var(--dawn-2); margin-bottom: 14px; }
.beat h2 { margin: 0; font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.16; letter-spacing: -.02em; }
.phone { width: 300px; border-radius: 34px; padding: 8px; background: #05080B; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(243,239,232,.08); }
.phone img { display: block; width: 100%; height: auto; border-radius: 27px; aspect-ratio: 480 / 853; background: var(--night-3); }

.beats.night { background: linear-gradient(180deg, var(--night-3) 0%, var(--night-2) 40%, var(--night) 100%); }
.sunrise { position: relative; height: 340px; display: flex; justify-content: center; align-items: flex-end; overflow: hidden;
  background: linear-gradient(180deg, var(--night) 0%, #2A2620 38%, #8C6A40 62%, var(--dawn-2) 78%, var(--morning) 100%); }
.mark.small { --u: .5px; margin-bottom: 120px; }
.beats.morning { background: var(--morning); color: var(--ink); }
.beats.morning .n { color: var(--amber-ink); }
.beats.morning .phone { background: #1A1D21; box-shadow: 0 30px 70px rgba(90,70,40,.22), 0 0 0 1px rgba(26,29,33,.06); }

.close { background: linear-gradient(180deg, var(--morning) 0%, var(--morning-2) 100%); color: var(--ink); text-align: center; padding: 40px 24px 96px; }
.close .app-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 14px 40px rgba(90,70,40,.25); }
.close h2 { margin: 18px 0 26px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; }
.close .stores { justify-content: center; }

footer { padding: 28px 22px 44px; text-align: center; font-size: .9rem; color: var(--moon-2); background: var(--night); }
footer a { color: var(--moon); }
.foot-langs { margin-top: 12px; line-height: 2; }
.foot-langs [aria-current] { color: var(--dawn-2); font-weight: 700; }

@media (max-width: 960px) {
  .mark.big { --u: 1px; margin-right: 0; }
  .beat { gap: 36px; padding: 56px 28px; }
  .phone { width: 260px; }
}
@media (max-width: 700px) {
  .top { padding: 14px 18px; }
  .hero { min-height: 0; padding: 92px 0 0; align-items: stretch; }
  .hero .wrap { flex-direction: column; align-items: flex-start; gap: 0; padding: 0 22px; }
  .hero .copy { align-self: stretch; }
  .hero h1 { font-size: clamp(2.1rem, 9.4vw, 2.8rem); }
  .hero .sub { margin: 16px 0 26px; }
  .stores img { height: 48px; }
  .hero .mark.big { --u: .62px; align-self: center; margin: 54px 0 0; }
  .horizon { bottom: auto; top: calc(100% - 1px); }
  .beats { padding: 10px 0; }
  .beat, .beat:nth-child(even) { grid-template-columns: 1fr; gap: 26px; padding: 50px 22px; justify-items: center; }
  .beat:nth-child(even) figcaption { order: 0; }
  .beat figcaption, .beat:nth-child(odd) figcaption { justify-self: stretch; text-align: left; }
  .beat h2 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .phone { width: min(260px, 74vw); border-radius: 30px; }
  .phone img { border-radius: 23px; }
  .sunrise { height: 260px; }
  .mark.small { margin-bottom: 90px; }
}
