:root {
  --bg-dark: #081a32;
  --bg-deep: #222222;
  --text-main: #232d39;
  --text-muted: #7a7a7a;
  --text-soft: #b8bfd0;
  --accent: #ed563c;
  --accent-hover: #fd816b;
  --white: #ffffff;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text-main);
  font-family: "Poppins", sans-serif;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0, 30, 66, 0.72), rgba(0, 30, 66, 0.72)),
    url("img/hero-bg.jpg") center/cover no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero__video.is-playing {
  opacity: 1;
}

.hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  border: 0;
  transform: translate(-50%, -50%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 26, 50, 0.92) 0%, rgba(8, 26, 50, 0.15) 18%, rgba(8, 26, 50, 0.15) 82%, rgba(8, 26, 50, 0.92) 100%),
    linear-gradient(180deg, rgba(8, 26, 50, 0.6) 0%, rgba(8, 26, 50, 0.1) 25%, rgba(8, 26, 50, 0.45) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 160px 0 130px;
  text-align: center;
  color: var(--white);
}

.hero__eyebrow {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 34px auto 0;
}

.download-option {
  display: grid;
  gap: 10px;
}

.download-option .cta {
  width: 100%;
}

.download-option__backup {
  justify-self: center;
  padding: 4px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.4;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.download-option__backup:hover {
  border-color: var(--white);
  color: var(--white);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 0;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
}

.cta--primary,
.cta--small {
  background: var(--accent);
  color: var(--white);
}

.cta--primary:hover,
.cta--small:hover {
  background: var(--accent-hover);
}

.cta--small {
  margin-top: 26px;
  padding-inline: 22px;
  font-size: 14px;
}

.cta--light {
  background: var(--white);
  color: var(--bg-deep);
  padding: 12px 22px;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.cta--light:hover {
  background: #fc6868;
  color: var(--white);
}

.cta__icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
}

.cta__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.section {
  background: #ffffff;
}

.section--spacious {
  padding: 100px 0;
}

.section--cta {
  padding: 100px 0 96px;
}

.section--compact {
  padding: 92px 0 96px;
}

.section--classes {
  padding: 100px 0 56px;
}

.section__intro {
  text-align: center;
}

.section__intro h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--text-main);
}

.section__intro h2 span {
  color: var(--accent);
}

.divider {
  width: 52px;
  height: 4px;
  margin: 18px auto 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #18243a 0 38%, var(--accent) 38% 100%);
}

.section__intro p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.3px;
  color: var(--text-muted);
}

.showcase {
  background: linear-gradient(180deg, #ffffff 50%, #222222 50%);
}

.showcase__grid {
  display: grid;
  grid-template-columns: 39.561% 36.053% 24.023%;
  align-items: end;
}

.showcase__logo {
  padding: 0 0 0 28px;
}

.showcase__logo-frame {
  width: 69%;
  height: 342px;
  margin-left: auto;
  border: 15px solid #ffffff;
  background: #ff8b1a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 22px 44px rgba(8, 26, 50, 0.12);
}

.showcase__logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__story {
  padding: 0 0 22px 30px;
}

.showcase__year {
  margin: 0 0 6px 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 200;
  color: #fb4d4d;
}

.showcase__label {
  margin: 0 0 44px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 100;
  color: #474545;
}

.showcase__story h2 {
  margin: 0;
  max-width: 420px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
  color: var(--white);
}

.showcase__aside {
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.showcase__aside p {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 21px;
  font-weight: 100;
  letter-spacing: 8.8px;
  color: var(--white);
}

.footer {
  background: #222222;
  padding: 54px 0 96px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 51.399% 26.003% 22.263%;
  gap: 0;
}

.footer section {
  padding-right: 100px;
}

.footer h3 {
  margin: 0;
  font-family: "Overpass", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.footer__accent {
  width: 48px;
  height: 2px;
  margin: 15px 0 26px;
  background: #fb4d4d;
}

.footer p {
  margin: 0 0 4px;
  color: #fffefe;
  font-size: 14px;
  line-height: 1.45;
}

.footer a {
  color: var(--text-soft);
}

@media (max-width: 1024px) {
  .hero {
    min-height: 72vh;
  }

  .section--spacious,
  .section--cta,
  .section--compact,
  .section--classes {
    padding: 70px 0;
  }

  .showcase__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .showcase__logo,
  .showcase__story,
  .showcase__aside,
  .footer section {
    padding: 0 0 30px;
  }

  .showcase__logo-frame {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .showcase__story,
  .showcase__aside {
    align-items: center;
    text-align: center;
  }

  .showcase__story h2 {
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .hero__video iframe {
    width: max(100vw, 177.78vh);
    height: max(56.25vw, 100vh);
  }

  .hero__content {
    padding: 140px 0 120px;
  }

  .hero__eyebrow {
    font-size: 15px;
  }

  .hero__actions {
    grid-template-columns: 1fr;
  }

  .section--spacious,
  .section--cta,
  .section--compact,
  .section--classes {
    padding: 50px 0;
  }

  .section__intro p {
    max-width: none;
  }

  .showcase__logo {
    padding-top: 12px;
  }

  .showcase__aside p {
    font-size: 16px;
    letter-spacing: 4.6px;
  }

  .footer {
    padding-bottom: 56px;
  }
}
