:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #657086;
  --line: #e5e9f0;
  --brand: #2b5fa8;
  --brand-dark: #204a84;
  --soft: #edf4ff;
  --max: 1080px;
}

* { 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;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .95rem;
}

.hero {
  padding: 88px 0 64px;
  background: linear-gradient(180deg, #edf4ff 0%, var(--bg) 100%);
}

.eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #dceaff;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 16px;
  max-width: 850px;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.05em;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: white;
}

.button:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.button.secondary {
  color: var(--brand-dark);
  background: white;
  border-color: #bfd1e9;
}

section { padding: 58px 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(18, 33, 55, .04);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.meta {
  color: var(--muted);
  font-size: .92rem;
}

.notice {
  border: 1px solid #cbd9ec;
  background: var(--soft);
  padding: 16px 18px;
  border-radius: 12px;
}

.policy {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 44px);
}

.policy h2 {
  margin-top: 42px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.policy h2:first-of-type {
  margin-top: 18px;
  border-top: 0;
}

.policy h3 {
  margin-top: 30px;
}

.language-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 26px;
}

footer {
  border-top: 1px solid var(--line);
  background: white;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: .92rem;
}

footer .foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

code {
  background: #eef1f5;
  border-radius: 6px;
  padding: 2px 5px;
}

@media (max-width: 780px) {
  .grid { grid-template-columns: 1fr; }
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .hero { padding-top: 60px; }
}
/* Navigation to language anchors below the sticky header. */
[id] { scroll-margin-top: 100px; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
@media (max-width: 780px) {
  [id] { scroll-margin-top: 190px; }
  .brand, nav a, .card a, .policy a { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
