html {
  font-family:
    "Libre Franklin",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

.vf-header,
.vf-main,
.vf-footer {
  width: min(100%, 920px);
}

.vf-main {
  padding-top: 44px;
}

.vf-screen[data-screen="home"] {
  max-width: 780px;
}

.vf-wordmark {
  color: var(--vf-accent-dark);
  font-size: 1.22rem;
  font-weight: 780;
}

.vf-kicker {
  color: var(--vf-accent-dark);
  font-size: 0.86rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vf-screen h1,
.vf-noscript h1 {
  font-size: 2.45rem;
  font-weight: 780;
  line-height: 1.08;
  max-width: 18ch;
}

.vf-screen[data-screen="home"] h1 {
  font-size: 3rem;
  max-width: 18ch;
}

.vf-screen .vf-lede,
.vf-noscript p {
  max-width: 64ch;
  font-size: 1.12rem;
  line-height: 1.6;
}

.vf-home-actions {
  gap: 12px;
  margin-top: 30px;
}

.vf-home-actions .vf-button {
  min-height: 46px;
  border-radius: 0;
  border-color: #171717;
  padding-inline: 16px;
  font-weight: 700;
}

.vf-home-actions .vf-home-primary {
  background: #171717;
  color: #fff;
}

.vf-home-actions .vf-home-primary:hover,
.vf-home-actions .vf-home-primary:focus-visible {
  border-color: #000;
  background: #000;
}

.vf-home-actions .vf-home-secondary {
  background: #fff;
  color: #171717;
}

.vf-home-actions .vf-home-secondary:hover,
.vf-home-actions .vf-home-secondary:focus-visible {
  border-color: #171717;
  background: #f4f1eb;
  color: #171717;
}

.vf-home-minor {
  margin: 20px 0 0;
}

.vf-home-minor .vf-home-under18 {
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--vf-accent-dark);
  padding: 0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.vf-form {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--vf-line);
}

.vf-option,
.vf-segment {
  min-height: 56px;
  padding: 14px 16px;
}

.vf-option:hover,
.vf-segment:hover {
  border-color: #b8c8c3;
  background: #fbfdfc;
}

@media (min-width: 720px) {
  .vf-wordmark {
    font-size: 1.48rem;
  }

  .vf-screen h1,
  .vf-noscript h1 {
    font-size: 2.9rem;
  }

  .vf-screen[data-screen="home"] h1 {
    font-size: 3.6rem;
  }
}

body.vf-home-screen .vf-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

.vf-screen[data-screen="home"].vf-screen-home {
  max-width: none;
}

.vf-screen[data-screen="home"] .vf-home-title {
  max-width: none;
  margin: 0 0 10px;
  font-size: 48px;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.vf-screen[data-screen="home"] .vf-home-lede {
  max-width: none;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.4;
}

.vf-home-shell .vf-home-actions {
  gap: 10px;
  margin: 0 0 14px;
}

.vf-home-shell .vf-home-actions .vf-button {
  min-height: 0;
  border-radius: 4px;
  padding: 14px 12px;
  font-size: 15px;
  font-weight: 700;
}

.vf-home-shell .vf-home-minor {
  margin: 0;
}

.vf-home-shell[data-home-locale="et"] .vf-home-title {
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.vf-home-shell[data-home-locale="no"] .vf-home-title {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.vf-home-shell[data-home-locale="sv"] .vf-home-title {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.04em;
}

@media (min-width: 840px) {
  .vf-screen[data-screen="home"] .vf-home-title {
    margin-bottom: 24px;
    font-size: 62px;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .vf-screen[data-screen="home"] .vf-home-lede {
    max-width: 30ch;
    margin-bottom: 32px;
    font-size: 20px;
    line-height: 1.45;
  }

  .vf-home-shell .vf-home-actions {
    margin-bottom: 22px;
  }

  .vf-home-shell .vf-home-actions .vf-button {
    padding: 17px 26px;
    font-size: 16px;
  }

  .vf-home-shell[data-home-locale="et"] .vf-home-title {
    font-size: 50px;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .vf-home-shell[data-home-locale="no"] .vf-home-title {
    font-size: 58px;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .vf-home-shell[data-home-locale="sv"] .vf-home-title {
    font-size: 56px;
    line-height: 0.98;
    letter-spacing: -0.045em;
  }
}
