@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/roboto-900-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-400-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-white: #ffffff;
  --color-brand-dark: #003b76;
  --color-brand-accent: #0879ed;
  --color-message: #304b63;
  --color-strong-dark: #0f172a;
  --color-strong-light: #64748b;
  --color-accent: #2563eb;
  --color-weak-light: #f8fafc;
  --color-divider: #dde2e6;

  --font-display: "Roboto", system-ui, sans-serif;
  --font-message: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --content-max-width: 1280px;
  --page-gutter: 16px;

  --hero-unit: min(1px, (100vw - 2 * var(--page-gutter)) / 358);
}

@media (min-width: 1024px) {
  :root {
    --page-gutter: 80px;
    --hero-unit: min(1px, (100vw - 2 * var(--page-gutter)) / 1280);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  background: var(--color-white);
  color: var(--color-strong-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1,
p,
address {
  margin: 0;
}

address {
  font-style: normal;
}

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

.hero {
  flex-grow: 1;
  padding-top: calc(48 * var(--hero-unit));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right));
  padding-left: max(var(--page-gutter), env(safe-area-inset-left));
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(48 * var(--hero-unit));
  max-width: var(--content-max-width);
  margin-inline: auto;
}

.hero__logo {
  width: calc(184.6 * var(--hero-unit));
  height: auto;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--hero-unit));
}

.hero__title {
  font-family: var(--font-display);
  font-size: calc(58 * var(--hero-unit));
  font-weight: 900;
  line-height: 1;
  color: var(--color-brand-dark);
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--color-brand-accent);
}

.hero__message {
  font-family: var(--font-message);
  font-size: calc(24 * var(--hero-unit));
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-message);
}

.hero__message-break {
  display: none;
}

.hero__art {
  width: calc(250 * var(--hero-unit));
  height: calc(316 * var(--hero-unit));
  overflow: hidden;
}

.hero__art-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: calc(180 * var(--hero-unit));
    padding-bottom: calc(72 * var(--hero-unit));
  }

  .hero__inner {
    gap: calc(142 * var(--hero-unit));
  }

  .hero__logo {
    width: calc(465 * var(--hero-unit));
  }

  .hero__text {
    gap: calc(40 * var(--hero-unit));
  }

  .hero__title {
    font-size: calc(122 * var(--hero-unit));
  }

  .hero__message {
    font-size: calc(36 * var(--hero-unit));
  }

  .hero__message-break {
    display: inline;
  }

  .hero__art {
    position: absolute;
    bottom: calc(-72 * var(--hero-unit));
    left: calc(868 * var(--hero-unit));
    width: calc(389 * var(--hero-unit));
    height: calc(492 * var(--hero-unit));
  }
}

.footer {
  padding-right: max(var(--page-gutter), env(safe-area-inset-right));
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: max(var(--page-gutter), env(safe-area-inset-left));
  background: var(--color-weak-light);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-top: 64px;
  padding-bottom: 32px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-strong-light);
}

.footer__company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: min-content;
}

.footer__company-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__company-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-strong-dark);
}

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__emails {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer__email {
  padding-block: 4px;
  margin-block: -4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
}

.footer__divider {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--color-divider);
}

.footer__copyright {
  text-align: center;
}
