:root {
  --color-blue: #004fb6;
  --color-blue-dark: #033276;
  --color-sky: #dff8fb;
  --color-coral: #ff8562;
  --color-ink: #111111;
  --color-muted: rgba(17, 17, 17, 0.66);
  --color-line: rgba(0, 79, 182, 0.14);
  --layout: min(1180px, calc(100vw - 40px));
  --font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", Impact, sans-serif;
  --font-body: Arial, "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--color-ink);
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.42;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 54px;
  background: #ffffff;
}

.hero__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  grid-template-areas:
    "brand scene"
    "tagline scene"
    "copy scene";
  gap: 22px;
  width: var(--layout);
  margin: 0 auto;
  align-items: start;
}

.hero__brand {
  grid-area: brand;
  width: min(360px, 48vw);
  margin-bottom: 0;
}

.hero__tagline {
  grid-area: tagline;
  margin: -8px 0 4px;
  color: var(--color-ink);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.22;
}

.hero__copy {
  grid-area: copy;
  position: relative;
  z-index: 4;
  padding-top: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-blue);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.modal h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.02;
}

.hero h1 {
  max-width: 620px;
  color: var(--color-blue);
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 800;
}

.hero__lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--color-ink);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 28px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #ffffff;
  background: var(--color-blue);
  box-shadow: 0 14px 26px rgba(0, 79, 182, 0.22);
}

.button--primary:hover {
  background: var(--color-blue-dark);
}

.button--ghost {
  color: var(--color-blue-dark);
  background: #dff8fb;
  box-shadow: inset 0 0 0 1px rgba(0, 79, 182, 0.1), 0 12px 22px rgba(0, 79, 182, 0.1);
}

.hero__scene {
  grid-area: scene;
  position: relative;
  min-height: 620px;
}

.hero__couple {
  position: absolute;
  top: 0;
  right: -38px;
  width: min(720px, 58vw);
}

.hero__badge {
  position: absolute;
  right: -10px;
  bottom: 38px;
  z-index: 3;
  width: clamp(190px, 18vw, 280px);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 79, 182, 0.18));
}

.hero__bird {
  position: absolute;
  z-index: 2;
  opacity: 0.95;
}

.hero__bird--tall {
  top: 330px;
  left: 60px;
  width: 210px;
}

.hero__bird--small {
  top: 412px;
  left: 250px;
  width: 165px;
}

.benefits {
  width: var(--layout);
  margin: 0 auto;
  padding: 32px 0 22px;
}

.section-heading {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading--center {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 64px);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.benefit {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 148px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 79, 182, 0.06);
}

.benefit img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.benefit p {
  margin: 0;
  font-size: 17px;
}

.benefits__guide {
  width: 100%;
  margin-top: 64px;
  border-radius: 0;
}

.calculator-shell {
  width: min(1280px, calc(100vw - 40px));
  margin: 34px auto 0;
}

.reviews {
  margin-top: 10px;
  padding: 48px 0 56px;
  background: linear-gradient(180deg, #f7feff 0%, #dff8fb 100%);
}

.reviews__inner {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
}

.reviews h2 {
  margin: 0 0 26px;
  font-family: var(--font-body);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 400;
  line-height: 1.08;
  text-align: center;
  white-space: nowrap;
}

.reviews__layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  grid-template-areas:
    "art videos"
    "button videos";
  gap: 22px 44px;
  align-items: start;
}

.reviews__art {
  position: relative;
  z-index: 2;
  grid-area: art;
  min-height: 520px;
}

.reviews__bubble {
  width: min(560px, 100%);
  margin-left: -26px;
}

.reviews__bird {
  position: absolute;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.reviews__bird--small {
  left: 42px;
  bottom: 0;
  width: 210px;
}

.reviews__bird--tall {
  right: 0;
  bottom: 32px;
  width: 270px;
}

.reviews__videos {
  grid-area: videos;
  display: flex;
  flex-direction: column;
  max-height: 650px;
  gap: 20px;
  overflow: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scroll-behavior: auto;
  overscroll-behavior: contain;
}

.reviews__videos::-webkit-scrollbar {
  width: 6px;
}

.reviews__videos::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 79, 182, 0.32);
}

.review-card {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 100%;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  background: #dff8fb;
  box-shadow: 0 10px 28px rgba(0, 79, 182, 0.08);
}

.review-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.review-card {
  order: 20;
}

.review-card:nth-child(3) {
  order: 1;
}

.review-card:nth-child(4) {
  order: 2;
}

.review-card:nth-child(1) {
  order: 3;
}

.review-card:nth-child(2) {
  order: 4;
}

.review-card:nth-child(5) {
  order: 5;
}

.review-card:nth-child(6) {
  order: 6;
}

.review-card:nth-child(7) {
  order: 7;
}

.review-card:nth-child(8) {
  order: 8;
}

.review-card:nth-child(9) {
  order: 9;
}

.review-card:nth-child(10) {
  order: 10;
}

.review-card:nth-child(11) {
  order: 11;
}

.review-card:nth-child(12) {
  order: 12;
}

.review-card:nth-child(13) {
  order: 13;
}

.review-card:nth-child(14) {
  order: 14;
}

.review-card:nth-child(15) {
  order: 15;
}

.review-card:nth-child(16) {
  order: 16;
}

.review-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(58px, 7vw, 76px);
  height: clamp(58px, 7vw, 76px);
  border-radius: 50%;
  background: #000000;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.review-card__play::after {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  content: "";
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 21px solid #ffffff;
  transform: translate(-50%, -50%);
}

.reviews__button {
  grid-area: button;
  justify-self: center;
  min-width: 300px;
  border-radius: 8px;
  font-size: 22px;
}

.reviews__next {
  position: relative;
  z-index: 2;
  grid-area: videos;
  align-self: end;
  justify-self: center;
  margin-bottom: -27px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 79, 182, 0.16);
  cursor: pointer;
}

.reviews__next::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 17px;
  height: 17px;
  content: "";
  border-right: 4px solid var(--color-blue);
  border-bottom: 4px solid var(--color-blue);
  transform: rotate(45deg);
}

.reviews__next:hover {
  transform: translateY(1px);
}

.guide {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 74px 0 86px;
  background: linear-gradient(180deg, #ffffff 0%, #ecfbfd 100%);
}

.guide__ring,
.guide__leaf {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.guide__ring {
  z-index: 0;
  top: 42px;
  left: max(-34px, calc((100vw - 1180px) / 2 - 70px));
  width: 154px;
}

.guide__leaf {
  z-index: 0;
  bottom: 66px;
  left: max(32px, calc((100vw - 1180px) / 2 + 10px));
  width: 190px;
  opacity: 0.55;
}

.guide__media {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100vw - 40px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

.guide__media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: rgba(0, 0, 0, 0.02);
}

.guide__media img {
  width: 100%;
  filter: saturate(1.05) contrast(1.03);
}

.guide__media.benefits__guide {
  width: 100%;
  margin-top: 64px;
  border-radius: 0;
  background: #ffffff;
}

.guide__media.benefits__guide::after {
  display: none;
}

.guide__button {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  min-width: 230px;
}

.guide__button:hover {
  transform: translateX(-50%) translateY(-1px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 20, 45, 0.58);
}

.modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 20, 45, 0.78);
}

.video-modal[hidden] {
  display: none;
}

.video-modal__panel {
  position: relative;
  width: min(960px, 100%);
  border-radius: 8px;
  background: #000000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.video-modal__frame {
  aspect-ratio: 16 / 9;
}

.video-modal__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

.modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  width: min(900px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.video-modal__close {
  position: absolute;
  top: -52px;
  right: 0;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.modal__close::before,
.modal__close::after,
.video-modal__close::before,
.video-modal__close::after {
  position: absolute;
  top: 19px;
  left: 10px;
  width: 20px;
  height: 2px;
  content: "";
  background: var(--color-ink);
}

.modal__close::before {
  transform: rotate(45deg);
}

.modal__close::after,
.video-modal__close::after {
  transform: rotate(-45deg);
}

.video-modal__close::before {
  transform: rotate(45deg);
}

.modal__image {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.modal__content {
  padding: 54px 42px 42px;
}

.modal__panel--guide {
  grid-template-columns: 1fr;
  width: min(700px, 100%);
}

.modal__image--guide {
  height: auto;
  min-height: 0;
  max-height: 333px;
  object-fit: cover;
}

.modal__content--guide {
  padding-top: 34px;
  text-align: center;
}

.modal h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.modal__text {
  margin: 14px 0 24px;
  color: var(--color-muted);
}

.modal__text--guide {
  max-width: 460px;
  margin-inline: auto;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.lead-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 0 16px;
  outline: none;
}

.lead-form input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(0, 79, 182, 0.12);
}

.lead-form__note,
.lead-form__success {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.lead-form__success {
  color: var(--color-blue-dark);
  font-weight: 700;
}

.guide-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.guide-actions--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 320px;
  margin-inline: auto;
}

.guide-actions__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding-inline: 24px;
  text-align: center;
  text-decoration: none;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1060px) {
  .hero__body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "tagline"
      "scene"
      "copy";
    gap: 10px;
  }

  .hero__brand {
    width: min(360px, 54vw);
    margin-bottom: 6px;
  }

  .hero__tagline {
    text-align: center;
  }

  .hero__scene {
    min-height: 520px;
  }

  .hero__couple {
    top: 0;
    right: 50%;
    width: min(640px, 88vw);
    transform: translateX(50%);
  }

  .hero__badge {
    right: max(0px, calc((100vw - 640px) / 2 - 8px));
    bottom: 28px;
    width: clamp(150px, 25vw, 220px);
  }

  .hero__bird--tall {
    top: 270px;
    left: 14%;
  }

  .hero__bird--small {
    top: 325px;
    left: 40%;
  }

  .benefits {
    margin-top: 0;
  }

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

@media (max-width: 720px) {
  :root {
    --layout: min(100vw - 24px, 620px);
  }

  body {
    font-size: 16px;
  }

  .hero {
    padding: 18px 0 34px;
  }

  .hero__body {
    gap: 6px;
  }

  .hero__brand {
    width: min(360px, 92vw);
    margin-inline: auto;
    margin-bottom: 0;
  }

  .hero__tagline {
    width: min(360px, 92vw);
    margin: -4px auto 8px;
    font-size: 17px;
    line-height: 1.2;
  }

  .hero__scene {
    min-height: clamp(414px, 129vw, 454px);
  }

  .hero__couple {
    right: 50%;
    width: min(430px, 106vw);
    transform: translateX(50%);
  }

  .hero__badge {
    top: clamp(116px, 33vw, 150px);
    right: clamp(4px, 4vw, 22px);
    bottom: auto;
    width: clamp(112px, 30vw, 136px);
  }

  .hero__bird--tall {
    top: clamp(276px, 86vw, 326px);
    left: 42%;
    width: 94px;
  }

  .hero__bird--small {
    top: clamp(298px, 92vw, 346px);
    left: 53%;
    width: 74px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(21px, 5.7vw, 24px);
    font-weight: 700;
    line-height: 1.08;
  }

  .hero__lead {
    font-size: 18px;
    margin-top: 16px;
    line-height: 1.42;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .benefits {
    margin-top: 8px;
    padding-top: 18px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .benefit {
    min-height: 112px;
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 14px;
  }

  .benefit img {
    width: 76px;
    height: 76px;
  }

  .calculator-shell {
    width: 100%;
    margin-top: 20px;
  }

  .reviews {
    padding: 40px 0 44px;
  }

  .reviews__inner {
    width: min(100vw - 24px, 640px);
  }

  .reviews h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 8vw, 32px);
  }

  .reviews__layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "art"
      "videos"
      "next"
      "button";
    gap: 18px;
  }

  .reviews__art {
    min-height: 224px;
    overflow: visible;
  }

  .reviews__bubble {
    width: 350px;
    max-width: none;
    margin-left: -10px;
    margin-top: 0;
  }

  .reviews__bird--small {
    display: none;
  }

  .reviews__bird--tall {
    top: 138px;
    right: -8px;
    bottom: auto;
    z-index: 2;
    width: 112px;
  }

  .reviews__videos {
    gap: 24px;
    max-height: calc((min(100vw - 24px, 640px) * 1.125) + 24px);
    overflow: auto;
    padding-right: 0;
  }

  .review-card {
    border-radius: 3px;
  }

  .review-card:nth-child(1) {
    order: 1;
  }

  .review-card:nth-child(2) {
    order: 2;
  }

  .review-card:nth-child(3) {
    order: 3;
  }

  .review-card:nth-child(4) {
    order: 4;
  }

  .review-card:nth-child(n + 5) {
    order: 5;
  }

  .review-card__play {
    width: 62px;
    height: 62px;
  }

  .review-card__play::after {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 18px;
  }

  .reviews__button {
    width: min(100%, 436px);
    min-width: 0;
    min-height: 80px;
    border-radius: 14px;
    font-size: 24px;
  }

  .reviews__next {
    grid-area: next;
    align-self: center;
    margin-bottom: 0;
    width: 50px;
    height: 50px;
  }

  .reviews__next::before {
    top: 16px;
    left: 16px;
  }

  .guide {
    margin-top: 0;
    padding: 50px 0 62px;
  }

  .guide__ring {
    width: 102px;
    left: -38px;
  }

  .guide__leaf {
    width: 120px;
    bottom: 42px;
    left: 12px;
  }

  .guide__media.benefits__guide {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
    background: #ffffff;
  }

  .guide__button {
    position: static;
    display: flex;
    width: max-content;
    min-width: 178px;
    min-height: 52px;
    margin: 12px auto 0;
    padding-inline: 24px;
    font-size: 18px;
    transform: none;
  }

  .guide__button:hover {
    transform: translateY(-1px);
  }

  .modal {
    padding: 12px;
  }

  .video-modal {
    padding: 12px;
  }

  .video-modal__close {
    top: -48px;
    right: 0;
  }

  .modal__panel {
    display: block;
    max-height: calc(100vh - 24px);
  }

  .modal__panel--guide {
    width: 100%;
  }

  .modal__image {
    height: 180px;
    min-height: 180px;
  }

  .modal__image--guide {
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .modal__content {
    padding: 28px 20px 22px;
  }

  .guide-actions {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }
}
