/* ─── Dentists — $1 trial + membership offer (new pricing section) ─── */
.d-offer {
  position: relative;
  padding: clamp(72px, 8vw, 112px) var(--section-x);
  background: var(--cream, #faf5ea);
  border-bottom: 1px solid var(--hair, #d6c9b0);
  color: var(--ink, #1f1a12);
}

.d-offer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.d-offer__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.d-offer__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(18px, 2vw, 24px);
  color: var(--terra, #c54b1e);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.d-offer__kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ───────── Trial card (dark, the focal point) ───────── */
.d-offer__trial {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 70% at 8% 0%, rgba(197, 75, 30, 0.34) 0%, transparent 62%),
    linear-gradient(160deg, #1b150d 0%, #0e0b07 100%);
  color: #faf5ea;
  box-shadow: 0 30px 60px -34px rgba(11, 9, 6, 0.55);
}

.d-offer__trial-main {
  padding: clamp(36px, 4.6vw, 64px);
}

.d-offer__trial .d-offer__kicker {
  color: #e8a87c;
}

.d-offer__title {
  margin: 0 0 clamp(16px, 2vw, 22px);
  max-width: 13em;
  color: #fefcf5;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.7vw, 50px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-align: left;
}

.d-offer__title em {
  color: #e8a87c;
  font-style: italic;
}

.d-offer__lede {
  margin: 0 0 clamp(26px, 3vw, 36px);
  max-width: 30em;
  color: rgba(250, 245, 234, 0.82);
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
}

.d-offer__terms {
  padding-top: clamp(22px, 2.6vw, 30px);
  border-top: 1px solid rgba(250, 245, 234, 0.16);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 34em;
}

.d-offer__terms p {
  margin: 0;
  color: rgba(250, 245, 234, 0.74);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
}

.d-offer__terms strong {
  color: #fefcf5;
  font-weight: 600;
}

.d-offer__trial-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(26px, 3vw, 36px);
  padding: clamp(32px, 4vw, 52px) clamp(28px, 3.6vw, 52px);
  background: rgba(250, 245, 234, 0.05);
  border-left: 1px solid rgba(250, 245, 234, 0.12);
}

.d-offer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.d-offer__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(250, 245, 234, 0.1);
  color: rgba(250, 245, 234, 0.9);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

.d-offer__list li:first-child {
  padding-top: 0;
}

.d-offer__list li:last-child {
  border-bottom: 0;
}

.d-offer__tick {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(232, 168, 124, 0.18);
  color: #e8a87c;
}

.d-offer__tick svg {
  width: 13px;
  height: 13px;
}

.d-offer__cta {
  margin-top: clamp(28px, 3.2vw, 40px);
  min-height: 52px;
  padding-left: 32px;
  padding-right: 32px;
  cursor: pointer;
}

/* ───────── After your trial ───────── */
.d-offer__after {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.d-offer__after-title {
  margin: 0 0 clamp(14px, 1.6vw, 20px);
  color: var(--ink, #1f1a12);
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.026em;
}

.d-offer__after-title em {
  color: var(--terra, #c54b1e);
  font-style: italic;
}

.d-offer__after-text {
  margin: 0;
  max-width: 28em;
  color: rgba(31, 26, 18, 0.82);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
}

.d-offer__plans {
  min-width: 0;
}

.d-offer__table-wrap {
  overflow: hidden;
  border: 1.5px solid rgba(31, 26, 18, 0.14);
  border-radius: 18px;
  background: #fefcf5;
  box-shadow: 0 18px 38px -30px rgba(11, 9, 6, 0.3);
}

.d-offer__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.d-offer__table th,
.d-offer__table td {
  padding: 20px clamp(16px, 2vw, 28px);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.4;
  vertical-align: middle;
}

.d-offer__table thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(31, 26, 18, 0.04);
  border-bottom: 1px solid rgba(31, 26, 18, 0.12);
  color: rgba(31, 26, 18, 0.62);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.d-offer__table tbody tr + tr th,
.d-offer__table tbody tr + tr td {
  border-top: 1px solid rgba(31, 26, 18, 0.1);
}

.d-offer__table tbody th {
  color: var(--ink, #1f1a12);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.d-offer__table td {
  color: rgba(31, 26, 18, 0.86);
  font-weight: 500;
}

.d-offer__table td.d-offer__more {
  color: var(--terra, #c54b1e);
  font-weight: 700;
}

.d-offer__table tbody tr {
  transition: background-color 0.2s ease;
}

.d-offer__table tbody tr:hover {
  background: rgba(197, 75, 30, 0.04);
}

.d-offer__plans-note {
  margin: 18px 0 0;
  max-width: 36em;
  color: rgba(31, 26, 18, 0.72);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
}

.d-offer__compare {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 4px 0;
  border-bottom: 1.5px solid var(--terra, #c54b1e);
  color: var(--terra, #c54b1e);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: gap 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.d-offer__compare:hover {
  gap: 14px;
  color: #a53c14;
  border-color: #a53c14;
}

.d-offer__compare:focus-visible,
.d-offer__cta:focus-visible {
  outline: 3px solid rgba(197, 75, 30, 0.45);
  outline-offset: 4px;
}

/* ───────── Important availability information ───────── */
.d-offer__notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(31, 26, 18, 0.14);
  border-left: 4px solid var(--terra, #c54b1e);
  border-radius: 6px 16px 16px 6px;
  background: rgba(254, 252, 245, 0.7);
}

.d-offer__notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(197, 75, 30, 0.1);
  color: var(--terra, #c54b1e);
}

.d-offer__notice-icon svg {
  width: 20px;
  height: 20px;
}

.d-offer__notice-title {
  margin: 0 0 clamp(14px, 1.6vw, 18px);
  color: var(--ink, #1f1a12);
  font-family: var(--font-serif);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.d-offer__notice-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

.d-offer__notice-cols p {
  margin: 0;
  color: rgba(31, 26, 18, 0.76);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
}

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
  .d-offer__trial {
    grid-template-columns: 1fr;
  }

  .d-offer__trial-side {
    border-left: 0;
    border-top: 1px solid rgba(250, 245, 234, 0.12);
  }

  .d-offer__after {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .d-offer__after-text {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .d-offer__notice {
    grid-template-columns: 1fr;
    border-left-width: 1px;
    border-top: 4px solid var(--terra, #c54b1e);
    border-radius: 16px;
  }

  .d-offer__notice-cols {
    grid-template-columns: 1fr;
  }

  /* table collapses to stacked plan cards */
  .d-offer__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .d-offer__table,
  .d-offer__table tbody,
  .d-offer__table tr,
  .d-offer__table th,
  .d-offer__table td {
    display: block;
    width: 100%;
  }

  .d-offer__table tbody tr {
    padding: 20px 0;
  }

  .d-offer__table tbody tr + tr {
    border-top: 1px solid rgba(31, 26, 18, 0.1);
  }

  .d-offer__table tbody tr + tr th,
  .d-offer__table tbody tr + tr td {
    border-top: 0;
  }

  .d-offer__table th,
  .d-offer__table td {
    padding: 4px 20px;
  }

  .d-offer__table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: rgba(31, 26, 18, 0.52);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .d-offer__table td {
    padding-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .d-offer__table tbody tr,
  .d-offer__compare {
    transition: none;
  }
}

/* ───────── Plans table inside the dark trial card ───────── */
.d-offer__trial {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.d-offer__trial-side {
  justify-content: center;
  gap: 0;
}

.d-offer__side-kicker {
  margin: 0 0 18px;
  color: #e8a87c;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.d-offer__table--dark {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(250, 245, 234, 0.16);
  border-radius: 16px;
  background: rgba(250, 245, 234, 0.04);
}

.d-offer__table--dark th,
.d-offer__table--dark td {
  padding: 16px clamp(12px, 1.4vw, 18px);
  font-size: 15px;
  line-height: 1.35;
}

.d-offer__table--dark thead th {
  background: rgba(250, 245, 234, 0.07);
  border-bottom: 1px solid rgba(250, 245, 234, 0.14);
  color: rgba(250, 245, 234, 0.62);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

.d-offer__table--dark tbody th {
  color: #fefcf5;
  font-size: clamp(19px, 1.7vw, 23px);
  white-space: nowrap;
}

.d-offer__table--dark td,
.d-offer__table--dark td.d-offer__more {
  color: rgba(250, 245, 234, 0.86);
  font-weight: 500;
}

.d-offer__table--dark tbody tr + tr th,
.d-offer__table--dark tbody tr + tr td {
  border-top: 1px solid rgba(250, 245, 234, 0.1);
}

.d-offer__table--dark tbody tr:hover {
  background: rgba(250, 245, 234, 0.05);
}

.d-offer__table--dark tr.is-trial {
  background: rgba(197, 75, 30, 0.22);
}

.d-offer__table--dark tr.is-trial th {
  color: #e8a87c;
}

.d-offer__table--dark tr.is-trial td {
  color: #fefcf5;
  font-weight: 600;
}

.d-offer__compare--light {
  align-self: flex-start;
  margin-top: 22px;
  color: #e8a87c;
  border-bottom-color: #e8a87c;
}

.d-offer__compare--light:hover {
  color: #fefcf5;
  border-bottom-color: #fefcf5;
}

.d-offer__fee {
  margin: calc(-1 * clamp(18px, 2.4vw, 32px)) 0 0;
  max-width: 52em;
  color: rgba(31, 26, 18, 0.62);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .d-offer__trial {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .d-offer__table--dark tbody tr {
    padding: 16px 0;
  }

  .d-offer__table--dark tbody th {
    white-space: normal;
  }

  .d-offer__table--dark td::before {
    color: rgba(250, 245, 234, 0.55);
  }

  .d-offer__table--dark tbody tr + tr {
    border-top: 1px solid rgba(250, 245, 234, 0.1);
  }

  .d-offer__table--dark tbody tr + tr th,
  .d-offer__table--dark tbody tr + tr td {
    border-top: 0;
  }

  .d-offer__table--dark tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    padding: 16px 18px;
  }

  .d-offer__table--dark tbody th {
    grid-column: 1 / -1;
  }

  .d-offer__table--dark tbody th,
  .d-offer__table--dark td {
    width: auto;
    padding: 0;
  }
}

.d-offer__side-title {
  margin: 0 0 14px;
  color: #fefcf5;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.d-offer__side-title em {
  color: #e8a87c;
  font-style: italic;
}

.d-offer__side-text {
  margin: 0 0 clamp(22px, 2.4vw, 28px);
  color: rgba(250, 245, 234, 0.76);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
}

/* ───────── Intro heading above the trial card ───────── */
.d-offer__intro {
  margin: 0 0 clamp(-8px, -1vw, 0px);
}

main .d-offer .d-offer__intro .d-how__title {
  margin-bottom: clamp(12px, 1.5vw, 16px);
}

main .d-offer .d-offer__intro .d-how__title em {
  display: block;
  margin-top: 0.12em;
  font-weight: 400;
}

main .d-offer .d-offer__intro .d-how__lede {
  margin-bottom: 0;
}
