:root {
  --price-size-kicker: 0.8125rem;
  --price-size-refund: clamp(1.5rem, 2.7vw, 2.125rem);
  --price-column-gap: clamp(20px, 5vw, 72px);
}

.price-intro-layout,
.price-shared-layout,
.price-settlement {
  display: grid;
  align-items: start;
  column-gap: var(--price-column-gap);
  row-gap: 24px;
}

.price-intro-layout {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: end;
}

.price-intro h1 {
  margin-top: 16px;
  margin-bottom: 0;
}

.price-intro-note {
  border-inline-start: 3px solid var(--accent);
}

.price-intro-note p:first-child {
  margin-bottom: 4px;
}

.price-kicker {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font: 600 var(--price-size-kicker)/1.4 var(--font-mono);
  letter-spacing: .08em;
}

.price-section-copy {
  max-width: var(--reading-measure);
}

.price-table-hint {
  margin-bottom: 8px;
}

.price-sheet td:nth-child(2),
.price-sheet td:nth-child(4) {
  font-family: var(--font-mono);
}

.price-sheet td:nth-child(2) {
  font-weight: 600;
}

.price-sheet tbody + tbody th[scope="row"] {
  color: var(--warm-ink);
}

.price-cycle {
  width: fit-content;
}

.price-rule {
  margin-bottom: 16px;
  color: var(--muted);
}

.price-rule .tag {
  margin-inline-end: 6px;
  background: var(--lilac);
  color: var(--accent-dark);
  vertical-align: middle;
}

.price-plan-set--pack .price-rule .tag,
.price-plan-set--pack .plan-card .tag {
  background: var(--warm-surface);
  color: var(--warm-ink);
}

.price-plan-set .plan-card .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.price-shared-layout {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.price-shared-list {
  margin: 0;
}

.price-shared-list > div + div {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.price-shared-list dt {
  margin-bottom: 4px;
  font-weight: 700;
}

.price-shared-list dd {
  margin: 0;
}

.price-comparison .data-table {
  table-layout: fixed;
}

.price-comparison th:first-child {
  width: 24%;
}

.price-settlement {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.price-payment-methods {
  margin-bottom: 16px;
}

.price-refund-note {
  border-block-start: 3px solid var(--coral);
}

.price-refund-note .price-kicker {
  color: var(--warm-ink);
}

.price-refund-note h2 {
  font-size: var(--price-size-refund);
}

.price-faq-more {
  margin-top: 18px;
  margin-bottom: 0;
}

.price-page :is(dd, .price-faq-more) a {
  color: var(--accent-dark);
}

@media (max-width: 768px) {
  .price-intro-layout,
  .price-shared-layout,
  .price-settlement {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }

  .price-intro .lede {
    font-size: var(--size-body);
  }
}