:root {
  --rx-font: "Source Sans Pro", Arial, sans-serif;
  --rx-text: #16191a;
  --rx-text-secondary: #576265;
  --rx-orange: #f89a1c;
  --rx-orange-hover: #dc8110;
  --rx-teal: #00859b;
  --rx-teal-hover: #006d80;
  --rx-teal-soft: #f2f9fa;
  --rx-teal-pale: #cce7eb;
  --rx-orange-soft: #fff5e9;
  --rx-border: #e2e1e1;
  --rx-white: #fff;
  --rx-container: 1320px;
  --rx-content: 1100px;
  --rx-gutter: 40px;
  --rx-section-y: 64px;
  --rx-gap: 24px;
  --rx-radius: 8px;
  --rx-radius-card: 12px;
  --rx-radius-panel: 16px;
}

html {
  scroll-behavior: smooth;
}

.rx-section {
  padding-block: var(--rx-section-y);
}

.rx-section--soft {
  background: var(--rx-teal-soft);
}

.rx-section__title {
  margin: 0 0 32px;
  color: var(--rx-text);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.rx-section__lead {
  max-width: var(--rx-content);
  margin: -10px auto 32px;
  color: var(--rx-text-secondary);
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
}

.rx-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--rx-orange);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: 0.18s ease;
}

.rx-button:hover {
  background: var(--rx-orange-hover);
}

.rx-button--outline {
  border-color: var(--rx-teal);
  background: transparent;
  color: var(--rx-teal);
}

.rx-button--outline:hover {
  border-color: var(--rx-teal-hover);
  background: transparent;
  color: var(--rx-teal-hover);
}

.rx-actions {
  margin-top: 32px;
  text-align: center;
}

.rx-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rx-list li {
  position: relative;
  padding-left: 24px;
}

.rx-list li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rx-orange);
}

@media (max-width: 1100px) {
  :root {
    --rx-gutter: 32px;
  }
}

@media (max-width: 600px) {
  :root {
    --rx-gutter: 20px;
    --rx-section-y: 40px;
  }

  .rx-section__title {
    margin-bottom: 32px;
    font-size: 24px;
  }

  .rx-section__lead {
    margin-top: -12px;
    font-size: 18px;
  }

  .rx-button {
    width: 100%;
    font-size: 18px;
    white-space: normal;
    text-align: center;
  }
}

.rx-hero {
  padding: 48px 0;
  background: var(--rx-teal-soft);
}

.rx-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 860px) 345px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.rx-hero__title {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.2;
}

.rx-hero__text {
  margin: 0 0 24px;
  color: var(--rx-text-secondary);
  font-size: 18px;
}

.rx-hero__image {
  width: 345px;
  height: 345px;
  overflow: hidden;
}

.rx-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rx-reasons {
  display: grid;
  gap: 20px;
}

.rx-reason {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--rx-border);
  border-radius: 12px;
}

.rx-reason__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rx-reason__number {
  display: flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rx-orange-soft);
  color: var(--rx-orange);
  font-weight: 600;
}

.rx-reason__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.rx-reason__text {
  margin: 0;
  color: var(--rx-text-secondary);
}

.rx-note {
  margin-top: 32px;
  padding: 24px;
  border-radius: 12px;
  background: var(--rx-orange-soft);
}

.rx-note p {
  margin: 0;
}

.rx-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.rx-option {
  min-height: 200px;
  overflow: hidden;
  border: 1px solid var(--rx-border);
  border-radius: 8px;
}

.rx-option__title {
  margin: 0;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rx-border);
  color: var(--rx-teal);
  font-size: 18px;
  font-weight: 600;
}

.rx-option__text {
  margin: 0;
  padding: 24px;
  color: var(--rx-text-secondary);
}

.rx-options-caption {
  margin: 32px auto 0;
  color: var(--rx-text-secondary);
  font-size: 18px;
  text-align: center;
}

.rx-stages {
  display: grid;
  gap: 12px;
}

.rx-stage {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 24px;
  border-radius: 8px;
  background: #fff;
}

.rx-stage__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rx-stage__number {
  display: flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rx-teal);
  color: #fff;
  font-weight: 600;
}

.rx-stage__title {
  margin: 3px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.rx-stage__text {
  margin: 0;
  color: var(--rx-text-secondary);
}

.rx-migration {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--rx-border);
  border-radius: 8px;
}

.rx-migration__item {
  display: grid;
  grid-template-rows: 70px 1fr;
  border-right: 1px solid var(--rx-border);
}

.rx-migration__item:last-child {
  border-right: 0;
}

.rx-migration__title {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rx-border);
  background: var(--rx-teal-soft);
  font-weight: 600;
}

.rx-migration__text {
  margin: 0;
  padding: 16px 20px;
  color: var(--rx-text-secondary);
}

.rx-cost {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.rx-panel {
  min-height: 172px;
  padding: 24px;
  border: 1px solid var(--rx-border);
  border-radius: 16px;
}

.rx-panel--soft {
  border-color: transparent;
  background: var(--rx-teal-soft);
}

.rx-panel__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
}

.rx-panel__text {
  margin: 0;
  color: var(--rx-text-secondary);
}

.rx-readiness {
  padding: 32px;
  border-radius: 16px;
  background: var(--rx-teal-soft);
}

.rx-readiness__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.rx-readiness-link {
  margin: 32px 0 0;
  text-align: center;
}

.rx-readiness-link a {
  color: var(--rx-teal);
}

.rx-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rx-capability {
  overflow: hidden;
  border: 1px solid var(--rx-border);
  border-radius: 8px;
  background: #fff;
}

.rx-capability__title {
  margin: 0;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rx-border);
  color: var(--rx-teal);
  font-size: 18px;
  font-weight: 600;
}

.rx-capability__text {
  margin: 0;
  padding: 24px;
  color: var(--rx-text-secondary);
}

.rx-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rx-case {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--rx-border);
  border-radius: 16px;
}

.rx-case__image {
  aspect-ratio: 375/230;
  overflow: hidden;
  border-radius: 8px;
  background: var(--rx-teal-soft);
}

.rx-case__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rx-case__title {
  color: var(--rx-text);
  font-size: 20px;
  font-weight: 600;
}

.rx-case__description {
  margin: 0;
  color: var(--rx-text-secondary);
}

.rx-case__link {
  margin-top: auto;
  color: var(--rx-teal);
}

.rx-advantages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.rx-advantage {
  min-height: 262px;
  padding: 24px;
  border: 1px solid var(--rx-border);
  border-radius: 8px;
}

.rx-advantage__title {
  margin: 0 0 32px;
  color: var(--rx-orange);
  font-size: 20px;
  font-weight: 600;
}

.rx-advantage__text {
  margin: 0;
  color: var(--rx-text-secondary);
}

.rx-faq {
  display: grid;
  gap: 16px;
}

.rx-faq__item {
  overflow: hidden;
  border: 1px solid var(--rx-border);
  border-radius: 8px;
  background: #fff;
}

.rx-faq__button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 16px 24px;
  border: 0;
  background: transparent;
  color: var(--rx-teal);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.rx-faq__plus {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--rx-orange);
}

.rx-faq__plus::before,
.rx-faq__plus::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
  background: #fff;
}

.rx-faq__plus::after {
  transform: rotate(90deg);
  transition: transform 0.18s;
}

.rx-faq__button[aria-expanded=true] .rx-faq__plus::after {
  transform: rotate(0);
}

.rx-faq__panel {
  padding: 0 24px 24px;
  color: var(--rx-text-secondary);
}

.rx-faq__panel[hidden] {
  display: none;
}

.rx-faq__panel p {
  margin: 0;
}

@media (max-width: 1100px) {
  .rx-hero__inner {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .rx-hero__image {
    width: 280px;
    height: 280px;
  }

  .rx-advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .rx-hero {
    padding: 32px 0 40px;
  }

  .rx-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rx-hero__title {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .rx-hero__image {
    width: min(100%, 335px);
    height: auto;
    aspect-ratio: 1;
    grid-row: 1;
    justify-self: center;
  }

  .rx-reason {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .rx-options,
  .rx-cost,
  .rx-capabilities,
  .rx-cases,
  .rx-advantages {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rx-option {
    min-height: 0;
  }

  .rx-stage {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 24px;
  }

  .rx-migration {
    grid-template-columns: 1fr;
    gap: 12px;
    border: 0;
  }

  .rx-migration__item {
    grid-template-rows: auto auto;
    overflow: hidden;
    border: 1px solid var(--rx-border);
    border-radius: 8px;
  }

  .rx-migration__item:last-child {
    border-right: 1px solid var(--rx-border);
  }

  .rx-panel {
    min-height: 0;
  }

  .rx-readiness {
    padding: 32px;
  }

  .rx-readiness__columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rx-advantage {
    min-height: 0;
  }

  .rx-faq__button {
    padding: 16px 14px;
  }

  .rx-faq__panel {
    padding: 0 14px 16px;
  }
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  overflow: hidden;

  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
}

.faq-item__head {
  list-style: none;
}

.faq-item__head::-webkit-details-marker {
  display: none;
}

.faq-item__head::marker {
  display: none;
  content: "";
}

.faq-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  min-height: 54px;
  padding: 0 18px;

  cursor: pointer;
  user-select: none;
}

.faq-item__question {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: #158a98;
  transition: color 0.2s ease;
}

.faq-item__head:hover .faq-item__question {
  color: #0c717c;
}

.faq-item__icon {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f5b342;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.faq-item__icon::before {
  width: 8px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 8px;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__icon::after {
  transform:
    translate(-50%, -50%) rotate(90deg);
}

.faq-item__content {
  padding: 18px;
  border-top: 1px solid #e8e8e8;
  font-size: 15px;
  line-height: 1.55;
  color: #666;
}

@media (max-width: 991px) {
  .faq {
    padding: 55px 0;
  }

  .faq__title {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .faq {
    padding: 45px 0;
  }


  .faq__title {
    margin-bottom: 24px;
    font-size: 26px;
  }

  .faq__list {
    gap: 10px;
  }

  .faq-item__head {
    min-height: 54px;
  }

  .faq-item__question {
    font-size: 15px;
  }

  .faq-item__content {
    padding: 15px;

    font-size: 14px;
    line-height: 1.5;
  }
}

.implementation {
  padding: 55px 0 80px;
}

.implementation__description {
  max-width: 960px;
  margin: 28px auto 34px;
  color: #383838;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
}

.implementation__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.implementation-card {
  min-height: 220px;
  padding: 22px 20px;
  border: 1px solid #dedede;
  border-radius: 5px;
  background: #fff;
}

.implementation-card__title {
  min-height: 44px;
  margin: 0 0 28px;
  color: #e9aa3f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.implementation-card__text {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 991px) {
  .implementation__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .implementation-card {
    min-height: 200px;
  }
}

@media (max-width: 767px) {
  .product-practices,
  .implementation {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .implementation__grid {
    grid-template-columns: 1fr;
  }

  .implementation-card {
    min-height: auto;
  }

  .implementation-card__title {
    min-height: auto;
    margin-bottom: 18px;
  }
}

@media (max-width: 480px) {
  .product-practices__intro p,
  .implementation__description {
    font-size: 14px;
  }

  .implementation-card {
    padding: 20px 18px;
  }
}