:root {
  --primary: #6C63FF;
  --primary-dark: #4A42D4;
  --secondary: #FF6584;
  --background: #F8F9FD;
  --surface: #FFFFFF;
  --text-heading: #111827;
  --text-primary: #2C2C2C;
  --text-secondary: #6B7280;
  --border: #E5E7EB;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
}

.topbar-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text-heading);
}

.brand img { width: 32px; height: 32px; }

.lang-switch {
  display: flex;
  gap: 0.25rem;
  background: var(--background);
  border-radius: 999px;
  padding: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.lang-switch a {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: var(--text-secondary);
}

.lang-switch a.active {
  background: var(--primary);
  color: white;
}

.lang-switch a:hover { text-decoration: none; }

main {
  flex: 1;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.hero {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(1.875rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero .meta {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.content ul, .content ol {
  margin: 0 0 1rem 1.25rem;
  font-size: 1rem;
}

.content li {
  margin-bottom: 0.375rem;
}

.content strong {
  color: var(--text-heading);
  font-weight: 700;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.callout strong { color: var(--text-heading); }

table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9375rem;
}

table.data th,
table.data td {
  text-align: left;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.data th {
  background: var(--surface);
  font-weight: 700;
  color: var(--text-heading);
}

table.data tr:last-child td { border-bottom: none; }

footer.legal-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

footer.legal-footer a {
  color: var(--text-secondary);
  margin: 0 0.5rem;
}

footer.legal-footer a:hover { color: var(--primary); }

@media (max-width: 600px) {
  main { padding: 2rem 1.25rem 3rem; }
  .topbar-inner { gap: 0.5rem; }
  .brand { font-size: 1rem; }
  .brand img { width: 28px; height: 28px; }
}
