:root { --paper: #f7f1e2; --card: #fffdf4; --ink: #2e2a26; --ink-soft: #767676; --ink-faint: #999999; --brand: #33465c; --hair: #e0d6bd; --w: 1120px; }
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper) url('img/paper-tile.png') repeat; background-size: 200px 200px; color: var(--ink); font-family: -apple-system, system-ui, 'Apple SD Gothic Neo', 'Pretendard', sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.serif { font-family: 'Noto Serif KR', 'Apple SD Gothic Neo', serif; font-weight: 600; }
h1, h2, h3 { word-break: keep-all; margin: 0; }
h1 { font-size: 52px; line-height: 1.25; }
h2 { font-size: 34px; line-height: 1.3; }
h3 { font-size: 20px; line-height: 1.4; }
p { margin: 0; }
.soft { color: var(--ink-soft); }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 40px; }

/* ---- 공통 조각: 배지 · 알약 · 스토어 줄 ---- */
.stores { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.badge { display: block; width: 160px; }
.badge img, .badge svg { display: block; width: 100%; height: auto; }
.pill { display: inline-flex; width: 160px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--brand); border-radius: 999px; color: var(--brand); font-weight: 600; font-size: 15px; text-decoration: none; }
.pill.small { width: auto; height: 44px; padding: 0 22px; }

/* ---- 랜딩 ---- */
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav .links { display: flex; gap: 32px; font-size: 15px; }
.nav .links a { color: var(--ink-soft); text-decoration: none; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; padding: 56px 0 72px; }
.hero .copy p.lead { font-size: 19px; line-height: 1.7; margin: 20px 0 32px; max-width: 480px; }
.hero .visual { min-height: 640px; align-items: flex-end; }
.hero .visual .phone { position: relative; z-index: 2; margin-right: 120px; }
.hero .visual .bird { position: absolute; right: 0; bottom: 20px; width: 360px; height: auto; z-index: 3; }
.hero .visual .eave { position: absolute; left: -40px; top: -10px; width: 520px; height: auto; opacity: .9; z-index: 1; }
.visual { position: relative; display: flex; justify-content: center; }

/* iPhone 목업 — 티타늄 테두리·다이내믹 아일랜드·측면 버튼, 자산 없음 */
.phone { --pw: 300px; position: relative; width: var(--pw); padding: 11px; background: linear-gradient(160deg, #3a3a3c, #1c1c1e 40%, #2c2c2e 70%, #48484a); border-radius: calc(var(--pw) * .18); box-shadow: 0 30px 60px rgba(46,42,38,.22), 0 2px 4px rgba(0,0,0,.35), inset 0 0 0 2px #0a0a0a; }
.phone:before { content: ''; position: absolute; left: 11px; right: 11px; top: 11px; bottom: 11px; border-radius: calc(var(--pw) * .145); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.06), inset 0 0 0 4px #000; pointer-events: none; z-index: 2; }
.phone:after { content: ''; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: calc(var(--pw) * .31); height: calc(var(--pw) * .09); background: #000; border-radius: 999px; z-index: 3; }
.phone .screen { position: relative; border-radius: calc(var(--pw) * .145); overflow: hidden; background: var(--paper); }
.phone img { display: block; width: 100%; height: auto; }
.phone i { position: absolute; background: linear-gradient(90deg, #1c1c1e, #3a3a3c, #1c1c1e); border-radius: 2px; }
.phone i.mute { left: -3px; top: 16%; width: 3px; height: 7%; }
.phone i.vol1 { left: -3px; top: 24%; width: 3px; height: 12%; }
.phone i.vol2 { left: -3px; top: 38%; width: 3px; height: 12%; }
.phone i.pwr { right: -3px; top: 28%; width: 3px; height: 18%; }

.band { background: var(--card); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 64px 0; text-align: center; }
.band p.lead { font-size: 18px; margin: 12px auto 28px; max-width: 640px; }
.stats { display: flex; justify-content: center; gap: 72px; margin: 36px 0 32px; }
.stat b { font-size: 36px; font-weight: 600; display: block; line-height: 1.1; }
.stat span { color: var(--ink-soft); font-size: 15px; font-family: -apple-system, system-ui, 'Apple SD Gothic Neo', 'Pretendard', sans-serif; font-weight: 400; }
.seats { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.seat { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; background: var(--paper); border: 1px solid var(--hair); border-radius: 14px; font-size: 16px; }
.seat img { width: 30px; height: auto; }
.seat.away { color: var(--ink-soft); } .seat.away img { opacity: .5; }

.sec { padding: 88px 0; }
.sec.alt { background: rgba(255,253,244,.55); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two h2 { margin-bottom: 24px; }
.two p.lead { font-size: 18px; margin-top: -8px; }
.cards { display: flex; flex-direction: column; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--hair); border-radius: 16px; padding: 22px 24px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin-top: 6px; }
.cap { font-size: 14px; color: var(--ink-soft); }
.lost { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bubble { max-width: 340px; padding: 14px 18px; border-radius: 18px; font-size: 16px; line-height: 1.55; }
.bubble.mine { background: var(--brand); color: #fff; }
.bubble.ghost { border: 1px dashed var(--brand); }
.lost img { width: 140px; height: auto; }

.cta { background: var(--brand); color: #fff; padding: 72px 0; }
.cta h2 { margin-bottom: 12px; }
.cta .stores { margin-top: 28px; }
.cta img.art { width: 320px; height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.25)); }
.cta .soft { color: rgba(255,255,255,.75); }
.cta .pill { border-color: rgba(255,255,255,.7); color: #fff; }

.foot { padding: 36px 0; font-size: 14px; color: var(--ink-faint); display: flex; justify-content: space-between; align-items: center; }
.foot .serif { color: var(--ink-soft); }
.foot a, .foot small { color: var(--ink-faint); text-decoration: none; margin-left: 20px; font-size: 14px; }

/* ---- 모바일: 세로로 쌓기 ---- */
@media (max-width: 959px) {
  body { font-size: 16px; }
  .wrap { padding: 0 24px; }
  h1 { font-size: 34px; } h2 { font-size: 26px; } h3 { font-size: 18px; }
  .nav { height: 64px; } .nav .links { display: none; } .brand { font-size: 18px; }
  .hero { grid-template-columns: 1fr; gap: 8px; padding: 16px 0 56px; text-align: center; }
  .hero .copy { order: 1; } .hero .visual { order: 2; min-height: 0; margin-top: 32px; align-items: flex-end; }
  .hero .copy p.lead { margin: 16px auto 24px; font-size: 17px; }
  .hero .stores { justify-content: center; }
  .hero .visual .phone { --pw: 220px; margin-right: 80px; }
  .hero .visual .bird { width: 220px; right: 0; bottom: 10px; }
  .hero .visual .eave { width: 354px; left: 50%; transform: translateX(-50%); top: -6px; }
  .band { padding: 48px 0; }
  .stats { flex-wrap: wrap; gap: 20px 32px; margin: 28px 0 24px; }
  .stat { width: calc(50% - 16px); } .stat b { font-size: 30px; }
  .seat { font-size: 14px; height: 52px; padding: 0 14px; width: 100%; justify-content: center; }
  .sec { padding: 56px 0; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  .two .visual { order: 2; } .two .phone { --pw: 241px; }
  .two h2 { margin-bottom: 16px; text-align: left; }
  .lost { align-items: flex-end; } .bubble { max-width: 280px; font-size: 15px; }
  .cta { padding: 48px 0; text-align: center; }
  .cta .stores { justify-content: center; } .cta img.art { width: 220px; }
  .foot { flex-direction: column; gap: 12px; text-align: center; }
  .foot a, .foot small { margin: 0 8px; }
}

/* ---- 초대 · 방침 (한 열 480) ---- */
.shell { max-width: 480px; margin: 0 auto; padding: 59px 24px 34px; }
.shell h1 { font-size: 32px; line-height: 40px; }
.shell h2 { font-size: 22px; margin: 0 0 20px; }
.center { text-align: center; }
.btn-primary { display: flex; width: 100%; height: 48px; align-items: center; justify-content: center; background: var(--brand); color: #fff; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; }
.btn-primary.pill { background: transparent; color: var(--brand); border: 1px solid var(--brand); width: 100%; }
.card-code { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 14px 16px; font-size: 16px; letter-spacing: .08em; text-align: center; cursor: pointer; }
.link { color: var(--brand); text-decoration: none; font-size: 14px; }
