/* ==========================================================================
   RD Pricing Block
   ========================================================================== */

.rd-pricing {
  --rd-navy: #1b2138;
  --rd-orange: #e8804a;
  --rd-orange-light: #fdf1e7;
  --rd-text-dark: #1a1a1a;
  --rd-text-body: #5b5f6b;
  --rd-border: #e8e9ee;
  --rd-white: #ffffff;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: 1430px;
  margin: 0 auto;
  padding: 0 12px 70px;
  color: var(--rd-text-dark);
  box-sizing: border-box;
}

.rd-pricing *,
.rd-pricing *::before,
.rd-pricing *::after {
  box-sizing: border-box;
}

/* Eyebrow badge */
.rd-pricing__eyebrow {
  display: inline-block;
  background: var(--rd-orange-light);
  color: var(--rd-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.rd-pricing__title {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.rd-pricing__intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--rd-text-body);
  max-width: 100%;
  margin: 0 0 40px;
}

/* Layout grid: table column + info column */
.rd-pricing__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ---- Table card ---- */
.rd-pricing__table-card {
  border: 1px solid var(--rd-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--rd-white);
}

.rd-pricing__table-heading {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.rd-pricing__table {
  width: 100%;
  border-collapse: collapse;
}

.rd-pricing__table thead th {
  background: var(--rd-navy);
  color: var(--rd-white);
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  padding: 16px 20px;
}

.rd-pricing__table tbody td {
  padding: 16px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--rd-border);
  color: var(--rd-text-dark);
}

.rd-pricing__table tbody tr:last-child td {
  border-bottom: none;
}

.rd-pricing__table td:first-child {
  color: var(--rd-text-dark);
  font-weight: 500;
}

.rd-pricing__table td:nth-child(2) {
  color: var(--rd-text-body);
}

.rd-pricing__table td:last-child {
  font-weight: 600;
}

/* Pro tip callout */
.rd-pricing__tip {
  background: var(--rd-orange-light);
  border-left: 4px solid var(--rd-orange);
  border-radius: 10px;
  padding: 20px 22px;
  margin-top: 24px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--rd-text-dark);
}

.rd-pricing__tip strong {
  color: var(--rd-text-dark);
}

.rd-pricing__tip-icon {
  margin-right: 4px;
}

/* ---- Info column ---- */
.rd-pricing__info-heading {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.rd-pricing__info-intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--rd-text-body);
  margin: 0 0 24px;
}

.rd-pricing__factors {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rd-pricing__factor {
  background: var(--rd-white);
  border: 1px solid var(--rd-border);
  border-left: 4px solid var(--rd-orange);
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 1px 3px rgba(20, 20, 43, 0.04);
}

.rd-pricing__factor-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.rd-pricing__factor-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--rd-text-body);
  margin: 0;
}

.rd-pricing__text {
  margin-top: 24px;
}

.rd-pricing__text > * {
  margin-top: 12px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .rd-pricing__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .rd-pricing__title {
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  .rd-pricing {
    padding: 0 15px 50px;
  }

  .rd-pricing__title {
    font-size: 26px;
  }

  .rd-pricing__intro {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .rd-pricing__table thead th,
  .rd-pricing__table tbody td {
    padding: 12px 12px;
    font-size: 13px;
  }

  .rd-pricing__info-heading {
    font-size: 21px;
  }

  .rd-pricing__factor {
    padding: 16px 18px;
  }
}

@media (max-width: 420px) {
  /* Stack table cells for very small screens */
  .rd-pricing__table thead {
    display: none;
  }

  .rd-pricing__table,
  .rd-pricing__table tbody,
  .rd-pricing__table tr,
  .rd-pricing__table td {
    display: block;
    width: 100%;
  }

  .rd-pricing__table tr {
    padding: 12px 16px;
    border-bottom: 1px solid var(--rd-border);
  }

  .rd-pricing__table td {
    border-bottom: none;
    padding: 3px 0;
  }

  .rd-pricing__table td::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 110px;
    font-weight: 700;
    color: var(--rd-text-dark);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .rd-pricing__table td:first-child {
    font-weight: 700;
    font-size: 15px;
    padding-top: 4px;
  }

  .rd-pricing__table td:first-child::before {
    content: none;
  }
}