/* Pricing V4: one clear refresh offer, followed by quiet editorial disclosures. */
.pricing-v4 {
  --pv4-ink: #18151d;
  --pv4-paper: #f4f1ed;
  --pv4-coral: #b5d4a0;
  --pv4-lavender: #b7accb;
  --pv4-muted: #67596c;
  --pv4-line: #d0c8cc;
  background: var(--pv4-paper);
  color: var(--pv4-ink);
}

.pricing-v4 h1,
.pricing-v4 h2,
.pricing-v4 h3,
.pv4-refresh-amount,
.pv4-row-name,
.pv4-price-amount {
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
}

.pv4-refresh {
  padding-block: clamp(60px, 6.5vw, 100px) 0;
  background: var(--pv4-ink);
  color: var(--pv4-paper);
}

.pv4-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(35px, 5vw, 80px);
  padding-bottom: clamp(55px, 6vw, 95px);
}

.pv4-feature-copy .eyebrow {
  margin-bottom: 25px;
  color: var(--pv4-lavender);
}

.pv4-feature-copy h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(49px, 5.6vw, 85px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.055em;
}

.pv4-feature-copy h1 em {
  color: var(--pv4-lavender);
  font-style: normal;
  font-weight: 400;
}

.pv4-intro {
  max-width: 400px;
  margin-top: 27px;
  color: #d1c7d8;
  font-size: 18px;
  line-height: 1.65;
}

.pv4-primary {
  margin-top: 13px;
  padding: 17px 23px;
  border-color: var(--pv4-coral);
  background: var(--pv4-coral);
  color: var(--pv4-ink);
}

.pv4-primary:hover {
  border-color: var(--pv4-paper);
  background: var(--pv4-paper);
  color: var(--pv4-ink);
}

.pv4-feature-price {
  justify-self: end;
  min-width: 0;
  padding-bottom: 5px;
}

.pv4-refresh-amount {
  margin: 0 0 18px;
  color: var(--pv4-coral);
  font-size: clamp(90px, 11.5vw, 164px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.075em;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}

.pv4-price-note {
  margin: 0;
  padding-left: 9px;
  color: #d1c7d8;
  font-size: 13px;
  line-height: 1.8;
}

.pv4-refresh-details {
  border-top: 1px solid #53465c;
}

.pv4-refresh-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 24px;
  color: #d9d0df;
  font-size: 12px;
  line-height: 1.6;
}

.pricing-v4 summary {
  list-style: none;
  cursor: pointer;
}

.pricing-v4 summary::-webkit-details-marker {
  display: none;
}

.pv4-disclosure-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 22px;
  color: var(--pv4-muted);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transition: transform .2s ease;
}

.pv4-refresh-details .pv4-disclosure-icon {
  color: var(--pv4-lavender);
}

.pricing-v4 details[open] > summary .pv4-disclosure-icon {
  transform: rotate(45deg);
}

.pv4-refresh-terms {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(35px, 5vw, 80px);
  padding-block: 8px 40px;
}

.pv4-refresh-terms h2 {
  margin-bottom: 16px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.pv4-refresh-terms p {
  max-width: 550px;
  color: #c6bccd;
  font-size: 14px;
  line-height: 1.8;
}

.pv4-refresh a:focus-visible,
.pv4-refresh summary:focus-visible {
  outline-color: var(--pv4-coral);
}

.pv4-other-work {
  padding-block: clamp(65px, 7vw, 105px) 75px;
}

.pv4-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: 0 70px;
  margin-bottom: 45px;
}

.pv4-section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 23px;
  color: var(--pv4-muted);
}

.pv4-section-heading h2 {
  max-width: 15ch;
  font-size: clamp(36px, 4vw, 59px);
  line-height: 1.08;
}

.pv4-section-heading > p {
  justify-self: end;
  max-width: 290px;
  margin: 0 0 4px;
  color: var(--pv4-muted);
  font-size: 14px;
  line-height: 1.75;
}

.pv4-offer-row {
  border-top: 1px solid var(--pv4-line);
}

.pv4-offer-row:last-child {
  border-bottom: 1px solid var(--pv4-line);
}

.pv4-offer-row > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) auto 22px;
  align-items: center;
  gap: 28px;
  padding-block: 31px;
}

.pv4-row-name {
  font-size: clamp(23px, 2.25vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.pv4-row-outcome {
  max-width: 270px;
  color: var(--pv4-muted);
  font-size: 13px;
  line-height: 1.6;
}

.pv4-row-price {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 7px;
  white-space: nowrap;
}

.pv4-price-prefix,
.pv4-price-interval {
  color: var(--pv4-muted);
  font-size: 11px;
  line-height: 1.5;
}

.pv4-price-amount {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.045em;
  font-variant-numeric: lining-nums;
}

.pv4-offer-row > summary:hover .pv4-row-name {
  color: #805364;
}

.pv4-row-content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 65px;
  padding: 0 0 35px 17%;
}

.pv4-row-terms p {
  max-width: 650px;
  color: var(--pv4-muted);
  font-size: 14px;
  line-height: 1.8;
}

.pv4-row-terms p:first-child {
  color: var(--pv4-ink);
}

.pv4-row-link {
  justify-self: end;
  gap: 24px;
  max-width: 100%;
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.6;
}

.pv4-ongoing {
  margin-top: 58px;
}

.pv4-ongoing > h3 {
  margin-bottom: 24px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.pv4-pricing-close {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin-top: 55px;
}

.pv4-pricing-close > p {
  margin: 0;
  color: var(--pv4-muted);
  font-size: 14px;
}

.pv4-pricing-close .text-link {
  font-size: 13px;
}

@media (max-width: 1000px) {
  .pv4-feature-grid,
  .pv4-refresh-terms { gap: 35px; }
  .pv4-intro { font-size: 17px; }
  .pv4-section-heading { gap: 0 40px; }
  .pv4-offer-row > summary { gap: 20px; }
  .pv4-row-content { gap: 35px; padding-left: 9%; }
  .pv4-row-link { gap: 16px; }
}

@media (max-width: 760px) {
  .pv4-refresh { padding-top: 48px; }
  .pv4-feature-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .pv4-feature-copy h1 { max-width: none; font-size: clamp(45px, 10.8vw, 70px); }
  .pv4-feature-copy .eyebrow { margin-bottom: 20px; }
  .pv4-intro { max-width: 450px; margin-top: 24px; font-size: 16px; }
  .pv4-primary { margin-top: 9px; }
  .pv4-feature-price { justify-self: start; padding-bottom: 0; }
  .pv4-refresh-amount { margin-bottom: 15px; font-size: clamp(76px, 24vw, 144px); }
  .pv4-price-note { padding-left: 5px; font-size: 12px; }
  .pv4-refresh-details > summary { gap: 18px; padding-block: 23px; font-size: 12px; }
  .pv4-refresh-terms { grid-template-columns: 1fr; gap: 25px; padding-block: 5px 32px; }
  .pv4-refresh-terms h2 { font-size: 22px; margin-bottom: 13px; }
  .pv4-refresh-terms p { max-width: none; font-size: 14px; }
  .pv4-other-work { padding-block: 60px; }
  .pv4-section-heading { display: block; margin-bottom: 32px; }
  .pv4-section-heading h2 { max-width: none; font-size: 39px; }
  .pv4-section-heading .eyebrow { margin-bottom: 20px; }
  .pv4-section-heading > p { max-width: 350px; margin-top: 20px; font-size: 13px; }
  .pv4-offer-row > summary { grid-template-columns: minmax(0, 1fr) auto 18px; gap: 10px 12px; padding-block: 25px; }
  .pv4-row-name { grid-column: 1; grid-row: 1; font-size: 24px; }
  .pv4-row-outcome { grid-column: 1 / 3; grid-row: 2; max-width: none; font-size: 12px; }
  .pv4-row-price { grid-column: 2; grid-row: 1; gap: 5px; }
  .pv4-price-amount { font-size: 27px; }
  .pv4-price-prefix,
  .pv4-price-interval { font-size: 9px; }
  .pv4-offer-row > summary > .pv4-disclosure-icon { grid-column: 3; grid-row: 1 / 3; width: 18px; font-size: 23px; }
  .pv4-row-content { display: block; padding: 0 0 28px; }
  .pv4-row-terms p { max-width: none; font-size: 14px; }
  .pv4-row-link { margin-top: 6px; font-size: 12px; }
  .pv4-ongoing { margin-top: 40px; }
  .pv4-ongoing > h3 { margin-bottom: 22px; font-size: 23px; }
  .pv4-pricing-close { display: block; margin-top: 38px; }
  .pv4-pricing-close .text-link { margin-top: 12px; }
}

@media (max-width: 365px) {
  .pv4-row-name { font-size: 22px; }
  .pv4-price-amount { font-size: 25px; }
  .pv4-offer-row > summary { gap: 10px; }
  .pv4-price-prefix,
  .pv4-price-interval { font-size: 8px; }
  .pv4-feature-copy h1 { font-size: 43px; }
  .pv4-section-heading h2 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-v4 *,
  .pricing-v4 *::before,
  .pricing-v4 *::after { animation: none !important; transition: none !important; }
}
