:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #eef2ff;
  --text: #111827;
  --muted: #667085;
  --primary: #4f46e5;
  --primary-2: #06b6d4;
  --accent: #22c55e;
  --border: #e5e7eb;
  --danger: #dc2626;
  --shadow: 0 18px 50px rgba(15, 23, 42, .08);
  --radius: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --surface: #111827;
    --surface-2: #172036;
    --text: #f8fafc;
    --muted: #a8b3c7;
    --border: #27324a;
    --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(79,70,229,.14), transparent 30%),
    radial-gradient(circle at 95% 5%, rgba(6,182,212,.12), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
}
a { color: inherit; }
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 900;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: var(--shadow);
  font-weight: 900;
}
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.hero {
  padding: 90px 0 64px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--primary);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
h1 {
  max-width: 860px;
  margin: 18px auto 16px;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.hero p,
.lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}
.actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  min-height: 48px;
  padding: 0 21px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid var(--border);
}
.button.primary {
  color: white;
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}
.button.secondary { background: var(--surface); }

.section { padding: 34px 0 74px; }
.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -.03em;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; }

.page {
  padding: 64px 0 90px;
}
.page h1 {
  text-align: left;
  margin-left: 0;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}
.page .lead { margin-left: 0; }

.legal-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(15, 23, 42, .05);
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--primary);
}
details[open] summary::after { content: "−"; }
.details-content {
  padding: 0 22px 22px;
  color: var(--muted);
}
.details-content ul { padding-left: 20px; }
.notice {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  margin-top: 22px;
}
.contact-card {
  display: grid;
  gap: 12px;
}
.contact-item {
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  color: var(--muted);
  text-align: center;
}
.small { font-size: .92rem; color: var(--muted); }

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; padding: 14px 0; }
  .nav-links { justify-content: flex-end; }
  .hero { padding-top: 64px; }
}
