/* =========================================================
   JEMI landing — tokens from design_handoff_jemi_app/README.md
   ========================================================= */
:root {
  --green: #07C654;
  --green-d: #058D3C;
  --green-t: #E6F9EE;
  --green-ring: #63DB93;
  --blue: #1499FF;
  --blue-t: #E8F5FF;
  --blue-ring: #6BBFFF;
  --orange: #FF6F0F;
  --orange-d: #D65800;
  --orange-t: #FFF1E7;
  --orange-ring: #FFA468;
  --pink: #F15CFF;
  --pink-t: #FEEFFF;
  --ink: #16191C;
  --g-50: #F7F8F8;
  --g-100: #EBEDEF;
  --g-200: #DCDFE3;
  --g-300: #CBD0D5;
  --g-500: #939AA1;
  --g-600: #7B8186;
  --g-700: #63676C;
  --g-800: #4E5155;
  --g-900: #3B4044;
  --white: #FFFFFF;
  --world: #EEF3F0;
  --danger: #FF5847;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-sheet: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 16px;
  --maxw: 1200px;
  --nav-h: 64px;
  --shadow-card: 0 8px 20px -8px rgba(22, 25, 28, .3);
}

@media (min-width: 760px) { :root { --gutter: 32px; } }
@media (min-width: 1080px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: 8px; font-weight: 600; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.h2 { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.03em; }
.h3 { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 28px; color: var(--g-700); max-width: 560px; }
@media (min-width: 760px) {
  .h2 { font-size: 48px; line-height: 1.12; }
  .h3 { font-size: 30px; line-height: 36px; }
}
@media (min-width: 1080px) {
  .h2 { font-size: 60px; line-height: 1.1; }
  .lead { font-size: 20px; line-height: 28px; }
}

/* split words */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.sw > span { display: inline-block; will-change: transform; }

/* ---------- buttons: JEMI hard shadow ---------- */
.btn {
  --bg: var(--green); --fg: #fff; --ring: var(--green); --drop: var(--green-d);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 12px; min-height: 44px;
  font-size: 16px; line-height: 24px; font-weight: 600;
  color: var(--fg); background: var(--bg);
  border: 1px solid var(--ring); border-radius: 12px;
  box-shadow: 0 4px 0 0 var(--drop);
  cursor: pointer; white-space: nowrap;
  transition: transform 60ms ease-out, box-shadow 60ms ease-out, background-color .3s var(--ease), filter .3s var(--ease);
}
.btn:hover { filter: brightness(1.04) saturate(1.05); }
.btn:active { transform: translateY(4px); box-shadow: none; }
.btn--sm { font-size: 14px; line-height: 20px; min-height: 40px; padding: 8px 12px; border-radius: 10px; }
.btn--lg { min-height: 56px; padding: 12px 24px; font-size: 18px; line-height: 28px; border-radius: 16px; }
.btn--white { --bg: #fff; --fg: var(--green-d); --ring: #fff; --drop: var(--green-d); }
.btn[disabled], .btn[aria-busy="true"] { cursor: progress; filter: saturate(.6); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; padding: 0 4px; color: var(--ink); }
.link-arrow svg { width: 20px; height: 20px; transition: transform .6s var(--ease); }
.link-arrow:hover svg { transform: translateY(4px); }

/* ---------- phone frame ---------- */
.phone {
  --w: 280px;
  width: var(--w);
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.16);
  background: #101214;
  box-shadow:
    inset 0 0 0 2px #3B4044,
    inset 0 0 0 4px #0B0C0D,
    0 48px 80px -32px rgba(22, 25, 28, .45),
    0 16px 32px -16px rgba(22, 25, 28, .35);
}
.phone-screen { position: relative; aspect-ratio: 375 / 812; border-radius: calc(var(--w) * 0.128); overflow: hidden; background: #fff; isolation: isolate; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   WORLD (fixed WebGL canvas)
   ========================================================= */
.world { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); background: var(--world); }
.world.is-ready { opacity: 1; }
.world.is-off { visibility: hidden; }
.world-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.world-labels { position: absolute; inset: 0; overflow: hidden; }
.wl {
  position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap;
  background: #fff; color: var(--ink);
  border: 1px solid var(--g-200); box-shadow: 0 4px 0 0 var(--g-200), 0 12px 24px -12px rgba(22,25,28,.25);
  opacity: 0; will-change: transform, opacity;
  transform: translate3d(-9999px, 0, 0);
}
.wl svg { width: 20px; height: 20px; flex: none; }
.wl-ico { display: grid; place-items: center; }
.wl-ico--blue svg { color: var(--blue); }
.wl-radar svg, .wl-walk svg { color: var(--green); }
.wl-walk.is-arrived { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 4px 0 0 var(--green-d), 0 12px 24px -12px rgba(5,141,60,.5); }
.wl-walk.is-arrived svg { color: #fff; }
.wl-ring { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 4px 0 0 #000; font-size: 12px; line-height: 16px; padding: 4px 8px; }
.wl-reward { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 4px 0 0 var(--green-d); font-size: 16px; line-height: 24px; }
.wl-reward svg { color: #fff; }
.wl-xp { padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--green-d); font-size: 14px; line-height: 20px; }

.world-poster { display: none; }
html:not(.js) .world, html.rm .world, html.no-webgl .world { display: none; }
html:not(.js) .world-poster, html.rm .world-poster, html.no-webgl .world-poster {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; z-index: 0;
}

/* =========================================================
   NAV — floating island
   ========================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 16px var(--gutter) 0; pointer-events: none; transition: transform .7s var(--ease); }
.nav.is-hidden { transform: translateY(-120%); }
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 24px;
  width: 100%; max-width: 1080px; min-height: var(--nav-h);
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border: 1px solid rgba(220, 223, 227, .9);
  box-shadow: 0 12px 32px -16px rgba(22, 25, 28, .25);
}
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.brand-pin { width: 32px; height: 32px; transition: transform .7s var(--ease); }
.brand:hover .brand-pin { transform: translateY(-2px) rotate(-8deg); }
.brand-word { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.04em; color: var(--green); }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--g-800); transition: background-color .4s var(--ease), color .4s var(--ease); }
.nav-links a:hover { background: var(--g-50); color: var(--ink); }
.nav-links a[aria-current="true"] { background: var(--green-t); color: var(--green-d); }
.nav-cta { display: none; }
@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; margin-left: 8px; }
  .burger { display: none !important; }
}

.burger { position: relative; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--g-50); cursor: pointer; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .7s var(--ease), top .7s var(--ease); }
.burger i:nth-of-type(1) { top: 19px; }
.burger i:nth-of-type(2) { top: 27px; }
.burger[aria-expanded="true"] i:nth-of-type(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { top: 23px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(32px); backdrop-filter: blur(32px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu nav { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.menu nav a:not(.btn) { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.02em; padding: 8px 12px; }
.menu nav > * { opacity: 0; transform: translateY(48px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.menu.is-open nav > * { opacity: 1; transform: none; }
.menu.is-open nav > *:nth-child(1) { transition-delay: .1s; }
.menu.is-open nav > *:nth-child(2) { transition-delay: .15s; }
.menu.is-open nav > *:nth-child(3) { transition-delay: .2s; }
.menu.is-open nav > *:nth-child(4) { transition-delay: .25s; }
.menu.is-open nav > *:nth-child(5) { transition-delay: .3s; }
.menu.is-open nav > *:nth-child(6) { transition-delay: .35s; margin-top: 16px; }

/* =========================================================
   HERO
   ========================================================= */
main { position: relative; z-index: 1; }
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px 0 96px;
  overflow: hidden;
}
html:not(.js) .hero, html.rm .hero, html.no-webgl .hero { background: var(--world); }
.hero-inner { position: relative; z-index: 2; }
/* legibility veil over the 3D city, behind the copy only */
.js:not(.rm) .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(238,243,240,.92) 0%, rgba(238,243,240,.75) 34%, rgba(238,243,240,0) 58%); }
@media (max-width: 759px) { .js:not(.rm) .hero::before { background: linear-gradient(0deg, rgba(238,243,240,.96) 0%, rgba(238,243,240,.85) 45%, rgba(238,243,240,0) 66%); } }
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 8px; margin-bottom: 24px;
  border-radius: 999px; background: #fff; border: 1px solid var(--g-200);
  box-shadow: 0 4px 0 0 var(--g-200);
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--green-d);
}
.chip-pin { width: 16px; height: 16px; color: var(--green); }
.hero-title {
  max-width: 680px;
  font-size: 48px; line-height: 1.04; font-weight: 700; letter-spacing: -0.045em;
  color: var(--ink);
}
.hero-sub { max-width: 480px; margin-top: 24px; font-size: 18px; line-height: 28px; color: var(--g-800); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.hero-facts li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 8px; border-radius: 999px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(220,223,227,.9);
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--g-800);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-facts svg { width: 16px; height: 16px; color: var(--green); }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 24px; height: 40px; margin-left: -12px; border: 2px solid rgba(22,25,28,.25); border-radius: 999px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 759px) {
  .hero { align-items: flex-end; padding-top: 45vh; padding-top: 45svh; padding-bottom: 80px; }
  .hero-sub { font-size: 16px; line-height: 24px; }
  .scroll-cue { display: none; }
}
@media (min-width: 760px) {
  .hero { align-items: center; padding: 128px 0 96px; }
  .hero-title { font-size: 72px; }
}
@media (min-width: 760px) and (max-width: 1079px) and (orientation: portrait) {
  .hero { align-items: flex-end; padding-top: 45vh; padding-bottom: 96px; }
  .js:not(.rm) .hero::before { background: linear-gradient(0deg, rgba(238,243,240,.96) 0%, rgba(238,243,240,.85) 45%, rgba(238,243,240,0) 66%); }
}
@media (min-width: 1280px) {
  .hero-title { font-size: 96px; line-height: 1; }
  .hero-sub { font-size: 20px; line-height: 28px; }
}

/* =========================================================
   PROBLEM
   ========================================================= */
.problem { position: relative; background: #fff; padding: 96px 0 80px; overflow: hidden; border-radius: 32px 32px 0 0; margin-top: -32px; }
.problem-head { display: grid; gap: 24px; }
@media (min-width: 1080px) {
  .problem { padding: 160px 0 128px; border-radius: 48px 48px 0 0; margin-top: -48px; }
  .problem-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; }
}
.marquee { margin-top: 64px; display: grid; gap: 16px; }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; gap: 16px; width: max-content; padding: 8px 0; animation: marq 46s linear infinite; }
.marquee-row[data-dir="-1"] .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translate3d(-50%, 0, 0); } }
.qb {
  display: inline-flex; align-items: center; gap: 12px; flex: none;
  padding: 12px 24px 12px 12px; border-radius: 999px;
  font-size: 18px; line-height: 28px; font-weight: 600; white-space: nowrap;
  background: #fff; border: 1px solid var(--ring); box-shadow: 0 4px 0 0 var(--ring);
}
.qb b { padding: 4px 12px; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 700; }
.qb--blue { --ring: var(--blue-ring); } .qb--blue b { background: var(--blue-t); color: var(--blue); }
.qb--green { --ring: var(--green-ring); } .qb--green b { background: var(--green-t); color: var(--green-d); }
.qb--orange { --ring: var(--orange-ring); } .qb--orange b { background: var(--orange-t); color: var(--orange-d); }
@media (min-width: 1080px) { .qb { font-size: 24px; line-height: 32px; padding: 16px 32px 16px 16px; } }

/* =========================================================
   TAGLINE
   ========================================================= */
.tagline { position: relative; background: #fff; padding: 64px 0 128px; }
.tagline-text {
  max-width: 680px; margin: 0 auto; text-align: center;
  font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -0.035em; color: var(--ink);
}
.tagline-text .tw { transition: color .9s var(--ease); }
.js:not(.rm) .tagline-text .tw { color: rgba(22, 25, 28, .28); }
.js:not(.rm) .tagline-text .tw.is-on { color: var(--ink); }
.js:not(.rm) .tagline-text .tw.is-on.tw--g { color: var(--green); }
@media (min-width: 760px) { .tagline-text { font-size: 48px; max-width: 800px; } }
@media (min-width: 1080px) { .tagline { padding: 96px 0 192px; } .tagline-text { font-size: 60px; max-width: 980px; line-height: 1.15; } }

/* =========================================================
   STORY (3D scrollytelling)
   ========================================================= */
.story { position: relative; }
.story-track { position: relative; height: 520vh; }
.story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1fr; align-items: end; padding-bottom: 32px; }
.story-cards { position: relative; min-height: 280px; }
.scard {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: 440px; padding: 24px;
  border-radius: 24px; background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--g-200); box-shadow: 0 4px 0 0 var(--g-200), 0 24px 48px -24px rgba(22,25,28,.3);
  opacity: 0; transform: translateY(48px) scale(.98); filter: blur(8px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
  pointer-events: none;
}
.scard.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.scard.is-past { transform: translateY(-32px) scale(.98); }
.scard-kicker { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--green-d); margin-bottom: 8px; }
.scard-num { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--g-600); margin-bottom: 8px; }
.scard-num span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 4px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; }
.scard-title { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.03em; }
.scard-body { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--g-800); }
.step-shot { display: none; }
.story-phone { display: none; }
.story-progress { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: 96px; height: 4px; border-radius: 4px; background: rgba(22,25,28,.08); overflow: hidden; display: none; }
.story-progress i { position: absolute; inset: 0; background: var(--green); transform-origin: 0 50%; transform: scaleX(0); }

@media (min-width: 1080px) {
  .story-grid { grid-template-columns: 440px 1fr 300px; align-items: center; padding-bottom: 0; }
  .story-cards { grid-column: 1; min-height: 340px; }
  .scard { top: 50%; bottom: auto; transform: translateY(calc(-50% + 48px)) scale(.98); padding: 32px; }
  .scard.is-active { transform: translateY(-50%); }
  .scard.is-past { transform: translateY(calc(-50% - 32px)) scale(.98); }
  .scard-title { font-size: 36px; line-height: 40px; }
  .story-phone { display: block; grid-column: 3; justify-self: end; perspective: 1400px; }
  .story-phone .phone { --w: 272px; transform: rotateY(-16deg) rotateX(4deg) rotateZ(1deg); transform-style: preserve-3d; transition: transform 1.2s var(--ease); }
  .story-phone .phone-screen img { opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform .9s var(--ease); }
  .story-phone .phone-screen img.is-active { opacity: 1; transform: none; }
  .story-progress { display: block; left: auto; right: var(--gutter); top: 50%; width: 4px; height: 160px; margin-top: -80px; }
  .story-progress i { transform-origin: 50% 0; transform: scaleY(0); }
}

/* static story (no JS / reduced motion / no WebGL) */
html:not(.js) .story-track, html.rm .story-track, html.no-webgl .story-track { height: auto; }
html:not(.js) .story-stage, html.rm .story-stage, html.no-webgl .story-stage { position: relative; height: auto; overflow: visible; background: var(--world); padding: 96px 0; }
html:not(.js) .story .world-poster, html.rm .story .world-poster, html.no-webgl .story .world-poster { opacity: .35; }
html:not(.js) .story-grid, html.rm .story-grid, html.no-webgl .story-grid { display: block; height: auto; }
html:not(.js) .story-cards, html.rm .story-cards, html.no-webgl .story-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
html:not(.js) .scard, html.rm .scard, html.no-webgl .scard { position: relative; inset: auto; max-width: none; opacity: 1; transform: none; filter: none; top: auto; }
html:not(.js) .scard[data-step="0"], html.rm .scard[data-step="0"], html.no-webgl .scard[data-step="0"] { grid-column: 1 / -1; }
html:not(.js) .step-shot, html.rm .step-shot, html.no-webgl .step-shot { display: block; width: 200px; margin-top: 24px; border-radius: 24px; border: 6px solid #101214; }
html:not(.js) .story-phone, html.rm .story-phone, html.no-webgl .story-phone, html.rm .story-progress, html.no-webgl .story-progress { display: none; }

/* =========================================================
   TWO WAYS
   ========================================================= */
.ways { position: relative; background: var(--g-50); padding: 96px 0; border-radius: 32px 32px 0 0; }
@media (min-width: 1080px) { .ways { padding: 160px 0 128px; border-radius: 48px 48px 0 0; } }
.sec-head { display: grid; gap: 24px; margin-bottom: 48px; }
.sec-head--center { justify-items: center; text-align: center; }
.sec-head--center .lead { margin: 0 auto; }
@media (min-width: 1080px) { .sec-head { margin-bottom: 80px; } }
.ways-grid { display: grid; gap: 24px; }
@media (min-width: 1080px) { .ways-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.way {
  --tx: 0deg; --ty: 0deg;
  position: relative; overflow: hidden;
  display: grid; gap: 32px;
  padding: 32px 24px 0;
  border-radius: 32px; background: #fff;
  border: 1px solid var(--ring); box-shadow: 0 4px 0 0 var(--ring);
  transform: perspective(1200px) rotateX(var(--tx)) rotateY(var(--ty));
  transition: transform .7s var(--ease), box-shadow .5s var(--ease);
  transform-style: preserve-3d;
}
.way--blue { --ring: var(--blue-ring); --c: var(--blue); --t: var(--blue-t); }
.way--green { --ring: var(--green-ring); --c: var(--green); --t: var(--green-t); }
.way-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 8px; margin-bottom: 16px; border-radius: 999px; background: var(--t); color: var(--c); font-size: 14px; line-height: 20px; font-weight: 700; }
.way--green .way-badge { color: var(--green-d); }
.way-badge svg { width: 20px; height: 20px; }
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { position: relative; padding-left: 32px; color: var(--g-800); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 999px; background: var(--t); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--c); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.way-phone { position: relative; display: flex; justify-content: center; margin-top: auto; transform: translateZ(40px); }
.way-phone .phone { --w: 248px; margin-bottom: -136px; }
.way { padding-bottom: 0; min-height: 0; }
.way-phone { height: 400px; align-items: flex-start; }
@media (min-width: 760px) {
  .way { padding: 48px 40px 0; }
  .way-phone .phone { --w: 272px; }
  .way-phone { height: 440px; }
}
.geo { position: absolute; right: 8%; top: 24px; width: 112px; height: 112px; display: grid; place-items: center; }
.geo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.geo-ring { fill: rgba(7,198,84,.08); stroke: var(--green); stroke-width: 2; stroke-dasharray: 6 6; transform-origin: 60px 60px; animation: spin 18s linear infinite; }
.geo-pulse { fill: none; stroke: var(--green); stroke-width: 2; transform-origin: 60px 60px; animation: pulse 2.4s var(--ease) infinite; }
.geo-dot { fill: var(--green); stroke: #fff; stroke-width: 3; }
.geo span { position: relative; margin-top: 64px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; line-height: 16px; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }

/* =========================================================
   현장ON — horizontal
   ========================================================= */
.localon { position: relative; background: #fff; padding: 96px 0; overflow: hidden; }
.localon-pin { position: relative; }
.localon-head { display: grid; gap: 24px; margin-bottom: 48px; }
@media (min-width: 1080px) { .localon-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; } }
.hscroll { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 16px 0 32px; overscroll-behavior-x: contain; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll-track { display: flex; gap: 24px; width: max-content; padding: 0 var(--gutter); perspective: 1600px; }
.hcard { scroll-snap-align: center; width: 260px; flex: none; perspective: 1200px; }
.hcard .phone { --w: 260px; transform-style: preserve-3d; will-change: transform; }
.hcard h3 { margin-top: 32px; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.02em; }
.hcard p { margin-top: 8px; color: var(--g-700); font-size: 16px; line-height: 24px; }
.hcard::before { counter-increment: hc; content: counter(hc); display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 16px; border-radius: 999px; background: var(--green-t); color: var(--green-d); font-weight: 700; font-size: 14px; }
.hscroll-track { counter-reset: hc; }

/* pinned horizontal (desktop, motion OK) */
@media (min-width: 1080px) {
  .js:not(.rm) .localon.is-pinned { padding: 0; }
  .js:not(.rm) .localon.is-pinned .localon-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .js:not(.rm) .localon.is-pinned .localon-head { margin-bottom: 32px; }
  .js:not(.rm) .localon.is-pinned .hscroll { overflow: visible; scroll-snap-type: none; }
  .js:not(.rm) .localon.is-pinned .hscroll-track { gap: 64px; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); padding-right: 30vw; }
  .hcard { width: 300px; }
  .hcard .phone { --w: 256px; }
  .js:not(.rm) .localon.is-pinned .hcard .phone { --w: min(256px, calc((100vh - 400px) * 0.43)); }
  .js:not(.rm) .localon.is-pinned .hcard h3 { margin-top: 24px; }
}

/* =========================================================
   LIVE MAP — dark
   ========================================================= */
.live { position: relative; background: var(--ink); color: #fff; padding: 96px 0; overflow: hidden; border-radius: 32px; margin: 0 8px; }
@media (min-width: 1080px) { .live { padding: 160px 0; border-radius: 48px; margin: 0 16px; } }
.live .lead { color: var(--g-300); }
.live-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1080px) { .live-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.live-copy { display: grid; gap: 24px; align-content: start; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip {
  --bg: #fff; --fg: var(--ink); --ring: var(--g-200); --drop: var(--g-200);
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 8px 16px; border-radius: 15px; cursor: pointer;
  font-size: 16px; line-height: 24px; font-weight: 700;
  color: var(--fg); background: var(--bg); border: 1px solid var(--ring); box-shadow: 0 4px 0 0 var(--drop);
  transition: transform 60ms ease-out, box-shadow 60ms ease-out, background-color .3s var(--ease), color .3s var(--ease);
}
.chip svg { width: 20px; height: 20px; }
.chip:active { transform: translateY(4px); box-shadow: none; }
.chip--q svg { color: var(--blue); } .chip--r svg { color: var(--orange); }
.chip--all.is-on { --bg: var(--green); --fg: #fff; --ring: var(--green); --drop: var(--green-d); }
.chip--q.is-on { --bg: var(--blue-t); --fg: var(--blue); --ring: var(--blue-ring); --drop: var(--blue-ring); }
.chip--r.is-on { --bg: var(--orange-t); --fg: var(--orange); --ring: var(--orange-ring); --drop: var(--orange-ring); }
.report-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
@media (min-width: 760px) { .report-types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.report-types li { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: #212529; color: var(--g-200); font-size: 14px; line-height: 20px; font-weight: 600; }
.report-types svg { width: 20px; height: 20px; color: var(--orange); flex: none; }

.live-stage { position: relative; perspective: 1400px; }
.live-map {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 1568 / 1450;
  transform: rotateX(var(--rx, 48deg)) rotateZ(var(--rz, -8deg)) scale(var(--ms, .92));
  transform-origin: 50% 60%;
  box-shadow: 0 64px 96px -48px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08);
  transform-style: preserve-3d;
}
.rm .live-map, html:not(.js) .live-map { --rx: 0deg; --rz: 0deg; --ms: 1; }
.live-map img { width: 100%; height: 100%; object-fit: cover; }
.mpins { position: absolute; inset: 0; }
.mp {
  position: absolute; left: var(--x); top: var(--y);
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  display: grid; place-items: center; border-radius: 999px;
  border: 2px solid #fff; color: #fff;
  box-shadow: 0 4px 0 0 rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.08);
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.mp svg { width: 20px; height: 20px; }
.mp--q { background: var(--blue); }
.mp--r { background: var(--orange); }
.mp.is-hidden { transform: scale(0); opacity: 0; }
.mp--me { width: 20px; height: 20px; margin: -10px 0 0 -10px; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(20,153,255,.5); animation: me 2s var(--ease) infinite; }
.mp--me i { display: none; }
@keyframes me { 0% { box-shadow: 0 0 0 0 rgba(20,153,255,.55); } 100% { box-shadow: 0 0 0 28px rgba(20,153,255,0); } }
.live-note { margin-top: 16px; text-align: right; font-size: 12px; line-height: 16px; color: var(--g-500); }

/* =========================================================
   REWARDS
   ========================================================= */
.rewards { position: relative; background: #fff; padding: 96px 0; }
@media (min-width: 1080px) { .rewards { padding: 160px 0; } }
.rw-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1080px) { .rw-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.rw-hero { position: relative; display: grid; justify-items: center; }
.rw-chest { width: min(420px, 86%); filter: drop-shadow(0 32px 32px rgba(5,141,60,.22)); }
.lvl {
  position: relative; width: min(360px, 100%); margin-top: -32px;
  padding: 16px; border-radius: 16px; background: #fff;
  border: 1px solid var(--g-200); box-shadow: 0 4px 0 0 var(--g-200), var(--shadow-card);
}
.lvl-top { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 24px; }
.lvl-badge { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; line-height: 16px; font-weight: 700; }
.lvl-num { margin-left: auto; font-size: 14px; line-height: 20px; color: var(--g-600); font-variant-numeric: tabular-nums; }
.lvl-bar { position: relative; height: 12px; margin-top: 12px; border-radius: 999px; background: var(--g-100); overflow: hidden; }
.lvl-bar i { position: absolute; inset: 0; border-radius: 999px; background: var(--green); transform-origin: 0 50%; transform: scaleX(.3); }
.lvl-gain { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--g-700); }
.lvl-gain b { color: var(--green-d); }
.rw-list { display: grid; gap: 16px; }
.rw { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 24px; background: var(--g-50); transition: transform .7s var(--ease), background-color .5s var(--ease); }
.rw:hover { transform: translateY(-4px); background: var(--green-t); }
.rw h3 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.02em; }
.rw p { margin-top: 4px; color: var(--g-700); }
.rw-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 16px; }
.rw-ico svg { width: 24px; height: 24px; }
.rw-ico--blue { background: var(--blue-t); color: var(--blue); }
.rw-ico--orange { background: var(--orange-t); color: var(--orange); }
.rw-ico--green { background: #fff; color: var(--green); border: 1px solid var(--green-ring); }
.rw-ico--pink { background: var(--pink-t); color: var(--pink); }

.room {
  position: relative; margin-top: 96px; overflow: hidden;
  display: grid; gap: 24px; align-items: center;
  padding: 32px 24px 0; border-radius: 32px; background: var(--green-t);
}
.room > img { width: min(320px, 80%); justify-self: center; border-radius: 24px; box-shadow: 0 24px 48px -24px rgba(5,141,60,.35); }
.room-copy p { margin-top: 16px; color: var(--g-800); max-width: 420px; }
.room-phone { display: flex; justify-content: center; height: 300px; overflow: hidden; }
.room-phone .phone { --w: 240px; }
@media (min-width: 1080px) {
  .room { grid-template-columns: 320px 1fr 300px; gap: 48px; padding: 48px 48px 0; margin-top: 128px; }
  .room > img { width: 100%; align-self: center; margin-bottom: 48px; }
  .room-phone { height: 360px; align-self: end; }
  .room-phone .phone { --w: 260px; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { position: relative; background: var(--g-50); padding: 96px 0; }
@media (min-width: 1080px) { .faq { padding: 160px 0; } }
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 1080px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; } .faq-grid > .h2 { position: sticky; top: 128px; } }
.acc { display: grid; gap: 12px; }
.acc-item { border-radius: 16px; background: #fff; border: 1px solid var(--g-200); box-shadow: 0 4px 0 0 var(--g-200); transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.acc-item.is-open { border-color: var(--green-ring); box-shadow: 0 4px 0 0 var(--green-ring); }
.acc-item h3 { font-size: 18px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
.acc-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px; min-height: 64px; border: 0; background: none; cursor: pointer; text-align: left; font-weight: 700; border-radius: 16px;
}
.acc-item button svg { width: 24px; height: 24px; flex: none; color: var(--g-600); transition: transform .6s var(--ease); }
.acc-item button[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--green); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 24px 24px; color: var(--g-800); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
html:not(.js) .acc-panel { grid-template-rows: 1fr; }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; background: var(--green); color: #fff; padding: 96px 0 0; overflow: hidden; }
@media (min-width: 1080px) { .cta { padding: 160px 0 96px; } }
.cta-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1080px) { .cta-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.cta-title { font-size: 48px; line-height: 1.05; font-weight: 700; letter-spacing: -0.045em; max-width: 680px; }
@media (min-width: 760px) { .cta-title { font-size: 72px; line-height: 1; } }
@media (min-width: 1280px) { .cta-title { font-size: 96px; } }
.cta-sub { margin-top: 24px; font-size: 18px; line-height: 28px; color: rgba(255,255,255,.88); }
.notify { margin-top: 32px; max-width: 520px; }
.notify-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 760px) { .notify-row { flex-direction: row; } }
.notify input {
  flex: 1; min-width: 0; min-height: 56px; padding: 12px 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #fff; border-radius: 16px;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow .3s var(--ease);
}
.notify input::placeholder { color: var(--g-500); }
.notify input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.notify input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.notify-msg { min-height: 24px; margin-top: 12px; font-size: 14px; line-height: 20px; font-weight: 600; }
.notify-msg.is-error { color: #fff; }
.notify-msg.is-error::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 999px; background: var(--danger); box-shadow: 0 0 0 2px #fff; vertical-align: 1px; }
.btn--white:focus-visible, .notify input:focus-visible { outline-color: var(--ink); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stores li { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 16px; line-height: 20px; font-weight: 700; }
.stores svg { width: 24px; height: 24px; }
.stores small { display: block; font-size: 12px; line-height: 16px; font-weight: 500; opacity: .8; }
.cta-art { position: relative; justify-self: center; width: min(520px, 100%); aspect-ratio: 1; }
.cta-art img { position: absolute; width: 86%; left: 0; bottom: 0; filter: drop-shadow(0 32px 40px rgba(0,60,25,.35)); }
.cta-art .cta-ask { width: 46%; left: auto; right: 0; bottom: auto; top: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot { position: relative; z-index: 1; background: var(--ink); color: var(--g-300); padding: 64px 0 48px; }
.foot-grid { display: grid; gap: 24px; }
.brand--foot .brand-word { color: #fff; }
.foot-tag { color: var(--g-300); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-left: -12px; }
.foot-links a { padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; transition: background-color .4s var(--ease); }
.foot-links a:hover { background: #212529; }
.foot-legal, .foot-credit { font-size: 12px; line-height: 16px; color: var(--g-500); }

/* =========================================================
   reveal defaults (JS adds motion; no-JS shows everything)
   ========================================================= */
.js:not(.rm) [data-reveal] { opacity: 0; transform: translateY(64px); filter: blur(8px); }
.js:not(.rm) [data-hero-in] { opacity: 0; transform: translateY(32px); }

.anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-row { overflow: visible; padding: 0 var(--gutter); }
  .marquee-track > li[aria-hidden="true"] { display: none; }
}
