/*
 * Pricing page (design/Able Site Pricing.dc.html). Every size, gap, radius and padding is the
 * design's inline value, moved into classes. Colour only from theme.colors.css.
 */

/* Sections: 1240 including their 20px side padding, as drawn. */
.pr-sec {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
.pr-strong {
  font-weight: 600;
}
.pr-strong-700 {
  font-weight: 700;
}
.pr-card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

/* Intro */
.pr-intro {
  padding-top: 36px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pr-h1 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 54px);
  line-height: 1.06;
  margin: 0;
}
.pr-lede {
  max-width: 36em;
  line-height: 1.55;
}
/* Who the page is not for, and where their prices are: one plain line under the lede. */
.pr-org-note {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--textSecondary);
  max-width: 44em;
}
.pr-org-note a {
  font-weight: 600;
  color: var(--textPrimary);
}
.pr-banner {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: var(--hair) solid var(--border);
  font-size: 18px;
}
.pr-banner-lead,
.pr-banner strong {
  font-weight: 700;
}

/* Membership cards */
.pr-plans {
  padding-bottom: 32px;
}
.pr-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 16px;
  max-width: 900px;
}
.pr-plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  border: var(--strong) solid var(--borderStrong);
}
.pr-plan-best {
  border-color: var(--positive);
}
.pr-plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pr-tag {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  border: var(--strong) solid var(--fillEdge);
}
.pr-tag-clay {
  background: var(--clayTint);
}
.pr-tag-positive {
  background: var(--positiveTint);
}
.pr-price {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  font-size: 46px;
  line-height: 1;
}
.pr-price-unit {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 20px;
}
.pr-save {
  color: var(--textAccent);
  font-weight: 600;
}
.pr-plan-list {
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: var(--hair) solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pr-plan-cta {
  margin-top: 6px;
  min-height: 52px;
  padding: 0 24px;
}
.pr-cta-outline {
  border-color: var(--primaryAction);
}
.pr-gst {
  margin: 16px 0 0;
  font-size: 18px;
  max-width: 60em;
}

/* Adding participants */
.pr-adding {
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pr-h2-adding {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  margin: 0;
}
.pr-adding-intro {
  margin: 0;
  max-width: 40em;
  text-wrap: pretty;
}
.pr-adding-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
}
.pr-rate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}
.pr-rate {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: var(--hair) solid var(--border);
}
.pr-rate-face,
.pr-rate-plus {
  width: 52px;
  height: 52px;
  border-radius: 26px;
  flex: none;
}
.pr-rate-face {
  object-fit: cover;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border);
}
.pr-rate-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  background: var(--positiveTint);
  color: var(--textPrimary);
  border: var(--strong) solid var(--fillEdge);
}
.pr-rate-text {
  display: flex;
  flex-direction: column;
}
.pr-rate-price {
  font-size: 20px;
  font-weight: 700;
}

.pr-total-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pr-total-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

/* Billing: a segmented control of two real buttons. The selected one is filled and carries a
   tick, so the choice is not told by colour alone; aria-pressed tells assistive technology. */
.pr-bill {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 100px;
  background: var(--surface);
  border: var(--strong) solid var(--borderStrong);
}
.pr-bill[hidden] {
  display: none;
}
.pr-bill-option {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  border-radius: 100px;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  color: var(--textPrimary);
  background: transparent;
}
.pr-bill-option:hover {
  background: var(--hoverTint);
}
.pr-bill-option[aria-pressed="true"] {
  color: var(--onPrimaryAction);
  background: var(--primaryAction);
}
.pr-bill-tick {
  display: none;
  flex: none;
}
.pr-bill-option[aria-pressed="true"] .pr-bill-tick {
  display: block;
}

.pr-totals {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}
.pr-total {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: var(--surface);
  border: var(--hair) solid var(--border);
}
.pr-total-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pr-faces {
  display: flex;
}
.pr-faces img {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border);
  position: relative;
}
.pr-faces img + img {
  margin-left: -12px;
}
.pr-faces img:nth-child(1) {
  z-index: 3;
}
.pr-faces img:nth-child(2) {
  z-index: 2;
}
.pr-faces img:nth-child(3) {
  z-index: 1;
}
.pr-total-label {
  font-size: 17px;
  font-weight: 700;
}
.pr-total-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pr-total-amount {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
}
.pr-total-unit {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 18px;
}
.pr-total-then {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: var(--hair) solid var(--divider);
  font-size: 16px;
}
.pr-note {
  margin: 0;
}

/* Inclusions band */
.pr-band {
  padding: 40px 20px;
  background: var(--surface);
  border-top: var(--hair) solid var(--border);
  border-bottom: var(--hair) solid var(--border);
}
.pr-incl-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.pr-incl {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
  background: var(--background);
  border: var(--hair) solid var(--border);
}
.pr-incl-member {
  border: var(--strong) solid var(--positive);
}
.pr-incl ul {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pr-incl p {
  margin: 0;
  text-wrap: pretty;
}
.pr-band-note {
  max-width: 1240px;
  margin: 16px auto 0;
}

/* Optional extras */
.pr-extras {
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pr-extras-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pr-h2-extras {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.pr-extras-intro {
  margin: 0;
  font-size: 18px;
  max-width: 40em;
  text-wrap: pretty;
}
.pr-extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}
.pr-extra {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  border: var(--strong) solid var(--borderStrong);
}
.pr-extra p {
  margin: 0;
  text-wrap: pretty;
}
.pr-extra-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.pr-extra-amount {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  font-size: 34px;
  line-height: 1;
}
.pr-extra-plus {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--selectedTint);
  border: var(--hair) solid var(--fillEdge);
}
.pr-extra-plus .small {
  text-wrap: pretty;
}
.pr-rule {
  padding-top: 12px;
  border-top: var(--hair) solid var(--divider);
}
.pr-extra-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pr-extra-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

/* FAQ */
.pr-faq {
  padding-top: 40px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
