:root {
  --red: #bd2737;
  --red: #ab191a;
  --deep: #84202c;
  --ink: #242124;
  --muted: #70666a;
  --line: #ecdfe1;
  --blush: #fff0f1;
  --off: #fcf8f7;
  --blue: #eaf3f5;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: var(--white);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.credentials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 0.25rem 1.5rem;
}

@media (max-width: 768px) {
  .credentials {
    display: none;
  }
}

.credentials a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--neutral-900);
}

.socials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  font-size: 1.5rem;
  gap: 0.5rem;
}

.socials a {
  color: var(--accent);
  text-decoration: none;
  padding: 0.5rem;
}

.icon {
  display: block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

/* ==========================================
Single-colored icons can be modified like so:
.icon-name {
  font-size: 32px;
  color: red;
}
========================================== */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.06;
  letter-spacing: -0.048em;
}

h1 {
  font-size: clamp(2.9rem, 6.25vw, 6rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.25rem);
  margin-bottom: 22px;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.narrow {
  max-width: 780px;
}

.eyebrow {
  display: block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 100px;
  padding: 16px 27px;
  background: var(--red);
  color: white;
  font:
    800 1rem Arial,
    Helvetica,
    sans-serif;
  cursor: pointer;
  transition: 0.18s;
}

.button:hover,
.button:focus-visible {
  background: var(--deep);
  transform: translateY(-2px);
}

.button.light {
  background: white;
  color: var(--deep);
}

.button.light:hover {
  background: #ffe5e8;
}

.section {
  padding: 100px 0;
}

.center {
  text-align: center;
}

.center .intro {
  max-width: 670px;
  margin: 0 auto 38px;
}

.intro {
  font-size: 1.12rem;
  color: var(--muted);
}

.header {
  position: relative;
  z-index: 5;
  background: white;
}

.nav {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav img {
  width: 86px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links .button {
  color: white;
  font-size: 0.85rem;
  padding: 11px 18px;
}

.hero {
  background:
    radial-gradient(circle at 70% 27%, #ffdfe3, transparent 36%),
    linear-gradient(125deg, #fffaf9, #fbe9ea);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  align-items: center;
  min-height: 650px;
  gap: 25px;
}

.hero-copy {
  padding: 75px 0 90px;
}

.hero h1 strong {
  color: var(--red);
}

.hero .lead {
  font-size: 1.2rem;
  color: #5b5154;
  max-width: 640px;
  margin-bottom: 30px;
}

.hero-image {
  height: 650px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-image:before {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  max-width: 95%;
  background: #f4ccd0;
  border-radius: 50%;
  bottom: 70px;
}

.hero-image img {
  position: relative;
  height: 96%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 24px 35px #7e4a4b20);
}

.hero-small {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-small span {
  padding: 8px 13px;
  border: 1px solid #edcbcf;
  border-radius: 100px;
  background: #ffffffb3;
  font-weight: 700;
  font-size: 0.81rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}

.problem-panel {
  padding: 42px;
  background: var(--off);
  border-radius: 26px;
}

.problem-panel h3 {
  font-size: 1.6rem;
}

.list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.list li {
  padding: 11px 0 11px 29px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.list li:last-child {
  border-bottom: 0;
}

.list li:before {
  /* content: '✓'; */
  color: var(--red);
  font-weight: 900;
  position: absolute;
  left: 0;
}

[data-type='close'] li:before {
  content: '\00D7';
  color: var(--red);
}

[data-type='check'] li:before {
  content: '\2713';
  color: #2aab19;
}

.results {
  background: var(--off);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 37px 0 32px;
}

.result {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.result img {
  /* width: 100%;
  height: 300px; */
  /* object-fit: contain; */
  /* background: #f6f0ee; */
}

.result div {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 0.94rem;
}

.for-you {
  background: var(--red);
  color: white;
  overflow: hidden;
}

.for-you .eyebrow {
  color: #ffd9df;
}

.for-you .list li {
  border-color: #ffffff50;
}

.for-you .list li:before {
  color: white;
}

.for-you img {
  /* max-height: 580px; */
  margin: 0 auto;
  /* object-fit: contain; */
}

.features {
  background: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.feature {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 31px;
  background: #fffafa;
}

.feature .number {
  font-weight: 900;
  color: var(--red);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  margin-bottom: 29px;
}

.feature p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.94rem;
}

.app {
  background: var(--blue);
}

.app-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 75px;
}

.app p {
  color: #5e696c;
}

.phones {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
}

.phone {
  width: 210px;
  min-height: 405px;
  border: 8px solid #292c31;
  border-radius: 35px;
  background: #fff;
  box-shadow: 0 20px 55px #4b667442;
  padding: 28px 12px 12px;
  position: relative;
  transform: rotate(-5deg);
}

.phone:before {
  content: '';
  position: absolute;
  top: 6px;
  left: calc(50% - 32px);
  width: 64px;
  height: 11px;
  background: #292c31;
  border-radius: 10px;
}

.phone + .phone {
  transform: rotate(5deg) translateY(30px);
}

.app-mark {
  color: var(--red);
  font-weight: 900;
  font-size: 0.75rem;
  margin-bottom: 15px;
}

.screen-title {
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.screen-row {
  padding: 12px;
  margin-bottom: 9px;
  background: #fff1f2;
  border-radius: 10px;
  font-size: 0.72rem;
}

.screen-row b {
  display: block;
  color: var(--red);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.progress {
  height: 8px;
  background: #eddfe0;
  border-radius: 12px;
  margin-top: 10px;
  overflow: hidden;
}

.progress i {
  display: block;
  background: var(--red);
  width: 68%;
  height: 100%;
}

.app-caption {
  text-align: center;
  color: #64767b;
  font-size: 0.77rem;
  margin-top: 53px;
}

.cookbook {
  background: #fff5f0;
}

.book-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.book-visual {
  min-height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}

.book-cover {
  width: 250px;
  height: 332px;
  transform: rotate(-6deg);
  background: linear-gradient(150deg, #d75d66, #a41c2d);
  border-radius: 6px 13px 13px 6px;
  box-shadow: 15px 22px 30px #783d4140;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 29px 25px;
  color: white;
  border-left: 9px solid #8d1e2d;
}

.book-cover .small {
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  font-weight: 800;
}

.book-cover strong {
  font-size: 2.2rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.book-card {
  position: absolute;
  bottom: 6px;
  right: 0;
  max-width: 215px;
  background: white;
  box-shadow: 0 14px 30px #9d767633;
  padding: 17px;
  border-radius: 15px;
  font-size: 0.88rem;
  font-weight: 800;
}

.cookbook .list li {
  border-color: #e9d9d3;
}

.process {
  background: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 43px;
}

.step {
  border-top: 2px solid var(--red);
  padding-top: 15px;
}

.step b {
  color: var(--red);
  font-size: 0.82rem;
}

.step h3 {
  margin-top: 23px;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
}

.rounded-photo {
  border-radius: 24px;
  overflow: hidden;
}

.about {
  background: var(--off);
}

.about-photo {
  background: #f0d6d9;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* min-height: 485px; */
}

.about-photo img {
  /* max-height: 490px; */
  /* object-fit: contain; */
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 39px;
}

.review {
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 28px;
  background: #fff;
}

.review p {
  font-size: 0.94rem;
}

.review b {
  color: var(--red);
  font-size: 0.84rem;
}

.faq {
  background: var(--off);
}

.faq details {
  border-bottom: 1px solid #dbcfd0;
  padding: 20px 0;
}

.faq summary {
  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;
}

.faq details p {
  max-width: 760px;
  color: var(--muted);
  padding-top: 14px;
  margin-bottom: 0;
}

.cta-band {
  padding: 70px 0;
  background: var(--red);
  color: white;
  text-align: center;
}

.cta-band h2 {
  max-width: 750px;
  margin: 0 auto 22px;
}

.cta-band p {
  max-width: 630px;
  margin: 0 auto 28px;
  color: #ffe4e8;
}

.form-section {
  background: white;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: start;
}

.form-layout p {
  color: var(--muted);
}

form {
  padding: 34px;
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #dcced0;
  border-radius: 9px;
  background: white;
  font: inherit;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px #bd273722;
}

.field textarea {
  min-height: 95px;
  resize: vertical;
}

form .button {
  width: 100%;
}

.form-status {
  font-weight: 700;
  margin: 12px 0 0;
  min-height: 22px;
}

.footer {
  background: #262125;
  color: #e1d6d7;
  padding: 33px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: #e1d6d7;
}

.sr-only {
  position: absolute;
  left: -9999px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .app-grid,
  .book-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 0;
  }

  .hero-copy {
    padding: 54px 0 12px;
  }

  .hero-image {
    height: 430px;
  }

  .hero-image img {
    height: 100%;
  }

  .section {
    padding: 75px 0;
  }

  .result-grid,
  .feature-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .for-you img {
    /* max-height: 420px; */
  }

  .app-grid {
    gap: 45px;
  }

  .book-layout {
    gap: 25px;
  }

  .hero-image:before {
    height: 290px;
    width: 290px;
    bottom: 20px;
  }
}

@media (max-width: 600px) {
  .nav {
    min-height: 72px;
  }

  .nav img {
    width: 69px;
  }

  .nav-links .button {
    padding: 10px 13px;
    font-size: 0.75rem;
  }

  .hero-image {
    height: 340px;
  }

  .hero-image:before {
    height: 290px;
    width: 290px;
    bottom: 20px;
  }

  .hero-copy {
    padding-top: 45px;
  }

  .section {
    padding: 58px 0;
  }

  .result-grid,
  .feature-grid,
  .reviews-grid,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .result img {
    /* height: 290px; */
  }

  .feature {
    padding: 24px;
  }

  .phones {
    gap: 7px;
  }

  .phone {
    width: 47%;
    min-height: 340px;
    padding: 25px 8px 8px;
  }

  .screen-row {
    padding: 9px 6px;
  }

  .app-caption {
    margin-top: 39px;
  }

  .book-visual {
    min-height: 365px;
  }

  .book-card {
    right: 0;
  }

  .for-you img {
    /* margin-bottom: -60px; */
  }

  .form-layout {
    gap: 20px;
  }

  form {
    padding: 22px;
  }

  .problem-panel {
    padding: 26px;
  }
}

#image-carousel {
  padding-inline: 1.2rem;
}

#image-carousel .splide__track {
  padding-inline: 4em;
}

.splide__arrow {
  background-color: #fff;
  width: 2.4rem;
  height: 2.4rem;
  box-shadow: 0 0 0.5rem hsla(0, 0%, 0%, 0.2);
}

#image-carousel .splide__arrow {
  opacity: 1 !important;
}

.splide__arrow--prev {
  left: 0;
}

.splide__arrow--next {
  right: 0;
}

.mobile-slide {
  text-align: center;
}

.mobile-slide .image-caption {
  display: inline-block;
  text-align: center;
  margin-top: 0.5rem;
  margin-inline: auto;
  padding: 0.5rem 1rem;
  background-color: #fff;
  border-radius: 50vw;
  font-size: 14px;
}

#mobile-carousel:not(.is-overflow) .splide__arrows {
  display: none;
}
