.dd-pricing {
  --pricing-navy: var(--dd2-navy, #07182f);
  --pricing-paper: var(--dd2-paper, #fffdf8);
  --pricing-gold: var(--dd2-gold, #b8934f);
  --pricing-muted: var(--dd2-muted, #637083);
  --pricing-line: var(--dd2-line, rgba(15, 39, 68, .16));
  color: var(--pricing-navy);
}

.dd-pricing-hero {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.dd-pricing-eyebrow {
  margin: 0 0 8px;
  color: #7b5a1d;
  font: 700 11px/1.4 var(--mono, "IBM Plex Mono", monospace);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.dd-pricing-hero h1 {
  margin: 0;
  color: var(--pricing-navy);
  font: 700 clamp(29px, 5vw, 42px)/1.12 var(--serif, Georgia, serif);
}

.dd-pricing-intro {
  margin: 14px auto 0;
  color: #465267;
  font: 500 15px/1.7 var(--sans, Inter, sans-serif);
}

.dd-pricing-notice {
  margin: 18px auto 0;
  padding: 12px 15px;
  color: #5f4518;
  background: #fbf4e3;
  border: 1px solid rgba(184, 147, 79, .35);
  border-radius: 5px;
  font: 650 12px/1.55 var(--sans, Inter, sans-serif);
}

.dd-pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.dd-pricing-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(145deg, var(--pricing-paper), #f8f0dc);
  border: 1px solid rgba(184, 147, 79, .48);
  border-top: 3px solid var(--pricing-gold);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(7, 24, 47, .09);
}

.dd-pricing-plan[data-checkout-state="disabled"],
.dd-pricing-plan[data-checkout-state="closed"],
.dd-pricing-plan[data-checkout-state="upcoming"] {
  background: #f3f0e9;
  border-color: var(--pricing-line);
  box-shadow: none;
}

.dd-pricing-plan-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dd-pricing-plan h2 {
  margin: 0;
  color: var(--pricing-navy);
  font: 700 21px/1.25 var(--serif, Georgia, serif);
}

.dd-pricing-plan-badge {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 5px 8px;
  color: #735217;
  background: rgba(184, 147, 79, .12);
  border: 1px solid rgba(184, 147, 79, .3);
  border-radius: 999px;
  font: 750 9px/1 var(--mono, "IBM Plex Mono", monospace);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dd-pricing-price {
  flex: 0 0 auto;
  margin: 0;
  text-align: right;
}

.dd-pricing-price strong {
  display: block;
  color: var(--pricing-navy);
  font: 800 25px/1 var(--sans, Inter, sans-serif);
}

.dd-pricing-price span {
  display: block;
  margin-top: 6px;
  color: var(--pricing-muted);
  font: 650 10px/1.3 var(--sans, Inter, sans-serif);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dd-pricing-description,
.dd-pricing-renewal {
  color: #465267;
  font: 500 13px/1.65 var(--sans, Inter, sans-serif);
}

.dd-pricing-plan-features {
  flex: 1;
  margin: 15px 0 20px;
  padding-left: 19px;
  color: #39475b;
  font: 500 13px/1.65 var(--sans, Inter, sans-serif);
}

.dd-pricing-renewal {
  margin-top: auto;
  color: var(--pricing-muted);
  font-size: 11px;
}

.dd-pricing-cta {
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  padding: 10px 16px;
  color: #fff;
  background: var(--pricing-navy);
  border: 1px solid var(--pricing-navy);
  border-radius: 4px;
  font: 750 13px/1.3 var(--sans, Inter, sans-serif);
  cursor: pointer;
}

.dd-pricing-cta:hover:not(:disabled),
.dd-pricing-cta:focus-visible:not(:disabled) {
  color: var(--pricing-navy);
  background: #f0dba6;
  border-color: var(--pricing-gold);
}

.dd-pricing-cta:focus-visible {
  outline: 3px solid rgba(184, 147, 79, .42);
  outline-offset: 2px;
}

.dd-pricing-cta:disabled {
  color: #697486;
  background: #e8e5de;
  border-color: #d2cec4;
  cursor: not-allowed;
}

.dd-pricing-empty {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--pricing-muted);
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--pricing-line, rgba(15, 39, 68, .16));
  text-align: center;
}

.dd-pricing-faqs {
  max-width: 760px;
  margin: 34px auto 0;
}

.dd-pricing-faqs > h2 {
  margin: 0 0 12px;
  font: 700 22px/1.3 var(--serif, Georgia, serif);
}

.dd-pricing-faqs details {
  padding: 13px 0;
  border-top: 1px solid var(--pricing-line);
}

.dd-pricing-faqs summary {
  color: var(--pricing-navy);
  font: 700 13px/1.5 var(--sans, Inter, sans-serif);
  cursor: pointer;
}

.dd-pricing-faqs details p,
.dd-pricing-fine-print {
  color: var(--pricing-muted);
  font: 500 12px/1.65 var(--sans, Inter, sans-serif);
}

.dd-pricing-fine-print {
  max-width: 760px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--pricing-line);
  text-align: center;
}

.dd2-payment-account {
  display: grid;
  gap: 3px;
  margin: -4px 0 14px;
  padding: 12px 14px;
  color: #39475b;
  background: #f6f2e9;
  border: 1px solid var(--pricing-line, rgba(15, 39, 68, .16));
  font: 600 12px/1.5 var(--sans, Inter, sans-serif);
  white-space: pre-line;
}

.dd2-payment-account strong { color: var(--pricing-navy, #07182f); }
.dd2-payment-method-choice { margin-top: 20px; }

.dd-pricing-regular {
  width: 100%;
}

.dd-regular-checkout {
  display: grid;
  grid-template-columns: minmax(300px, 1.04fr) minmax(300px, .98fr) minmax(340px, 1.08fr);
  width: 100%;
  min-width: 0;
}

.dd-regular-summary,
.dd-regular-qr,
.dd-regular-proof-slot {
  min-width: 0;
  padding: 0 clamp(24px, 2.35vw, 38px);
}

.dd-regular-summary {
  padding-left: 0;
}

.dd-regular-qr,
.dd-regular-proof-slot {
  border-left: 1px solid rgba(184, 147, 79, .48);
}

.dd-regular-proof-slot {
  padding-right: 0;
}

.dd-regular-price {
  margin: -4px 0 0;
  text-align: center;
}

.dd-regular-price strong {
  display: block;
  color: var(--pricing-navy);
  font: 700 clamp(64px, 6vw, 88px)/.92 var(--serif, Georgia, serif);
  letter-spacing: -.035em;
}

.dd-regular-price span {
  display: block;
  margin-top: 12px;
  color: #845a10;
  font: 700 15px/1.25 var(--mono, "IBM Plex Mono", monospace);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dd-regular-divider {
  height: 1px;
  margin: 17px 0 12px;
  background: rgba(184, 147, 79, .6);
}

.dd-regular-summary h2,
.dd-regular-qr h2 {
  margin: 0;
  color: var(--pricing-navy);
  font: 700 23px/1.18 var(--serif, Georgia, serif);
  text-align: center;
}

.dd-regular-description {
  max-width: 390px;
  margin: 13px auto 12px;
  color: #233a59;
  font: 500 12px/1.45 var(--sans, Inter, sans-serif);
  text-align: center;
}

.dd-regular-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dd-regular-features li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 41px;
  padding: 7px 0;
  color: #112c4f;
  border-bottom: 1px dashed rgba(15, 39, 68, .15);
  font: 500 13px/1.35 var(--sans, Inter, sans-serif);
}

.dd-regular-features img,
.dd-regular-assurance img {
  filter: brightness(0) saturate(100%) invert(54%) sepia(39%) saturate(833%) hue-rotate(3deg) brightness(93%) contrast(91%);
}

.dd-regular-assurance {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 25px;
  color: #112c4f;
}

.dd-regular-assurance p {
  margin: 0;
  font: 550 12.5px/1.45 var(--sans, Inter, sans-serif);
}

.dd-regular-renewal {
  margin: 40px 0 0 44px;
  color: #183454;
  font: 500 12px/1.4 var(--sans, Inter, sans-serif);
}

.dd-regular-renewal span {
  padding-inline: 4px;
}

.dd-regular-channel {
  display: grid;
  grid-template-columns: minmax(30px, 56px) auto minmax(30px, 56px);
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 8px 0 20px;
  color: #845a10;
  font: 700 12px/1.3 var(--mono, "IBM Plex Mono", monospace);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dd-regular-channel span {
  height: 1px;
  background: rgba(184, 147, 79, .75);
}

.dd-regular-qr-card {
  width: min(100%, 356px);
  margin: 16px auto 0;
  padding: 25px 23px 46px;
  background: rgba(255, 255, 255, .63);
  border: 1px solid rgba(184, 147, 79, .38);
  border-radius: 9px;
  text-align: center;
}

.dd-regular-bpi-mark {
  display: block;
  width: 110px;
  height: 60px;
  margin: -2px auto 16px;
  object-fit: contain;
}

.dd-regular-qr-card > strong {
  display: block;
  margin-bottom: 15px;
  color: #102d49;
  font: 800 19px/1.1 var(--sans, Inter, sans-serif);
  letter-spacing: .01em;
}

.dd-regular-qr-image {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin: 0 auto;
  background: #fff;
}

.dd-regular-qr-card figcaption strong,
.dd-regular-qr-card figcaption span {
  display: block;
}

.dd-regular-qr-card figcaption strong {
  margin-top: 11px;
  color: #102d49;
  font: 700 26px/1.1 var(--sans, Inter, sans-serif);
}

.dd-regular-qr-card figcaption span {
  margin-top: 8px;
  color: #5c697b;
  font: 500 13px/1.35 var(--sans, Inter, sans-serif);
}

@media (max-width: 1120px) {
  .dd-regular-checkout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dd-regular-proof-slot {
    grid-column: 1 / -1;
    margin-top: 30px;
    padding: 30px 0 0;
    border-top: 1px solid rgba(184, 147, 79, .48);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .dd-regular-checkout {
    grid-template-columns: 1fr;
  }
  .dd-regular-summary,
  .dd-regular-qr,
  .dd-regular-proof-slot {
    padding: 0;
    border-left: 0;
  }
  .dd-regular-qr,
  .dd-regular-proof-slot {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(184, 147, 79, .48);
  }
  .dd-regular-price strong { font-size: 68px; }
  .dd-regular-renewal { margin-left: 44px; }
}

@media (max-width: 560px) {
  .dd-pricing-hero { text-align: left; }
  .dd-pricing-plan-heading { display: block; }
  .dd-pricing-price { margin-top: 14px; text-align: left; }
  .dd-pricing-price span { display: inline; margin-left: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .dd-pricing-cta { transition: none; }
}
