@import url('fonts/typo.css');

:root {
  --deep: #062c45;
  --deep-2: #0a4d73;
  --blue: #1a73ab;
  --teal: #008ca3;
  --teal-light: #1a98ac;
  --sky: #a5dcff;
  --sky-pale: #edf8ff;
  --gray-bg: #f3f3f3;
  --text: #1c2b33;
  --text-soft: #4a5a64;
  --white: #fff;
  --radius: 4px;
  --wrap: 1180px;
  --gutter: 24px;
}

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

body {
  margin: 0;
  font-family: 'OpenSans', 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--teal);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Keyboard-only skip link, revealed on focus. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--white);
  color: var(--deep);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 2px;
}

/* Heading for screen readers only. */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.section__title {
  font-size: 40px;
  max-width: 21ch;
}

.section__lead {
  font-size: 20px;
  color: var(--text-soft);
  max-width: 62ch;
  font-weight: 300;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 44, 69, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(165, 220, 255, .18);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.02em;
}

.brand__six {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  transform: translateY(-2px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: var(--sky);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus {
  color: var(--white);
  border-bottom-color: var(--teal-light);
}

.nav a.nav__out {
  color: rgba(255, 255, 255, .62);
  font-weight: 400;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(0, 140, 163, .55), transparent 62%),
    linear-gradient(158deg, var(--deep) 0%, #073a5a 46%, var(--deep-2) 100%);
  color: var(--white);
  padding: 96px 0 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(165, 220, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 220, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid rgba(165, 220, 255, .38);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 26px;
}

.hero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--sky);
}

.hero__lead {
  font-size: 21px;
  font-weight: 300;
  color: rgba(255, 255, 255, .88);
  max-width: 50ch;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 88px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}

.btn--primary:hover,
.btn--primary:focus {
  background: #00a0ba;
}

.btn--ghost {
  border-color: rgba(165, 220, 255, .5);
  color: var(--white);
}

.btn--ghost:hover,
.btn--ghost:focus {
  border-color: var(--sky);
  background: rgba(165, 220, 255, .1);
}

/* hero panel */

.panel {
  position: relative;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(165, 220, 255, .22);
  border-radius: 6px;
  padding: 28px 30px;
  margin-bottom: 88px;
}

.panel h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 18px;
}

.panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel li {
  position: relative;
  padding: 11px 0 11px 30px;
  font-size: 16px;
  color: rgba(255, 255, 255, .9);
  border-top: 1px solid rgba(165, 220, 255, .14);
}

.panel li:first-child {
  border-top: 0;
}

.panel li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--teal-light);
}

/* ---------- facts ---------- */

/* The band is inset across the hero / white-background seam. The transform
   moves it up; the negative margin reclaims the space it left behind in the
   layout, otherwise a leftover stripe shows below it. */
.facts {
  background: transparent;
  color: var(--white);
  margin-bottom: -44px;
}

/* The band must stand out from the dark hero, hence light cards rather than
   yet another shade of blue. */
.facts__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #dbe3e9;
  border-top: 4px solid var(--teal);
  border-radius: 6px;
  overflow: hidden;
  transform: translateY(-44px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .34);
}

.fact {
  background: var(--white);
  padding: 26px 24px;
}

.fact__num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.fact__txt {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text-soft);
}

/* ---------- intro ---------- */

.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}

.intro p:last-child {
  margin-bottom: 0;
}

.quote {
  border-left: 4px solid var(--teal);
  background: var(--sky-pale);
  padding: 26px 28px;
  font-size: 18px;
  color: var(--text);
}

.quote strong {
  color: var(--blue);
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}

.card {
  background: var(--white);
  border: 1px solid #e2e8ec;
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.card__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
}

.card h3 {
  font-size: 25px;
  margin: 10px 0 14px;
}

.card p {
  color: var(--text-soft);
  font-size: 16px;
}

.card p:last-child {
  margin-bottom: 0;
}

.section--gray {
  background: var(--gray-bg);
}

.section--gray .card {
  border-color: #e0e6ea;
}

/* ---------- benefits ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid #dde4e9;
}

.benefit {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 28px 30px 28px 0;
  border-bottom: 1px solid #dde4e9;
}

.benefit:nth-child(odd) {
  border-right: 1px solid #dde4e9;
  padding-right: 40px;
}

.benefit:nth-child(even) {
  padding-left: 40px;
}

.benefit__no {
  font-size: 34px;
  font-weight: 800;
  color: var(--sky);
  line-height: 1;
}

.benefit h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.benefit p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
}

/* ---------- references ---------- */

.refs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.ref {
  display: block;
  background: var(--white);
  border: 1px solid #e2e8ec;
  border-radius: var(--radius);
  padding: 24px 26px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.ref:hover,
.ref:focus {
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(6, 44, 69, .1);
  transform: translateY(-2px);
}

.ref h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--blue);
}

.ref p {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--text-soft);
}

.ref__url {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
}

.ref__url::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- video ---------- */

.video {
  position: relative;
  margin-top: 40px;
  aspect-ratio: 16 / 9;
  background: var(--deep);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(6, 44, 69, .22);
}

.video__thumb,
.video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(6, 44, 69, .28), rgba(6, 44, 69, .62));
  color: var(--white);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
}

.video__play:hover .video__icon,
.video__play:focus .video__icon {
  background: #00a0ba;
  transform: scale(1.06);
}

.video__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--teal);
  transition: background .15s, transform .15s;
}

.video__icon::after {
  content: "";
  margin-left: 6px;
  border-left: 22px solid var(--white);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.video__note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-soft);
}

/* ---------- support ---------- */

.support {
  background: linear-gradient(135deg, var(--deep) 0%, #0a4a6e 100%);
  color: var(--white);
}

.support .section__label {
  color: var(--sky);
}

.support__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.support h2 {
  font-size: 36px;
}

.support p {
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
  font-weight: 300;
}

.support__links {
  display: grid;
  gap: 16px;
}

.support__link {
  display: block;
  padding: 22px 26px;
  border: 1px solid rgba(165, 220, 255, .3);
  border-radius: 6px;
  text-decoration: none;
  color: var(--white);
  background: rgba(255, 255, 255, .05);
}

.support__link:hover,
.support__link:focus {
  border-color: var(--sky);
  background: rgba(165, 220, 255, .12);
}

.support__link strong {
  display: block;
  font-size: 19px;
  margin-bottom: 4px;
}

.support__link span {
  font-size: 15px;
  color: rgba(255, 255, 255, .72);
}

/* ---------- footer ---------- */

.site-footer {
  background: #041f31;
  color: rgba(255, 255, 255, .72);
  padding: 62px 0 28px;
  font-size: 15px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.site-footer h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 16px;
}

.site-footer a {
  color: var(--sky);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 7px;
}

.site-footer__bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(165, 220, 255, .16);
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero__inner,
  .intro__inner,
  .support__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__actions {
    padding-bottom: 0;
  }

  .panel {
    margin-bottom: 72px;
  }

  .cards,
  .refs {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 62px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero__lead,
  .section__lead {
    font-size: 18px;
  }

  .section__title,
  .support h2 {
    font-size: 30px;
  }

  .nav {
    display: none;
  }

  .cards,
  .refs,
  .facts__inner,
  .benefits,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .benefit:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }

  .benefit:nth-child(even) {
    padding-left: 0;
  }

  .facts__inner {
    transform: translateY(-28px);
  }

  .facts {
    margin-bottom: -28px;
  }
}
