*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  font-synthesis: none;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img,
video {
  display: block;
  width: 100%;
  height: auto;
}

.chrome {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: 18px clamp(18px, 4vw, 40px);
  backdrop-filter: blur(14px);
}

.wordmark {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.primary,
.lang,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-family: "Figtree", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.primary {
  justify-content: center;
}

.primary a,
.lang a,
.footer-nav a {
  text-decoration: none;
}

.primary a:hover,
.lang a:hover,
.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta {
  padding: 8px 14px;
  border: 1px solid currentColor;
}

main {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: 0 clamp(18px, 4vw, 40px) clamp(64px, 10vw, 120px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 6.4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.2;
}

.lede,
.one-liner {
  max-width: 36rem;
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-1px);
}

footer {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: 28px clamp(18px, 4vw, 40px) 48px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

footer p {
  margin: 0;
  opacity: 0.72;
}

form {
  display: grid;
  gap: 20px;
}

form > label {
  display: grid;
  gap: 7px;
}

input,
textarea,
button {
  width: 100%;
  border: 1px solid currentColor;
  border-radius: 0;
  padding: 12px;
  color: inherit;
  background: transparent;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
}

input[type="radio"] {
  width: auto;
}

button {
  cursor: pointer;
}

body[data-form-mode="mailto"] [type="submit"] {
  display: none;
}

@media (max-width: 820px) {
  .chrome {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "wordmark lang"
      "primary primary";
  }

  .wordmark {
    grid-area: wordmark;
  }

  .lang {
    grid-area: lang;
    justify-content: end;
  }

  .primary {
    grid-area: primary;
    justify-content: start;
  }
}
