:root {
  --navy: #1d2c64;
  --yellow: #ffdd59;
  --page-background: #eaf3ff;
  --card-background: #f9faff;
  --body-text: #23316e;
  --landing-width: 1180px;
  --landing-border: 7px;
  --landing-shadow: 0 6px 2px rgba(20, 37, 91, .24);
}

body:has(.landing-page) {
  background: var(--page-background);
  color: var(--body-text);
}

.landing-page,
.landing-page * {
  box-sizing: border-box;
}

.landing-page {
  min-height: 100vh;
  overflow: hidden;
  background: var(--page-background);
  color: var(--body-text);
}

.landing-page a:focus-visible {
  outline: 4px solid #ffffff;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--navy);
}

.hero-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 3px rgba(8, 21, 59, .25);
}

.landing-main {
  width: min(var(--landing-width), calc(100% - 48px));
  margin: -4px auto 0;
}

.landing-hero {
  position: relative;
  height: 684px;
  overflow: hidden;
  border: var(--landing-border) solid var(--navy);
  border-top-width: 0;
  border-radius: 0 0 37px 37px;
  background: var(--card-background);
  box-shadow: var(--landing-shadow);
}

.landing-hero__content {
  height: 100%;
  padding-top: 147px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.landing-hero h1 {
  margin: 0;
  color: var(--body-text);
  font-size: 115px;
  font-weight: 800;
  letter-spacing: -7px;
  line-height: .835;
  text-align: center;
  text-shadow: 0 5px 1px rgba(19, 35, 86, .22);
}

.landing-hero__content p {
  margin: 31px 0 0;
  color: var(--body-text);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.55px;
  line-height: 1.48;
}

.hero-start {
  width: 241px;
  height: 61px;
  margin-top: 45px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--navy);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 2px rgba(18, 35, 82, .26);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.hero-callout {
  position: absolute;
  z-index: 2;
  height: 57px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  text-align: center;
  line-height: 1.04;
}

.hero-callout strong {
  color: var(--yellow);
  font-size: 16px;
  font-weight: 700;
}

.hero-callout span {
  margin-top: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.hero-callout::after,
.facebook-badge::after,
.loop-pill::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c1.2 0 2.1.7 2.8 1.9l7.7 13.4c1.4 2.5-.3 5.2-3.1 5.2H4.6c-2.8 0-4.5-2.7-3.1-5.2L9.2 3.4c.7-1.2 1.6-1.9 2.8-1.9Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c1.2 0 2.1.7 2.8 1.9l7.7 13.4c1.4 2.5-.3 5.2-3.1 5.2H4.6c-2.8 0-4.5-2.7-3.1-5.2L9.2 3.4c.7-1.2 1.6-1.9 2.8-1.9Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 3px 1px rgba(18, 35, 82, .25));
}

.hero-callout--top {
  top: 49px;
  left: 50%;
  width: 258px;
  transform: translateX(-50%);
}

.hero-callout--top::after {
  left: -2px;
  bottom: -13px;
  color: var(--navy);
  transform: rotate(-135deg);
}

.hero-callout--left {
  top: 284px;
  left: 18px;
  width: 229px;
}

.hero-callout--left::after {
  right: -9px;
  bottom: -7px;
  color: var(--navy);
  transform: rotate(135deg);
}

.hero-callout--right {
  top: 371px;
  right: 58px;
  width: 252px;
}

.hero-callout--right::after {
  left: -10px;
  top: -8px;
  color: var(--navy);
  transform: rotate(-45deg);
}

.updates-grid {
  height: 755px;
  margin-top: 49px;
  margin-bottom: 31px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.updates-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: var(--landing-border) solid var(--navy);
  border-radius: 31px;
  background: var(--card-background);
  box-shadow: var(--landing-shadow);
}

.facebook-card {
  overflow: visible;
  background: linear-gradient(to bottom, #fff 9%, #f8f8fa 18%, #bfc3d2 55%, #233773 100%);
}

.facebook-badge {
  position: absolute;
  z-index: 4;
  top: 121px;
  left: -57px;
  width: 245px;
  height: 82px;
  padding: 0 20px 0 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: .91;
  box-shadow: 0 4px 3px rgba(20, 35, 80, .28);
}

.facebook-badge::after {
  width: 21px;
  height: 21px;
  right: -15px;
  bottom: -9px;
  color: var(--yellow);
  transform: rotate(135deg);
}

.facebook-badge__icon {
  width: 61px;
  height: 61px;
  flex: 0 0 61px;
  border: 6px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1877f2;
  color: #fff;
}

.facebook-badge__icon svg {
  width: 100%;
  height: 100%;
  fill: #fff;
  transform: scale(1.15) translateY(4px);
}

.facebook-plugin-stage {
  position: absolute;
  inset: 7px;
  overflow: hidden;
  border-radius: 23px;
}

.facebook-plugin-container {
  position: absolute;
  z-index: 3;
  inset: 0;
  padding-top: 12px;
  padding-bottom: 8px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms ease;
}

.facebook-plugin-container,
.facebook-plugin-container .fb-page,
.facebook-plugin-container .fb_iframe_widget,
.facebook-plugin-container .fb_iframe_widget span,
.facebook-plugin-container iframe {
  border-radius: inherit;
}

.facebook-plugin-stage.is-ready .facebook-plugin-container {
  opacity: 1;
}

.facebook-plugin-container iframe {
  max-width: 100% !important;
}

.facebook-loader,
.facebook-fallback {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.facebook-loader {
  gap: 13px;
  font-size: 14px;
  font-weight: 500;
}

.facebook-loader__spinner {
  width: 34px;
  height: 34px;
  border: 4px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: facebook-spin 900ms linear infinite;
}

@keyframes facebook-spin {
  to {
    transform: rotate(360deg);
  }
}

.facebook-plugin-stage.is-ready .facebook-loader,
.facebook-plugin-stage.has-failed .facebook-loader {
  display: none;
}

.facebook-fallback {
  display: none;
  gap: 18px;
  padding: 34px;
}

.facebook-plugin-stage.has-failed .facebook-fallback {
  display: flex;
}

.facebook-fallback__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #1877f2;
  background: #fff;
  overflow: hidden;
}

.facebook-fallback__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.facebook-fallback p {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
}

.facebook-fallback a {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
}

.loop-card {
  padding-top: 77px;
  text-align: center;
}

.loop-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 89px;
  font-weight: 800;
  letter-spacing: -5.8px;
  line-height: .89;
  text-shadow: 0 5px 1px rgba(19, 35, 86, .22);
}

.loop-highlight {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.loop-highlight::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -5px;
  right: -1px;
  top: 15px;
  bottom: 3px;
  background: var(--yellow);
  transform: rotate(5deg);
}

.loop-highlight--two::before {
  left: 27px;
  right: -8px;
  top: 25px;
  bottom: -10px;
  transform: rotate(-1deg);
}

.loop-card__intro {
  margin: 57px 0 0;
  color: var(--body-text);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.5px;
  line-height: 1.25;
}

.loop-pills {
  position: relative;
  height: 305px;
  margin-top: 50px;
}

.loop-pill {
  position: absolute;
  height: 58px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -1.2px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 3px rgba(20, 35, 80, .26);
}

.loop-pill svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
}

.loop-pill::after {
  color: var(--yellow);
}

.loop-pill--news {
  top: 0;
  left: 178px;
  width: 255px;
  transform: rotate(-6deg);
}

.loop-pill--news::after {
  width: 19px;
  height: 19px;
  right: -15px;
  bottom: -7px;
  transform: rotate(135deg);
}

.loop-pill--calendar {
  top: 104px;
  left: 35px;
  width: 369px;
  transform: rotate(-3deg);
}

.loop-pill--calendar::after {
  width: 19px;
  height: 19px;
  left: -14px;
  bottom: -9px;
  transform: rotate(-135deg);
}

.loop-pill--bell {
  top: 204px;
  left: 180px;
  width: 349px;
  transform: rotate(3deg);
}

.loop-pill--bell::after {
  width: 19px;
  height: 19px;
  right: -15px;
  bottom: -9px;
  transform: rotate(135deg);
}

.landing-footer {
  width: 100%;
  height: 91px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #f1f4ff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.35px;
  text-align: center;
}

@media (max-width: 1100px) {
  .landing-hero {
    height: auto;
    min-height: 650px;
    padding: 40px 34px 48px;
  }

  .landing-hero__content {
    padding-top: 110px;
  }

  .landing-hero h1 {
    font-size: clamp(64px, 10vw, 105px);
  }

  .hero-callout--left {
    left: 12px;
  }

  .hero-callout--right {
    right: 12px;
  }

  .updates-grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .updates-card {
    min-height: 755px;
  }

  .facebook-badge {
    left: -20px;
  }

  .loop-card {
    max-width: 572px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .landing-hero {
    min-height: 0;
    height: auto;
    padding: 34px 28px 48px;
  }

  .landing-hero__content {
    height: auto;
    padding-top: 0;
  }

  .landing-hero h1 {
    margin-top: 30px;
    font-size: clamp(58px, 10vw, 78px);
    letter-spacing: -4px;
    line-height: .93;
  }

  .hero-callout {
    position: relative;
    inset: auto;
    width: min(310px, 100%);
    height: 55px;
    margin: 12px auto 0;
    transform: none;
  }

  .hero-callout--top {
    margin-top: 0;
  }

}

@media (max-width: 720px) {
  .landing-main {
    width: calc(100% - 24px);
    margin-top: -3px;
  }

  .landing-hero {
    min-height: 0;
    padding: 35px 18px 44px;
    border-width: 5px;
    border-top-width: 0;
    border-radius: 0 0 27px 27px;
  }

  .landing-hero__content {
    height: auto;
    padding-top: 0;
  }

  .landing-hero h1 {
    margin-top: 26px;
    font-size: clamp(44px, 13vw, 62px);
    letter-spacing: -3px;
    line-height: .99;
  }

  .landing-hero__content p {
    margin-top: 28px;
    font-size: 15px;
    line-height: 1.45;
  }

  .landing-hero__content p {
    width: 100%;
    max-width: 100%;
  }

  .landing-hero__content p br {
    display: none;
  }

  .hero-start {
    width: min(220px, 80%);
    height: 55px;
    margin-top: 31px;
    font-size: 21px;
  }

  .hero-callout--left,
  .hero-callout--right {
    margin-top: 12px;
  }

  .updates-grid {
    margin-top: 30px;
    margin-bottom: 24px;
    gap: 30px;
  }

  .updates-card {
    min-height: 600px;
    border-width: 5px;
    border-radius: 25px;
  }

  .facebook-card {
    min-height: 670px;
  }

  .facebook-badge {
    top: 70px;
    left: -8px;
    width: 214px;
    height: 70px;
    font-size: 21px;
  }

  .facebook-badge__icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-width: 5px;
  }

  .loop-card {
    min-height: 650px;
    padding-top: 55px;
  }

  .loop-card h2 {
    font-size: clamp(54px, 17vw, 72px);
    letter-spacing: -3px;
  }

  .loop-card__intro {
    margin: 52px 20px 0;
    font-size: 15px;
    line-height: 1.4;
  }

  .loop-card__intro br {
    display: none;
  }

  .loop-pills {
    width: 100%;
    height: 280px;
    margin-top: 36px;
  }

  .loop-pill {
    position: relative;
    top: auto;
    left: auto;
    max-width: calc(100% - 34px);
    height: 53px;
    margin: 0 auto 35px;
    font-size: clamp(19px, 6.2vw, 26px);
    transform: none;
  }

  .loop-pill--news {
    width: 245px;
    margin-right: 9%;
    transform: rotate(-4deg);
  }

  .loop-pill--calendar {
    width: 335px;
    margin-left: 5%;
    transform: rotate(-2deg);
  }

  .loop-pill--bell {
    width: 315px;
    margin-right: 4%;
    transform: rotate(3deg);
  }

  .landing-footer {
    height: auto;
    min-height: 82px;
    padding: 20px 24px;
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {

  .landing-page *,
  .landing-page *::before,
  .landing-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
