.li-home {
  --li-max: 1120px;
  --li-gap: 14px;
  --li-bg: #ffffff;
  --li-text: #1f1f1f;
  --li-overlay: rgba(0, 0, 0, 0.34);
  --li-yt-overlay: rgba(0, 0, 0, 0.5);
  --li-red: #ff1e00;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--li-bg);
  color: var(--li-text);
}

.li-wrap {
  width: min(100% - 28px, var(--li-max));
  margin: 0 auto;
}

.li-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #101010;
  isolation: isolate;
}

.li-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.li-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--li-overlay), rgba(0, 0, 0, 0.12));
  z-index: 1;
}

.li-hero-content {
  position: relative;
  z-index: 2;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
  padding: 0 0 clamp(30px, 5vh, 60px) 7%;
  color: #fff;
}

.li-hero-content.li-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}

.li-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: none;
  white-space: nowrap;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.li-hero h1 span {
  display: inline;
}

.li-hero h1 span + span {
  margin-left: 0.26em;
}

.li-btn {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  border-radius: 2px;
  padding: 11px 16px;
  border: 0;
}

.li-btn-gray {
  background: #9aa0a6;
  color: #1f1f1f;
}

.li-hero .li-btn {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.li-hero .li-btn img {
  display: block;
  width: auto;
  height: 46px;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.5));
}

.li-btn-red {
  background: var(--li-red);
  color: #fff;
}

.li-testimonial {
  font-family: Inter, sans-serif;
  background: #fff;
  color: #1a1a1a;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 14px;
}

.li-testimonial-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 22px;
}

.li-testimonial-text {
  text-align: center;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.li-testimonial-right {
  border-left: 1px solid #1a1a1a;
  padding-left: 22px;
  text-align: center;
}

.li-name {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.li-verified {
  margin: 0 0 4px;
  font-size: 14px;
  color: #2f2f2f;
  line-height: 1.3;
}

.li-check-img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  margin-left: 4px;
  vertical-align: -1px;
}

.li-program {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #2a2a2a;
  line-height: 1.3;
}

.li-tiles {
  padding: 20px 0 50px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 820px;
}

.li-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--li-gap);
}

.li-card {
  position: relative;
  display: block;
  min-height: 220px;
  text-decoration: none;
  overflow: hidden;
  background: #1b1b1b;
}

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

.li-yt {
  padding: 8px 0 26px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}

.li-weather {
  padding: 24px 0 70px;
}

.li-weather,
.li-weather * {
  box-sizing: border-box;
}

.li-weather__hero {
  text-align: center;
}

.li-weather__hero h2 {
  margin: 0;
  color: #114434;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 900;
  white-space: nowrap;
}

.li-weather__hero p {
  margin: 10px 0 0;
  color: #9aa0a6;
  font-size: 26px;
  line-height: 1.15;
}

.li-weather__form {
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 19px;
  width: 527px;
}

.li-weather__form input {
  border: 2px solid #9aa0a6;
  border-radius: 12px;
  height: 53px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  color: #1f1f1f;
  background: #fff;
}

.li-weather__form button {
  border: 0;
  background: #9aa0a6;
  color: #fff;
  border-radius: 12px;
  padding: 0 19px;
  height: 53px;
  font: inherit;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  white-space: nowrap;
}

.li-weather__form button:hover,
.li-weather__form button:focus,
.li-weather__form button:active {
  background: #1d4133 !important;
  color: #fff;
}

.li-weather__status {
  margin-top: 15px;
  color: #4f5f58;
  font-size: 15px;
  min-height: 24px;
  text-align: center;
}

.li-weather__status.is-error {
  color: #9f2121;
}

.li-weather__grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.li-weather__card {
  border: 1px solid #d3dbd7;
  border-radius: 12px;
  background: #f9fbfa;
  padding: 12px;
  box-shadow: 0 1px 0 rgba(17, 68, 52, 0.06);
}

.li-weather__card--split {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
}

.li-weather__half {
  flex: 0 0 auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.li-weather__half--day {
  background: #f9fbfa;
  color: #1a1a1a;
  border-bottom: 1px solid #d3dbd7;
}

.li-weather__half--night {
  background: #100d53;
  color: #f4f6ff;
}

.li-weather__card--split .li-weather__half--night h4,
.li-weather__card--split .li-weather__half--night p,
.li-weather__card--split .li-weather__half--night .li-weather__summary {
  color: #d8defc !important;
}

.li-weather__half--night h4 {
  margin-bottom: 14px;
  padding-bottom: 5px;
}

.li-weather__meta-label {
  font-weight: 700;
}

.li-weather__card img[src*="Clear_Night.svg"] {
  width: 29.47px;
  height: 29.47px;
}

.li-weather__card img[src*="mostly-clear_nights.svg"] {
  width: 36.4px !important;
  height: 29.46295503px !important;
  max-width: none;
}

.li-weather__card img[src*="Mostly-cloudy_night.svg"] {
  width: 52px;
  height: auto;
}

.li-weather__card img[src*="partly-cloudy_night.svg"] {
  width: 41.63px;
  height: auto;
}

.li-weather__half--night img {
  filter: saturate(0.95) brightness(0.98);
}

.li-weather__card h4 {
  margin: 0 0 2px;
  color: #114434;
  font-size: 14px;
}

.li-weather__date {
  margin: 0 0 6px;
  font-size: 11px;
  line-height: 1;
  color: #8f98a0;
  font-weight: 500;
}

.li-weather__card img {
  width: 52px;
  height: 52px;
  display: block;
  margin-bottom: 6px;
}

.li-weather__card p {
  margin: 4px 0;
  font-size: 13px;
  color: #1a1a1a;
}

.li-weather__hi {
  color: #cc2f2f !important;
  font-weight: 700;
}

.li-weather__lo {
  color: #2f63c9 !important;
  font-weight: 700;
}

.li-weather__summary {
  color: #4f5f58;
}

.li-weather__half .li-weather__summary {
  display: block;
  overflow: visible;
}

.li-yt-box {
  position: relative;
  overflow: hidden;
  display: block;
  color: #fff;
  background: transparent;
  container-type: inline-size;
}

.li-yt-bg {
  display: block;
  width: 100%;
  height: auto;
}

.li-yt-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--li-yt-overlay);
  z-index: 1;
}

.li-yt-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  gap: 16px;
  place-items: center;
  justify-items: center;
  align-content: end;
  padding: 0 0 8%;
  min-height: 0;
  transform: none;
}

.li-yt-logo {
  width: max(18%, calc(82px + 10.8cqi));
  height: auto;
  display: block;
  margin-bottom: 0;
}

.li-yt-text-overlay {
  width: max(27%, calc(125px + 16.2cqi));
  height: auto;
  display: block;
}

.li-yt-subscribe-link {
  display: block;
  width: 100%;
  text-align: center;
}

.li-yt-subscribe-img {
  display: block;
  width: max(11%, calc(59px + 6.6cqi));
  height: auto;
  margin-top: 0.8%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .li-wrap {
    width: min(100% - 18px, var(--li-max));
  }

  .li-hero,
  .li-hero-content {
    min-height: 325px;
  }

  .li-hero-content {
    justify-content: flex-end;
    padding: 22px 12px 44px 24px;
  }

  .li-hero h1 {
    font-size: clamp(28px, 10.5vw, 42px);
    max-width: none;
    white-space: normal;
  }

  .li-hero h1 span {
    display: block;
  }

  .li-hero h1 span + span {
    margin-left: 0;
  }

  .li-testimonial-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .li-testimonial-right {
    border-left: 0;
    border-top: 0;
    padding-left: 0;
    padding-top: 14px;
  }

  .li-testimonial-text {
    font-size: 15px;
  }

  .li-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .li-card {
    min-height: 230px;
    width: 92%;
    margin: 0 auto;
  }

  .li-yt-content {
    gap: 10px;
    padding-bottom: 9%;
  }

  .li-weather__hero h2 {
    font-size: 33px;
  }

  .li-weather__hero p {
    font-size: 16px;
  }

  .li-weather__form {
    margin-top: 9px;
    gap: 12px;
    width: 335px;
  }

  .li-weather__form input {
    border-width: 1.1px;
    border-radius: 7.6px;
    height: 33.5px;
    padding: 0 8.6px;
    font-size: 10.3px;
  }

  .li-weather__form button {
    border-radius: 7.6px;
    padding: 0 11.9px;
    height: 33.5px;
    font-size: 14px;
  }

  .li-weather__grid {
    --li-wx-gap: 14px;
    display: flex;
    gap: var(--li-wx-gap);
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .li-weather__grid::-webkit-scrollbar {
    height: 6px;
  }

  .li-weather__grid::-webkit-scrollbar-thumb {
    background: #c5c9cf;
    border-radius: 999px;
  }

  .li-weather__card {
    flex: 0 0 calc((100% - (2 * var(--li-wx-gap))) / 3);
    min-width: calc((100% - (2 * var(--li-wx-gap))) / 3);
    scroll-snap-align: start;
    margin: 0;
  }

  .li-weather__card--split {
    height: auto;
  }
}
