:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e1e5ef;
  --paper: #ffffff;
  --soft: #f4f6fc;
  --green: #2d3f82;
  --green-dark: #08122e;
  --gold: #717cf5;
  --red: #e62117;
  --header-height: 74px;
  --shell: 1180px;
  --shadow: 0 18px 50px rgba(8, 18, 46, .14);
  --radius: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(113, 124, 245, .55);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.025em;
}

h1,
h2 {
  font-size: clamp(27px, 3vw, 30px);
}

h3 {
  font-size: clamp(19px, 2vw, 22px);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(17, 24, 39, .09);
  box-shadow: 0 4px 22px rgba(8, 18, 46, .06);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  width: min(calc(100% - 40px), 1280px);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: .01em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  height: 100%;
}

.primary-nav a {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  color: #344054;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .025em;
  transition: color .2s ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--green);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.language-switch {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 7px;
  color: #a1aaa5;
  font-size: 12px;
}

.language-switch button {
  padding: 8px 3px;
  color: #8a938e;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .2s ease;
}

.language-switch button:hover,
.language-switch button[aria-pressed="true"] {
  color: var(--green);
  font-weight: 750;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s ease;
}

.section {
  padding-block: clamp(72px, 9vw, 112px);
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.heading-note {
  max-width: 340px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .015em;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: #fff;
  background: var(--green-dark);
}

.button-dark:hover {
  background: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.text-link span:last-child {
  transition: transform .25s var(--ease);
}

.text-link:hover span:last-child {
  transform: translateX(4px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.page-hero {
  min-height: 48vh;
  padding-top: clamp(80px, 12vw, 150px);
  padding-bottom: 80px;
}

.page-hero > p {
  max-width: 720px;
  color: var(--muted);
}

.page-content {
  padding-bottom: 100px;
}

.site-footer {
  color: rgba(255, 255, 255, .78);
  background: #040715;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  padding-block: 64px 48px;
}

.footer-grid h2,
.footer-grid strong {
  color: #fff;
}

.footer-grid h2 {
  margin-bottom: 15px;
  font-size: 14px;
  letter-spacing: .04em;
}

.footer-grid p,
.footer-grid address {
  margin-bottom: 9px;
  font-size: 13px;
  font-style: normal;
  line-height: 1.6;
}

.footer-grid a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand img {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
}

.footer-brand strong {
  display: block;
  max-width: 250px;
  font-size: 15px;
  line-height: 1.4;
}

.footer-brand p {
  margin-top: 7px;
}

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: block;
    grid-column: 3;
    margin-left: 8px;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
  }

  .primary-nav {
    position: fixed;
    z-index: 101;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    height: auto;
    padding: 34px 24px;
    background: rgba(255, 255, 255, .99);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity .25s ease, transform .35s var(--ease);
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-nav a {
    width: min(100%, 520px);
    height: auto;
    padding: 17px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a::after {
    display: none;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .header-inner {
    width: calc(100% - 22px);
  }

  .brand-copy small {
    display: none;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .language-switch {
    gap: 4px;
  }

  .language-switch button {
    padding-inline: 2px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 50px 36px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
