:root {
  --ink: #00263e;
  --deep: #003f46;
  --teal: #2db1aa;
  --mist: #dfe3e7;
  --aqua: #abe1dd;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.45;
  background: var(--white);
}

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

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

.hero {
  position: relative;
  min-height: clamp(560px, 68vw, 720px);
  overflow: hidden;
  border-top: 10px solid var(--teal);
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.hero__video,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  object-fit: cover;
  transform: scale(1.02);
}

.hero__shade {
  z-index: 1;
  background: rgba(0, 38, 62, 0.7);
}

.corner-logo {
  position: absolute;
  top: -10px;
  right: clamp(20px, 3vw, 60px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(78px, 7vw, 110px);
  aspect-ratio: 1.08;
  padding: 16px;
  background: var(--teal);
  transition: background 320ms ease;
}

.corner-logo:hover {
  background: #26a49e;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 10vw, 120px) 24px clamp(80px, 9vw, 120px);
  text-align: center;
}

.jl-logo {
  width: clamp(230px, 22vw, 350px);
  margin-bottom: clamp(90px, 11vw, 132px);
}

.hero__copy h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.7vw, 39px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero__copy p {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 39px);
  line-height: 1.18;
}

.scroll-cue {
  width: 54px;
  height: 54px;
  margin-top: clamp(36px, 5vw, 58px);
}

.scroll-cue span {
  display: block;
  width: 35px;
  height: 35px;
  margin: 0 auto;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  animation: floatArrow 1.9s ease-in-out infinite;
}

.intro {
  background: var(--mist);
}

.intro__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 8vw, 90px) 0 0;
  text-align: center;
}

.intro__copy h2 {
  font-family: "ivymode", Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

.intro__copy p {
  margin: 0;
  font-size: clamp(19px, 1.45vw, 26px);
  line-height: 1.33;
}

.yard-cta {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(26px, 4vw, 54px);
  width: min(540px, 100%);
  min-height: 86px;
  margin: clamp(20px, 7vw, 40px) auto 0;
  padding: 18px clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: var(--teal);
  color: var(--white);
  text-align: left;
  transform: translateY(50%);
  transition: ease-in-out 0s background-color, ease-in-out 0.4s color, transform 320ms ease,
    box-shadow 320ms ease;
}

.yard-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 100%;
  width: 125%;
  height: 80px;
  aspect-ratio: 1 / 1;
  border-radius: 50vh;
  background: var(--ink);
  transform: translate(0, -50%);
  transition: ease-in-out 0.4s;
}

.yard-cta:hover {
  background-color: var(--ink);
  color: var(--white);
  transform: translateY(calc(50% - 3px));
  box-shadow: 0 18px 45px rgba(0, 38, 62, 0.16);
  transition: ease-in-out 0.2s background-color 0.2s, ease-in-out 0.3s color,
    transform 320ms ease, box-shadow 320ms ease;
}

.yard-cta:hover::after {
  left: 50%;
  height: 300px;
  transform: translate(-50%, -50%);
  transition: ease-in-out 0.3s;
}

.yard-cta__left {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  min-width: 0;
}

.yard-cta__icon {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--white);
  border-radius: 50%;
}

.yard-cta__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--white);
  transform: translate(-50%, -50%);
}

.yard-cta__left > span:not(.yard-cta__icon) {
  font-size: clamp(16px, 1.25vw, 21px);
  white-space: nowrap;
}

.yard-cta__logo {
  flex: 0 0 auto;
  width: clamp(78px, 7vw, 105px);
}

.comparison {
  background: var(--white);
}

.comparison__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(118px, 10vw, 142px) 0 clamp(82px, 9vw, 102px);
}

.comparison__inner::before {
  content: "";
  position: absolute;
  top: clamp(118px, 10vw, 142px);
  bottom: clamp(82px, 9vw, 102px);
  left: 50%;
  width: 1px;
  background: rgba(0, 38, 62, 0.16);
}

.comparison__panel {
  padding: 0 clamp(30px, 5vw, 62px);
  text-align: center;
}

.comparison__panel + .comparison__panel {
  border-left: 0;
}

.comparison h3 {
  margin: 0 0 34px;
  font-size: clamp(17px, 1.2vw, 21px);
  font-weight: 700;
}

.comparison ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style-position: inside;
  font-size: clamp(16px, 1.05vw, 19px);
}

.brand-strip {
  overflow: hidden;
  background: var(--aqua);
}

.brand-strip__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(180px, 16vw, 235px);
  width: 100%;
  margin: 0 auto;
}

.real-people {
  position: relative;
  z-index: 2;
  width: clamp(150px, 18vw, 215px);
  margin: 0 auto;
}

.line-art {
  position: absolute;
  top: 0%;
  right: 0%;
  width: min(14vw, 620px);
  min-width: 390px;
  transform: translateY(-50%);
}

.footer {
  background: var(--deep);
  color: var(--white);
}

.footer__inner {
  display: grid;
  grid-template-columns: 145px 1fr 1fr;
  align-items: center;
  gap: clamp(35px, 5vw, 70px);
  width: min(820px, calc(100% - 40px));
  min-height: clamp(230px, 18vw, 280px);
  margin: 0 auto;
}

.footer__logo {
  display: block;
  width: 120px;
  filter: brightness(0) saturate(100%) invert(58%) sepia(64%) saturate(480%) hue-rotate(128deg) brightness(89%) contrast(90%);
}

address {
  min-height: 54px;
  margin: 0;
  padding-left: 22px;
  border-left: 1px solid rgba(45, 177, 170, 0.38);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

address strong {
  display: block;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 160ms;
}

.reveal--delay-2 {
  transition-delay: 300ms;
}

.yard-cta.reveal {
  transform: translateY(calc(50% + 26px));
}

.yard-cta.reveal.is-visible {
  transform: translateY(50%);
}

.yard-cta.reveal.is-visible:hover {
  transform: translateY(calc(50% - 3px));
}

@keyframes floatArrow {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(9px) rotate(45deg);
  }
}

@media (max-width: 780px) {
  .hero {
    min-height: 650px;
  }

  .corner-logo {
    right: 18px;
    width: 78px;
    padding: 14px;
  }

  .jl-logo {
    margin-bottom: 78px;
  }

  .intro {
    background: var(--mist);
  }

  .yard-cta {
    min-height: 78px;
  }

  .comparison__inner {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 98px;
  }

  .comparison__inner::before {
    content: none;
  }

  .comparison__panel + .comparison__panel {
    padding-top: 42px;
    border-top: 1px solid rgba(0, 38, 62, 0.16);
    border-left: 0;
  }

  .comparison h3 {
    margin-bottom: 22px;
  }

  .brand-strip__inner {
    min-height: 235px;
  }

  .line-art {
    left: 50%;
    width: 400px;
    min-width: 400px;
    transform: translateX(35%);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 26px;
    padding: 58px 0;
    text-align: center;

  }

  address {
    padding-left: 0px;
    border-left: 0px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 610px;
  }

  .hero__content {
    padding-right: 20px;
    padding-left: 20px;
    padding-top:40px;
    padding-bottom:40px;
  }

  .hero__copy h1 {
    max-width: 340px;
  }

  .hero__copy p {
    max-width: 340px;
  }

  .yard-cta {
    gap: 18px;
    padding: 16px 18px;
  }

  .yard-cta__left {
    gap: 14px;
  }

  .yard-cta__icon {
    width: 38px;
    height: 38px;
  }

  .yard-cta__left > span:not(.yard-cta__icon) {
    white-space: normal;
    line-height: 1.2;
  }

  .yard-cta__logo {
    width: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
