:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f8fafc;
  background: #08121d;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #08121d; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #38debb; outline-offset: 4px; border-radius: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #223149;
  background: rgb(8 18 29 / 94%);
  backdrop-filter: blur(12px);
}

.header-inner, .page, .footer-inner {
  width: min(100% - 40px, 920px);
  margin-inline: auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #38debb66;
  border-radius: 11px;
  color: #08121d;
  background: #38debb;
  font-size: 15px;
  font-weight: 900;
}
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: #f8fafc; font-size: 15px; }
.brand-copy span { color: #9aa8ba; font-size: 12px; }

.top-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #9aa8ba;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.top-nav a:hover, .top-nav a[aria-current="page"] { color: #38debb; background: #141c23; }

.page { padding-block: 64px 80px; }
.hero { margin-bottom: 42px; }
.eyebrow {
  margin: 0 0 14px;
  color: #38debb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 { margin: 0; max-width: 780px; color: #f8fafc; font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.lede { max-width: 680px; margin: 18px 0 0; color: #9aa8ba; font-size: 18px; line-height: 1.65; }
.jump-links { display: flex; gap: 10px; margin-top: 24px; }
.jump-links a {
  border: 1px solid #223149;
  border-radius: 999px;
  padding: 9px 14px;
  color: #cbd5e1;
  background: #0c141b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.jump-links a:hover { border-color: #38debb88; color: #38debb; }

.language-section {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid #223149;
  border-radius: 22px;
  background: #0c141b;
}
.language-section + .language-section { margin-top: 28px; }
.language-label { margin: 0 0 26px; color: #38debb; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.language-section h2 { margin: 0 0 8px; color: #f8fafc; font-size: clamp(27px, 4vw, 38px); line-height: 1.15; letter-spacing: -.025em; }
.updated { margin: 0 0 30px; color: #7f8da1; font-size: 14px; }
.language-section h3 { margin: 34px 0 12px; color: #f8fafc; font-size: 20px; line-height: 1.35; }
.language-section h4 { margin: 24px 0 8px; color: #dbe5ef; font-size: 16px; }
.language-section p, .language-section li { color: #b5c0cf; font-size: 16px; line-height: 1.75; }
.language-section p { margin: 0 0 16px; }
.language-section ul, .language-section ol { margin: 0 0 20px; padding-left: 24px; }
.language-section li + li { margin-top: 7px; }
.language-section a { color: #55e7c8; text-underline-offset: 3px; }
.contact-card { margin-top: 22px; padding: 18px 20px; border: 1px solid #38debb55; border-radius: 14px; background: #102029; }
.contact-card a { font-weight: 800; }

.site-footer { border-top: 1px solid #223149; }
.footer-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #7f8da1; font-size: 13px; }
.footer-inner a { color: #9aa8ba; text-underline-offset: 3px; }

@media (max-width: 700px) {
  .header-inner, .page, .footer-inner { width: min(100% - 28px, 920px); }
  .site-header { position: static; }
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 16px; }
  .top-nav { width: 100%; }
  .top-nav a { padding-left: 0; margin-right: 10px; }
  .top-nav a:hover, .top-nav a[aria-current="page"] { background: transparent; }
  .page { padding-block: 42px 56px; }
  .language-section { border-radius: 16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
