:root {
  /* Slightly deeper than the app's #6C63FF brand purple — needed so white
     header text hits the WCAG AA 4.5:1 contrast minimum even at the
     lightest point of the gradient (plain #6C63FF only reaches ~4.3:1). */
  --accent: #5F56E8;
  --accent-dark: #4B44C4;
  --bg: #F5F5F7;
  --card: #FFFFFF;
  --text: #1A1A2E;
  --sub: #6B7280;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
header {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  padding: 48px 24px 64px;
  text-align: center;
}
header h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 16px 0 8px;
  letter-spacing: -0.5px;
}
header p {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  max-width: 480px;
  margin: 0 auto;
}
header a {
  color: #FFFFFF;
  font-size: 14px;
  text-decoration: underline;
}
header h1 a {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}
.lang-switcher {
  margin-top: 16px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0;
}
.lang-switcher span {
  font-weight: 800;
}
.lang-switcher a {
  font-size: 13px;
  margin: 0 2px;
}
.lang-switcher .sep {
  opacity: 0.6;
  margin: 0 2px;
}

/* Skip-to-content link — hidden until keyboard-focused, first focusable
   element on every page so keyboard/screen-reader users can bypass the
   repeated header. */
.skip-link {
  position: absolute;
  right: 12px;
  top: -48px;
  background: var(--accent-dark);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  z-index: 100;
  transition: top 0.15s ease-in;
}
.skip-link:focus {
  top: 12px;
}
main {
  max-width: 680px;
  margin: -40px auto 0;
  padding: 0 20px 60px;
}
.card {
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}
h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 24px 0 12px;
}
h2:first-child { margin-top: 0; }
p { margin: 0 0 12px; color: var(--text); }
footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: var(--sub);
}
footer a {
  color: var(--sub);
  text-decoration: underline;
  margin: 0 8px;
}
a.contact {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}
