/* 랜딩(/) 전용 스타일 — 약관·지원 페이지는 style.css 를 쓴다 */
/* 글꼴은 사이트 안 파일만 쓴다(외부 요청 없음). Pretendard 는 index.html 이 assets/fonts/pretendard/ 의 원본 CSS 로 부른다.
   Neo둥근모 원본 woff2 — SIL OFL 1.1, 라이선스 assets/fonts/neodgm/LICENSE.txt */
@font-face {
  font-family: "NeoDunggeunmo";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url("fonts/neodgm/neodgm.woff2") format("woff2");
}
:root {
  --ink: #06261C;
  --mint: #AFE1CB;
  --mint-soft: #DDF1E7;
  --ivory: #FEF1D1;
  --paper: #FFFBF1;
  --apricot: #FD855F;
  --lcd: #C7DE94;
  --muted: #4A6159;
  --pixel: "NeoDunggeunmo", "Neo둥근모", monospace;
  --body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.pixel { font-family: var(--pixel); }

.frame {
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 4px;
}
.phone {
  border: 3px solid var(--ink); border-radius: 28px; overflow: hidden;
  background: var(--mint); box-shadow: 6px 6px 0 var(--ink);
}

/* App Store 버튼 */
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; text-decoration: none;
  border: 3px solid var(--ink); border-radius: 12px;
  padding: 10px 22px 10px 16px;
  box-shadow: 5px 5px 0 var(--apricot);
  transition: transform .12s ease, box-shadow .12s ease;
}
.store:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--apricot); }
.store:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--apricot); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.2; }
.store small { font-size: 12px; opacity: .8; font-weight: 500; }
.store b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.store.sm { padding: 6px 14px 6px 10px; border-width: 2px; border-radius: 9px; box-shadow: 3px 3px 0 var(--apricot); gap: 8px; }
.store.sm svg { width: 18px; height: 18px; }
.store.sm b { font-size: 14px; }
.store-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
/* 출시 전: 누를 수 없는 「곧 출시」 버튼. 출시되면 span 을 <a class="store" href="App Store 주소"> 로 바꾼다 */
.store.soon { cursor: default; }
.store.soon:hover, .store.soon:active { transform: none; box-shadow: 5px 5px 0 var(--apricot); }
.store.soon.sm:hover, .store.soon.sm:active { box-shadow: 3px 3px 0 var(--apricot); }
.cta .store.soon:hover, .cta .store.soon:active { box-shadow: 5px 5px 0 #fff; }
.store .soon-tag { font-family: var(--pixel); font-size: 12px; font-weight: 400; background: var(--apricot); color: var(--ink); border-radius: 4px; padding: 0 6px; margin-left: 6px; }

nav.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,251,241,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
nav.top .brand { font-family: var(--pixel); font-size: 18px; white-space: nowrap; display: flex; align-items: center; gap: 8px; text-decoration: none; }
nav.top .brand img { width: 28px; height: 28px; border-radius: 7px; }

/* 첫 화면 */
header.hero { background: var(--mint); border-bottom: 3px solid var(--ink); padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  background: var(--ivory); border: 2px solid var(--ink); border-radius: 999px;
  padding: 4px 12px;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); flex: none; }
.hero h1 { font-family: var(--pixel); font-weight: 400; font-size: clamp(40px, 6.4vw, 70px); line-height: 1.18; margin: 20px 0 18px; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: #d4572f; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); margin: 0 0 32px; color: #23413a; max-width: 30em; }
.hero-shots { position: relative; height: 540px; }
.hero-shots .phone { position: absolute; width: 236px; }
.hero-shots .p1 { left: 0; top: 40px; transform: rotate(-5deg); }
.hero-shots .p2 { right: 0; top: 0; transform: rotate(4deg); z-index: 2; }
.pop {
  position: absolute; z-index: 3; font-family: var(--pixel); font-size: 15px;
  background: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 6px 12px;
  box-shadow: 3px 3px 0 var(--ink); white-space: nowrap;
}
.pop.a { left: -10px; bottom: 40px; background: var(--ivory); }
.pop.b { right: 10px; top: -8px; background: var(--apricot); color: #fff; }

/* 공통 섹션 */
section { padding: 104px 0 0; }
.eyebrow { font-family: var(--pixel); font-size: 15px; color: #d4572f; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 3.8vw, 40px); line-height: 1.3; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 20px; margin: 0 0 8px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; }
.intro { color: var(--muted); max-width: 40em; margin: 0 0 40px; font-size: 17px; }
.center { text-align: center; }
.center .intro { margin-left: auto; margin-right: auto; }

/* 공감 */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.worry { padding: 24px 24px 22px; }
.worry .q { font-size: 15px; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--apricot); text-decoration-thickness: 2px; margin: 0 0 12px; }
.worry p { margin: 0; font-size: 15.5px; color: #23413a; }

/* 세 단계 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step .num { font-family: var(--pixel); font-size: 14px; background: var(--ink); color: #fff; border-radius: 6px; padding: 2px 10px; display: inline-block; margin: 20px 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* 기능 줄 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.flip .text { order: 2; }
.feature + .feature { margin-top: 96px; }
.feature .text p { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; }
.feature .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature .shots .phone:nth-child(2) { margin-top: 36px; }
ul.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
ul.ticks li { padding-left: 28px; position: relative; font-size: 15.5px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; background: var(--apricot); border: 2px solid var(--ink); border-radius: 3px; }

.widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.widget-shot { border: 3px solid var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 5px 5px 0 var(--ink); }

/* 워치 */
.watch-band { background: var(--ink); color: #fff; border-radius: 8px; padding: 48px; box-shadow: 6px 6px 0 var(--apricot); display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.watch-band .eyebrow { color: var(--apricot); }
.watch-band p { color: #d5e6dd; font-size: 16.5px; margin: 0; }
.watch-faces { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.watch-face { border-radius: 26px; overflow: hidden; border: 5px solid #2a3a35; outline: 3px solid #000; }

/* 목표 예시 */
.ideas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 820px; margin: 0 auto; }
.idea { font-size: 16px; font-weight: 600; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 18px; box-shadow: 3px 3px 0 var(--ink); }
.idea:nth-child(3n+1) { background: var(--mint-soft); }
.idea:nth-child(3n+2) { background: var(--ivory); }
.idea:nth-child(4n) { transform: rotate(-2deg); }
.idea:nth-child(5n) { transform: rotate(2deg); }

/* 스티커와 차곡이 */
.character { padding: 40px 48px; background: var(--mint); display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }
.character .phone { background: var(--paper); }
.character .phone video { width: 100%; }
.character h3 { font-size: 26px; letter-spacing: -0.02em; }
.character p { margin: 0 0 12px; font-size: 16px; color: #23413a; }
.character p:last-child { margin-bottom: 0; }

/* 안심 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 24px 24px 22px; }
.card .tag { font-family: var(--pixel); color: #d4572f; font-size: 14px; display: block; margin-bottom: 6px; }
.card p { margin: 0; font-size: 15.5px; color: #23413a; }

/* 자주 묻는 질문 */
.faq { max-width: 760px; margin: 32px auto 0; display: grid; gap: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--pixel); position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #d4572f; }
.faq details[open] summary::after { content: "-"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* 마지막 권유 */
.cta { margin-top: 112px; background: var(--apricot); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 80px 0; text-align: center; }
.cta h2 { font-family: var(--pixel); font-weight: 400; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.3; }
.cta p { font-size: 18px; margin: 0 0 32px; }
.cta .store { box-shadow: 5px 5px 0 #fff; }
.cta .store:hover { box-shadow: 7px 7px 0 #fff; }
.cta .icon { width: 88px; height: 88px; border-radius: 20px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); margin: 0 auto 24px; }

footer { padding: 28px 0 40px; background: var(--mint); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .links { display: flex; gap: 16px; flex-wrap: wrap; }
footer .owner { width: 100%; color: var(--muted); font-size: 13px; margin: 0; }
.cta .help { font-size: 15px; margin: 28px 0 0; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .feature, .watch-band, .character { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
  .hero-shots { height: 460px; max-width: 440px; margin: 0 auto; width: 100%; }
  .hero-shots .phone { width: 204px; }
  .worries, .steps, .cards { grid-template-columns: 1fr; }
  .steps { max-width: 380px; margin: 0 auto; gap: 48px; }
  .step .phone { max-width: 240px; margin: 0 auto; }
  .watch-band { padding: 32px; }
  .character { padding: 32px; }
  .character .phone { max-width: 240px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  header.hero { padding: 44px 0 72px; }
  .hero-shots { height: 360px; }
  .hero-shots .phone { width: 160px; border-radius: 20px; }
  .pop { font-size: 13px; }
  section { padding-top: 80px; }
  .feature { gap: 32px; }
  .feature + .feature { margin-top: 72px; }
  .watch-band { padding: 22px; gap: 28px; }
  .character { padding: 20px; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store { transition: none; }
}
