:root {
  color: #182033;
  background: #f5f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #182033;
  --muted: #657187;
  --border: #d9e2ef;
  --accent: #2364d2;
  --accent-dark: #194fa8;
  --shadow: 0 18px 42px rgba(22, 37, 66, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(35, 100, 210, .12), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 42%, #eef3f8 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.site_header,
main,
.site_footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site_nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
}

.brand_mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border);
}

.brand_mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.nav_links {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.nav_cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  flex-wrap: wrap;
}

.nav_links a {
  padding: .45rem .7rem;
  border-radius: .45rem;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav_links a:hover,
.nav_links a:focus-visible {
  background: var(--surface-soft);
  color: var(--accent);
  outline: none;
}

.language_switcher {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .72);
}

.language_switcher a {
  min-width: 2.3rem;
  padding: .35rem .45rem;
  border-radius: .35rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.language_switcher a:hover,
.language_switcher a:focus-visible,
.language_switcher a.active {
  background: var(--accent);
  color: #ffffff;
  outline: none;
}

.locale_gate {
  display: grid;
  align-content: center;
  min-height: 100vh;
  gap: 2rem;
}

.locale_gate section {
  max-width: 42rem;
}

.locale_gate h1 {
  margin-bottom: 1.25rem;
}

.language_grid {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.language_grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 2.75rem;
  padding: 0 .9rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: var(--surface);
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
}

.language_grid a:hover,
.language_grid a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  align-items: stretch;
  gap: 1.5rem;
  padding: 4.5rem 0 3rem;
}

.hero_copy,
.hero_panel,
.card,
.guide,
.callout {
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow);
}

.hero_copy {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.eyebrow {
  margin: 0 0 .6rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: .8rem;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: .55rem;
  font-size: 1.1rem;
}

.lead {
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.button_primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button_primary:hover,
.button_primary:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.hero_panel {
  display: grid;
  align-content: center;
  padding: 1.25rem;
}

.hero_panel dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.hero_panel div {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.hero_panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero_panel dt {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero_panel dd {
  margin: .2rem 0 0;
  font-weight: 800;
}

.section {
  padding: 3rem 0;
}

.section_header {
  max-width: 48rem;
  margin-bottom: 1.25rem;
}

.section_tinted {
  margin-inline: calc((100vw - min(1120px, calc(100vw - 2rem))) / -2);
  padding-inline: calc((100vw - min(1120px, calc(100vw - 2rem))) / 2);
  background: rgba(255, 255, 255, .55);
  border-block: 1px solid var(--border);
}

.card_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.guide,
.callout {
  padding: 1.1rem;
}

.card p,
.guide li,
.callout p,
.note,
.section_split p {
  color: var(--muted);
}

.guide_layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.guide ol {
  margin: 0;
  padding-left: 1.35rem;
}

.guide li + li {
  margin-top: .45rem;
}

.format_list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1rem 0;
}

.format_list span {
  padding: .45rem .7rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}

.note {
  max-width: 48rem;
}

.section_split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  gap: 1rem;
  align-items: start;
}

.callout {
  background: var(--surface-soft);
}

.site_footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-weight: 750;
}

.site_footer a {
  color: var(--accent);
  text-decoration: none;
}

.site_footer a:hover,
.site_footer a:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 880px) {
  .hero,
  .guide_layout,
  .section_split {
    grid-template-columns: 1fr;
  }

  .card_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site_nav,
  .site_footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav_cluster {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .language_switcher {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 2rem;
  }

  .card_grid {
    grid-template-columns: 1fr;
  }
}
