/* ==========================================================================
   Real Peptide Lab
   Homepage stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */

.rpl-hero {
  position: relative;
  overflow: hidden;
  padding-block: 78px 88px;
  background:
    linear-gradient(rgba(31, 94, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 94, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 28%, rgba(57, 184, 212, 0.18), transparent 26%),
    linear-gradient(180deg, #f9fcff 0%, #ffffff 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.rpl-hero::before {
  position: absolute;
  top: 7%;
  right: -8%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(31, 94, 255, 0.10);
  border-radius: 50%;
  content: "";
}

.rpl-hero::after {
  position: absolute;
  right: 5%;
  bottom: -26%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(57, 184, 212, 0.16);
  border-radius: 50%;
  content: "";
}

.rpl-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  align-items: center;
  gap: 70px;
}

.rpl-hero__content {
  max-width: 700px;
}

.rpl-hero__content h1 {
  max-width: 680px;
}

.rpl-hero__lead {
  max-width: 650px;
  margin-top: 24px;
  font-size: 1.16rem;
  line-height: 1.7;
}

.rpl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.rpl-hero__proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 30px;
  list-style: none;
}

.rpl-hero__proof-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rpl-text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
}

.rpl-hero__proof-list i {
  color: var(--rpl-blue);
}

.rpl-hero__visual {
  position: relative;
  min-height: 530px;
  isolation: isolate;
}

.rpl-hero__visual-background {
  position: absolute;
  inset: 30px 0 10px 30px;
  z-index: -2;
  border: 1px solid rgba(31, 94, 255, 0.10);
  border-radius: 42px;
  background:
    radial-gradient(circle at 68% 25%, rgba(57, 184, 212, 0.26), transparent 28%),
    linear-gradient(145deg, #eef7fc 0%, #dceaf4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.rpl-hero__visual-background::before,
.rpl-hero__visual-background::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.rpl-hero__visual-background::before {
  top: 68px;
  left: 54px;
  width: 12px;
  height: 12px;
  background: var(--rpl-cyan);
  box-shadow:
    82px -18px 0 rgba(31, 94, 255, 0.30),
    144px 52px 0 rgba(11, 31, 51, 0.20),
    230px -16px 0 rgba(57, 184, 212, 0.25),
    318px 78px 0 rgba(31, 94, 255, 0.22);
}

.rpl-hero__visual-background::after {
  inset: 14%;
  border: 1px dashed rgba(31, 94, 255, 0.18);
}

.rpl-product-mockup {
  position: absolute;
  top: 72px;
  left: 10%;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  transform: rotate(-1.5deg);
}

.rpl-product-mockup__package {
  display: flex;
  width: 250px;
  height: 350px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid rgba(11, 31, 51, 0.10);
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(57, 184, 212, 0.12), transparent 45%),
    var(--rpl-white);
  box-shadow: var(--rpl-shadow-lg);
}

.rpl-product-mockup__package::before {
  display: block;
  width: 50px;
  height: 4px;
  margin-bottom: auto;
  border-radius: var(--rpl-radius-pill);
  background: var(--rpl-cyan);
  content: "";
}

.rpl-product-mockup__package img {
  width: 150px;
  margin-bottom: 36px;
}

.rpl-product-mockup__package span {
  color: var(--rpl-text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rpl-product-mockup__package strong {
  margin-top: 4px;
  color: var(--rpl-navy);
  font-family: var(--rpl-font-heading);
  font-size: 1.35rem;
}

.rpl-product-mockup__vial {
  position: relative;
  display: flex;
  width: 105px;
  height: 220px;
  align-items: flex-end;
  justify-content: center;
  border: 1px solid rgba(11, 31, 51, 0.16);
  border-radius: 18px 18px 24px 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(218, 245, 251, 0.42)),
    #eef8fb;
  box-shadow: var(--rpl-shadow-md);
}

.rpl-product-mockup__cap {
  position: absolute;
  top: -18px;
  left: 10px;
  width: calc(100% - 20px);
  height: 38px;
  border-radius: 10px 10px 6px 6px;
  background:
    repeating-linear-gradient(
      90deg,
      #b9c9d5 0,
      #b9c9d5 3px,
      #d9e4eb 3px,
      #d9e4eb 6px
    );
  box-shadow: inset 0 -4px 0 rgba(11, 31, 51, 0.08);
}

.rpl-product-mockup__label {
  display: grid;
  width: calc(100% - 16px);
  min-height: 84px;
  place-items: center;
  margin-bottom: 26px;
  padding: 12px 6px;
  border-top: 3px solid var(--rpl-cyan);
  border-bottom: 1px solid var(--rpl-border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--rpl-blue);
  font-family: var(--rpl-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.rpl-product-mockup__label small {
  color: var(--rpl-text-muted);
  font-family: var(--rpl-font-body);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rpl-hero__verification-card {
  position: absolute;
  right: 0;
  bottom: 34px;
  width: 270px;
  padding: 20px;
  border: 1px solid rgba(31, 94, 255, 0.14);
  border-radius: var(--rpl-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--rpl-shadow-md);
  backdrop-filter: blur(10px);
}

.rpl-hero__verification-card p {
  margin-top: 12px;
  color: var(--rpl-navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.rpl-hero__verification-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--rpl-blue);
  font-size: 0.82rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   2. Trust strip
   -------------------------------------------------------------------------- */

.rpl-trust-strip {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--rpl-border);
  border-bottom: 1px solid var(--rpl-border);
  background: var(--rpl-white);
}

.rpl-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rpl-trust-item {
  display: flex;
  min-height: 150px;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid var(--rpl-border);
}

.rpl-trust-item:first-child {
  padding-left: 0;
}

.rpl-trust-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.rpl-trust-item h2 {
  margin-bottom: 5px;
  font-family: var(--rpl-font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.rpl-trust-item p {
  font-size: 0.8rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   3. Featured product grid
   -------------------------------------------------------------------------- */

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

.rpl-product-card {
  overflow: hidden;
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-lg);
  background: var(--rpl-white);
  box-shadow: var(--rpl-shadow-xs);
  transition:
    border-color var(--rpl-transition),
    transform var(--rpl-transition),
    box-shadow var(--rpl-transition);
}

.rpl-product-card:hover {
  border-color: rgba(31, 94, 255, 0.32);
  box-shadow: var(--rpl-shadow-md);
  transform: translateY(-4px);
}

.rpl-product-card__image {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(57, 184, 212, 0.18), transparent 34%),
    linear-gradient(145deg, #f7fbfe 0%, #e9f2f7 100%);
}

.rpl-product-card__image::after {
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(31, 94, 255, 0.16);
  border-radius: var(--rpl-radius-md);
  content: "";
}

.rpl-product-card__placeholder {
  display: grid;
  width: 84px;
  height: 156px;
  place-items: center;
  border: 1px solid rgba(11, 31, 51, 0.15);
  border-radius: 12px 12px 18px 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--rpl-shadow-sm);
  color: var(--rpl-blue);
  font-size: 2rem;
}

.rpl-product-card__body {
  padding: 22px;
}

.rpl-product-card__category {
  margin-bottom: 6px;
  color: var(--rpl-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rpl-product-card h3 {
  font-size: 1.3rem;
}

.rpl-product-card h3 a:hover {
  color: var(--rpl-blue);
}

.rpl-product-card__format {
  min-height: 44px;
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.rpl-product-card__badges {
  margin-top: 14px;
}

.rpl-product-card__meta {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rpl-border);
}

.rpl-product-card__price {
  color: var(--rpl-navy);
  font-weight: 700;
}

.rpl-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rpl-text-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.rpl-stock::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
}

.rpl-stock--in-stock::before {
  background: var(--rpl-success);
  box-shadow: 0 0 0 4px var(--rpl-success-bg);
}

.rpl-product-card__actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.rpl-product-card__actions .rpl-button {
  width: 100%;
}

.rpl-product-card__coa-link {
  color: var(--rpl-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

/* --------------------------------------------------------------------------
   4. Research categories
   -------------------------------------------------------------------------- */

.rpl-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rpl-category-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--rpl-shadow-xs);
  transition:
    border-color var(--rpl-transition),
    transform var(--rpl-transition),
    box-shadow var(--rpl-transition);
}

.rpl-category-card:hover {
  border-color: rgba(31, 94, 255, 0.32);
  box-shadow: var(--rpl-shadow-md);
  transform: translateY(-4px);
}

.rpl-category-card h3 {
  margin-top: 22px;
  font-size: 1.28rem;
}

.rpl-category-card p {
  margin-top: 12px;
  font-size: 0.9rem;
}

.rpl-category-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--rpl-blue);
  font-size: 0.86rem;
  font-weight: 700;
}

.rpl-category-card > a i {
  transition: transform var(--rpl-transition);
}

.rpl-category-card:hover > a i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Quality and CoA section
   -------------------------------------------------------------------------- */

.rpl-quality {
  overflow: hidden;
}

.rpl-quality::before {
  position: absolute;
  top: 8%;
  left: -140px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(31, 94, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.rpl-quality__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 82px;
}

.rpl-quality__visual {
  position: relative;
  min-height: 560px;
}

.rpl-quality__visual::before {
  position: absolute;
  inset: 28px 22px 0 0;
  border-radius: 34px;
  background:
    linear-gradient(rgba(31, 94, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 94, 255, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, var(--rpl-background), #deebf3);
  background-size: 34px 34px, 34px 34px, auto;
  content: "";
}

.rpl-coa-preview {
  position: absolute;
  top: 70px;
  left: 40px;
  width: calc(100% - 70px);
  min-height: 420px;
  padding: 30px;
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-lg);
  background: var(--rpl-white);
  box-shadow: var(--rpl-shadow-lg);
  transform: rotate(-2deg);
}

.rpl-coa-preview::before {
  display: block;
  width: 64px;
  height: 5px;
  margin-bottom: 24px;
  border-radius: var(--rpl-radius-pill);
  background: linear-gradient(90deg, var(--rpl-blue), var(--rpl-cyan));
  content: "";
}

.rpl-coa-preview__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rpl-border);
}

.rpl-coa-preview__header span {
  display: block;
  color: var(--rpl-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.rpl-coa-preview__header strong {
  display: block;
  margin-top: 5px;
  color: var(--rpl-navy);
  font-family: var(--rpl-font-heading);
  font-size: 1.35rem;
}

.rpl-coa-preview__header i {
  color: var(--rpl-blue);
  font-size: 3rem;
}

.rpl-coa-preview__data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-block: 24px;
  overflow: hidden;
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-md);
  background: var(--rpl-border);
}

.rpl-coa-preview__data > div {
  padding: 15px;
  background: var(--rpl-white);
}

.rpl-coa-preview__data dt {
  color: var(--rpl-text-muted);
  font-size: 0.72rem;
}

.rpl-coa-preview__data dd {
  margin-top: 4px;
  color: var(--rpl-navy);
  font-size: 0.88rem;
  font-weight: 700;
}

.rpl-quality__lead {
  margin-top: 18px;
  font-size: 1.08rem;
}

.rpl-process-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  list-style: none;
}

.rpl-process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 16px;
}

.rpl-process-list li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--rpl-blue-soft);
  color: var(--rpl-blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.rpl-process-list h3 {
  font-family: var(--rpl-font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.rpl-process-list p {
  margin-top: 3px;
  font-size: 0.86rem;
}

.rpl-batch-search {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  padding: 20px;
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-md);
  background: var(--rpl-background);
}

.rpl-batch-search__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.rpl-quality__content > .rpl-text-link {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   6. How it works
   -------------------------------------------------------------------------- */

.rpl-how-it-works {
  overflow: hidden;
}

.rpl-how-it-works::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.rpl-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rpl-step-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rpl-radius-lg);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.rpl-step-card::after {
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(57, 184, 212, 0.18);
  border-radius: 50%;
  content: "";
}

.rpl-step-card__number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255, 255, 255, 0.14);
  font-family: var(--rpl-font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
}

.rpl-step-card .rpl-icon-box {
  background: rgba(57, 184, 212, 0.13);
  color: var(--rpl-cyan);
}

.rpl-step-card h3 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.rpl-step-card p {
  margin-top: 12px;
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   7. Standards
   -------------------------------------------------------------------------- */

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

.rpl-standard-card {
  padding: 26px;
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-lg);
  background: var(--rpl-white);
  box-shadow: var(--rpl-shadow-xs);
}

.rpl-standard-card h3 {
  margin-top: 22px;
  font-size: 1.14rem;
}

.rpl-standard-card p {
  margin-top: 12px;
  font-size: 0.86rem;
}

/* --------------------------------------------------------------------------
   8. Research guide
   -------------------------------------------------------------------------- */

.rpl-guide {
  overflow: hidden;
}

.rpl-guide::before {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(31, 94, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.rpl-guide__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 82px;
}

.rpl-guide__visual {
  display: grid;
  min-height: 500px;
  place-items: center;
  perspective: 1200px;
}

.rpl-guide-cover {
  position: relative;
  display: flex;
  width: 340px;
  min-height: 445px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  overflow: hidden;
  border-radius: 8px 22px 22px 8px;
  background:
    linear-gradient(145deg, rgba(57, 184, 212, 0.26), transparent 40%),
    linear-gradient(150deg, var(--rpl-navy), #173a58);
  box-shadow: var(--rpl-shadow-lg);
  transform: rotateY(-8deg) rotateZ(-1deg);
}

.rpl-guide-cover::before {
  position: absolute;
  top: 0;
  left: 18px;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.rpl-guide-cover::after {
  position: absolute;
  top: 44px;
  right: 34px;
  width: 100px;
  height: 100px;
  border: 1px dashed rgba(57, 184, 212, 0.42);
  border-radius: 50%;
  content: "";
}

.rpl-guide-cover img {
  position: absolute;
  top: 28px;
  left: 32px;
  width: 170px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--rpl-white);
}

.rpl-guide-cover > p {
  color: var(--rpl-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rpl-guide-cover h2 {
  margin-top: 10px;
  color: var(--rpl-white);
  font-size: 2.15rem;
}

.rpl-guide-cover span {
  display: block;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--rpl-text-on-dark-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.rpl-guide__content > p:not(.rpl-overline) {
  margin-top: 18px;
  font-size: 1.02rem;
}

.rpl-check-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  list-style: none;
}

.rpl-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--rpl-text-secondary);
  font-size: 0.9rem;
}

.rpl-check-list i {
  margin-top: 5px;
  color: var(--rpl-success);
}

.rpl-guide-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 30px;
}

.rpl-guide-form .rpl-form-note {
  grid-column: 1 / -1;
}

/* --------------------------------------------------------------------------
   9. Research library
   -------------------------------------------------------------------------- */

.rpl-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rpl-article-card {
  overflow: hidden;
  border: 1px solid var(--rpl-border);
  border-radius: var(--rpl-radius-lg);
  background: var(--rpl-white);
  box-shadow: var(--rpl-shadow-xs);
  transition:
    border-color var(--rpl-transition),
    transform var(--rpl-transition),
    box-shadow var(--rpl-transition);
}

.rpl-article-card:hover {
  border-color: rgba(31, 94, 255, 0.28);
  box-shadow: var(--rpl-shadow-md);
  transform: translateY(-4px);
}

.rpl-article-card__image {
  display: grid;
  min-height: 190px;
  place-items: center;
  background:
    linear-gradient(rgba(31, 94, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 94, 255, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, var(--rpl-background), #e1edf4);
  background-size: 28px 28px, 28px 28px, auto;
  color: var(--rpl-blue);
  font-size: 3rem;
}

.rpl-article-card__body {
  padding: 24px;
}

.rpl-article-card__meta {
  color: var(--rpl-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rpl-article-card h3 {
  margin-top: 8px;
  font-size: 1.22rem;
}

.rpl-article-card h3 a:hover {
  color: var(--rpl-blue);
}

.rpl-article-card__body > p:not(.rpl-article-card__meta) {
  margin-top: 12px;
  font-size: 0.86rem;
}

.rpl-article-card__body > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--rpl-blue);
  font-size: 0.84rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   10. Newsletter
   -------------------------------------------------------------------------- */

.rpl-newsletter {
  padding-block: 54px;
  border-top: 1px solid var(--rpl-border);
  background: var(--rpl-background);
}

.rpl-newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: 60px;
}

.rpl-newsletter__content h2 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.rpl-newsletter__content > p:not(.rpl-overline) {
  margin-top: 12px;
}

.rpl-newsletter__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   11. Final CTA
   -------------------------------------------------------------------------- */

.rpl-final-cta {
  position: relative;
  overflow: hidden;
  padding-block: 74px;
  background:
    radial-gradient(circle at 85% 30%, rgba(57, 184, 212, 0.22), transparent 28%),
    linear-gradient(135deg, var(--rpl-blue-dark) 0%, var(--rpl-navy) 100%);
}

.rpl-final-cta::before {
  position: absolute;
  top: -120px;
  left: -100px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.rpl-final-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 60px;
}

.rpl-final-cta .rpl-overline {
  color: var(--rpl-cyan);
}

.rpl-final-cta h2 {
  color: var(--rpl-white);
}

.rpl-final-cta p:not(.rpl-overline) {
  max-width: 680px;
  margin-top: 14px;
  color: var(--rpl-text-on-dark-muted);
}

.rpl-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   12. Responsive homepage rules
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .rpl-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.86fr);
    gap: 44px;
  }

  .rpl-product-grid,
  .rpl-standards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rpl-trust-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rpl-trust-item:nth-child(2) {
    border-right: 0;
  }

  .rpl-trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rpl-border);
  }

  .rpl-trust-item:first-child,
  .rpl-trust-item:nth-child(3) {
    padding-left: 0;
  }

  .rpl-trust-item:nth-child(2),
  .rpl-trust-item:last-child {
    padding-right: 0;
  }

  .rpl-quality__grid,
  .rpl-guide__grid {
    gap: 54px;
  }
}

@media (max-width: 980px) {
  .rpl-hero {
    padding-block: 62px 72px;
  }

  .rpl-hero__grid {
    grid-template-columns: 1fr;
  }

  .rpl-hero__content {
    max-width: 760px;
  }

  .rpl-hero__visual {
    min-height: 500px;
  }

  .rpl-product-mockup {
    left: 18%;
  }

  .rpl-category-grid,
  .rpl-steps,
  .rpl-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rpl-quality__grid,
  .rpl-guide__grid {
    grid-template-columns: 1fr;
  }

  .rpl-quality__visual {
    min-height: 500px;
  }

  .rpl-guide__visual {
    min-height: 440px;
  }

  .rpl-newsletter__inner,
  .rpl-final-cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rpl-newsletter__form {
    max-width: 620px;
  }

  .rpl-final-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .rpl-hero {
    padding-block: 52px 60px;
  }

  .rpl-hero__lead {
    font-size: 1.02rem;
  }

  .rpl-hero__actions {
    flex-direction: column;
  }

  .rpl-hero__proof-list {
    display: grid;
    gap: 10px;
  }

  .rpl-hero__visual {
    min-height: 420px;
  }

  .rpl-hero__visual-background {
    inset: 20px 0 0;
    border-radius: 28px;
  }

  .rpl-product-mockup {
    top: 58px;
    left: 7%;
    gap: 10px;
    transform: none;
  }

  .rpl-product-mockup__package {
    width: 205px;
    height: 285px;
    padding: 22px;
  }

  .rpl-product-mockup__package img {
    width: 125px;
    margin-bottom: 28px;
  }

  .rpl-product-mockup__package strong {
    font-size: 1.08rem;
  }

  .rpl-product-mockup__vial {
    width: 82px;
    height: 175px;
  }

  .rpl-hero__verification-card {
    right: 8px;
    bottom: 14px;
    width: 235px;
    padding: 16px;
  }

  .rpl-trust-strip__grid,
  .rpl-product-grid,
  .rpl-category-grid,
  .rpl-steps,
  .rpl-standards-grid,
  .rpl-article-grid {
    grid-template-columns: 1fr;
  }

  .rpl-trust-item {
    min-height: auto;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rpl-border);
  }

  .rpl-trust-item:last-child {
    border-bottom: 0;
  }

  .rpl-product-card__image {
    min-height: 230px;
  }

  .rpl-category-card {
    min-height: auto;
  }

  .rpl-quality__visual {
    min-height: 430px;
  }

  .rpl-coa-preview {
    top: 48px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 22px;
    transform: none;
  }

  .rpl-coa-preview__data {
    grid-template-columns: 1fr;
  }

  .rpl-batch-search__row {
    grid-template-columns: 1fr;
  }

  .rpl-guide__visual {
    min-height: 390px;
  }

  .rpl-guide-cover {
    width: 285px;
    min-height: 375px;
    padding: 28px;
  }

  .rpl-guide-cover h2 {
    font-size: 1.75rem;
  }

  .rpl-guide-form,
  .rpl-newsletter__form {
    grid-template-columns: 1fr;
  }

  .rpl-final-cta {
    padding-block: 58px;
  }

  .rpl-final-cta__actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .rpl-hero__visual {
    min-height: 385px;
  }

  .rpl-product-mockup {
    left: 3%;
  }

  .rpl-product-mockup__package {
    width: 180px;
    height: 255px;
    padding: 18px;
  }

  .rpl-product-mockup__package img {
    width: 105px;
  }

  .rpl-product-mockup__vial {
    width: 72px;
    height: 150px;
  }

  .rpl-hero__verification-card {
    width: 210px;
  }

  .rpl-quality__visual {
    min-height: 400px;
  }

  .rpl-coa-preview {
    padding: 18px;
  }

  .rpl-coa-preview__header strong {
    font-size: 1.05rem;
  }

  .rpl-coa-preview__header i {
    font-size: 2.2rem;
  }

  .rpl-guide-cover {
    width: 245px;
    min-height: 335px;
  }
}
