:root {
  color-scheme: light;
  --bg: #f7f6fc;
  --surface: #fff;
  --surface-soft: #f0eaff;
  --text: #211c3a;
  --muted: #625e77;
  --border: #e6e2f0;
  --primary: #6135d3;
  --primary-dark: #4f27ba;
  --success: #176b49;
  --danger: #a72d4b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, textarea:focus-visible {
  outline: 3px solid #a88cf5;
  outline-offset: 2px;
}

.site-header, main, .site-footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}
.brand img { flex: none; width: 44px; height: 44px; border-radius: 12px; }
.brand-copy { display: grid; gap: 2px; min-width: 0; }
.brand-name { font-size: 16px; font-weight: 750; letter-spacing: -.025em; line-height: 1.2; }
.brand-eyebrow, .eyebrow, .card-kicker, .meta-label {
  margin: 0;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.header-actions, .footer-links, .hero-actions, .dialog-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.header-actions > a, .footer-links a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease;
}
.header-actions > a:hover, .footer-links a:hover { color: var(--primary); }
.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
}
.language-button {
  min-height: 30px;
  padding: 5px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  transition: background .18s ease, color .18s ease;
}
.language-button:hover { background: var(--surface-soft); color: var(--primary-dark); }
.language-button[aria-current="page"], .language-button[aria-pressed="true"] { background: var(--surface-soft); color: var(--primary-dark); }


.language-switch a { text-decoration: none; }
@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .header-actions { width: 100%; }
}
@media (max-width: 560px) {
  .site-header, main, .site-footer { width: min(100% - 28px, 1120px); }
  .site-header { padding-top: 20px; }
}
