/* Glassnap 출시 전 랜딩 v2. 사진 에디토리얼(Dana §3.8·3.9): 외부 글꼴·CDN 없이 시스템 한국어 글꼴만 쓴다.
   랜딩 전용 팔레트다. 앱 DESIGN_SYSTEM(세이지)은 휴대폰 화면 연출(Canvas) 안에서만 유지한다. */
:root {
  --ivory: #FAF8F5;
  --surface: #ffffff;
  --deep-sage: #343440;
  --sage: #8A829B;
  --pale-sage: #E9E4F1;
  --coral: #F5E0D9;
  --sky: #DCEAF7;
  --text: #343440;
  --muted: #605D66;
  --divider: #DDD8DF;
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--deep-sage);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--deep-sage);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  padding: 12px 16px;
  background: var(--deep-sage);
  color: var(--surface);
  border-radius: 8px;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  padding: 20px 0 0;
}

.logo {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--deep-sage);
  text-decoration: none;
}

section.wrap {
  margin-top: 64px;
}

h1,
h2,
h3 {
  color: var(--deep-sage);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  margin: 40px 0 12px;
}

h2 {
  font-size: clamp(1.375rem, 4.5vw, 1.875rem);
  margin: 0 0 16px;
}

h3 {
  font-size: 1.125rem;
  margin: 0 0 8px;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 24px;
}

/* 사전등록: Play URL 이 확인되기 전에는 링크·버튼이 아닌 상태 안내다(가짜 버튼·# 링크 금지). */
.cta {
  margin: 0 0 8px;
}

.cta-pending {
  margin: 0;
  color: var(--deep-sage);
  font-weight: 700;
}

.cta-note {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 8px 0 0;
}

.status {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--deep-sage);
  background: var(--pale-sage);
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 12px;
}

/* 히어로: 모바일 한 열(문장 → CTA → 폰) */
.hero-grid {
  display: grid;
  gap: 32px;
}

section.hero {
  margin-top: 0;
}

.phone {
  max-width: 320px;
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.card .note {
  margin-top: 8px;
}

.phone-frame {
  border: 10px solid var(--deep-sage);
  border-radius: 36px;
  overflow: hidden;
  background: #edebe4;
  aspect-ratio: 9 / 16;
  position: relative;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.phone-frame img[hidden] {
  display: none;
}

.phone-caption {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 12px 0 0;
  text-align: center;
}

.toggle {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

button.zoom {
  min-height: 48px;
  min-width: 48px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  color: var(--surface);
  background: var(--deep-sage);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

button.zoom:hover {
  background: #283d32;
}

.zoom-state {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 8px 0 0;
}

/* 카드 */
.cards {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 20px;
}

.card p {
  margin: 0;
}

.step-num {
  display: block;
  font-weight: 700;
  color: var(--deep-sage);
  margin-bottom: 4px;
}

.small {
  font-size: 0.9375rem;
  color: var(--muted);
}

.free-list {
  margin: 0;
  padding-left: 1.2em;
}

.plus {
  border-style: dashed;
}

.final {
  text-align: center;
  padding-bottom: 16px;
}

footer.site {
  margin-top: 64px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--divider);
  font-size: 0.9375rem;
  color: var(--muted);
}

footer.site nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

footer.site nav a {
  display: inline-block;
  padding: 12px 0;
  min-height: 48px;
}

details.credits {
  margin-top: 8px;
}

details.credits summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--deep-sage);
  padding: 12px 0;
}

details.credits ul {
  padding-left: 1.2em;
}

/* 개인정보처리방침 */
.doc {
  max-width: 760px;
}

.placeholder {
  background: var(--pale-sage);
  border-left: 4px solid var(--deep-sage);
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--deep-sage);
  font-weight: 700;
}

.draft-banner {
  background: var(--surface);
  border: 2px solid var(--coral);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
}

/* 데스크톱 960px 이상: 히어로 2열, 핵심·흐름 3열 */
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .cards.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards.two {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    margin-top: 64px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .phone-frame img {
    transition: opacity 0.4s ease;
  }
}

/* 스크롤은 문서가 소유한다. 무대만 고정하고 입력은 가로채지 않는다. */
.story-enter { display: inline-flex; align-items: center; gap: 28px; min-height: 48px; margin-top: 28px; font-weight: 650; }
.story-enter span { font-size: 1.8em; }
.story { position: relative; }
.story-stage { display: none; background: var(--ivory); }
.story-scenes { list-style: none; padding: 0; margin: 0 auto; max-width: 1120px; }
.static-scene { display: grid; gap: 24px; padding: 32px 20px; align-items: center; }
.static-scene img { width: min(100%, 320px); height: auto; border: 8px solid var(--deep-sage); border-radius: 28px; justify-self: center; background: var(--pale-sage); }
.static-scene h3 { font-size: 1.6rem; }
.static-scene p { max-width: 480px; }
.story-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.story-controls button { min-width: 80px; min-height: 48px; border: 1px solid var(--deep-sage); border-radius: 8px; background: transparent; color: var(--deep-sage); font: inherit; font-weight: 650; padding: 8px 12px; cursor: pointer; }
.story-controls button:hover { background: var(--pale-sage); }
.story-controls a { min-height: 48px; display: inline-flex; align-items: center; font-size: .875rem; }
.story-controls button:disabled { opacity: .45; cursor: default; }
.story-kicker { color: var(--muted); font-size: .875rem; font-weight: 650; margin: 0 0 20px; }
.story-kicker span:last-child { margin-left: 0; }
.story-copy h2 { font-size: clamp(1.8rem, 3.3vw, 3.2rem); letter-spacing: -.045em; max-width: 530px; }
.story-copy > p:not(.story-kicker):not(.visually-hidden) { color: var(--muted); max-width: 430px; }
.story-phone { width: min(100%, 310px); margin: 0; justify-self: center; }
.story-device { position: relative; aspect-ratio: 16 / 27; border: 8px solid #344e40; border-radius: 34px; overflow: hidden; background: var(--pale-sage); box-shadow: 0 22px 60px #344e401f; }
.story-device::after { content: ''; position: absolute; width: 66px; height: 14px; border-radius: 0 0 10px 10px; background: var(--deep-sage); top: 0; left: calc(50% - 33px); }
#story-canvas { width: 100%; height: 100%; display: block; }
.story-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-phone figcaption { text-align: center; font-size: .6875rem; line-height: 1.6; color: var(--muted); margin-top: 14px; }
.story-progress { width: 180px; height: 2px; background: var(--divider); margin-top: 24px; }
.story-progress span { display: block; height: 100%; width: 0; background: var(--deep-sage); }
:is(.story-enhanced, .story-pending, .story-starting .story) .story-stage { display: block; position: sticky; top: 0; height: 100svh; min-height: 650px; z-index: 1; }
:is(.story-enhanced, .story-pending, .story-starting .story) .story-layout { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; height: 100%; gap: 50px; }
:is(.story-enhanced, .story-pending, .story-starting .story) .story-scenes { margin-top: -100svh; max-width: none; }
:is(.story-enhanced, .story-pending, .story-starting .story) .story-scene { height: 65svh; min-height: 400px; }
:is(.story-enhanced, .story-pending, .story-starting .story) .story-scene:last-child { height: 100svh; }
:is(.story-enhanced, .story-pending, .story-starting .story) .static-scene { display: block; position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:is(.story-enhanced, .story-pending, .story-starting .story) .story-poster { display: none; }
#features-title { scroll-margin-top: 28px; }
@media (min-width: 760px) {
  .static-scene { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}
@media (max-width: 759px) {
  :is(.story-enhanced, .story-pending, .story-starting .story) .story-stage { min-height: 640px; }
  :is(.story-enhanced, .story-pending, .story-starting .story) .story-layout { grid-template-columns: 1fr; gap: 14px; padding-top: 18px; padding-bottom: 18px; align-content: center; }
  .story-copy { max-width: 460px; width: 100%; justify-self: center; }
  .story-copy h2 { font-size: 1.65rem; margin-bottom: 5px; }
  .story-copy > p:not(.story-kicker):not(.visually-hidden) { font-size: .875rem; margin: 0; min-height: 2.8em; }
  .story-kicker { margin: 0 0 6px; font-size: .75rem; }
  .story-controls { margin-top: 8px; gap: 8px; }
  .story-controls button { font-size: .8125rem; padding: 6px 10px; min-width: 74px; }
  .story-controls a { font-size: .75rem; margin-left: auto; }
  .story-phone { width: min(59vw, 240px, calc(49svh * 16 / 27)); }
  .story-phone figcaption { font-size: .75rem; margin-top: 6px; }
  .story-device { border-width: 6px; border-radius: 27px; }
  .story-progress { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.story-index { padding-top: 20px; padding-bottom: 20px; }
.story-index p { font-weight: 700; }
.story-index a { display: inline-flex; min-height: 48px; align-items: center; margin-right: 20px; }
:is(.story-enhanced, .story-pending, .story-starting .story) .story-index { display: none; }
.story-scene { scroll-margin-top: 24px; }

.story-controls button[aria-disabled="true"] { opacity: .45; cursor: default; }

.story-pending .story-poster { display: block; }
.story-pending .story-controls button { visibility: hidden; }

/* §3.5: 풍경과 지도 면이 설명보다 먼저 읽히는 큰 제품 무대. */
.wrap { max-width: 1320px; }
header.site { padding: 20px 0; background: var(--ivory); }
header.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; }
.header-link { font-size: .875rem; font-weight: 650; text-decoration: none; padding: 12px 0; }
.story-enter { margin: 0; font-weight: 700; }
.story-primary { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; gap: 12px; min-width: 0; }
.story-copy { width: 100%; max-width: 600px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; }
.story-kicker { grid-column: 1 / -1; margin-bottom: 4px; }
.story-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); margin: 0; }
.story-copy > #scene-description { grid-column: 1 / -1; margin: 6px 0 0; max-width: none; font-size: .875rem; }
.story-controls { grid-column: 2; grid-row: 2; margin: 0; gap: 4px; }
.story-controls button { border: 0; border-radius: 0; min-width: 48px; font-size: .8125rem; padding: 8px; }
.story-controls .story-skip { position: absolute; left: 20px; bottom: 12px; font-size: .75rem; }
.story-progress { width: 100%; grid-column: 1 / -1; margin-top: 12px; }
.story-phone { width: min(100%, 390px, calc((100svh - 220px) * 16 / 27)); }
.story-device { border-radius: 38px; box-shadow: 0 28px 70px #344e4026; }
.story-phone figcaption { font-size: .6875rem; margin-top: 10px; }
:is(.story-enhanced, .story-pending, .story-starting .story) .story-layout { grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); gap: 64px; padding-top: 26px; padding-bottom: 38px; }
.map-comparisons { min-width: 0; }
.comparison-heading { margin: 0 0 14px; font-size: 1.25rem; font-weight: 750; }
.map-comparisons figure { margin: 0 0 14px; border-left: 3px solid transparent; padding-left: 10px; }
.map-comparisons img { width: 100%; height: auto; max-height: 19svh; object-fit: contain; background: var(--pale-sage); }
.map-comparisons figcaption { display: flex; justify-content: space-between; gap: 8px; padding-top: 5px; font-size: .875rem; font-weight: 650; }
.map-comparisons figcaption span { font-size: .75rem; color: var(--muted); font-weight: 400; }
.map-comparisons figure[aria-current="step"] { border-left-color: var(--deep-sage); }
.map-comparisons figure[aria-current="step"] figcaption::before { content: '현재'; font-size: .7rem; }
.map-comparisons > .small { font-size: .75rem; margin: 0; }
.mobile-comparisons { display: none; }
section.wrap.editorial { padding-top: 24px; margin-top: 88px; }
.editorial > h2, .price-note h2 { font-size: clamp(2.3rem, 4vw, 3.5rem); line-height: 1.2; letter-spacing: -.055em; }
.price-note { padding-top: 48px; padding-bottom: 80px; border-top: 1px solid var(--divider); }
.price-note > p { max-width: 36rem; }
.final { background: var(--pale-sage); color: var(--text); text-align: left; padding: 80px 0; margin-top: 0; }
.final img { width: 96px; height: 96px; margin-bottom: 20px; }
.final h2 { color: var(--text); font-size: clamp(2.4rem, 4.4vw, 4rem); font-weight: 500; line-height: 1.2; letter-spacing: -.05em; }
.final .cta-pending, .final .small { color: var(--text); }
.final .cta-pending { margin-top: 32px; }
footer.site { margin-top: 0; padding-top: 40px; }
@media (max-width: 759px) {
  .header-link { font-size: .75rem; }
  .story-enter { font-size: .875rem; gap: 14px; }
  :is(.story-enhanced, .story-pending, .story-starting .story) .story-layout { grid-template-columns: 1fr; gap: 12px; padding: 18px 20px 48px; }
  .story-primary { gap: 14px; }
  .story-copy { grid-template-columns: 1fr; }
  .story-copy h2 { font-size: 1.65rem; }
  .story-copy > #scene-description { min-height: 0; font-size: .8125rem; }
  .story-controls { grid-column: 1; grid-row: auto; justify-content: center; margin: 4px 0 0; }
  .story-controls .story-skip { bottom: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .story-phone { width: min(90%, 330px, calc((100svh - 244px) * 16 / 27)); }
  .story-device { border-width: 6px; border-radius: 32px; }
  .story-phone figcaption { font-size: .625rem; line-height: 1.5; }
  .story-stage .map-comparisons { display: none; }
  .story-enhanced + .mobile-comparisons { display: block; padding-top: 48px; }
  .mobile-comparisons figure { padding: 0; border: 0; margin-bottom: 28px; }
  .mobile-comparisons img { max-height: none; }
  .mobile-comparisons .comparison-heading { font-size: 1.7rem; margin-bottom: 24px; }
  section.wrap.editorial { margin-top: 56px; }
  .price-note { padding-top: 24px; padding-bottom: 48px; }
  .final { padding: 56px 0; }
  .final h2 { font-size: 2.7rem; }
}

.story-starting .story-poster { display: block; }
.story-starting .story-controls button { visibility: hidden; }

/* v2 머리말·첫 화면: 왼쪽 글 40%, 오른쪽 실제 동 사진 지도 60% (Dana §3.9). */
.logo { gap: 12px; text-decoration: none; color: var(--text); }
.logo img { width: 56px; height: 56px; }
.logo span { font-size: 1.75rem; font-weight: 650; letter-spacing: -.05em; }
.logo span { white-space: nowrap; overflow-wrap: normal; }
header.site .wrap { flex-wrap: wrap; row-gap: 4px; }
.header-side { display: flex; align-items: center; gap: 36px; }
.header-link { font-weight: 500; text-decoration: underline; text-underline-offset: 8px; }
.header-status { margin: 0; font-size: .875rem; color: var(--muted); }
h1, h2, h3 { color: var(--text); }
.hero { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: 24px; padding-top: 28px; padding-bottom: 32px; }
section.hero.wrap { margin-top: 0; }
.hero h1 { font-size: clamp(2.375rem, 4.4vw, 4.06rem); font-weight: 400; line-height: 1.34; letter-spacing: -.055em; margin: 28px 0 24px; }
.hero .lead { font-size: 1.125rem; line-height: 1.9; color: var(--muted); margin: 0; letter-spacing: -.02em; }
.hero .story-enter { display: inline-flex; min-height: 48px; margin-top: 28px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--muted); }
.hero-pending { margin: 12px 0 0; font-size: .9375rem; font-weight: 400; color: var(--muted); }
.hero-privacy { margin: 10px 0 0; font-size: .875rem; color: var(--muted); }
.hero-life { display: flex; gap: 24px; align-items: flex-start; margin-top: 32px; }
.hero-life figure { margin: 0; flex: 1; min-width: 0; }
.hero-life figure + figure { margin-top: 48px; }
.hero-life img { width: 100%; height: 185px; object-fit: cover; border-radius: 45% 22% 34% 18% / 25% 35% 25% 25%; }
.hero-life figure + figure img { height: 136px; border-radius: 24% 45% 25% 35% / 30% 38% 25% 32%; }
.hero-life .hero-cafe { object-position: 50% 100%; } /* 바다와 난간 윗부분(파일에서 손님 자리는 잘라 냄) */
.hero-life figcaption { font-size: .8125rem; color: var(--muted); margin-top: 10px; }
.hero-map { position: relative; margin: 0; min-width: 0; }
.hero-map-title { position: absolute; left: 34px; top: 22px; margin: 0; display: flex; gap: 12px; align-items: baseline; }
.hero-map-title span { font-size: .9375rem; color: var(--muted); }
.hero-map-title strong { font-size: 1.6rem; font-weight: 600; }
.hero-map-svg { display: block; width: 100%; height: auto; max-height: 620px; background: #EFEDF4; border-radius: 36% 6% 27% 10% / 10% 10% 20% 15%; }
.hero-map figcaption { padding: 14px 0 0 34px; }
.hero-map-caption { font-size: 1.375rem; letter-spacing: -.03em; margin: 0 0 8px; }
.hero-map .small { font-size: .8125rem; margin: 0; }
.hero-map .attribution { font-size: .75rem; color: var(--muted); margin: 6px 0 0; }
.story-lead { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-top: 1px solid var(--divider); padding-top: 24px; padding-bottom: 32px; }
.story-lead h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -.04em; margin: 0; }
.story-lead .small { margin: 0; max-width: 300px; }
.editorial-lead { font-size: 1.125rem; line-height: 1.9; max-width: 40rem; margin: 32px 0 16px; }
.editorial > h2, .price-note h2 { font-weight: 500; }
.static-scene img { border-color: var(--text); }
.story-device { border-color: var(--text); box-shadow: 0 28px 70px #34344026; }
.story-device::after { background: var(--text); }
@media (max-width: 759px) {
  header.site { padding: 14px 0; }
  .logo img { width: 46px; height: 46px; }
  .logo span { font-size: 1.5rem; }
  .header-side { gap: 0; }
  .header-link { display: none; }
  .header-status { font-size: .75rem; }
  .hero { grid-template-columns: 1fr; gap: 16px; padding-top: 12px; }
  .hero h1 { font-size: clamp(2rem, 9.6vw, 2.375rem); line-height: 1.35; margin: 8px 0 12px; }
  .hero .lead { font-size: .9375rem; line-height: 1.8; }
  .wide-break { display: none; }
  .hero .story-enter { margin-top: 12px; font-size: .9375rem; }
  .hero-pending, .hero-life { display: none; }
  .hero-map-title { left: 18px; top: 12px; }
  .hero-map-title span { font-size: .75rem; }
  .hero-map-title strong { font-size: 1.15rem; }
  .hero-map-svg { border-radius: 29% 4% 22% 8% / 7% 9% 18% 12%; }
  .hero-map figcaption { padding: 12px 0 0; }
  .hero-map-caption { font-size: 1.15rem; }
  .story-lead { display: block; }
  .story-lead .small { margin-top: 8px; max-width: none; }
}
