*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  line-height: 1.6;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Language toggle bar ─────────────────────────────── */

.lang-bar {
  background: #fff;
  border-bottom: 1px solid #d2d2d7;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
}

.lang-toggle {
  display: inline-flex;
  background: #e8e8ed;
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  border-radius: 16px;
  padding: 6px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  color: #6e6e73;
  transition: background 0.2s, color 0.2s;
}

.lang-btn.active {
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ── Language content visibility ─────────────────────── */

.lang {
  display: none;
}

.lang.active {
  display: block;
}

/* ── Site header ─────────────────────────────────────── */

.site-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 48px 20px 40px;
  text-align: center;
}

.site-header .app-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  background: #e94560;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.site-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.site-header p {
  font-size: 1rem;
  opacity: 0.8;
}

/* ── Main content ────────────────────────────────────── */

main {
  padding: 32px 0 48px;
}

section {
  margin-bottom: 40px;
}

section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8e8ed;
}

/* ── FAQ accordion (details / summary) ───────────────── */

details {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid #e8e8ed;
}

details summary {
  padding: 16px 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: '+';
  font-size: 1.25rem;
  color: #6e6e73;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 12px 20px 16px;
  color: #3d3d3f;
  border-top: 1px solid #e8e8ed;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ── Contact card ────────────────────────────────────── */

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid #e8e8ed;
  text-align: center;
}

.contact-card p {
  color: #3d3d3f;
  margin-bottom: 16px;
}

.contact-card a.email-btn {
  display: inline-block;
  background: #0071e3;
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 980px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.contact-card a.email-btn:hover {
  background: #0077ed;
}

/* ── Privacy policy sections ─────────────────────────── */

.effective-date {
  color: #6e6e73;
  font-size: 0.875rem;
  margin-bottom: 20px;
  font-style: italic;
}

.policy-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e8e8ed;
  margin-bottom: 10px;
  color: #3d3d3f;
}

.policy-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 10px;
}

.policy-section p {
  margin-bottom: 8px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

/* ── Footer ──────────────────────────────────────────── */

footer {
  background: #f5f5f7;
  border-top: 1px solid #d2d2d7;
  padding: 24px 20px;
  text-align: center;
  font-size: 0.875rem;
  color: #6e6e73;
}

footer a {
  color: #0071e3;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer p + p {
  margin-top: 8px;
}

/* ── General links ───────────────────────────────────── */

a {
  color: #0071e3;
}

a:hover {
  text-decoration: underline;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 400px) {
  .site-header h1 {
    font-size: 1.4rem;
  }

  .lang-btn {
    padding: 6px 14px;
  }
}
