/*
 * RENSU Extracts — дизайн-система
 * Всё под .rx-site, чтобы стили не конфликтовали с чужими на странице.
 * Версия: 1.3.0
 */

.rx-site,
.rx-site * {
  box-sizing: border-box;
}

.rx-site [hidden] {
  display: none !important;
}

.rx-site {
  --rx-ink: #14211c;
  --rx-forest: #173c31;
  --rx-forest-deep: #0f2a22;
  --rx-moss: #5c735f;
  --rx-tea: #b97428;
  --rx-tea-dark: #7e4a17;
  --rx-bone: #f2eee4;
  --rx-sand: #e6dcc9;
  --rx-milk: #faf8f2;
  --rx-line: rgba(20, 33, 28, 0.16);
  --rx-white-line: rgba(255, 255, 255, 0.18);
  --rx-white: #ffffff;
  --rx-danger: #9b2c2c;
  --rx-success: #2f684b;
  --rx-shadow: 0 24px 80px rgba(15, 42, 34, 0.12);
  --rx-radius-sm: 14px;
  --rx-radius-md: 24px;
  --rx-radius-lg: 40px;
  --rx-max: 1240px;
  --rx-header-h: 78px;
  position: relative;
  width: 100%;
  overflow: clip;
  color: var(--rx-ink);
  background: var(--rx-milk);
  font-family: "Manrope", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.rx-site button,
.rx-site input,
.rx-site textarea,
.rx-site select {
  font: inherit;
}

.rx-site button,
.rx-site a {
  -webkit-tap-highlight-color: transparent;
}

.rx-site a {
  color: inherit;
  text-decoration: none;
}

.rx-site img,
.rx-site svg {
  display: block;
  max-width: 100%;
}

.rx-site button {
  border: 0;
}

.rx-site .rx-shell {
  width: min(calc(100% - 48px), var(--rx-max));
  margin-inline: auto;
}

.rx-site .rx-section {
  position: relative;
  padding: 112px 0;
}

.rx-site .rx-section--tight {
  padding: 76px 0;
}

.rx-site .rx-section--dark {
  color: var(--rx-white);
  background: var(--rx-forest-deep);
}

.rx-site .rx-section--bone {
  background: var(--rx-bone);
}

.rx-site .rx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--rx-moss);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rx-site .rx-section--dark .rx-eyebrow {
  color: #c9d4cc;
}

.rx-site .rx-eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.rx-site .rx-title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 78px);
  font-weight: 610;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.rx-site .rx-title--medium {
  font-size: clamp(36px, 4.3vw, 62px);
}

.rx-site .rx-title--small {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.04;
}

.rx-site .rx-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(20, 33, 28, 0.72);
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.48;
}

.rx-site .rx-section--dark .rx-lead {
  color: rgba(255, 255, 255, 0.72);
}

.rx-site .rx-muted {
  color: rgba(20, 33, 28, 0.62);
}

.rx-site .rx-section--dark .rx-muted {
  color: rgba(255, 255, 255, 0.64);
}

.rx-site .rx-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease, box-shadow 180ms ease;
}

.rx-site .rx-button:hover {
  transform: translateY(-2px);
}

.rx-site .rx-button:focus-visible,
.rx-site .rx-nav-link:focus-visible,
.rx-site .rx-tab:focus-visible,
.rx-site .rx-faq-button:focus-visible,
.rx-site .rx-field input:focus-visible,
.rx-site .rx-field textarea:focus-visible,
.rx-site .rx-field select:focus-visible,
.rx-site .rx-modal-close:focus-visible {
  outline: 3px solid rgba(185, 116, 40, 0.32);
  outline-offset: 3px;
}

.rx-site .rx-button--primary {
  color: var(--rx-white);
  background: var(--rx-forest);
  box-shadow: 0 12px 28px rgba(23, 60, 49, 0.18);
}

.rx-site .rx-button--primary:hover {
  background: #0f3128;
  box-shadow: 0 16px 32px rgba(23, 60, 49, 0.24);
}

.rx-site .rx-button--tea {
  color: var(--rx-white);
  background: var(--rx-tea);
  box-shadow: 0 12px 28px rgba(185, 116, 40, 0.22);
}

.rx-site .rx-button--tea:hover {
  background: #a96220;
}

.rx-site .rx-button--outline {
  border-color: var(--rx-line);
  color: var(--rx-ink);
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(12px);
}

.rx-site .rx-button--outline:hover {
  border-color: rgba(20, 33, 28, 0.32);
  background: var(--rx-white);
}

.rx-site .rx-button--ghost-dark {
  border-color: var(--rx-white-line);
  color: var(--rx-white);
  background: rgba(255, 255, 255, 0.06);
}

.rx-site .rx-button--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}

.rx-site .rx-button svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.rx-site .rx-button:hover svg {
  transform: translateX(3px);
}

/* Header */
.rx-site .rx-header {
  position: absolute;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  height: var(--rx-header-h);
  border-bottom: 1px solid rgba(20, 33, 28, 0.1);
}

.rx-site .rx-header-inner {
  display: grid;
  height: 100%;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
}

.rx-site .rx-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 11px;
  font-size: 19px;
  font-weight: 820;
  letter-spacing: 0.02em;
}

.rx-site .rx-logo span {
  color: var(--rx-moss);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rx-site .rx-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.rx-site .rx-nav-link {
  position: relative;
  padding: 8px 0;
  color: rgba(20, 33, 28, 0.72);
  font-size: 13px;
  font-weight: 650;
}

.rx-site .rx-nav-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.rx-site .rx-nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.rx-site .rx-header .rx-button {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 12px;
}

.rx-site .rx-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rx-line);
  border-radius: 50%;
  color: var(--rx-ink);
  background: transparent;
  cursor: pointer;
}

.rx-site .rx-menu-toggle span,
.rx-site .rx-menu-toggle span::before,
.rx-site .rx-menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.rx-site .rx-menu-toggle span {
  position: relative;
}

.rx-site .rx-menu-toggle span::before,
.rx-site .rx-menu-toggle span::after {
  position: absolute;
  left: 0;
  content: "";
}

.rx-site .rx-menu-toggle span::before {
  top: -6px;
}

.rx-site .rx-menu-toggle span::after {
  top: 6px;
}

.rx-site .rx-menu-toggle.is-open span {
  background: transparent;
}

.rx-site .rx-menu-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.rx-site .rx-menu-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.rx-site .rx-hero {
  position: relative;
  min-height: 850px;
  padding: calc(var(--rx-header-h) + 88px) 0 68px;
  background:
    radial-gradient(circle at 75% 18%, rgba(222, 194, 147, 0.44), transparent 35%),
    linear-gradient(135deg, #f8f5ed 0%, #efe8da 58%, #e4d4b8 100%);
}

.rx-site .rx-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 33, 28, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 28, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 76%, transparent);
}

.rx-site .rx-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 660px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 56px;
}

.rx-site .rx-hero-copy {
  max-width: 730px;
}

.rx-site .rx-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 6.1vw, 88px);
  font-weight: 620;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.rx-site .rx-hero h1 em {
  color: var(--rx-tea-dark);
  font-style: normal;
}

.rx-site .rx-hero-text {
  max-width: 660px;
  margin: 30px 0 0;
  color: rgba(20, 33, 28, 0.76);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.52;
}

.rx-site .rx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.rx-site .rx-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.rx-site .rx-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(20, 33, 28, 0.72);
  font-size: 13px;
  font-weight: 620;
}

.rx-site .rx-hero-trust li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--rx-tea);
  box-shadow: 0 0 0 5px rgba(185, 116, 40, 0.12);
}

.rx-site .rx-hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 34px;
}

.rx-site .rx-hero-photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.02);
}

.rx-site .rx-hero-visual.has-photo::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 42, 34, 0.03), rgba(15, 42, 34, 0.38)),
    linear-gradient(90deg, rgba(15, 42, 34, 0.12), transparent 48%);
}

.rx-site .rx-hero-visual.has-photo .rx-hero-word,
.rx-site .rx-hero-visual.has-photo .rx-orbit,
.rx-site .rx-hero-visual.has-photo .rx-hero-svg {
  display: none;
}

.rx-site .rx-hero-visual.has-photo .rx-hero-note {
  z-index: 4;
}

.rx-site .rx-hero-word {
  position: absolute;
  z-index: 0;
  top: 42px;
  left: -20px;
  color: rgba(20, 33, 28, 0.07);
  font-size: clamp(120px, 14vw, 212px);
  font-weight: 790;
  letter-spacing: -0.09em;
  line-height: 0.8;
  white-space: nowrap;
  transform: rotate(-7deg);
}

.rx-site .rx-orbit {
  position: absolute;
  inset: 48px 10px 58px 30px;
  border: 1px solid rgba(20, 33, 28, 0.16);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.rx-site .rx-orbit::before,
.rx-site .rx-orbit::after {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  content: "";
  background: var(--rx-tea);
  box-shadow: 0 0 0 8px rgba(185, 116, 40, 0.13);
}

.rx-site .rx-orbit::before {
  top: 24%;
  right: 2%;
}

.rx-site .rx-orbit::after {
  bottom: 15%;
  left: 7%;
}

.rx-site .rx-hero-svg {
  position: absolute;
  z-index: 2;
  inset: 46px 22px 22px 28px;
  width: calc(100% - 50px);
  height: calc(100% - 68px);
  filter: drop-shadow(0 32px 44px rgba(15, 42, 34, 0.16));
}

.rx-site .rx-liquid-wave {
  transform-origin: center;
  animation: rx-wave 8s ease-in-out infinite alternate;
}

.rx-site .rx-bib-box {
  transform-origin: center;
  animation: rx-float 6s ease-in-out infinite;
}

.rx-site .rx-hero-note {
  position: absolute;
  z-index: 4;
  right: 4px;
  bottom: 44px;
  width: 228px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 18px;
  color: var(--rx-white);
  background: rgba(15, 42, 34, 0.88);
  box-shadow: 0 18px 46px rgba(15, 42, 34, 0.2);
  backdrop-filter: blur(14px);
}

.rx-site .rx-hero-note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.rx-site .rx-hero-note span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.rx-site .rx-hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(20, 33, 28, 0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.rx-site .rx-hero-scroll::before {
  width: 1px;
  height: 28px;
  content: "";
  background: currentColor;
}

/* Signal strip */
.rx-site .rx-signal-strip {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  border-top: 1px solid rgba(20, 33, 28, 0.12);
  border-bottom: 1px solid rgba(20, 33, 28, 0.12);
  background: #ede5d6;
}

.rx-site .rx-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.rx-site .rx-signal-item {
  min-height: 145px;
  padding: 32px;
  border-right: 1px solid rgba(20, 33, 28, 0.12);
}

.rx-site .rx-signal-item:last-child {
  border-right: 0;
}

.rx-site .rx-signal-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--rx-tea-dark);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rx-site .rx-signal-item strong {
  display: block;
  max-width: 300px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

/* Outcome cards */
.rx-site .rx-intro-grid {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 60px;
}

.rx-site .rx-intro-aside {
  padding-left: 28px;
  border-left: 1px solid var(--rx-line);
}

.rx-site .rx-intro-aside p {
  margin: 0;
  color: rgba(20, 33, 28, 0.68);
  font-size: 16px;
  line-height: 1.62;
}

.rx-site .rx-outcomes {
  display: grid;
  margin-top: 60px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rx-site .rx-outcome-card {
  position: relative;
  min-height: 332px;
  padding: 28px;
  border: 1px solid var(--rx-line);
  border-radius: var(--rx-radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.52);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.rx-site .rx-outcome-card:hover {
  background: var(--rx-white);
  box-shadow: var(--rx-shadow);
  transform: translateY(-6px);
}

.rx-site .rx-outcome-index {
  color: var(--rx-moss);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.15em;
}

.rx-site .rx-outcome-icon {
  display: grid;
  width: 78px;
  height: 78px;
  margin-top: 45px;
  place-items: center;
  border-radius: 50%;
  color: var(--rx-tea-dark);
  background: var(--rx-sand);
}

.rx-site .rx-outcome-icon svg {
  width: 32px;
  height: 32px;
}

.rx-site .rx-outcome-card h3 {
  margin: 32px 0 10px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.rx-site .rx-outcome-card p {
  margin: 0;
  color: rgba(20, 33, 28, 0.62);
  font-size: 14px;
  line-height: 1.56;
}

/* Segments */
.rx-site .rx-segment-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 56px;
}

.rx-site .rx-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 36px;
}

.rx-site .rx-tab {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 20px;
  border: 1px solid var(--rx-white-line);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.rx-site .rx-tab span {
  font-size: 15px;
  font-weight: 680;
}

.rx-site .rx-tab b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 640;
}

.rx-site .rx-tab.is-active {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--rx-white);
  background: rgba(255, 255, 255, 0.09);
}

.rx-site .rx-tab.is-active b {
  color: var(--rx-forest-deep);
  background: var(--rx-white);
}

.rx-site .rx-tab-panels {
  position: relative;
  min-height: 590px;
}

.rx-site .rx-tab-panel {
  display: none;
}

.rx-site .rx-tab-panel.is-active {
  display: block;
  animation: rx-panel-in 320ms ease both;
}

.rx-site .rx-segment-card {
  position: relative;
  min-height: 590px;
  padding: 44px;
  border-radius: var(--rx-radius-lg);
  overflow: hidden;
  color: var(--rx-ink);
  background: var(--rx-bone);
}

.rx-site .rx-segment-card--brand {
  background: #dfe5dd;
}

.rx-site .rx-segment-card h3 {
  position: relative;
  z-index: 2;
  max-width: 630px;
  margin: 0;
  font-size: clamp(34px, 4.1vw, 58px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1;
}

.rx-site .rx-segment-card > p {
  position: relative;
  z-index: 2;
  max-width: 590px;
  margin: 20px 0 0;
  color: rgba(20, 33, 28, 0.66);
  font-size: 17px;
  line-height: 1.58;
}

.rx-site .rx-benefit-list {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 720px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rx-site .rx-benefit-list li {
  display: flex;
  min-height: 78px;
  align-items: flex-start;
  gap: 12px;
  padding: 17px;
  border: 1px solid rgba(20, 33, 28, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.42;
}

.rx-site .rx-benefit-list li::before {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle at center, var(--rx-tea) 0 3px, transparent 4px),
    rgba(185, 116, 40, 0.16);
}

.rx-site .rx-segment-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.rx-site .rx-segment-visual {
  position: absolute;
  z-index: 0;
  right: -54px;
  bottom: -88px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(20, 33, 28, 0.13);
  border-radius: 50%;
  opacity: 0.72;
}

.rx-site .rx-segment-visual::before,
.rx-site .rx-segment-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.rx-site .rx-segment-visual::before {
  inset: 58px;
  border: 1px solid rgba(20, 33, 28, 0.14);
}

.rx-site .rx-segment-visual::after {
  inset: 110px;
  background: rgba(185, 116, 40, 0.25);
}

/* Process */
.rx-site .rx-process-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
}

.rx-site .rx-process-head .rx-lead {
  max-width: 450px;
  margin: 0;
  font-size: 17px;
}

.rx-site .rx-process-grid {
  display: grid;
  margin-top: 72px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rx-line);
}

.rx-site .rx-process-step {
  position: relative;
  min-height: 360px;
  padding: 30px 26px 30px 0;
  border-right: 1px solid var(--rx-line);
}

.rx-site .rx-process-step:not(:first-child) {
  padding-left: 26px;
}

.rx-site .rx-process-step:last-child {
  border-right: 0;
}

.rx-site .rx-process-step::before {
  position: absolute;
  top: -6px;
  left: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  content: "";
  background: var(--rx-tea);
  box-shadow: 0 0 0 8px var(--rx-milk);
}

.rx-site .rx-process-num {
  color: var(--rx-moss);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.15em;
}

.rx-site .rx-process-icon {
  display: grid;
  width: 100%;
  height: 146px;
  place-items: center;
  margin-top: 28px;
  border-radius: 18px;
  color: var(--rx-forest);
  background: var(--rx-bone);
}

.rx-site .rx-process-icon svg {
  width: 86px;
  height: 86px;
}

.rx-site .rx-process-step h3 {
  margin: 26px 0 8px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.rx-site .rx-process-step p {
  margin: 0;
  color: rgba(20, 33, 28, 0.62);
  font-size: 13px;
  line-height: 1.56;
}

.rx-site .rx-proof-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--rx-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.rx-site .rx-proof-bar p {
  margin: 0;
  color: rgba(20, 33, 28, 0.68);
  font-size: 13px;
}

/* BIB section */
.rx-site .rx-bib-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(390px, 0.9fr) minmax(0, 1.1fr);
  gap: 74px;
}

.rx-site .rx-bib-visual {
  position: relative;
  min-height: 620px;
  border-radius: var(--rx-radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.13), transparent 28%),
    linear-gradient(145deg, #244f42 0%, #0d271f 100%);
}

.rx-site .rx-bib-visual::before {
  position: absolute;
  top: 40px;
  right: -180px;
  width: 510px;
  height: 510px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.rx-site .rx-bib-svg {
  position: absolute;
  inset: 42px 26px 22px;
  width: calc(100% - 52px);
  height: calc(100% - 64px);
}

.rx-site .rx-bib-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: var(--rx-white);
  background: rgba(9, 29, 23, 0.54);
  backdrop-filter: blur(12px);
}

.rx-site .rx-bib-caption strong {
  font-size: 14px;
}

.rx-site .rx-bib-caption span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  text-align: right;
}

.rx-site .rx-bib-copy .rx-lead {
  margin-top: 22px;
}

.rx-site .rx-feature-list {
  display: grid;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  gap: 0;
  border-top: 1px solid var(--rx-line);
}

.rx-site .rx-feature-list li {
  display: grid;
  min-height: 84px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--rx-line);
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
}

.rx-site .rx-feature-list b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--rx-tea-dark);
  background: var(--rx-sand);
  font-size: 11px;
}

.rx-site .rx-feature-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 670;
}

.rx-site .rx-feature-list span {
  display: block;
  color: rgba(20, 33, 28, 0.62);
  font-size: 13px;
  line-height: 1.44;
}

/* Custom formulation */
.rx-site .rx-formulation {
  position: relative;
  overflow: hidden;
}

.rx-site .rx-formulation::before {
  position: absolute;
  top: -200px;
  left: 50%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  content: "";
  background: rgba(185, 116, 40, 0.15);
  filter: blur(2px);
  transform: translateX(-50%);
}

.rx-site .rx-formulation-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 86px;
}

.rx-site .rx-formulation-copy {
  position: sticky;
  top: 40px;
  align-self: start;
}

.rx-site .rx-formulation-copy .rx-button {
  margin-top: 34px;
}

.rx-site .rx-parameter-stack {
  display: grid;
  gap: 12px;
}

.rx-site .rx-parameter-card {
  display: grid;
  min-height: 122px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--rx-white-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  transition: background 180ms ease, transform 180ms ease;
}

.rx-site .rx-parameter-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-5px);
}

.rx-site .rx-parameter-index {
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.rx-site .rx-parameter-card h3 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.rx-site .rx-parameter-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.48;
}

.rx-site .rx-parameter-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--rx-white);
  background: rgba(255, 255, 255, 0.09);
}

/* Project flow */
.rx-site .rx-project-flow {
  display: grid;
  margin-top: 62px;
  grid-template-columns: repeat(6, 1fr);
}

.rx-site .rx-project-step {
  position: relative;
  min-height: 244px;
  padding: 28px 20px 24px;
  border-top: 1px solid var(--rx-line);
  border-right: 1px solid var(--rx-line);
  border-bottom: 1px solid var(--rx-line);
  background: rgba(255, 255, 255, 0.42);
}

.rx-site .rx-project-step:first-child {
  border-left: 1px solid var(--rx-line);
  border-radius: 18px 0 0 18px;
}

.rx-site .rx-project-step:last-child {
  border-radius: 0 18px 18px 0;
}

.rx-site .rx-project-step b {
  display: block;
  color: var(--rx-tea-dark);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.rx-site .rx-project-step h3 {
  margin: 52px 0 8px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.rx-site .rx-project-step p {
  margin: 0;
  color: rgba(20, 33, 28, 0.58);
  font-size: 12px;
  line-height: 1.5;
}

.rx-site .rx-project-step::after {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: -8px;
  width: 15px;
  height: 15px;
  border-top: 1px solid var(--rx-line);
  border-right: 1px solid var(--rx-line);
  content: "";
  background: var(--rx-milk);
  transform: rotate(45deg);
}

.rx-site .rx-project-step:last-child::after {
  display: none;
}

/* Documents / trust */
.rx-site .rx-trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(500px, 1.24fr);
  gap: 76px;
}

.rx-site .rx-trust-copy {
  align-self: center;
}

.rx-site .rx-trust-copy .rx-button {
  margin-top: 30px;
}

.rx-site .rx-document-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rx-site .rx-document-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--rx-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.rx-site .rx-document-icon {
  display: grid;
  width: 42px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(20, 33, 28, 0.18);
  border-radius: 6px;
  color: var(--rx-tea-dark);
  background: var(--rx-milk);
}

.rx-site .rx-document-icon svg {
  width: 23px;
  height: 23px;
}

.rx-site .rx-document-card h3 {
  margin: 30px 0 8px;
  font-size: 18px;
  font-weight: 660;
  letter-spacing: -0.02em;
}

.rx-site .rx-document-card p {
  margin: 0;
  color: rgba(20, 33, 28, 0.58);
  font-size: 12px;
  line-height: 1.48;
}

.rx-site .rx-claim-note {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 3px solid var(--rx-tea);
  color: rgba(20, 33, 28, 0.66);
  background: rgba(230, 220, 201, 0.55);
  font-size: 12px;
  line-height: 1.5;
}

/* Applications */
.rx-site .rx-applications-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}

.rx-site .rx-applications-head p {
  max-width: 400px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.58;
}

.rx-site .rx-application-grid {
  display: grid;
  margin-top: 58px;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.rx-site .rx-application-card {
  position: relative;
  min-height: 330px;
  padding: 24px;
  border: 1px solid var(--rx-white-line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.rx-site .rx-application-card::before {
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.rx-site .rx-application-card:nth-child(2)::before {
  background: rgba(185, 116, 40, 0.12);
}

.rx-site .rx-application-card:nth-child(3)::before {
  width: 230px;
  height: 230px;
  border-radius: 32px;
  transform: rotate(24deg);
}

.rx-site .rx-application-card:nth-child(4)::before {
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 38px rgba(255, 255, 255, 0.025);
}

.rx-site .rx-application-card b {
  color: rgba(255, 255, 255, 0.36);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.rx-site .rx-application-card h3 {
  margin: 142px 0 10px;
  font-size: 24px;
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.rx-site .rx-application-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.5;
}

/* FAQ */
.rx-site .rx-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 80px;
}

.rx-site .rx-faq-aside {
  position: sticky;
  top: 40px;
  align-self: start;
}

.rx-site .rx-faq-aside p {
  max-width: 350px;
  margin: 22px 0 0;
  color: rgba(20, 33, 28, 0.62);
  font-size: 15px;
  line-height: 1.6;
}

.rx-site .rx-faq-aside .rx-button {
  margin-top: 28px;
}

.rx-site .rx-faq-list {
  border-top: 1px solid var(--rx-line);
}

.rx-site .rx-faq-item {
  border-bottom: 1px solid var(--rx-line);
}

.rx-site .rx-faq-button {
  display: grid;
  width: 100%;
  min-height: 90px;
  align-items: center;
  padding: 18px 0;
  color: var(--rx-ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 20px;
}

.rx-site .rx-faq-button span:first-child {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.rx-site .rx-faq-plus {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rx-line);
  border-radius: 50%;
}

.rx-site .rx-faq-plus::before,
.rx-site .rx-faq-plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.rx-site .rx-faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rx-site .rx-faq-item.is-open .rx-faq-plus::after {
  transform: translate(-50%, -50%) rotate(0);
}

.rx-site .rx-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.rx-site .rx-faq-item.is-open .rx-faq-answer {
  grid-template-rows: 1fr;
}

.rx-site .rx-faq-answer-inner {
  overflow: hidden;
}

.rx-site .rx-faq-answer p {
  max-width: 760px;
  margin: 0;
  padding: 0 70px 26px 0;
  color: rgba(20, 33, 28, 0.66);
  font-size: 15px;
  line-height: 1.65;
}

/* CTA / inline form */
.rx-site .rx-final-cta {
  position: relative;
  padding: 94px 0;
  overflow: hidden;
  color: var(--rx-white);
  background:
    radial-gradient(circle at 84% 20%, rgba(185, 116, 40, 0.38), transparent 26%),
    linear-gradient(135deg, #173c31 0%, #0b231c 100%);
}

.rx-site .rx-final-cta::before {
  position: absolute;
  top: -180px;
  right: -110px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.rx-site .rx-final-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: 72px;
}

.rx-site .rx-final-copy h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 610;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.rx-site .rx-final-copy > p {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.6;
}

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

.rx-site .rx-next-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.4;
}

.rx-site .rx-next-list b {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #f0c58d;
  font-size: 10px;
}

.rx-site .rx-form-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  color: var(--rx-ink);
  background: var(--rx-milk);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}

.rx-site .rx-form-card h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.rx-site .rx-form-card > p {
  margin: 8px 0 0;
  color: rgba(20, 33, 28, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.rx-site .rx-form {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rx-site .rx-field {
  position: relative;
}

.rx-site .rx-field--full {
  grid-column: 1 / -1;
}

.rx-site .rx-field label {
  display: block;
  margin-bottom: 7px;
  color: rgba(20, 33, 28, 0.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rx-site .rx-field input,
.rx-site .rx-field textarea,
.rx-site .rx-field select {
  width: 100%;
  border: 1px solid rgba(20, 33, 28, 0.18);
  border-radius: 12px;
  color: var(--rx-ink);
  background: var(--rx-white);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.rx-site .rx-field input,
.rx-site .rx-field select {
  height: 52px;
  padding: 0 14px;
}

.rx-site .rx-field textarea {
  min-height: 94px;
  padding: 13px 14px;
  resize: vertical;
}

.rx-site .rx-field input::placeholder,
.rx-site .rx-field textarea::placeholder {
  color: rgba(20, 33, 28, 0.34);
}

.rx-site .rx-field input:focus,
.rx-site .rx-field textarea:focus,
.rx-site .rx-field select:focus {
  border-color: rgba(185, 116, 40, 0.72);
  outline: none;
  box-shadow: 0 0 0 4px rgba(185, 116, 40, 0.11);
}

.rx-site .rx-field.is-invalid input,
.rx-site .rx-field.is-invalid textarea,
.rx-site .rx-field.is-invalid select {
  border-color: var(--rx-danger);
}

.rx-site .rx-field-error {
  display: none;
  margin-top: 5px;
  color: var(--rx-danger);
  font-size: 10px;
}

.rx-site .rx-field.is-invalid .rx-field-error {
  display: block;
}

.rx-site .rx-form-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
}

.rx-site .rx-checkbox {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.rx-site .rx-checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rx-site .rx-checkbox span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(20, 33, 28, 0.28);
  border-radius: 5px;
  background: var(--rx-white);
}

.rx-site .rx-checkbox span::after {
  width: 8px;
  height: 4px;
  border-bottom: 2px solid var(--rx-white);
  border-left: 2px solid var(--rx-white);
  content: "";
  opacity: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

.rx-site .rx-checkbox input:checked + span {
  border-color: var(--rx-forest);
  background: var(--rx-forest);
}

.rx-site .rx-checkbox input:checked + span::after {
  opacity: 1;
}

.rx-site .rx-consent-text {
  color: rgba(20, 33, 28, 0.54);
  font-size: 10px;
  line-height: 1.5;
}

.rx-site .rx-consent-text a {
  border-bottom: 1px solid rgba(20, 33, 28, 0.24);
}

.rx-site .rx-form-submit {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2px;
}

.rx-site .rx-form-submit[disabled] {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.rx-site .rx-form-status {
  display: none;
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.rx-site .rx-form-status.is-error {
  display: block;
  color: #721c1c;
  background: #f7dddd;
}

.rx-site .rx-form-status.is-success {
  display: block;
  color: #22553c;
  background: #dfeee5;
}

.rx-site .rx-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Footer */
.rx-site .rx-footer {
  padding: 48px 0 36px;
  color: var(--rx-white);
  background: #081b15;
}

.rx-site .rx-footer-top {
  display: grid;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(180px, 0.28fr));
  gap: 48px;
}

.rx-site .rx-footer-brand p {
  max-width: 410px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.56;
}

.rx-site .rx-footer-col h3 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rx-site .rx-footer-links {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 10px;
}

.rx-site .rx-footer-links a,
.rx-site .rx-footer-links span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.rx-site .rx-footer-links a:hover {
  color: var(--rx-white);
}

.rx-site .rx-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
}

/* Modal */
.rx-site .rx-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.rx-site .rx-modal.is-open {
  display: flex;
}

.rx-site .rx-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 12, 0.74);
  backdrop-filter: blur(10px);
}

.rx-site .rx-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  max-height: calc(100vh - 48px);
  padding: 34px;
  border-radius: 28px;
  overflow-y: auto;
  background: var(--rx-milk);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.34);
  animation: rx-modal-in 260ms ease both;
}

.rx-site .rx-modal-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--rx-line);
  border-radius: 50%;
  color: var(--rx-ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.rx-site .rx-modal-close::before,
.rx-site .rx-modal-close::after {
  position: absolute;
  width: 15px;
  height: 1.5px;
  content: "";
  background: currentColor;
}

.rx-site .rx-modal-close::before {
  transform: rotate(45deg);
}

.rx-site .rx-modal-close::after {
  transform: rotate(-45deg);
}

.rx-site .rx-modal-kicker {
  margin: 0 0 10px;
  color: var(--rx-tea-dark);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rx-site .rx-modal-title {
  max-width: 560px;
  margin: 0;
  padding-right: 46px;
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.rx-site .rx-modal-subtitle {
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(20, 33, 28, 0.62);
  font-size: 13px;
  line-height: 1.52;
}

.rx-site .rx-modal .rx-form {
  margin-top: 24px;
}

.rx-site .rx-mobile-cta {
  position: fixed;
  z-index: 90;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: none;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--rx-white);
  background: var(--rx-forest);
  box-shadow: 0 16px 40px rgba(15, 42, 34, 0.28);
  font-size: 13px;
  font-weight: 740;
}

/* Reveal */
.rx-site [data-rx-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 620ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.rx-site [data-rx-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rx-site [data-rx-reveal="delay-1"] {
  transition-delay: 80ms;
}

.rx-site [data-rx-reveal="delay-2"] {
  transition-delay: 160ms;
}

.rx-site [data-rx-reveal="delay-3"] {
  transition-delay: 240ms;
}

@keyframes rx-wave {
  from {
    transform: translate(-6px, 4px) rotate(-2deg) scale(0.98);
  }
  to {
    transform: translate(8px, -5px) rotate(2deg) scale(1.02);
  }
}

@keyframes rx-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes rx-panel-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rx-modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .rx-site {
    --rx-header-h: 72px;
  }

  .rx-site .rx-nav {
    gap: 18px;
  }

  .rx-site .rx-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 30px;
  }

  .rx-site .rx-hero-visual {
    min-height: 550px;
  }

  .rx-site .rx-project-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .rx-site .rx-project-step,
  .rx-site .rx-project-step:first-child,
  .rx-site .rx-project-step:last-child {
    border: 1px solid var(--rx-line);
    border-radius: 16px;
  }

  .rx-site .rx-project-step::after {
    display: none;
  }

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

  .rx-site .rx-trust-layout {
    gap: 48px;
  }
}

@media (max-width: 920px) {
  .rx-site .rx-shell {
    width: min(calc(100% - 32px), var(--rx-max));
  }

  .rx-site .rx-section {
    padding: 86px 0;
  }

  .rx-site .rx-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .rx-site .rx-header .rx-button {
    display: none;
  }

  .rx-site .rx-menu-toggle {
    display: flex;
    justify-self: end;
  }

  .rx-site .rx-nav {
    position: absolute;
    top: calc(var(--rx-header-h) - 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 18px 16px 24px;
    border-top: 1px solid var(--rx-line);
    border-bottom: 1px solid var(--rx-line);
    background: rgba(250, 248, 242, 0.98);
    box-shadow: 0 24px 44px rgba(15, 42, 34, 0.12);
    flex-direction: column;
    gap: 2px;
  }

  .rx-site .rx-nav.is-open {
    display: flex;
  }

  .rx-site .rx-nav-link {
    padding: 13px 8px;
    font-size: 14px;
  }

  .rx-site .rx-hero {
    min-height: auto;
    padding-bottom: 88px;
  }

  .rx-site .rx-hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .rx-site .rx-hero-copy {
    padding-top: 32px;
  }

  .rx-site .rx-hero-visual {
    min-height: 570px;
  }

  .rx-site .rx-hero-scroll {
    display: none;
  }

  .rx-site .rx-intro-grid,
  .rx-site .rx-segment-layout,
  .rx-site .rx-bib-grid,
  .rx-site .rx-formulation-grid,
  .rx-site .rx-trust-layout,
  .rx-site .rx-faq-layout,
  .rx-site .rx-final-grid {
    grid-template-columns: 1fr;
  }

  .rx-site .rx-intro-grid,
  .rx-site .rx-segment-layout,
  .rx-site .rx-bib-grid,
  .rx-site .rx-formulation-grid,
  .rx-site .rx-trust-layout,
  .rx-site .rx-faq-layout,
  .rx-site .rx-final-grid {
    gap: 46px;
  }

  .rx-site .rx-intro-aside {
    max-width: 620px;
  }

  .rx-site .rx-outcomes {
    grid-template-columns: 1fr;
  }

  .rx-site .rx-outcome-card {
    min-height: 260px;
  }

  .rx-site .rx-outcome-icon {
    margin-top: 28px;
  }

  .rx-site .rx-tabs {
    flex-direction: row;
  }

  .rx-site .rx-tab {
    min-height: 58px;
  }

  .rx-site .rx-segment-card {
    min-height: 550px;
  }

  .rx-site .rx-process-head,
  .rx-site .rx-applications-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rx-site .rx-process-head .rx-lead {
    max-width: 650px;
    margin-top: 22px;
  }

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

  .rx-site .rx-process-step:nth-child(2) {
    border-right: 0;
  }

  .rx-site .rx-process-step:nth-child(3),
  .rx-site .rx-process-step:nth-child(4) {
    border-top: 1px solid var(--rx-line);
  }

  .rx-site .rx-formulation-copy,
  .rx-site .rx-faq-aside {
    position: static;
  }

  .rx-site .rx-footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .rx-site {
    --rx-header-h: 66px;
  }

  .rx-site .rx-shell {
    width: min(calc(100% - 24px), var(--rx-max));
  }

  .rx-site .rx-section {
    padding: 70px 0;
  }

  .rx-site .rx-section--tight {
    padding: 56px 0;
  }

  .rx-site .rx-logo {
    font-size: 17px;
  }

  .rx-site .rx-logo span {
    font-size: 8px;
  }

  .rx-site .rx-hero {
    padding-top: calc(var(--rx-header-h) + 54px);
  }

  .rx-site .rx-hero h1 {
    font-size: clamp(44px, 13vw, 62px);
    letter-spacing: -0.062em;
  }

  .rx-site .rx-hero-text {
    margin-top: 22px;
    font-size: 17px;
  }

  .rx-site .rx-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rx-site .rx-hero-actions .rx-button {
    width: 100%;
  }

  .rx-site .rx-hero-trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rx-site .rx-hero-visual {
    min-height: 430px;
  }

  .rx-site .rx-hero-svg {
    inset: 20px 0 0;
    width: 100%;
    height: calc(100% - 20px);
  }

  .rx-site .rx-orbit {
    inset: 20px 6px 36px;
  }

  .rx-site .rx-hero-word {
    top: 34px;
    left: 0;
    font-size: 100px;
  }

  .rx-site .rx-hero-note {
    right: 4px;
    bottom: 12px;
    width: 202px;
    padding: 14px;
  }

  .rx-site .rx-signal-grid {
    grid-template-columns: 1fr;
  }

  .rx-site .rx-signal-item {
    min-height: 0;
    padding: 22px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(20, 33, 28, 0.12);
  }

  .rx-site .rx-signal-item:last-child {
    border-bottom: 0;
  }

  .rx-site .rx-title {
    font-size: clamp(38px, 11.2vw, 54px);
  }

  .rx-site .rx-title--medium {
    font-size: clamp(34px, 10vw, 48px);
  }

  .rx-site .rx-title--small {
    font-size: 32px;
  }

  .rx-site .rx-lead {
    font-size: 17px;
  }

  .rx-site .rx-intro-aside {
    padding-left: 18px;
  }

  .rx-site .rx-outcomes {
    margin-top: 38px;
  }

  .rx-site .rx-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rx-site .rx-segment-card {
    min-height: auto;
    padding: 28px 20px 260px;
    border-radius: 26px;
  }

  .rx-site .rx-segment-card h3 {
    font-size: 36px;
  }

  .rx-site .rx-benefit-list {
    grid-template-columns: 1fr;
  }

  .rx-site .rx-segment-actions {
    display: grid;
  }

  .rx-site .rx-segment-actions .rx-button {
    width: 100%;
  }

  .rx-site .rx-segment-visual {
    right: -52px;
    bottom: -92px;
    width: 300px;
    height: 300px;
  }

  .rx-site .rx-process-grid {
    grid-template-columns: 1fr;
  }

  .rx-site .rx-process-step,
  .rx-site .rx-process-step:not(:first-child) {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rx-line);
  }

  .rx-site .rx-process-step:nth-child(3),
  .rx-site .rx-process-step:nth-child(4) {
    border-top: 0;
  }

  .rx-site .rx-process-step::before {
    display: none;
  }

  .rx-site .rx-process-icon {
    height: 130px;
  }

  .rx-site .rx-proof-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .rx-site .rx-bib-grid {
    grid-template-columns: 1fr;
  }

  .rx-site .rx-bib-visual {
    min-height: 500px;
  }

  .rx-site .rx-bib-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .rx-site .rx-bib-caption span {
    text-align: left;
  }

  .rx-site .rx-parameter-card {
    min-height: 112px;
    padding: 18px;
    grid-template-columns: 34px minmax(0, 1fr) 30px;
    gap: 12px;
  }

  .rx-site .rx-project-flow {
    grid-template-columns: 1fr;
  }

  .rx-site .rx-project-step {
    min-height: 190px;
  }

  .rx-site .rx-project-step h3 {
    margin-top: 34px;
  }

  .rx-site .rx-document-grid,
  .rx-site .rx-application-grid {
    grid-template-columns: 1fr;
  }

  .rx-site .rx-application-card {
    min-height: 270px;
  }

  .rx-site .rx-application-card h3 {
    margin-top: 100px;
  }

  .rx-site .rx-faq-button {
    min-height: 82px;
    grid-template-columns: minmax(0, 1fr) 34px;
  }

  .rx-site .rx-faq-button span:first-child {
    font-size: 17px;
  }

  .rx-site .rx-faq-answer p {
    padding-right: 10px;
  }

  .rx-site .rx-final-cta {
    padding: 72px 0 92px;
  }

  .rx-site .rx-form-card,
  .rx-site .rx-modal-dialog {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .rx-site .rx-form {
    grid-template-columns: 1fr;
  }

  .rx-site .rx-field--full,
  .rx-site .rx-form-meta,
  .rx-site .rx-form-submit,
  .rx-site .rx-form-status {
    grid-column: 1;
  }

  .rx-site .rx-modal {
    align-items: flex-end;
    padding: 8px;
  }

  .rx-site .rx-modal-dialog {
    width: 100%;
    max-height: calc(100vh - 16px);
    border-radius: 24px;
  }

  .rx-site .rx-modal-title {
    font-size: 29px;
  }

  .rx-site .rx-mobile-cta {
    display: flex;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .rx-site .rx-mobile-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .rx-site .rx-footer {
    padding-bottom: 92px;
  }

  .rx-site .rx-footer-top {
    grid-template-columns: 1fr;
  }

  .rx-site .rx-footer-brand {
    grid-column: auto;
  }

  .rx-site .rx-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rx-site *,
  .rx-site *::before,
  .rx-site *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .rx-site [data-rx-reveal] {
    opacity: 1;
    transform: none;
  }
}


/* Карточка заявки в финальном блоке (v1.3.0) */
.rx-site .rx-native-form-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: center;
}

.rx-site .rx-native-kicker {
  margin: 0 0 14px !important;
  color: var(--rx-tea-dark) !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rx-site .rx-native-benefits {
  display: grid;
  margin: 28px 0 30px;
  gap: 10px;
}

.rx-site .rx-native-benefits > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 13px;
  row-gap: 3px;
  padding: 14px 0;
  border-top: 1px solid rgba(20, 33, 28, 0.12);
}

.rx-site .rx-native-benefits > div:last-child {
  border-bottom: 1px solid rgba(20, 33, 28, 0.12);
}

.rx-site .rx-native-benefits span {
  grid-row: 1 / 3;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(20, 33, 28, 0.18);
  border-radius: 50%;
  color: var(--rx-tea-dark);
  font-size: 9px;
  font-weight: 800;
}

.rx-site .rx-native-benefits strong {
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -0.015em;
}

.rx-site .rx-native-benefits small {
  color: rgba(20, 33, 28, 0.58);
  font-size: 12px;
  line-height: 1.45;
}

.rx-site .rx-native-form-button {
  width: 100%;
}

.rx-site .rx-native-note {
  margin: 13px 0 0 !important;
  color: rgba(20, 33, 28, 0.48) !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
}

/* Вспомогательные стили модального окна заявки. Разметка — в index.html. */
.rx-site a[href^="#popup:"] {
  cursor: pointer;
}
