/* Final refinement: tighter story, stronger proof and a stable premium footer. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--rl-bg);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.rl-mobile-cta {
  display: none;
  text-decoration: none;
}

.rl-hero {
  min-height: min(900px, 100svh);
  display: flex;
  align-items: center;
  padding: 138px 0 72px;
}

.rl-hero h1 {
  max-width: 760px;
}

.rl-hero p {
  line-height: 1.6;
}

.rl-hero-visual aside {
  right: 12px;
}

/* Production visual hotfix: keep the portrait's faces inside the hero crop. */
.rl-hero-visual > img {
  object-position: 50% 8%;
}

/* The solution surface is light, so its inherited headline must not be white. */
.rl-solution .rl-intro h2 {
  color: var(--rl-ink);
}

.rl-pricing .rl-intro h2 {
  color: var(--rl-ink);
}

.rl-solution .rl-intro p {
  color: #465247;
}

.rl-pain,
.rl-problem,
.rl-solution,
.rl-time,
.rl-product,
.rl-reviews,
.rl-how,
.rl-extra,
.rl-pricing,
.rl-faq {
  padding: 92px 0;
}

.rl-intro {
  margin-bottom: 36px;
}

.rl-product-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.rl-product-head .rl-intro {
  margin: 0;
}

.rl-demo-cta {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

.rl-product-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(32px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .12);
}

.rl-product-proof span {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #111512;
  color: #eef3ef;
  font-size: .78rem;
  font-weight: 750;
  text-align: center;
}

.rl-product-proof span::before {
  margin-right: 7px;
  color: var(--rl-lime);
  content: "✓";
}

.rl-review-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rl-review-flow div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid #dbe1d8;
  border-radius: 15px;
  background: #fff;
  color: #344037;
  font-weight: 700;
}

.rl-review-flow b {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #17231a;
  color: var(--rl-lime);
  font: 800 13px Manrope, sans-serif;
}

.rl-steps {
  grid-template-columns: repeat(5, 1fr);
}

.rl-steps > div {
  padding: 22px;
}

.rl-steps h3 {
  margin-top: 25px;
}

.rl-price-grid {
  align-items: stretch;
}

.rl-price {
  display: flex;
  flex-direction: column;
}

.rl-price a {
  margin-top: auto;
}

.rl-final {
  padding: 94px 0;
}

.rl-footer {
  padding: 38px 0 42px;
  border-top: 1px solid var(--rl-line);
}

.rl-footer .rl-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr;
  align-items: start;
  gap: 44px;
  font-size: 13px;
}

.rl-footer .rl-logo {
  width: max-content;
}

.rl-footer-brand p {
  margin: 15px 0 0;
  color: #7f8a81;
  font-size: 13px;
}

.rl-footer nav,
.rl-footer-contact {
  display: grid;
  gap: 11px;
}

.rl-footer nav a {
  width: max-content;
  color: #aeb7b0;
  text-decoration: none;
}

.rl-footer-contact {
  justify-items: end;
  text-align: right;
}

.rl-footer-contact span {
  color: #717b73;
}

.rl-footer a:hover {
  color: #fff;
}

@media (max-width: 850px) {
  .rl-product-proof {
    grid-template-columns: 1fr 1fr;
  }

  .rl-product-proof span {
    min-height: 72px;
  }

  .rl-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--rl-lime);
    color: #10140d;
    font-size: 13px;
    font-weight: 800;
  }

  .rl-menu {
    display: none;
  }

  .rl-hero {
    min-height: auto;
    padding: 118px 0 70px;
  }

  .rl-product-head {
    display: block;
  }

  .rl-demo-cta {
    margin-top: 24px;
  }

  .rl-steps {
    grid-template-columns: 1fr 1fr;
  }

  .rl-footer .rl-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .rl-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .rl-header .rl-shell {
    height: 68px;
  }

  .rl-hero {
    padding: 104px 0 58px;
  }

  .rl-hero h1,
  .rl-intro h2,
  .rl-two h2,
  .rl-final h2 {
    font-size: clamp(34px, 10.2vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .rl-hero h1 {
    margin: 16px 0;
  }

  .rl-hero p,
  .rl-two p,
  .rl-intro p {
    line-height: 1.58;
  }

  .rl-actions {
    margin: 25px 0 22px;
  }

  .rl-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 12px;
  }

  .rl-hero-visual > img {
    aspect-ratio: 1 / 1;
    max-height: 390px;
    object-position: 50% 7%;
  }

  .rl-pain,
  .rl-problem,
  .rl-solution,
  .rl-time,
  .rl-product,
  .rl-reviews,
  .rl-how,
  .rl-extra,
  .rl-pricing,
  .rl-faq {
    padding: 62px 0;
  }

  .rl-pain-grid div {
    padding: 16px;
  }

  .rl-four article {
    padding: 22px;
  }

  .rl-four h3 {
    margin-top: 22px;
  }

  .rl-product-head {
    margin-bottom: 26px;
  }

  .rl-shots {
    gap: 12px;
  }

  .rl-shots figure:first-child img,
  .rl-shots img {
    height: 220px;
  }

  .rl-review-flow {
    grid-template-columns: 1fr;
  }

  .rl-review-flow div {
    min-height: 70px;
  }

  .rl-steps {
    grid-template-columns: 1fr;
  }

  .rl-steps > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 17px;
  }

  .rl-steps > div b {
    grid-row: 1 / 3;
  }

  .rl-steps h3 {
    margin: 0 0 4px;
  }

  .rl-steps p {
    margin: 0;
  }

  .rl-price-grid {
    gap: 13px;
  }

  .rl-price {
    min-height: 0;
  }

  .rl-final {
    padding: 76px 0;
  }

  .rl-footer {
    padding: 34px 0 40px;
  }

  .rl-footer .rl-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
  }

  .rl-footer-brand {
    grid-column: auto;
  }

  .rl-footer nav {
    grid-template-columns: repeat(3, max-content);
    gap: 16px;
  }

  .rl-footer-contact {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 390px) {
  .rl-logo span {
    font-size: 17px;
  }

  .rl-mobile-cta {
    padding: 9px 12px;
    font-size: 12px;
  }

  .rl-footer nav {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}
