:root {
  --bg: #ffffff;
  --surface: #f6f2fd;
  --text: #1b1530;
  --muted: #6e6787;
  --border: rgba(27, 21, 48, 0.1);
  --purple: #6a26d4;
  --purple-deep: #3d1590;
  --yellow: #e0b24a;
  --red: #e8605a;
  --green: #2f8a4f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #110c1f;
    --surface: #1c1530;
    --text: #f3effc;
    --muted: #a69ec0;
    --border: rgba(243, 239, 252, 0.12);
    --purple: #9b6bff;
  }
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple); }

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

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 18px; color: var(--text); text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 20px; font-weight: 700; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero {
  background: radial-gradient(circle at 50% 30%, #8b35e8 0%, #5a1fc0 55%, #3d1590 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0 80px;
}
.hero img {
  width: 128px; height: 128px; border-radius: 29px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.hero h1 { font-size: 44px; font-weight: 900; line-height: 1.15; margin-top: 28px; }
.hero p { font-size: 19px; opacity: 0.88; margin: 14px auto 0; max-width: 460px; }
.badge {
  display: inline-block; margin-top: 30px;
  background: #fff; color: #1b1530; font-weight: 800;
  padding: 13px 26px; border-radius: 999px; text-decoration: none;
}
.badge small { display: block; font-size: 11px; font-weight: 700; opacity: 0.6; letter-spacing: 0.04em; }

/* Sections */
section.block { padding: 64px 0 8px; }
section.block h2 { font-size: 28px; font-weight: 900; margin-bottom: 20px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature {
  background: var(--surface); border-radius: 18px; padding: 22px;
  border-top: 4px solid var(--purple);
}
.feature:nth-child(2) { border-top-color: var(--yellow); }
.feature:nth-child(3) { border-top-color: var(--red); }
.feature:nth-child(4) { border-top-color: var(--green); }
.feature h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 15px; }

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq summary { font-weight: 800; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--muted); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin-top: 8px; }

.contact-card {
  background: var(--surface); border-radius: 18px; padding: 22px 24px; margin-top: 24px;
}
.contact-card p { margin-bottom: 4px; }
.contact-card a { font-weight: 800; text-decoration: none; }

/* Legal pages */
.legal { padding: 56px 0 96px; }
.legal h1 { font-size: 40px; font-weight: 900; margin: 0 0 4px; line-height: 1.15; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 22px; font-weight: 900; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; font-weight: 800; margin: 20px 0 6px; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal .caps { text-transform: uppercase; font-weight: 700; font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.legal th { font-weight: 800; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); margin-top: 64px;
  padding: 32px 0 48px; color: var(--muted); font-size: 14px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { gap: 14px; font-size: 14px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 17px; }
  .features { grid-template-columns: 1fr; }
  .legal h1 { font-size: 32px; }
}
