/* The comparison uses the same hp3 layout and buttons as the home page. */
.pricing-page main [id], .price-sites[id], .price-plans[id], .price-sites [id], .price-plans [id] { scroll-margin-top: 88px; }
.price-hero {
  overflow: clip;
  padding-block: var(--hero-padding);
}
.price-hero-grid, .price-solo {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.price-hero-grid {
  /* The artwork was 5/9 of the original grid after its gap. At 150% it takes 5/6. */
  --hero-art-width: calc((min(100vw - 96px, 1240px) - clamp(24px, 4vw, 64px)) * 5 / 6);
  width: min(100%, 1780px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(16px, 2vw, 32px);
}
.price-hero .h1 { font-size: var(--hero-title-size); line-height: 1.12; }
.price-hero .ctas { margin-top: 26px; }
.price-hero .h1 .l, .pricing-page main .h2 .l, .price-sites .h2 .l { white-space: normal; }
.price-intro { margin-top: 26px; max-width: 40em; color: var(--soft); font-size: var(--hero-lead-size); line-height: 1.5; }
.price-label { margin-bottom: 10px; font-size: .94rem; color: var(--accent-ink); }
.price-art { display: block; width: 100%; height: auto; object-fit: contain; justify-self: center; }
.price-hero .price-art { width: var(--hero-art-width); max-width: none; justify-self: end; pointer-events: none; }
.price-hero-copy { position: relative; z-index: 1; }
.price-plans { padding-block-start: clamp(24px, 2.6vw, 38px); }
.price-plans .hp3 { margin-block-start: clamp(22px, 2.4vw, 36px); }
.price-plan-intro { text-align: center; }
.price-comparison-note { margin-top: 8px; color: var(--soft); }
.price-plans .hp-after .tlink { justify-self: center; }
.price-panel, .price-extras { border-block-start: 1px solid var(--line); }

.price-solo { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.price-solo-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-bottom: 12px; }
.price-amount { color: var(--soft); white-space: nowrap; }
.price-amount bdi { color: var(--fg); font-size: 1.35rem; }
.price-solo-copy > p, .price-site-copy > p:not(.price-label), .price-included > p:not(.price-label),
.price-details p, .price-extras p { color: var(--soft); line-height: 1.65; margin-top: 8px; }
.price-solo-copy > p, .price-site-copy > p:not(.price-label), .price-included > p:not(.price-label) { max-width: 66ch; }
.price-solo-copy b { color: var(--fg); }
.price-solo-copy .btn { margin-top: 18px; }
.price-solo small, .price-site-setup > small { display: block; margin-top: 8px; color: var(--muted); font-size: .875rem; }
.price-solo .price-art { max-height: 215px; }

/* The illustration and table share a single surface. Grid areas follow RTL order. */
.price-sites {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1.08fr);
  grid-template-areas: "intro art" "setup art" "next next";
  align-items: center;
  gap: 22px clamp(18px, 2.5vw, 36px);
  padding: clamp(22px, 3vw, 42px);
  border: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse at 10% 72%, #f7ebde 0%, transparent 48%), linear-gradient(130deg, #fbf6ef, #fdfaf6);
}
.price-site-copy { grid-area: intro; }
.price-site-copy .h2 { text-wrap: balance; }
.price-site-setup { grid-area: setup; min-width: 0; }
.price-site-setup .price-stage { margin-top: 0; }
.price-sites > .price-art {
  grid-area: art;
  width: 100%;
  max-width: 470px;
  height: auto;
  object-fit: contain;
}
.price-site-setup .setup-table { background: rgb(255 255 255 / 36%); }
.price-sites .price-site-next {
  grid-area: next;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--line);
}
.price-stage { margin: 24px 0 12px; font-size: 1.12rem; line-height: 1.45; }
.price-stage > span { color: var(--accent-ink); }
.price-stage small, .price-details small { font-size: .92rem; color: var(--soft); }
.setup-table { width: 100%; border-collapse: collapse; }
.setup-table th, .setup-table td { text-align: start; padding: 12px 10px; border-bottom: 1px solid var(--line); line-height: 1.55; }
.setup-table thead { background: var(--tile); }
.setup-table tbody th { width: 25%; }
.setup-table .setup-price { width: 21%; }
.setup-price small { font-size: inherit; }
.price-icon { display: inline-block; flex: none; width: 24px; height: 24px; background: url("assets/pricing/icons.webp") no-repeat; background-size: 1500% 100%; background-position: calc(var(--icon) * 100% / 14) 0; mix-blend-mode: multiply; }
.setup-table tbody th .price-icon { vertical-align: middle; margin-inline-end: 5px; }
.price-site-next, .price-extras { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.price-site-next { grid-column: 1 / -1; }
.price-site-next .price-stage { margin-top: 0; }
.price-site-next .btn, .price-extras > .btn { flex-shrink: 0; }

.price-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin-top: 28px; }
.price-details li { border-block-start: 1px solid var(--line); padding-top: 14px; }
.price-detail-head { color: var(--accent-ink); font-size: .94rem; margin-bottom: 8px; }
.price-details h3 { font-size: 1.22rem; }
.price-details small { display: block; margin-top: 3px; }
.price-details p .en { font-size: inherit; color: inherit; }
.price-extras ul { display: grid; gap: 8px; margin-block: 14px; }
.price-extras li { display: flex; align-items: center; gap: 8px; }

@media (min-width: 961px) {
  .price-sites > .price-art { align-self: center; margin-block-start: clamp(36px, 5vw, 74px); }
}
@media (max-width: 960px) {
  .price-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-sites {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    grid-template-areas: "intro art" "setup setup" "next next";
  }
}
@media (min-width: 1141px) and (max-width: 1600px) {
  .price-hero-copy { align-self: start; padding-block-start: clamp(0px, 24vw - 290px, 86px); }
  .price-hero .price-art { margin-block-start: clamp(0px, 584px - 36vw, 155px); }
}
@media (min-width: 1141px) {
  .price-hero-grid { padding-inline-start: clamp(72px, 7vw, 152px); }
  .price-hero .price-art {
    transform: translate(-6%, clamp(-52px, -3vw, -32px));
  }
}
@media (max-width: 1140px) {
  .price-hero-grid { width: calc(100% - 32px); grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .price-hero-copy { text-align: center; padding-inline: clamp(8px, 2.75vw, 24px); }
  .price-hero-copy .price-intro { margin-inline: auto; }
  .price-hero .ctas { justify-content: center; }
  .price-hero .price-art { width: min(100%, var(--hero-art-width)); justify-self: center; transform: translateX(-2.5%); }
}
@media (max-width: 960px) {
  .price-hero-grid { --hero-art-width: 690px; }
}
@media (max-width: 760px) {
  .price-solo { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .price-hero .price-art { width: min(100vw, 489px); max-width: none; }
  .price-solo .price-art { width: min(76%, 270px); max-height: 168px; }
  .price-site-next, .price-extras { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 660px) {
  .price-sites {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "art" "setup" "next";
    gap: 18px;
    padding: clamp(16px, 4.4vw, 24px);
  }
  .price-sites > .price-art { width: min(78%, 280px); }
}
@media (max-width: 540px) {
  .price-details { grid-template-columns: minmax(0, 1fr); }
  .setup-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .setup-table tbody { display: grid; }
  .setup-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 14px 0; border-block-end: 1px solid var(--line); }
  .setup-table tbody tr > * { width: auto; border: 0; padding: 0; }
  .setup-table tbody td:not(.setup-price) { grid-column: 1 / -1; grid-row: 2; color: var(--soft); }
  .setup-table .setup-price { grid-column: 2; grid-row: 1; width: auto; max-width: 8em; color: var(--accent-ink); }
}

.price-choices .sec-head { margin-bottom: clamp(22px, 3vw, 38px); }
.price-choices .inc { flex: none; margin-bottom: 12px; }
.price-choices .hp-box-price { display: grid; gap: 2px; margin-bottom: 20px; }
@media (max-width: 540px) {
  .price-site-setup .setup-table { background: transparent; }
}
