@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-700.ttf") format("truetype"); font-weight: 700 800; font-display: swap; }

/* 앱 색 토큰(docs/spec/04 §B1) — 앱처럼 늘 어둡다 */
:root {
  --bg: #0F130F;
  --card: #1A1F1A;
  --fg: #F2F5F1;
  --sub: #A9B4A7;
  --surface: #252B25;
  --gtext: #7BE868;
  --tint: #1C3518;
  --tint2: #25471F;
  --line: #3A423A;
  --brand: #1AAD00;
  --glow: #20D100;
  --ok-bg: #1E3A1B; --ok-fg: #6FE05A;
  --fix-bg: #3E2B17; --fix-fg: #F5A04A;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Figtree", -apple-system, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.5;            /* 줄 높이는 배수로만 — 한글 받침 잘림 방지 */
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.3px; }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px max(20px, env(safe-area-inset-left));
  background: linear-gradient(var(--bg), rgba(15, 19, 15, 0));
}
.nav-logo { font-weight: 700; font-size: 20px; text-decoration: none; }
.nav-link { color: var(--sub); font-weight: 600; font-size: 14px; text-decoration: none; }
.nav-link:hover { color: var(--fg); }

/* 첫 화면 */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding: 0 20px 72px;
  text-align: center;
  overflow: hidden;
}
#stage { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero-copy { position: relative; pointer-events: none; max-width: 560px; }
.hero-intro {
  min-height: 2.8em; margin: 0 0 28px;
  font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--sub);
  transition: opacity .5s ease;
}
.hero-title { font-size: clamp(30px, 6vw, 44px); font-weight: 800; line-height: 1.3; }
.hero-sub { margin: 12px 0 0; color: var(--sub); font-size: 17px; }
.store-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; pointer-events: auto; }
.store-btn {
  height: 54px; padding: 0 22px; border-radius: 27px;
  display: inline-flex; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  font-weight: 700; font-size: 15px; color: var(--sub);
}
.hero-hint { position: relative; pointer-events: none; margin: 22px 0 0; font-size: 12px; color: var(--sub); opacity: .6; }

/* 공통 섹션 */
.section { max-width: 960px; margin: 0 auto; padding: 88px 20px; }
.eyebrow { margin: 0 0 10px; color: var(--gtext); font-weight: 700; font-size: 14px; }
.section h2 { font-size: clamp(28px, 5vw, 38px); font-weight: 800; line-height: 1.3; }
.lead { margin: 18px 0 0; color: var(--sub); font-size: 18px; line-height: 1.6; max-width: 620px; }
.concept { text-align: center; }
.concept .lead { margin-left: auto; margin-right: auto; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 36px; }
.card { background: var(--card); border-radius: 22px; padding: 24px; }
.card h3 { font-size: 18px; font-weight: 700; margin-top: 16px; line-height: 1.4; }
.card p { margin: 8px 0 0; color: var(--sub); font-size: 15px; line-height: 1.6; }
.card b { color: var(--fg); }
.ico { width: 44px; height: 44px; border-radius: 22px; background: var(--tint); color: var(--gtext); display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; }
.ico.flame { background: #3A2318; }
.flags { display: flex; gap: 8px; margin-top: 14px; }
.flags img { width: 26px; height: 26px; border-radius: 13px; }
.pill { display: inline-block; padding: 0 8px; border-radius: 10px; font-size: 13px; font-weight: 700; line-height: 1.6; }
.pill.ok { background: var(--ok-bg); color: var(--ok-fg); }
.pill.fix { background: var(--fix-bg); color: var(--fix-fg); }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border-radius: 22px; padding: 22px 24px; }
.steps .num { flex: none; width: 36px; height: 36px; border-radius: 18px; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps h3 { font-size: 17px; font-weight: 700; line-height: 1.4; }
.steps p { margin: 4px 0 0; color: var(--sub); font-size: 15px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 36px; }
.plan { background: var(--card); border-radius: 22px; padding: 26px; border: 1px solid transparent; }
.plan h3 { font-size: 15px; color: var(--sub); font-weight: 700; }
.plan .big { margin: 6px 0 0; font-size: 24px; font-weight: 800; line-height: 1.35; }
.plan p { margin: 8px 0 0; color: var(--sub); font-size: 15px; }
.plan.premium { background: #16260F; border-color: var(--tint2); }
.plan.premium h3 { color: var(--gtext); }

.support .mail-btn {
  display: inline-flex; align-items: center; height: 54px; padding: 0 26px; margin-top: 26px;
  border-radius: 27px; background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(32, 209, 0, .25);
}
.support .mail-btn:hover { filter: brightness(1.08); }
.faq { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.faq li { background: var(--card); border-radius: 16px; padding: 16px 20px; color: var(--sub); font-size: 15px; line-height: 1.6; }
.faq b { color: var(--fg); }

.footer { border-top: 1px solid var(--line); padding: 32px 20px 48px; text-align: center; color: var(--sub); font-size: 13px; }
.footer-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--fg); }
.biz { margin: 14px 0 0; opacity: .7; }
.copy { margin: 6px 0 0; opacity: .7; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
