/* Reset + font: applies everywhere. Desktop layout is inside min-width 1024px only.
   mobile.css (owned by the mobile worker) styles max-width 1023px. */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Roboto", sans-serif;
  background: #26a9e0;
}

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

@media (min-width: 1024px) {
  html {
    /* 1px at the 1920x1080 artboard; shrinks with the narrower of width / height. */
    --cc-u: min(100vw / 1920, max(100dvh, 600px) / 1080);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #3fa1f0;
    background-image: url("assets/bg-page.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
  }

  body {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: transparent;
    background-image: none;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #3fa1f0;
    background-image: url("assets/bg-page.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .page {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    overflow-x: hidden;
    background: none;
  }

  .header {
    width: 100%;
    height: calc(98 * var(--cc-u));
    background: #26a9e0;
    position: relative;
    z-index: 2;
    padding-top: calc(16 * var(--cc-u));
    overflow: visible;
  }

  .header__inner {
    width: calc(1524.606 * var(--cc-u));
    height: calc(65.572 * var(--cc-u));
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .header__logo {
    display: block;
    width: calc(200 * var(--cc-u));
    height: calc(65.572 * var(--cc-u));
    object-fit: contain;
    flex: 0 0 auto;
  }

  .header__menu-btn,
  .drawer,
  .drawer-backdrop {
    display: none;
  }

  .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: calc(19.801 * var(--cc-u));
    height: calc(26 * var(--cc-u));
    width: calc(870.606 * var(--cc-u));
    flex: 0 0 auto;
  }

  .nav__link {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: calc(22.003 * var(--cc-u));
    line-height: calc(25.989 * var(--cc-u));
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    height: calc(26 * var(--cc-u));
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav__link:nth-child(1) { width: calc(123 * var(--cc-u)); }
  .nav__link:nth-child(2) { width: calc(106 * var(--cc-u)); }
  .nav__link:nth-child(3) { width: calc(80 * var(--cc-u)); }
  .nav__link:nth-child(4) { width: calc(63 * var(--cc-u)); }
  .nav__link:nth-child(5) { width: calc(65 * var(--cc-u)); }
  .nav__link:nth-child(6) { width: calc(79 * var(--cc-u)); }
  .nav__link:nth-child(7) { width: calc(132 * var(--cc-u)); }
  .nav__link:nth-child(8) { width: calc(84 * var(--cc-u)); }

  .main {
    width: calc(1474 * var(--cc-u));
    height: calc(800 * var(--cc-u));
    margin: calc(42 * var(--cc-u)) auto 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: calc(50 * var(--cc-u));
    position: relative;
    z-index: 1;
  }

  .showcase {
    width: calc(712 * var(--cc-u));
    height: calc(800 * var(--cc-u));
    flex: 0 0 calc(712 * var(--cc-u));
    position: relative;
    overflow: visible;
  }

  .showcase__img {
    display: block;
    width: calc(712 * var(--cc-u));
    height: calc(800 * var(--cc-u));
    object-fit: fill;
    pointer-events: none;
    user-select: none;
  }

  /* Transparent hit-area over the baked CTA in v2-pb1.png. URL not provided. */
  .showcase__cta {
    position: absolute;
    left: calc(179.51 * var(--cc-u));
    top: calc(714.615 * var(--cc-u));
    width: calc(351.587 * var(--cc-u));
    height: calc(85.385 * var(--cc-u));
    z-index: 2;
    display: block;
    border-radius: calc(42.693 * var(--cc-u));
  }

  .card {
    width: calc(712 * var(--cc-u));
    height: calc(800 * var(--cc-u));
    flex: 0 0 calc(712 * var(--cc-u));
    background: #ffffff;
    border: 0;
    border-radius: calc(17.806 * var(--cc-u));
    box-shadow: 0 0 calc(44.515 * var(--cc-u)) #4c6d7e, inset 0 0 0 calc(1.781 * var(--cc-u)) #02a9dd;
    overflow: hidden;
    backdrop-filter: blur(calc(28.044 * var(--cc-u)));
    -webkit-backdrop-filter: blur(calc(28.044 * var(--cc-u)));
  }

  .card__inner {
    width: calc(659.476 * var(--cc-u));
    height: calc(702.53 * var(--cc-u));
    margin: calc(49 * var(--cc-u)) calc(25.046 * var(--cc-u)) calc(48.47 * var(--cc-u)) calc(27.479 * var(--cc-u));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(30.27 * var(--cc-u));
  }

  .card__art {
    display: block;
    width: calc(659.48 * var(--cc-u));
    height: calc(322.341 * var(--cc-u));
    object-fit: fill;
    flex: 0 0 auto;
  }

  /* Figma Frame 1000007978 — 660 x 193.091 */
  .card__copy {
    width: calc(660 * var(--cc-u));
    height: calc(193.091 * var(--cc-u));
    flex: 0 0 auto;
    position: relative;
  }

  .card__desc {
    width: calc(659.476 * var(--cc-u));
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: calc(21 * var(--cc-u));
    line-height: calc(31.928 * var(--cc-u));
    letter-spacing: 0;
    color: #364859;
    text-align: left;
  }

  .card__desc-brand {
    font-weight: 700;
    color: #02a9dd;
  }

  .card__desc-em {
    font-weight: 600;
    color: #02a9dd;
  }

  .card__desc-checkline {
    display: inline;
  }

  .card__desc-icon {
    display: inline-block;
    width: calc(30 * var(--cc-u));
    height: calc(30 * var(--cc-u));
    object-fit: contain;
    vertical-align: middle;
    margin-right: calc(6 * var(--cc-u));
    position: relative;
    top: calc(-1 * var(--cc-u));
  }

  .contact-title {
    width: calc(659.476 * var(--cc-u));
    height: calc(32 * var(--cc-u));
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .contact-title__line {
    width: calc(198.227 * var(--cc-u));
    height: calc(1.098 * var(--cc-u));
    background: #364859;
    border-radius: calc(1 * var(--cc-u));
    flex: 0 0 auto;
  }

  .contact-title__text {
    width: calc(228 * var(--cc-u));
    height: calc(32 * var(--cc-u));
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: calc(23.062 * var(--cc-u));
    line-height: calc(31.848 * var(--cc-u));
    color: #26a7df;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .contacts {
    width: calc(660.133 * var(--cc-u));
    height: calc(64.289 * var(--cc-u));
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: calc(18.993 * var(--cc-u));
  }

  .contact-btn {
    width: calc(207.382 * var(--cc-u));
    height: calc(64.289 * var(--cc-u));
    flex: 0 0 calc(207.382 * var(--cc-u));
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: calc(5.185 * var(--cc-u)) calc(29.034 * var(--cc-u)) calc(5.185 * var(--cc-u)) calc(6.221 * var(--cc-u));
    background: #ffffff;
    border: calc(1.037 * var(--cc-u)) solid #02a9dd;
    border-radius: calc(83.99 * var(--cc-u));
    text-decoration: none;
    color: inherit;
    gap: calc(9.332 * var(--cc-u));
    box-sizing: border-box;
  }

  .contact-btn__icon {
    display: block;
    width: calc(51.846 * var(--cc-u));
    height: calc(51.846 * var(--cc-u));
    object-fit: contain;
    flex: 0 0 calc(51.846 * var(--cc-u));
  }

  .contact-btn__label {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: calc(21.559 * var(--cc-u));
    line-height: calc(25.464 * var(--cc-u));
    color: #364859;
    text-align: center;
    white-space: nowrap;
  }
}
