/* WON PZN landing page
   Ground: the KV sky gradient. One bold thing: rounded heavy display type + real screens on sky.
   Everything else white, quiet, left-aligned. */

:root {
  --sky-deep: #0E9FF7;
  --sky: #31CBF7;
  --sky-light: #56D7FC;
  --action: #2F79FC;
  --action-press: #2261D6;
  --ink: #0B2A4A;
  --ink-2: #4A6584;
  --paper: #FFFFFF;
  --paper-tint: #EEF7FF;
  --line: rgba(11, 42, 74, 0.10);
  --shadow-sky: 0 18px 40px -18px rgba(9, 92, 160, 0.45);
  --radius-tile: 28px;
  --radius-btn: 999px;
  --font-display: 'Baloo 2', 'Be Vietnam Pro', system-ui, sans-serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --col: 480px;
  --gutter: 22px;
}
html[lang="ko"] {
  --font-display: 'Jua', 'Noto Sans KR', system-ui, sans-serif;
  --font-body: 'Noto Sans KR', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: linear-gradient(160deg, var(--sky-deep) 0%, var(--sky) 55%, var(--sky-light) 100%) fixed;
  min-height: 100dvh;
}
img { display: block; max-width: 100%; height: auto; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #FFD84D; outline-offset: 3px; }

.page {
  position: relative;
  max-width: var(--col);
  margin: 0 auto;
  background: var(--paper);
  min-height: 100dvh;
  overflow-x: clip;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 30px 80px -30px rgba(0,60,120,.5);
}
.page[aria-busy="true"] main { visibility: hidden; }

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 9;
  background: #fff; color: var(--action); padding: 10px 14px; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top .15s ease;
}
.skip:focus { top: 12px; }

/* ---------- header (over the hero) ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
}
.brand img { width: 118px; height: auto; filter: drop-shadow(0 1px 2px rgba(0,40,90,.25)); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.lang__btn {
  border: 0; background: transparent; color: #fff; font-weight: 600; font-size: 12px; letter-spacing: .02em;
  min-width: 44px; min-height: 38px; border-radius: 999px; transition: background .15s, color .15s;
}
.lang__btn[aria-pressed="true"] { background: #fff; color: var(--action); }
.lang__btn:not([aria-pressed="true"]):hover { background: rgba(255,255,255,.18); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: var(--radius-btn); border: 0;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--white { background: #fff; color: var(--action); box-shadow: 0 10px 24px -12px rgba(0,50,120,.55); }
.btn--white:hover { background: #F2F9FF; }
.btn--action { background: var(--action); color: #fff; box-shadow: 0 12px 26px -12px rgba(47,121,252,.7); }
.btn--action:hover { background: var(--action-press); }
.btn--full { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link {
  background: none; border: 0; padding: 0; color: var(--action); font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent;
}
.link:hover { border-bottom-color: currentColor; }
.link[aria-expanded="true"] svg { transform: rotate(180deg); }
.link svg { width: 14px; height: 14px; transition: transform .2s; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(170deg, var(--sky-deep) 0%, var(--sky) 60%, var(--sky-light) 100%);
  padding-bottom: 30px;
}
.hero__art { position: relative; aspect-ratio: 1 / 0.94; overflow: hidden; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%;
  background: linear-gradient(180deg, rgba(49,203,247,0) 0%, var(--sky) 100%);
}
.hero--master .hero__art { aspect-ratio: auto; padding: 96px var(--gutter) 0; overflow: visible; }
.hero--master .hero__art::after { display: none; }
.hero__headline-art { margin: 0 auto 8px; width: 100%; max-width: 420px; height: auto; }
.hero__subject { width: 108%; max-width: none; margin: -6px -4% 0; height: auto; }
.hero__copy { position: relative; padding: 4px var(--gutter) 0; margin-top: -8px; }
.hero__title {
  font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1.06; letter-spacing: -0.01em;
  margin: 0 0 12px; text-wrap: balance; max-width: 15ch;
}
html[lang="ko"] .hero__title { font-weight: 400; font-size: 32px; letter-spacing: 0; max-width: 16ch; }
.hero--master .hero__title { font-size: 24px; max-width: 22ch; opacity: .95; }
.hero__sub { margin: 0 0 20px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.92); max-width: 34ch; }
.hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__cta-note { font-size: 13px; color: rgba(255,255,255,.85); }

@media (prefers-reduced-motion: no-preference) {
  .hero__subject, .hero__headline-art { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero__headline-art { animation-delay: .08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- feature hooks ---------- */
.hook { padding: 34px var(--gutter) 6px; background: var(--paper); }
.hook + .hook { padding-top: 22px; }
.tile {
  position: relative; height: 300px; border-radius: var(--radius-tile); overflow: hidden;
  background: radial-gradient(120% 90% at 20% 0%, var(--sky-light) 0%, var(--sky) 45%, var(--sky-deep) 100%);
  box-shadow: var(--shadow-sky);
}
.tile__phone {
  position: absolute; bottom: -12px; right: -6px; width: 62%; max-width: 300px; height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,40,100,.35));
}
.hook--alt .tile__phone { right: auto; left: -6px; }
.tile__card { position: absolute; left: 50%; top: 50%; width: 76%; max-width: 330px; height: auto; transform: translate(-50%, -50%) rotate(-3deg); }
.tile__caption {
  position: absolute; left: 18px; top: 18px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 15px;
  padding: 6px 12px; border-radius: 999px; background: rgba(0,50,110,.22); backdrop-filter: blur(6px);
}
html[lang="ko"] .tile__caption { font-weight: 400; }
.hook__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.15; margin: 20px 0 8px; letter-spacing: -0.01em; text-wrap: balance; }
html[lang="ko"] .hook__title { font-weight: 400; letter-spacing: 0; }
.hook__body { margin: 0 0 12px; color: var(--ink-2); max-width: 40ch; }
.steps { margin: 12px 0 8px; padding: 0 0 0 4px; list-style: none; counter-reset: step; display: grid; gap: 8px; }
.steps li { position: relative; padding-left: 36px; color: var(--ink); counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper-tint); color: var(--action); font-weight: 700; font-size: 13px; display: grid; place-items: center;
}
.steps[hidden] { display: none; }

/* ---------- master carousel ---------- */
.carousel { padding: 34px 0 10px; background: var(--paper); }
.carousel__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.15; margin: 0 var(--gutter) 14px; }
html[lang="ko"] .carousel__title { font-weight: 400; }
.carousel__track {
  display: flex; gap: 12px; overflow-x: auto; padding: 4px var(--gutter) 18px; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: 0 0 78%; scroll-snap-align: start; border-radius: 22px; overflow: hidden; background: var(--paper-tint);
  text-align: left; border: 0; padding: 0; color: var(--ink); box-shadow: 0 10px 24px -16px rgba(0,60,120,.4);
}
.carousel__item img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.carousel__meta { padding: 12px 14px 14px; }
.carousel__meta strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 800; }
html[lang="ko"] .carousel__meta strong { font-weight: 400; }
.carousel__meta span { color: var(--ink-2); font-size: 14px; }
.intro { padding: 6px var(--gutter) 10px; background: var(--paper); }
.intro p { margin: 0; color: var(--ink-2); max-width: 40ch; }
.intro__lead { font-weight: 600; color: var(--ink); }

/* ---------- download ---------- */
.download {
  position: relative; margin-top: 24px; padding: 34px var(--gutter) 0; color: #fff; overflow: hidden; min-height: 340px;
  background: linear-gradient(165deg, var(--sky-deep) 0%, var(--sky) 55%, var(--sky-light) 100%);
}
.download__title { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.15; margin: 0 0 8px; max-width: 13ch; text-wrap: balance; }
html[lang="ko"] .download__title { font-weight: 400; }
.download__body { position: relative; z-index: 1; margin: 0 0 18px; color: rgba(255,255,255,.92); max-width: 25ch; }
.download__phone { position: absolute; right: -62px; bottom: -56px; width: 172px; z-index: 0; opacity: .95; filter: drop-shadow(0 20px 40px rgba(0,40,100,.4)); }
.qr {
  position: relative; z-index: 1; display: inline-block; padding: 12px; border-radius: 18px; background: #fff;
  box-shadow: 0 14px 30px -14px rgba(0,50,120,.6);
}
.qr svg, .qr img, .qr canvas { display: block; width: 138px; height: 138px; }
.qr__hint { position: relative; z-index: 1; margin: 8px 0 0; width: 162px; color: rgba(255,255,255,.9); font-size: 12px; text-align: center; }
.qr--offline { width: 174px; height: 174px; display: grid; place-items: center; color: var(--ink-2); font-size: 12px; text-align: center; }
.stores { position: relative; z-index: 1; display: grid; gap: 10px; max-width: 232px; }
.download__links { position: relative; z-index: 1; margin: 14px 0 0; font-size: 13px; }
.download__links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.download__links a + a { margin-left: 14px; }
.download__note { position: relative; z-index: 1; margin: 12px 0 0; font-size: 13px; color: rgba(255,255,255,.85); max-width: 26ch; }
.download__spacer { height: 34px; }

/* ---------- promo ---------- */
.promo { padding: 30px var(--gutter) 34px; background: var(--paper); }
.promo__card { border-radius: var(--radius-tile); background: var(--paper-tint); padding: 24px 22px 22px; }
.promo__title { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin: 0 0 6px; }
html[lang="ko"] .promo__title { font-weight: 400; }
.promo__body { margin: 0 0 18px; color: var(--ink); max-width: 36ch; }
.promo__terms { margin: 12px 0 0; font-size: 12px; color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { padding: 26px var(--gutter) 110px; background: var(--paper-tint); color: var(--ink-2); font-size: 13px; }
.foot__lockup { width: 120px; margin-bottom: 10px; filter: invert(28%) sepia(60%) saturate(900%) hue-rotate(190deg) brightness(.9); }
.foot__bank { margin: 0 0 8px; font-weight: 500; color: var(--ink); }
.foot__links { display: flex; gap: 8px; }
.foot__links a {
  color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 10px; border-radius: 8px;
}
.foot__links a:first-child { padding-left: 0; }
.foot__links a:hover { color: var(--action); background: rgba(47,121,252,.08); }

/* ---------- sticky bar ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  margin: 0 auto; max-width: var(--col);
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(0); transition: transform .25s ease;
}
.sticky[hidden] { display: flex; transform: translateY(110%); }
.sticky__note { font-size: 13px; color: var(--ink-2); flex: 1; }
.sticky .btn { flex: 0 1 auto; min-height: 46px; font-size: 15px; padding: 0 18px; max-width: 70%; white-space: normal; text-align: center; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 6;
  max-width: min(92vw, 440px); padding: 10px 14px; border-radius: 14px;
  background: var(--ink); color: #fff; font-size: 13px; line-height: 1.4; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
  animation: toast-in .2s ease both;
}
.toast[hidden] { display: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- wider screens: keep the mobile column, centre it ---------- */
@media (min-width: 640px) {
  .page { margin: 28px auto; min-height: auto; border-radius: 36px; overflow: hidden; }
  .top { padding-top: 20px; }
  .sticky { max-width: var(--col); border-radius: 0 0 36px 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
