/* Screen 2: problem/cards. */

.problem h2 span {
  color: inherit;
}

.problem__visual {
  overflow: visible;
}

.problem__visual .product-shot {
  border-radius: 0;
  transform: rotate(-1deg) scale(1.1);
  transform-origin: center;
  filter: drop-shadow(0 30px 74px rgba(16, 61, 43, 0.08));
  -webkit-mask-image: radial-gradient(ellipse 63% 60% at 52% 50%, #000 0 70%, rgba(0, 0, 0, 0.86) 80%, transparent 100%);
  mask-image: radial-gradient(ellipse 63% 60% at 52% 50%, #000 0 70%, rgba(0, 0, 0, 0.86) 80%, transparent 100%);
}

@media (min-width: 741px) {
  .problem__inner {
      grid-template-columns: minmax(650px, 0.9fr) minmax(560px, 1fr);
      gap: 30px clamp(34px, 3vw, 54px);
    }

  .problem__copy {
      max-width: 700px;
    }

  .problem h2 {
      max-width: 700px;
      font-size: clamp(54px, 3.86vw, 64px);
      line-height: 1.13;
    }

  .problem .lead {
      max-width: 630px;
      margin-top: 24px;
    }
}

.problem__cards {
  grid-area: details;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}

.problem-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon text";
  align-items: start;
  column-gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 14px 15px;
  border: 1px solid rgba(7, 84, 61, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 13px 26px rgba(27, 75, 60, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(0, 121, 67, 0.76), rgba(117, 196, 157, 0.12));
}

.problem-card .icon-card {
  grid-area: icon;
  width: 42px;
  height: 42px;
  min-width: 0;
  min-height: 0;
}

.problem-card .icon-card svg {
  width: 22px;
  height: 22px;
}

.problem-card h3 {
  grid-area: title;
  min-width: 0;
  margin: 0;
  color: var(--green);
  font-size: 15px;
  line-height: 1.22;
}

.problem-card p {
  grid-area: text;
  min-width: 0;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.36;
  overflow-wrap: break-word;
}

.problem-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1.05;
  overflow: visible;
  pointer-events: none;
}

.problem-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 9% -4% 7% 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 64% 38%, rgba(255, 255, 255, 0.82), transparent 30%),
    linear-gradient(135deg, rgba(219, 246, 233, 0.72), rgba(236, 251, 243, 0.38));
  filter: blur(0.5px);
  transform: rotate(-6deg);
}

.problem-visual__links {
  position: absolute;
  z-index: 1;
  inset: 16% 10% 14% 7%;
  width: 83%;
  height: 70%;
  color: rgba(0, 121, 67, 0.78);
  overflow: visible;
}

.problem-visual__links path {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.6;
  stroke-linecap: round;
  stroke-dasharray: 1.6 1.7;
}

.problem-visual__links circle {
  fill: #007947;
  filter: drop-shadow(0 3px 5px rgba(0, 91, 48, 0.2));
}

.problem-visual__card {
  position: absolute;
  z-index: 2;
  display: block;
  width: var(--card-width);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 19px 28px rgba(20, 55, 45, 0.12));
  user-select: none;
}

.problem-visual__decor {
  position: absolute;
  z-index: 3;
  display: none;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.problem-visual__card--labs {
  --card-width: 40%;
  left: 0;
  top: 4%;
  z-index: 2;
  transform: rotate(-2.4deg);
}

.problem-visual__card--reference {
  --card-width: 43%;
  top: 2%;
  right: 2%;
  z-index: 3;
  transform: rotate(1.7deg);
}

.problem-visual__card--trend {
  --card-width: 40%;
  top: 37%;
  right: 0;
  z-index: 4;
  transform: rotate(-1.1deg);
}

.problem-visual__card--anamnesis {
  --card-width: 37%;
  left: 3%;
  bottom: 1%;
  z-index: 4;
  transform: rotate(-1.6deg);
}

.problem-visual__card--nutrition {
  --card-width: 41%;
  right: 9%;
  bottom: 0;
  z-index: 3;
  transform: rotate(0.6deg);
}

.problem-visual__card--specialist {
  --card-width: 30%;
  left: 34%;
  top: 37%;
  z-index: 5;
  transform: rotate(-0.8deg);
  filter: drop-shadow(0 22px 30px rgba(0, 91, 48, 0.15));
}

@media (min-width: 741px) {
  .problem {
      display: grid;
      align-items: center;
      justify-items: center;
      min-height: 100vh;
      min-height: 100svh;
    }

  .problem::before {
      inset: 8% -4% 3% 48%;
      border-radius: 50%;
      transform: rotate(-6deg);
    }

  .problem::after {
      inset: auto -11% -15% 45%;
      height: 29%;
    }

  .problem .molecule--tl {
      top: -1.2%;
      left: 2.3%;
      width: min(16.5%, 276px);
      opacity: 0.17;
    }

  .problem__inner {
      container-type: size;
      display: block;
      width: 100%;
      height: 100vh;
      height: 100svh;
      aspect-ratio: auto;
      min-height: 0;
      padding: 0;
      overflow: visible;
    }

  .problem__copy {
      position: absolute;
      z-index: 2;
      left: clamp(42px, 5vw, 92px);
      top: clamp(72px, 9.5cqh, 104px);
      width: min(41.5cqw, 660px);
      max-width: none;
    }

  .problem .eyebrow {
      margin: 0 0 clamp(20px, 2.05cqw, 32px);
      font-size: clamp(12px, 1.04cqw, 17px);
      line-height: 1.2;
    }

  .problem h2 {
      max-width: min(42cqw, 670px);
      font-size: clamp(38px, min(4.05cqw, 7.2cqh), 68px);
      line-height: 0.98;
    }

  .problem h2 span {
      color: inherit;
      display: block;
    }

  .problem h2 span:last-child {
      white-space: normal;
    }

  .problem .lead {
      max-width: min(37.2cqw, 620px);
      margin-top: clamp(20px, 1.65cqw, 28px);
      font-size: clamp(14px, min(1.18cqw, 2.28cqh), 21px);
      line-height: 1.5;
    }

  .problem .lead + .lead {
      margin-top: clamp(14px, 1.1cqw, 20px);
    }

  .problem__visual {
      position: absolute;
      z-index: 1;
      top: clamp(72px, 8.5cqh, 98px);
      right: clamp(12px, 2.7cqw, 54px);
      width: min(51.5cqw, 87cqh);
    }

  .problem__visual .product-shot {
      width: 100%;
      transform: rotate(-1deg) scale(1);
      transform-origin: center;
    }

  .problem__cards {
      position: absolute;
      z-index: 2;
      left: clamp(42px, 5vw, 92px);
      top: auto;
      bottom: clamp(52px, 7.3cqh, 82px);
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: clamp(10px, 0.9cqw, 16px);
      width: min(41.5cqw, 640px);
      max-width: none;
    }

  .problem-card {
      min-height: 0;
      padding: clamp(12px, 1.05cqw, 16px) clamp(12px, 1cqw, 15px);
      border-radius: 8px;
    }

  .problem-card .icon-card {
      width: clamp(36px, min(2.5cqw, 4.6cqh), 42px);
      height: clamp(36px, min(2.5cqw, 4.6cqh), 42px);
      min-width: 0;
      min-height: 0;
    }

  .problem-card .icon-card svg {
      width: clamp(19px, min(1.3cqw, 2.4cqh), 22px);
      height: clamp(19px, min(1.3cqw, 2.4cqh), 22px);
      min-width: 0;
      min-height: 0;
    }

  .problem-card h3 {
      margin-top: 0;
      font-size: clamp(13px, min(0.84cqw, 1.55cqh), 15.5px);
      line-height: 1.22;
    }

  .problem-card p {
      margin-top: clamp(4px, 0.4cqw, 6px);
      font-size: clamp(11px, min(0.66cqw, 1.22cqh), 12.5px);
      line-height: 1.35;
    }

  @media (max-width: 1240px) {
    .problem__copy {
          top: clamp(72px, 8.6cqh, 92px);
          width: min(44cqw, 520px);
        }

    .problem h2 {
          max-width: min(44cqw, 520px);
          font-size: clamp(36px, min(4.2cqw, 6.3cqh), 50px);
          line-height: 1;
        }

    .problem .lead {
          max-width: min(40.5cqw, 470px);
          font-size: clamp(13px, min(1.45cqw, 2.1cqh), 16px);
          line-height: 1.48;
        }

    .problem__visual {
          top: clamp(128px, 22cqh, 196px);
          right: clamp(12px, 1.6cqw, 24px);
          width: min(56cqw, 61cqh);
        }

    .problem__cards {
          left: clamp(42px, 5vw, 64px);
          top: auto;
          bottom: clamp(42px, 6.4cqh, 68px);
          grid-template-columns: 1fr;
          gap: clamp(8px, 1.3cqh, 12px);
          width: min(40.5cqw, 386px);
        }

    .problem-card {
          display: grid;
          grid-template-columns: clamp(36px, 4.2cqw, 42px) minmax(0, 1fr);
          grid-template-areas:
            "icon title"
            "icon text";
          align-items: start;
          column-gap: clamp(10px, 1.3cqw, 14px);
          min-height: 0;
          padding: clamp(10px, 1.25cqw, 13px) clamp(12px, 1.45cqw, 16px);
        }

    .problem-card .icon-card {
          grid-area: icon;
          width: clamp(34px, 4cqw, 40px);
          height: clamp(34px, 4cqw, 40px);
        }

    .problem-card .icon-card svg {
          width: clamp(18px, 2.1cqw, 21px);
          height: clamp(18px, 2.1cqw, 21px);
        }

    .problem-card h3 {
          grid-area: title;
          margin-top: 0;
          font-size: clamp(13px, 1.35cqw, 15px);
          line-height: 1.22;
        }

    .problem-card p {
          grid-area: text;
          margin-top: 4px;
          font-size: clamp(11px, 1.12cqw, 12.5px);
          line-height: 1.34;
        }
  }
}

@media (max-width: 740px) {
  .problem__inner {
      grid-template-areas:
        "copy"
        "visual"
        "details";
      gap: 24px;
    }

  .problem__visual {
      width: calc(100% + 40px);
      margin-inline: -20px;
    }

  .problem-visual {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(250px, 78vw);
      align-items: center;
      gap: 13px;
      aspect-ratio: auto;
      min-height: 0;
      padding: 4px 20px 18px;
      overflow-x: auto;
      overflow-y: hidden;
      overscroll-behavior-inline: contain;
      pointer-events: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
    }

  .problem-visual::-webkit-scrollbar {
      display: none;
    }

  .problem-visual::before,
    .problem-visual__links {
      display: none;
    }

  .problem-visual__card,
    .problem-visual__card--labs,
    .problem-visual__card--reference,
    .problem-visual__card--trend,
    .problem-visual__card--anamnesis,
    .problem-visual__card--nutrition,
    .problem-visual__card--specialist {
      position: relative;
      inset: auto;
      width: 100%;
      transform: none;
      scroll-snap-align: center;
    }

  .problem__cards {
      grid-area: details;
      gap: 10px;
      grid-template-columns: 1fr;
      width: 100%;
      max-width: 440px;
      justify-self: center;
    }

  .problem-card {
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr);
      grid-template-areas:
        "icon title"
        "icon text";
      align-items: start;
      column-gap: 12px;
      min-height: 0;
      padding: 12px 14px;
    }

  .problem-card .icon-card {
      grid-area: icon;
      width: 38px;
      height: 38px;
    }

  .problem-card .icon-card svg {
      width: 21px;
      height: 21px;
    }

  .problem-card h3 {
      grid-area: title;
      margin-top: 0;
      font-size: 17px;
      line-height: 1.22;
    }

  .problem-card p {
      grid-area: text;
      margin-top: 5px;
      font-size: 13px;
      line-height: 1.35;
    }
}

/* Screen 2 final tuning: follows screen 1 typography and the sticker mockup composition. */
.problem .eyebrow {
  display: flex;
  align-items: center;
  color: var(--green);
  font-family: var(--font-body);
  font-weight: 820;
  text-transform: none;
}

.problem .eyebrow::before {
  content: "";
  display: block;
  background: currentColor;
}

.problem h2 {
  color: #0b1425;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0;
}

.problem h2 span {
  display: block;
}

.problem h2 span:last-child {
  color: #008b4f;
}

.problem .lead {
  color: rgba(28, 39, 37, 0.74);
  font-family: var(--font-body);
}

.problem-card h3 {
  color: var(--green);
  font-family: var(--font-body);
  font-weight: 760;
}

.problem-card p {
  color: var(--muted);
  font-family: var(--font-body);
}

@media (min-width: 741px) {
  .problem .eyebrow {
      gap: 1.08cqw;
      margin: 0 0 1.55cqw;
      font-size: 1.02cqw;
      line-height: 1.2;
    }

  .problem .eyebrow::before {
      flex: 0 0 2.87cqw;
      width: 2.87cqw;
      height: 0.18cqw;
    }

  .problem h2 {
      max-width: min(51cqw, 760px);
      font-size: 3.55cqw;
      line-height: 1.11;
      transform: scaleX(0.88);
      transform-origin: left top;
    }

  .problem .lead {
      max-width: min(43cqw, 590px);
      margin-top: clamp(18px, 1.45cqw, 24px);
      font-size: clamp(17px, 1.2vw, 22px);
      line-height: 1.48;
    }

  .problem__visual {
      top: clamp(58px, 7.2cqh, 82px);
      right: clamp(-10px, 1.1cqw, 28px);
      width: min(57cqw, 94cqh);
    }

  .problem-visual {
      aspect-ratio: 1.18;
    }

  .problem-visual::before {
      inset: 5% -2% 1% -2%;
      transform: rotate(-5deg);
    }

  .problem-visual__links {
      inset: 17% 11% 15% 10%;
      width: 78%;
      height: 68%;
      color: rgba(0, 121, 67, 0.68);
    }

  .problem-visual__links path {
      stroke-width: 0.48;
      stroke-dasharray: 1.45 1.65;
    }

  .problem-visual__card--labs {
      --card-width: 38%;
      left: 4%;
      top: 7%;
      transform: rotate(-2.2deg);
    }

  .problem-visual__card--reference {
      --card-width: 40%;
      top: 3%;
      right: 4%;
      transform: rotate(1.4deg);
    }

  .problem-visual__card--trend {
      --card-width: 37%;
      top: 35%;
      right: 1%;
      transform: rotate(-1deg);
    }

  .problem-visual__card--anamnesis {
      --card-width: 36%;
      left: 6%;
      bottom: 4%;
      transform: rotate(-1.5deg);
    }

  .problem-visual__card--nutrition {
      --card-width: 38%;
      right: 10%;
      bottom: 2%;
      transform: rotate(0.5deg);
    }

  .problem-visual__card--specialist {
      --card-width: 27%;
      left: 37%;
      top: 38%;
      transform: rotate(-0.6deg);
    }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .problem .eyebrow {
      gap: 12px;
      margin-bottom: 12px;
      font-size: clamp(12.5px, 1.45vw, 14px);
    }

  .problem .eyebrow::before {
      flex-basis: 34px;
      width: 34px;
      height: 2px;
    }

  .problem h2 {
      max-width: 520px;
      font-size: clamp(40px, 4.7vw, 49px);
      line-height: 1.04;
    }

  .problem h2 span:last-child {
      white-space: nowrap;
    }

  .problem .lead {
      max-width: 500px;
      margin-top: 16px;
      font-size: clamp(17.5px, 2vw, 20px);
      line-height: 1.45;
    }

  .problem__visual {
      top: clamp(148px, 23.5cqh, 206px);
      right: clamp(18px, 2.2cqw, 32px);
      width: min(53cqw, 58cqh);
    }

  .problem-visual {
      aspect-ratio: 1.08;
    }

  .problem__cards {
      bottom: clamp(12px, 2cqh, 24px);
    }
}

@media (min-width: 741px) and (max-width: 980px) {
  .problem {
      display: grid;
      min-height: 100vh;
      min-height: 100svh;
    }

  .problem__inner {
      container-type: size;
      display: block;
      width: 100%;
      height: 100vh;
      height: 100svh;
      min-height: 0;
      padding: 0;
      overflow: hidden;
    }

  .problem__copy,
    .problem__visual,
    .problem__cards {
      position: absolute;
      transform: none;
    }

  .problem__copy {
      left: clamp(32px, 5vw, 42px);
      top: clamp(76px, 8cqh, 96px);
      width: min(43cqw, 340px);
      max-width: none;
    }

  .problem .eyebrow {
      gap: 12px;
      margin: 0 0 12px;
      font-size: clamp(12.5px, 1.45vw, 14px);
      line-height: 1.2;
    }

  .problem .eyebrow::before {
      flex: 0 0 34px;
      width: 34px;
      height: 2px;
    }

  .problem h2 {
      max-width: 340px;
      font-size: clamp(34px, min(4.85cqw, 5.2cqh), 39px);
      line-height: 1.04;
      transform: scaleX(0.88);
      transform-origin: left top;
    }

  .problem h2 span:last-child {
      white-space: nowrap;
    }

  .problem .lead {
      max-width: 340px;
      margin-top: 14px;
      font-size: clamp(15px, 2.1cqw, 17px);
      line-height: 1.45;
    }

  .problem__visual {
      top: clamp(180px, 26cqh, 250px);
      right: clamp(14px, 2.5cqw, 24px);
      width: min(48cqw, 50cqh);
    }

  .problem-visual {
      aspect-ratio: 1.08;
    }

  .problem__cards {
      display: grid;
      grid-template-columns: 1fr;
      left: clamp(32px, 5vw, 42px);
      bottom: clamp(22px, 3cqh, 38px);
      width: min(43cqw, 340px);
      max-width: none;
      gap: 8px;
    }
}

@media (max-width: 740px) {
  .problem .eyebrow {
      gap: 12px;
      margin-bottom: 14px;
      font-size: 13px;
      line-height: 1.2;
    }

  .problem .eyebrow::before {
      flex: 0 0 38px;
      width: 38px;
      height: 2px;
    }

  .problem h2 {
      max-width: calc(100vw - 40px);
      font-size: clamp(30px, 8vw, 37px);
      line-height: 0.97;
      transform: none;
    }

  .problem .lead {
      max-width: calc(100vw - 40px);
      margin-top: 18px;
      font-size: 16.5px;
      line-height: 1.48;
    }
}

/* Screen 2 follow-up: align spacing/cards with screen 4 and refine the sticker board. */
@media (min-width: 741px) {
  .problem__copy {
      left: 4.45%;
      top: 6.08cqh;
      width: 40.8%;
    }

  .problem .eyebrow {
      margin-bottom: 1.82cqw;
    }

  .problem h2 {
      font-size: 3.72cqw;
      line-height: 1.14;
    }

  .problem .lead {
      max-width: 32.2cqw;
      margin-top: 1.82cqw;
      font-size: 1.24cqw;
      line-height: 1.48;
    }

  .problem__cards {
      left: 4.45%;
      top: 49.84cqh;
      bottom: auto;
      width: 30.8cqw;
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.42cqw;
    }

  .problem-card {
      display: grid;
      grid-template-columns: 4.78cqw minmax(0, 1fr);
      grid-template-areas:
        "icon title"
        "icon text";
      align-items: start;
      gap: 0 1.12cqw;
      min-height: 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      overflow: visible;
    }

  .problem-card::before {
      content: none;
    }

  .problem-card .icon-card {
      width: 4.78cqw;
      height: 4.78cqw;
      border-radius: 0.54cqw;
    }

  .problem-card .icon-card svg {
      width: 2.04cqw;
      height: 2.04cqw;
    }

  .problem-card h3 {
      margin: 0;
      padding-top: 0.72cqw;
      color: #071326;
      font-size: 1.5cqw;
      font-weight: 800;
      line-height: 1.2;
    }

  .problem-card p {
      margin-top: 0.58cqw;
      color: rgba(48, 65, 89, 0.78);
      font-size: 1.16cqw;
      line-height: 1.42;
    }

  .problem__visual {
      top: 6.08cqh;
      right: 1.6cqw;
      width: min(56.8cqw, 93cqh);
    }

  .problem-visual {
      aspect-ratio: 1.16;
    }

  .problem-visual::before {
      inset: 4% -1% 2% 0;
    }

  .problem-visual__links {
      inset: 18% 9% 14% 9%;
      width: 80%;
      height: 68%;
    }

  .problem-visual__card--labs {
      --card-width: 39%;
      left: 2%;
      top: 4%;
      transform: rotate(-2deg);
    }

  .problem-visual__card--reference {
      --card-width: 39%;
      top: 3%;
      right: 3%;
      transform: rotate(1.2deg);
    }

  .problem-visual__card--trend {
      --card-width: 35%;
      top: 34.5%;
      right: 2.5%;
      transform: rotate(-0.8deg);
    }

  .problem-visual__card--anamnesis {
      --card-width: 35.5%;
      left: 4%;
      bottom: 5%;
      transform: rotate(-1.4deg);
    }

  .problem-visual__card--nutrition {
      --card-width: 37%;
      right: 8%;
      bottom: 2.5%;
      transform: rotate(0.4deg);
    }

  .problem-visual__card--specialist {
      --card-width: 24.5%;
      left: 38%;
      top: 39.5%;
      transform: rotate(-0.5deg);
    }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .problem__copy {
      left: 4.45%;
      top: 6.08cqh;
      width: 43.2cqw;
    }

  .problem h2 {
      max-width: 520px;
      font-size: clamp(40px, 4.7vw, 49px);
      line-height: 1.04;
    }

  .problem .lead {
      max-width: 40cqw;
      font-size: clamp(16.5px, 1.72vw, 18px);
      line-height: 1.45;
    }

  .problem__cards {
      top: 56cqh;
      width: 39cqw;
      gap: 12px;
    }

  .problem-card {
      grid-template-columns: 52px minmax(0, 1fr);
      column-gap: 14px;
    }

  .problem-card .icon-card {
      width: 52px;
      height: 52px;
      border-radius: 8px;
    }

  .problem-card .icon-card svg {
      width: 28px;
      height: 28px;
    }

  .problem-card h3 {
      padding-top: 3px;
      font-size: 18px;
    }

  .problem-card p {
      margin-top: 6px;
      font-size: 14.5px;
    }

  .problem__visual {
      top: 10cqh;
      right: 1.5cqw;
      width: min(54cqw, 62cqh);
    }
}

@media (min-width: 741px) and (max-width: 980px) {
  .problem__copy {
      left: 4.45%;
      top: 6.08cqh;
      width: 42cqw;
    }

  .problem h2 {
      max-width: 360px;
      font-size: clamp(34px, min(4.85cqw, 5.2cqh), 39px);
    }

  .problem .lead {
      max-width: 38cqw;
      font-size: clamp(14.5px, 1.95cqw, 16.2px);
    }

  .problem__cards {
      left: 4.45%;
      top: auto;
      bottom: 4.5cqh;
      width: 43cqw;
      gap: 12px;
    }

  .problem__visual {
      top: 18.8cqh;
      right: 1.8cqw;
      width: min(49cqw, 50cqh);
    }

  .problem-card {
      grid-template-columns: 48px minmax(0, 1fr);
      column-gap: 12px;
    }

  .problem-card .icon-card {
      width: 48px;
      height: 48px;
      border-radius: 8px;
    }

  .problem-card .icon-card svg {
      width: 25px;
      height: 25px;
    }

  .problem-card h3 {
      padding-top: 2px;
      font-size: 16px;
      line-height: 1.18;
    }

  .problem-card p {
      margin-top: 5px;
      font-size: 13px;
      line-height: 1.35;
    }
}

/* Screen 2 cards: exact active metrics from screen 4 feature rows. */
@media (min-width: 741px) {
  .problem__cards {
      width: min(26cqw, 46.19cqh);
      gap: min(0.95cqw, 1.69cqh);
    }

  .problem-card {
      position: relative;
      display: grid;
      grid-template-columns: min(4.25cqw, 7.56cqh) 1fr;
      align-items: start;
      gap: 0 min(1.33cqw, 2.36cqh);
      min-height: min(6.45cqw, 11.46cqh);
      max-width: none;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      overflow: visible;
    }

  .problem-card::before,
    .problem-card:not(:last-child)::after {
      content: none;
    }

  .problem-card .icon-card {
      grid-column: 1;
      width: min(4.25cqw, 7.56cqh);
      height: min(4.25cqw, 7.56cqh);
      border: 0;
      border-radius: min(0.9cqw, 1.6cqh);
      background: rgba(226, 246, 237, 0.88);
    }

  .problem-card .icon-card svg {
      width: min(2.18cqw, 3.87cqh);
      height: min(2.18cqw, 3.87cqh);
      stroke-width: 2.05;
    }

  .problem-card__content {
      grid-column: 2;
      min-width: 0;
      padding-top: min(0.47cqw, 0.84cqh);
    }

  .problem-card h3 {
      margin: 0;
      padding-top: 0;
      color: #071326;
      font-family: var(--font-body);
      font-size: clamp(16px, 1.04vw, 19px);
      font-weight: 800;
      line-height: 1.34;
      letter-spacing: 0;
    }

  .problem-card p {
      margin-top: min(0.58cqw, 1.03cqh);
      color: rgba(48, 65, 89, 0.86);
      font-family: var(--font-body);
      font-size: clamp(15.5px, 1vw, 18.5px);
      font-weight: 400;
      line-height: 1.42;
      letter-spacing: 0;
    }
}

@media (min-width: 1367px) {
  .problem__copy,
    .problem__cards {
      left: min(4.45cqw, 7.91cqh);
    }

  .problem h2 {
      max-width: min(56cqw, 880px);
    }

  .problem h2 span:last-child {
      white-space: nowrap;
    }

  .problem__cards {
      top: 54.6cqh;
    }
}

@media (min-width: 1241px) {
  .problem__copy {
      top: 5.55cqh;
    }

  .problem .eyebrow {
      margin-bottom: 1.5cqw;
    }

  .problem__visual {
      top: 4.65cqh;
      right: -0.15cqw;
      width: min(61.5cqw, 101cqh);
    }

  .problem-visual {
      aspect-ratio: 1.16;
    }

  .problem-visual::before {
      inset: 1.5% -3.5% 0 -2%;
      transform: rotate(-5deg);
    }

  .problem-visual__links {
      inset: 24% 9% 17% 10%;
      width: 78%;
      height: 61%;
    }

  .problem-visual__card--labs {
      --card-width: 39%;
      left: 6.8%;
      top: 1.2%;
      transform: rotate(-5.2deg);
    }

  .problem-visual__card--reference {
      --card-width: 32%;
      top: 4.2%;
      right: 16.2%;
      transform: rotate(3deg);
    }

  .problem-visual__card--trend {
      --card-width: 34%;
      top: 37.2%;
      right: 6.2%;
      transform: rotate(-1.6deg);
    }

  .problem-visual__card--specialist {
      --card-width: 24%;
      left: 35.8%;
      top: 43.6%;
      transform: rotate(-0.8deg);
    }

  .problem-visual__card--anamnesis {
      --card-width: 34%;
      left: 7.8%;
      top: 60.4%;
      bottom: auto;
      transform: rotate(-2.1deg);
    }

  .problem-visual__card--nutrition {
      --card-width: 36%;
      right: 15.8%;
      top: 68.4%;
      bottom: auto;
      transform: rotate(0.6deg);
    }

  .problem-visual__decor {
      display: block;
    }

  .problem-visual__decor--leaf {
      width: 12.4%;
      top: 14.9%;
      right: -1.6%;
      z-index: 1;
    }

  .problem-visual__decor--pen {
      width: 13.7%;
      top: 68.7%;
      right: 5.4%;
      z-index: 1;
      transform: rotate(1deg);
    }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .problem__cards {
      top: 50.4cqh;
      bottom: auto;
      width: 39cqw;
      gap: 12px;
    }

  .problem-card {
      grid-template-columns: 52px minmax(0, 1fr);
      gap: 0 14px;
      min-height: 0;
    }

  .problem-card .icon-card {
      width: 52px;
      height: 52px;
      border-radius: 8px;
    }

  .problem-card .icon-card svg {
      width: 28px;
      height: 28px;
    }

  .problem-card__content {
      padding-top: 3px;
    }

  .problem-card h3 {
      font-size: 17px;
      line-height: 1.24;
    }

  .problem-card p {
      margin-top: 5px;
      font-size: 14px;
      line-height: 1.36;
    }
}

@media (min-width: 741px) and (max-width: 980px) {
  .problem__cards {
      top: 51.8cqh;
      bottom: auto;
      width: 43cqw;
      gap: 10px;
    }

  .problem-card {
      grid-template-columns: 48px minmax(0, 1fr);
      gap: 0 12px;
      min-height: 0;
    }

  .problem-card .icon-card {
      width: 48px;
      height: 48px;
      border-radius: 8px;
    }

  .problem-card .icon-card svg {
      width: 25px;
      height: 25px;
    }

  .problem-card__content {
      padding-top: 2px;
    }

  .problem-card h3 {
      font-size: 15.5px;
      line-height: 1.22;
    }

  .problem-card p {
      margin-top: 4px;
      font-size: 13px;
      line-height: 1.34;
    }
}

@media (max-width: 740px) {
  .problem__cards {
      grid-area: details;
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      width: 100%;
      max-width: 440px;
      justify-self: center;
    }

  .problem-card {
      position: relative;
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr);
      align-items: start;
      column-gap: 12px;
      max-width: none;
      min-width: 0;
      min-height: 0;
      padding: 12px 14px;
      border: 1px solid rgba(7, 84, 61, 0.14);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.66);
      box-shadow: 0 13px 26px rgba(27, 75, 60, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.86);
      overflow: hidden;
    }

  .problem-card::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 3px;
      background: linear-gradient(180deg, rgba(0, 121, 67, 0.76), rgba(117, 196, 157, 0.12));
    }

  .problem-card .icon-card {
      grid-column: 1;
      width: 38px;
      height: 38px;
      min-width: 0;
      min-height: 0;
    }

  .problem-card .icon-card svg {
      width: 21px;
      height: 21px;
    }

  .problem-card__content {
      grid-column: 2;
      min-width: 0;
      padding-top: 0;
    }

  .problem-card h3 {
      grid-column: 2;
      margin: 0;
      color: var(--green);
      font-size: 18px;
      line-height: 1.22;
    }

  .problem-card p {
      grid-column: 2;
      margin: 5px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.36;
      overflow-wrap: break-word;
    }
}

/* Keep screen 2 card descriptions to two lines on tablet and desktop only. */
@media (min-width: 741px) {
  .problem-card p {
      max-width: 38ch;
      text-wrap: balance;
    }
}

@media (min-width: 741px) and (max-width: 980px) {
  .problem__cards {
      width: min(46cqw, 430px);
    }
}

@media (min-width: 741px) and (max-width: 980px) and (max-height: 900px) {
  .problem__copy {
      width: min(48cqw, 420px);
    }

  .problem .lead {
      max-width: min(43cqw, 400px);
    }

  .problem__cards {
      top: max(51.8cqh, calc(100cqh - 315px));
    }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .problem__copy {
      width: min(47cqw, 500px);
    }

  .problem .lead {
      max-width: min(43cqw, 500px);
    }

  .problem__cards {
      width: min(46cqw, 560px);
    }
}

@media (min-width: 981px) and (max-width: 1240px) and (max-height: 900px) {
  .problem__cards {
      top: max(50.4cqh, calc(100cqh - 325px));
    }
}

@media (min-width: 1241px) {
  .problem__cards {
      width: min(32cqw, 56.9cqh);
    }
}

@media (min-width: 1241px) and (max-width: 1366px) {
  .problem__cards {
      top: min(52.4cqh, calc(100cqh - 342px));
    }
}

@media (min-width: 1367px) {
  .problem__cards {
      top: 53.2cqh;
    }
}

/* Tablet fallback: keep cards in document flow so taller text cannot overlap them. */
@media (min-width: 741px) and (max-width: 980px),
  (min-width: 981px) and (max-width: 1240px) and (max-height: 900px) {
  .problem__inner {
      display: grid;
      grid-template-columns: minmax(0, 47%) minmax(0, 53%);
      grid-template-areas:
        "copy visual"
        "details visual";
      align-content: start;
      min-height: 100vh;
      min-height: 100svh;
      height: auto;
      padding: 0;
      overflow: visible;
    }

  .problem__copy,
  .problem__visual,
  .problem__cards {
      position: relative;
      inset: auto;
      transform: none;
    }

  .problem__copy {
      grid-area: copy;
      width: auto;
      max-width: none;
      margin: clamp(42px, 5.8cqh, 56px) 0 0 4.45vw;
    }

  .problem .lead {
      max-width: min(43cqw, 500px);
    }

  .problem__cards {
      grid-area: details;
      width: min(46cqw, 560px);
      max-width: none;
      margin: clamp(36px, 5.5cqh, 52px) 0 0 4.45vw;
    }

  .problem__visual {
      grid-area: visual;
      justify-self: end;
      align-self: start;
      width: min(52vw, 560px);
      margin-top: clamp(70px, 10cqh, 112px);
    }
}

@media (min-width: 981px) and (max-width: 1100px) and (max-height: 900px) {
  .problem h2 {
      font-size: clamp(40px, 4.2cqw, 44px);
      line-height: 1.08;
    }

  .problem h2 span:last-child {
      white-space: normal;
    }

  .problem__cards {
      margin-top: clamp(24px, 3.2cqh, 34px);
    }
}

@media (min-width: 741px) and (max-width: 980px) {
  .problem__inner {
      grid-template-columns: minmax(0, 49%) minmax(0, 51%);
    }

  .problem__copy {
      margin-top: clamp(24px, 4.2cqh, 42px);
    }

  .problem h2 {
      font-size: clamp(34px, 4.05cqw, 40px);
      line-height: 1.06;
    }

  .problem h2 span:last-child {
      white-space: normal;
    }

  .problem .lead {
      max-width: min(44cqw, 420px);
      margin-top: clamp(12px, 1.8cqh, 18px);
      font-size: clamp(14.5px, 1.55cqw, 16px);
      line-height: 1.38;
    }

  .problem__cards {
      width: min(46cqw, 430px);
      gap: 8px;
      margin-top: clamp(2px, 0.8cqh, 8px);
    }

  .problem__visual {
      width: min(48vw, 450px);
      margin-top: clamp(120px, 19cqh, 160px);
    }
}

/* Alternating layout: screen 2 keeps text/cards on the right and visual on the left. */
@media (min-width: 741px) {
  .problem::before {
      inset: 8% 48% 3% -4%;
      transform: rotate(6deg);
    }

  .problem::after {
      inset: auto 45% -15% -11%;
    }

  .problem__copy {
      left: auto;
      right: 1%;
      transform: translateX(clamp(16px, 1.7vw, 32px));
    }

  .problem__cards {
      left: calc(100% - 1% - 40.8%);
      right: auto;
      transform: translateX(clamp(16px, 1.7vw, 32px));
    }

  .problem__visual {
      left: 1.6cqw;
      right: auto;
    }

  .problem-visual__decor--leaf {
      display: none;
    }
}

@media (min-width: 1241px) {
  .problem-visual__decor--pen {
      left: 5.4%;
      right: auto;
      transform: scaleX(-1) rotate(-1deg);
      transform-origin: center;
    }
}

@media (min-width: 741px) and (max-width: 980px),
  (min-width: 981px) and (max-width: 1240px) and (max-height: 900px) {
  .problem__inner {
      grid-template-columns: minmax(0, 53%) minmax(0, 47%);
      grid-template-areas:
        "visual copy"
        "visual details";
    }

  .problem__copy {
      left: auto;
      right: auto;
      margin: clamp(42px, 5.8cqh, 56px) 2.2vw 0 0;
      transform: translateX(clamp(16px, 1.8vw, 28px));
    }

  .problem__cards {
      left: auto;
      right: auto;
      margin: clamp(36px, 5.5cqh, 52px) 2.2vw 0 0;
      justify-self: start;
      transform: translateX(clamp(16px, 1.8vw, 28px));
    }

  .problem__visual {
      left: auto;
      right: auto;
      justify-self: start;
    }
}

@media (min-width: 741px) and (max-width: 980px) {
  .problem__inner {
      grid-template-columns: minmax(0, 51%) minmax(0, 49%);
    }
}

/* Screen 2 spacing: keep cards as close to the lead as the lead is to the title. */
@media (min-width: 1241px) {
  .problem__cards {
      top: 47cqh;
    }
}

@media (min-width: 981px) and (max-width: 1240px) and (min-height: 901px) {
  .problem__cards {
      top: 46.8cqh;
    }
}

@media (min-width: 741px) and (max-width: 980px),
  (min-width: 981px) and (max-width: 1240px) and (max-height: 900px) {
  .problem__cards {
      margin-top: clamp(12px, 1.8cqh, 18px);
    }
}

/* Screen 2 card typography mirrors the active feature-card typography on screen 4. */
.problem-card h3 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: 0;
}

.problem-card p {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
}

@media (min-width: 741px) {
  .problem-card h3 {
      font-size: clamp(17px, 1.12vw, 20.5px);
    }

  .problem-card p {
      font-size: clamp(16.5px, 1.08vw, 20px);
    }
}

@media (max-width: 740px) {
  .problem-card h3 {
      font-size: 18px;
      line-height: 1.22;
    }

  .problem-card p {
      font-size: 14px;
      line-height: 1.36;
    }
}

@media (min-width: 741px) and (max-width: 860px) {
  .problem-card h3 {
      font-size: 18px;
      line-height: 1.22;
    }

  .problem-card p {
      font-size: 15px;
      line-height: 1.36;
    }
}

@media (min-width: 861px) and (max-width: 1120px) {
  .problem-card h3 {
      font-size: 18px;
      line-height: 1.22;
    }

  .problem-card p {
      font-size: 14.5px;
      line-height: 1.35;
    }
}

@media (min-width: 1121px) and (max-width: 1240px) {
  .problem-card h3 {
      font-size: clamp(18px, 1.55vw, 19px);
    }

  .problem-card p {
      font-size: clamp(15px, 1.25vw, 16px);
      line-height: 1.38;
    }
}

@media (min-width: 1121px) and (max-height: 940px) {
  .problem-card h3 {
      font-size: clamp(19px, min(1.35vw, 2.3987svh), 22px);
      line-height: 1.2;
    }

  .problem-card p {
      font-size: clamp(15.5px, min(1.08vw, 1.91898svh), 18px);
      line-height: 1.3;
    }
}

@media (min-width: 1121px) and (max-width: 1366px) and (max-height: 820px) {
  .problem-card h3 {
      font-size: clamp(17px, 1.35vw, 19px);
      line-height: 1.18;
    }

  .problem-card p {
      font-size: clamp(14px, 1.12vw, 15.5px);
      line-height: 1.28;
    }
}
