/* ==========================================================================
   B Two Operations Limited — landing page
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts — Poppins, self-hosted (subset files carried over from the original
   next/font/google build). Weight 500 was shipped by the old build but is not
   referenced by any rule, so it is not included here.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-700-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/poppins-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/poppins-800-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallback: keeps layout stable during the font-swap period.
   Overrides copied verbatim from the original next/font output. */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial");
  ascent-override: 93.62%;
  descent-override: 31.21%;
  line-gap-override: 8.92%;
  size-adjust: 112.16%;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: #000616;
  font-family: "Poppins", "Poppins Fallback";
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
  background-image: linear-gradient(0deg, rgba(0, 71, 255, 0) -117%, rgba(0, 71, 255, 0.1) 114.62%),
    url("/images/header-bg-mobile.jpeg");
  background-image: linear-gradient(0deg, rgba(0, 71, 255, 0) -117%, rgba(0, 71, 255, 0.1) 114.62%),
    -webkit-image-set(url("/images/header-bg-mobile.webp") type("image/webp"),
    url("/images/header-bg-mobile.jpeg") type("image/jpeg"));
  background-image: linear-gradient(0deg, rgba(0, 71, 255, 0) -117%, rgba(0, 71, 255, 0.1) 114.62%),
    image-set(url("/images/header-bg-mobile.webp") type("image/webp"),
    url("/images/header-bg-mobile.jpeg") type("image/jpeg"));
  background-position: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0 12px;
}

@media screen and (min-width: 900px) {
  .header {
    background-image: linear-gradient(0deg, rgba(0, 71, 255, 0) -117%, rgba(0, 71, 255, 0.1) 114.62%),
      url("/images/header-bg.jpeg");
    background-image: linear-gradient(0deg, rgba(0, 71, 255, 0) -117%, rgba(0, 71, 255, 0.1) 114.62%),
      -webkit-image-set(url("/images/header-bg.webp") type("image/webp"),
      url("/images/header-bg.jpeg") type("image/jpeg"));
    background-image: linear-gradient(0deg, rgba(0, 71, 255, 0) -117%, rgba(0, 71, 255, 0.1) 114.62%),
      image-set(url("/images/header-bg.webp") type("image/webp"),
      url("/images/header-bg.jpeg") type("image/jpeg"));
    background-position: -155.249px -280.829px;
    background-size: 125.303% 300.765%;
    padding: 0 40px;
  }
}

.header-nav {
  padding: 20px 0;
}

.header-logo {
  font-size: 20px;
  font-weight: 800;
  line-height: 120%;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.header-content {
  padding: 29px 0 39px;
  text-align: center;
}

@media screen and (min-width: 900px) {
  .header-content {
    align-items: center;
    display: flex;
    gap: 40px;
    margin: 0 auto;
    max-width: 1052px;
    padding-bottom: 51px;
    text-align: left;
  }
}

.header-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 12px;
}

.header-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  margin-bottom: 24px;
}

@media screen and (min-width: 900px) {
  .header-text {
    font-size: 16px;
    margin-bottom: 0;
  }
}

.header-cover {
  align-items: center;
  background-color: #001959;
  border-radius: 6px;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: 32px;
  font-weight: 700;
  justify-content: center;
  line-height: 120%;
  padding: 80px 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media screen and (min-width: 390px) {
  .header-cover {
    font-size: 40px;
  }
}

@media screen and (min-width: 900px) {
  .header-cover {
    border-radius: 8px;
    flex-shrink: 0;
    width: 460px;
  }
}

/* --------------------------------------------------------------------------
   Slides
   -------------------------------------------------------------------------- */

.slides {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 12px;
  max-width: 624px;
  margin: 0 auto;
  padding: 40px 12px;
}

@media screen and (min-width: 900px) {
  .slides {
    gap: 32px 24px;
    padding: 60px 0;
  }
}

.slide {
  text-align: center;
  width: calc(50% - 6px);
}

@media screen and (min-width: 900px) {
  .slide {
    width: calc(50% - 12px);
  }
}

.slide:first-child {
  width: 100%;
}

.slide:first-child .slide-img {
  height: 200px;
}

@media screen and (min-width: 600px) {
  .slide:first-child .slide-img {
    height: 250px;
  }
}

.slide .slide-img {
  height: 160px;
}

@media screen and (min-width: 600px) {
  .slide .slide-img {
    height: 250px;
  }
}

.slide-img-wrapper {
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
  position: relative;
}

.slide-img-wrapper::after {
  background: linear-gradient(0deg, rgba(0, 71, 255, 0) -117%, rgba(0, 71, 255, 0.05) 114.62%);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

@media screen and (min-width: 900px) {
  .slide-img-wrapper {
    border-radius: 8px;
    margin-bottom: 12px;
  }
}

.slide-img {
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.slide-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 8px;
}

@media screen and (min-width: 900px) {
  .slide-title {
    font-size: 20px;
  }
}

.slide-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 140%;
}

@media screen and (min-width: 900px) {
  .slide-text {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background-color: #001959;
  color: #fff;
  padding: 32px 12px;
  text-align: center;
}

@media screen and (min-width: 900px) {
  .footer {
    padding: 24px;
  }
}

.footer-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 120%;
}
