:root {
  --bg: #141415;
  --bg-elevated: #1e1e20;
  --bg-card: #252528;
  --text: #f5f5f0;
  --text-muted: #a8a8a3;
  --border: #333338;
  --accent: #f5f5f0;
  --accent-dim: rgba(245, 245, 240, 0.12);
  --link: #8ec8ff;
  --radius: 12px;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(20, 20, 21, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner,
.page,
.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 0.92rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  text-decoration: none;
}

.page {
  padding-top: 48px;
  padding-bottom: 64px;
}

.hero {
  text-align: center;
  padding: 24px 0 40px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 auto;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.appstore-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.appstore-link:hover {
  opacity: 0.9;
  text-decoration: none;
}

.appstore-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.section {
  margin-top: 40px;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-grid {
  display: grid;
  gap: 16px;
}

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

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

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

.card a.inline {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.92rem;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.faq-item:first-child {
  border-top: none;
  padding-top: 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.lang-toggle {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 24px;
}

.lang-toggle button {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
}

.lang-toggle button.active {
  color: var(--text);
  border-color: var(--text-muted);
  background: var(--accent-dim);
}

.policy-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  white-space: pre-wrap;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.policy-body strong,
.policy-body h2 {
  color: var(--text);
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .nav {
    gap: 14px;
    font-size: 0.85rem;
  }
}
