:root {
  --background: #07080a;
  --foreground: #e8ecef;
  --muted: #7a8288;
  --divider: #1c2024;

  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;

  /* Safari still needs this prefix for text sizing. */
  -webkit-text-size-adjust: 100%; /* stylelint-disable-line property-no-vendor-prefix */
  text-size-adjust: 100%;
}

::selection {
  color: var(--background);
  background: var(--foreground);
}

a {
  text-decoration: none;
}

a:hover,
a:focus-visible,
a[aria-current="page"],
a[aria-current="true"] {
  text-shadow: 0 0 8px color-mix(in srgb, var(--foreground) 25%, transparent);
}

.page {
  min-height: 100svh;
  width: 100%;
  padding: 32px clamp(20px, 4vw, 64px) 40px;
  display: flex;
  flex-direction: column;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mark {
  width: 60px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.home-link {
  color: inherit;
  display: flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}

.masthead-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 32px;
}

.site-nav,
.languages {
  display: flex;
  gap: 4px;
}

.site-nav a,
.languages a {
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 500;
}

.site-nav a {
  padding: 0 8px;
}

.site-nav a[aria-current="page"]::before,
.languages a[aria-current="true"]::before {
  content: "[";
}

.site-nav a[aria-current="page"]::after,
.languages a[aria-current="true"]::after {
  content: "]";
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus-visible,
.languages a[aria-current="true"],
.languages a:hover,
.languages a:focus-visible {
  color: var(--foreground);
}

a:focus-visible {
  outline: 1px solid var(--foreground);
  outline-offset: 5px;
}

.site-main {
  flex: 1;
}

.hero {
  margin: 0;
  padding: clamp(64px, 9vw, 128px) 0 clamp(48px, 6vw, 88px);
}

.wordmark {
  display: block;
  width: 100%;
  height: auto;
}

.page-title {
  margin: 0;
  padding: clamp(56px, 6vw, 88px) 0 clamp(40px, 4vw, 64px);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.content-section {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr);
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--divider);
}

.content-section h2 {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
}

.background,
.contact-details {
  max-width: 600px;
  margin: 0;
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.6;
  text-wrap: pretty;
}

.contact-details {
  min-width: 0;
  font-style: normal;
}

.contact-details a {
  color: inherit;
  overflow-wrap: anywhere;
}

.contact-details a:hover {
  color: var(--foreground);
}

.areas {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.site-footer p {
  margin: 0;
}

.company-details {
  max-width: 640px;
}

.company-name,
.contact-label {
  color: var(--foreground);
  font-weight: 600;
}

.site-footer a {
  color: inherit;
  overflow-wrap: anywhere;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--foreground);
}

@media (width <= 700px) {
  .page {
    padding: 18px 22px 32px;
  }

  .mark {
    width: 51px;
  }

  .masthead {
    gap: 16px;
  }

  .masthead-nav {
    gap: 4px 16px;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr);
  }
}
