:root {
  --bg: #0d0f14;
  --surface: #171b21;
  --surface-2: #1c212a;
  --border: #262b33;
  --text: #eef0f4;
  --muted: #9aa1ad;
  --primary: #7c3aed;
  --primary-soft: #a78bfa;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family:
    "Pretendard",
    "Noto Sans KR",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* 한글이 어절 중간에서 끊기지 않고 자연스럽게 개행되도록 */
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
/* 제목류는 줄 길이를 균형 있게 */
h1,
h2,
h3 {
  text-wrap: balance;
}
.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
a {
  color: var(--primary-soft);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* header */
header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
}
header.site a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
header.site a:hover {
  text-decoration: none;
}
.mark {
  width: 34px;
  height: 34px;
}
.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* hero */
.hero {
  text-align: center;
  padding: 24px 0 64px;
}
.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary-soft);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero .lead {
  color: var(--muted);
  font-size: 16px;
  margin: 0 auto;
}

.store-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  border: 1px solid transparent;
}
.store-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.store-btn:hover {
  text-decoration: none;
  opacity: 0.88;
}
.store-btn.ios,
.store-btn.android {
  background: var(--text);
  color: var(--bg);
}

/* features */
.features {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin: 24px 0 80px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 48px;
}
.feature.reverse {
  flex-direction: row-reverse;
}
.feature .shot {
  flex: 0 0 240px;
  display: flex;
  justify-content: center;
}
.feature .shot img {
  width: 240px;
  max-width: 100%;
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
}
.feature .copy {
  flex: 1;
}
.feature .copy h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.feature .copy p {
  color: var(--muted);
  font-size: 15.5px;
}

/* privacy strip */
.privacy-strip {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 28px;
  text-align: center;
  margin-bottom: 40px;
}
.privacy-strip h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.privacy-strip p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 560px;
  margin: 0 auto;
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
}
.card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 14px;
}

footer {
  margin-top: 56px;
  color: var(--muted);
  font-size: 12.5px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  text-align: center;
}
footer a {
  color: var(--muted);
}

/* legal pages (privacy/terms) reuse */
.legal h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.legal h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 28px 0 8px;
}
.legal p,
.legal li {
  color: var(--muted);
  font-size: 14.5px;
}
.legal p strong {
  color: var(--text);
  font-weight: 600;
}
.eff {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 32px;
}
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.lang-note {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 28px;
}

@media (max-width: 640px) {
  .hero {
    padding: 8px 0 48px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero .lead {
    font-size: 15px;
  }
  .features {
    gap: 56px;
    margin-bottom: 56px;
  }
  .feature,
  .feature.reverse {
    flex-direction: column;
    gap: 22px;
    text-align: center;
  }
  .feature .copy p {
    max-width: 420px;
    margin: 0 auto;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}
