:root {
  --brand: #1976D2;
  --brand-dark: #0d47a1;
  --bg: #ffffff;
  --surface: #f5f8ff;
  --text: #1c1c1c;
  --text-muted: #5c6070;
  --border: #dce3f0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #181818;
    --surface: #1e2230;
    --text: #f2f2f2;
    --text-muted: #a0a8b8;
    --border: #2e3448;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  line-height: 1.6;
}

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

header.site {
  padding: 48px 0 32px;
  text-align: center;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

h1 {
  font-size: 1.7rem;
  margin: 20px 0 6px;
}

.tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

nav.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

nav.tabs a {
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
}

nav.tabs a.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

main {
  padding-bottom: 64px;
}

section {
  margin-bottom: 36px;
}

h2 {
  font-size: 1.15rem;
  margin: 0 0 14px;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.feature .emoji {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.feature h3 {
  font-size: 0.98rem;
  margin: 0 0 4px;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.store-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.store-links a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.store-links a.secondary {
  background: transparent;
  border: 1.5px solid var(--brand);
  color: var(--brand);
}

.contact-email {
  display: inline-block;
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  .contact-email {
    color: var(--brand);
  }
}

dl.faq dt {
  font-weight: 700;
  margin-top: 18px;
}

dl.faq dt:first-child {
  margin-top: 0;
}

dl.faq dd {
  margin: 6px 0 0;
  color: var(--text-muted);
}

footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 24px 0 48px;
}
