.process,
.pricing-section {
  --offer-ink: #172849;
  --offer-copy: #425674;
  --offer-blue: #264dc7;
  --offer-rule: #d1deee;
  --offer-divider: #bdcce4;
  --offer-serif: 'Instrument Serif', Georgia, serif;
}

.process .section-heading {
  margin-bottom: 0;
}

.process .section-heading h2,
.pricing-section .pricing-heading h2 {
  color: var(--offer-ink);
  font-size: clamp(37px, 5.2vw, 72px);
  letter-spacing: -.053em;
  line-height: 1;
  margin: .27em 0 0;
}

.process .section-heading h2 span,
.pricing-section .pricing-heading h2 span {
  color: #52678d;
  font-family: var(--offer-serif);
  font-weight: 400;
  letter-spacing: -.022em;
}

.process .section-heading .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: max-content;
  padding-block: 6px;
  color: var(--offer-blue);
  font-size: 13px;
  font-weight: 600;
}

.process .process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(24px, 3.8vw, 51px);
  border: 1px solid var(--offer-rule);
  border-radius: 14px;
  background: linear-gradient(145deg, #fcfdff, #f0f5fd);
  box-shadow: 0 9px 27px -24px #223c68;
}

.process .process-grid article {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  gap: 14px;
  min-width: 0;
  padding: clamp(21px, 2.7vw, 37px);
}

.process .process-grid article + article {
  border-color: var(--offer-rule);
}

.process .process-grid .step-number {
  position: static;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 0 4px;
  border: 1px solid #c7d7f1;
  border-radius: 9px;
  background: #f2f6ff;
  color: var(--offer-blue);
  font: 400 28px/.9 var(--offer-serif);
  letter-spacing: -.02em;
}

.process .process-grid h3 {
  color: var(--offer-ink);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.045em;
  margin: 0;
}

.process .process-grid p,
.pricing-section .pricing-heading p,
.pricing-section .custom-intro p {
  color: var(--offer-copy);
  font-size: 14px;
  line-height: 1.65;
}

.process .process-grid p {
  min-height: 0;
  margin: 0;
}

.process .process-grid small {
  margin-top: 3px;
  color: var(--offer-blue);
  font-size: 9px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .1em;
}

main > .pricing-section {
  background: radial-gradient(ellipse at 60% 0, #e7efff, transparent 56rem), #f5f8fd;
}

.pricing-section .pricing-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 0 clamp(24px, 5vw, 72px);
  margin-bottom: clamp(28px, 4.2vw, 53px);
  text-align: left;
}

.pricing-section .pricing-heading .eyebrow {
  grid-column: 1 / -1;
  justify-content: start;
}

.pricing-section .pricing-heading p {
  max-width: 39ch;
  margin: 0 0 4px;
}

.pricing-section .pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(15px, 1.85vw, 27px);
}

.pricing-section .price-card {
  min-width: 0;
  padding: clamp(17px, 2.4vw, 33px);
  border-color: var(--offer-divider);
  background: linear-gradient(150deg, #fff 68%, #f6f9ff);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.pricing-section .price-card:hover {
  transform: none;
}

.pricing-section .price-card.featured {
  order: initial;
  margin-top: 0;
  border-color: #9cb3e9;
  background: linear-gradient(145deg, #fcfdff 12%, #edf3ff 72%, #e7efff);
}

.pricing-section .price-card .recommended {
  z-index: 1;
  top: 0;
  right: clamp(16px, 2.4vw, 33px);
  left: auto;
  height: auto;
  min-height: 19px;
  max-width: calc(100% - 32px);
  padding: 3px 8px;
  border: 1px solid #c2d2f5;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: #e3ecff;
  color: #22449f;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: .05em;
  text-align: center;
}

.pricing-section .recommended span { display: none; }

.pricing-section .price-card .plan-top {
  flex-direction: row-reverse;
  margin: 4px 0 12px;
}

.pricing-section .price-card .plan-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  border-color: #d6e1f4;
  background: #f3f7fe;
  color: var(--offer-blue);
  font: 17px/1 var(--sans);
}

.pricing-section .price-card .plan-tag,
.pricing-section .custom-card .custom-number {
  color: #4b638a;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .085em;
}

.pricing-section .price-card h3,
.pricing-section .custom-card h3 {
  margin: 0 0 8px;
  color: var(--offer-ink);
  font: 400 clamp(35px, 3.6vw, 52px)/.98 var(--offer-serif);
  letter-spacing: -.023em;
}

.pricing-section .price-card .plan-description,
.pricing-section .custom-card p {
  color: var(--offer-copy);
  font-size: 13px;
  line-height: 1.6;
}

.pricing-section .price-card .plan-description {
  min-height: 42px;
  margin: 0 0 20px;
}

.pricing-section .price-card .price {
  margin: 0 0 17px;
  color: var(--offer-ink);
  font-size: clamp(37px, 4.5vw, 64px);
  font-weight: 550;
  line-height: 1;
  letter-spacing: -.065em;
  font-variant-numeric: lining-nums tabular-nums;
}

.pricing-section .price-card .price > span {
  top: .2em;
  margin-inline-end: 4px;
  font-size: .52em;
  letter-spacing: 0;
}

.pricing-section .price-card .price > .price-prefix {
  position: static;
  margin-inline-end: .4em;
  color: var(--offer-copy);
  font-size: clamp(12px, .37em, 20px);
  font-weight: 650;
  vertical-align: baseline;
}

@media (min-width: 761px) {
  .pricing-section .price-card .price-range {
    font-size: clamp(29px, 3.6vw, 52px);
    white-space: nowrap;
  }
}

.pricing-section .price-card .price small {
  margin-top: 8px;
  color: #536888;
  font-size: 11px;
  line-height: 1.4;
}

.pricing-section .price-card > .button,
.pricing-section .custom-card > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #afc2ec;
  border-radius: 7px;
  background: #fafdff;
  color: var(--offer-blue);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.pricing-section .price-card.featured > .button {
  border-color: #2a51d5;
  background: #2a51d5;
  color: #fff;
}

.pricing-section :is(.price-card > .button, .custom-card > a):hover {
  border-color: var(--offer-blue);
  transform: none;
}

.pricing-section .price-card.featured > .button:hover {
  background: #2144b8;
}

.process .text-link:focus-visible,
.pricing-section :is(.price-card > .button, .custom-card > a):focus-visible {
  outline: 2px solid var(--offer-blue);
  outline-offset: 3px;
}

.pricing-section .price-card .plan-delivery,
.pricing-section .price-card .deposit {
  color: var(--offer-copy);
  font-size: 11px;
  line-height: 1.5;
  text-align: left;
}

.pricing-section .price-card .plan-delivery {
  margin: 12px 0 15px;
}

.pricing-section .price-card .deposit {
  padding-top: 15px;
  border-color: var(--offer-rule);
}

.pricing-section .price-card :is(.plan-delivery, .deposit) strong {
  color: var(--offer-ink);
  font-weight: 700;
}

.pricing-section :is(.price-card, .custom-card) ul {
  display: grid;
  align-content: start;
  gap: 9px;
}

.pricing-section .price-card ul {
  padding: 16px 0;
  border-color: var(--offer-rule);
}

.pricing-section :is(.price-card, .custom-card) li {
  margin: 0;
  color: var(--offer-copy);
  font-size: 13px;
  line-height: 1.55;
}

.pricing-section :is(.price-card, .custom-card) li::before {
  color: var(--offer-blue);
}

.pricing-section .price-card li small { color: inherit; font-size: .9em; }

.pricing-section .included-row {
  justify-content: flex-start;
  gap: 9px 22px;
  margin-top: 28px;
  padding: 15px 0 0;
  border-top: 1px solid var(--offer-divider);
  color: var(--offer-copy);
  font-size: 12px;
  line-height: 1.45;
}

.pricing-section .included-row strong { color: var(--offer-ink); }

.pricing-section .pricing-fine {
  max-width: 94ch;
  margin: 14px 0 0;
  color: #516685;
  font-size: 11px;
  line-height: 1.65;
  text-align: left;
}

.pricing-section .custom-services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.65vw, 24px);
  margin-top: clamp(38px, 5.5vw, 77px);
  padding-top: clamp(24px, 4vw, 50px);
  border-color: var(--offer-divider);
}

.pricing-section .custom-intro {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 0 clamp(24px, 5vw, 72px);
  padding: 0 0 7px;
}

.pricing-section .custom-intro .eyebrow {
  grid-column: 1 / -1;
  max-width: none;
  color: #516685;
  font-size: 9px;
}

.pricing-section .custom-intro h3 {
  margin: 10px 0 0;
  color: var(--offer-ink);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.pricing-section .custom-intro h3 em { color: #52678d; }
.pricing-section .custom-intro p { margin: 0 0 4px; }

.pricing-section .custom-card {
  min-width: 0;
  padding: clamp(17px, 2.6vw, 36px);
  border-color: var(--offer-divider);
  background: linear-gradient(145deg, #fff, #f4f8ff);
}

.pricing-section .custom-card.custom-product {
  border-color: #b3c5e8;
  background: linear-gradient(145deg, #fcfdff, #eaf1fe);
}

.pricing-section .custom-card h3 {
  margin-top: 12px;
  font-size: clamp(31px, 3.2vw, 44px);
}

.pricing-section .custom-card p {
  max-width: 57ch;
  margin: 0 0 16px;
}

.pricing-section .custom-card ul { margin-bottom: 18px; }

.pricing-section .custom-card > strong {
  margin-bottom: 11px;
  color: var(--offer-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.pricing-section .custom-card > small {
  max-width: 62ch;
  margin-top: 10px;
  color: #516685;
  font-size: 11px;
  line-height: 1.55;
}

.pricing-section .offer-scope { flex: 1; min-width: 0; }
.pricing-section .offer-scope > summary { display: none; }

@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    .pricing-section .price-card,
    .pricing-section .custom-card {
      display: grid;
      grid-row: span var(--offer-card-rows);
      grid-template-rows: subgrid;
      grid-template-columns: minmax(0, 1fr);
      row-gap: 0;
    }

    .pricing-section .price-card { --offer-card-rows: 8; }
    .pricing-section .custom-card { --offer-card-rows: 7; }
  }
}

.process .offer-mobile-heading,
.pricing-section .offer-mobile-heading,
.pricing-section .price-card .plan-summary,
.pricing-section .pricing-terms > summary { display: none; }

@media (max-width: 760px) {
  .process,
  .pricing-section {
    --offer-rule: #e0e7f0;
    text-align: center;
  }

  main > :is(.process, .pricing-section).section { padding-block: clamp(28px, 6vw, 46px); }

  main > .pricing-section {
    border-block: 1px solid var(--offer-rule);
    background: #fbfcff;
  }

  .process {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .process .section-heading { display: contents; }

  .process .section-heading > div { grid-row: 1; }

  .process .section-heading h2,
  .pricing-section .pricing-heading h2,
  .pricing-section .custom-intro h3 {
    margin: 0;
    color: var(--offer-ink);
    font: 600 clamp(26px, 6.7vw, 43px)/1.08 var(--sans);
    letter-spacing: -.065em;
  }

  :is(.process, .pricing-section) .offer-desktop-heading,
  .process .section-heading .eyebrow,
  .process .process-grid :is(p, small),
  .pricing-section :is(.pricing-heading, .custom-intro) :is(.eyebrow, p),
  .pricing-section .price-card :is(.recommended, .plan-top, .plan-description),
  .pricing-section .custom-card :is(.custom-number, p) { display: none; }

  .process .section-heading .offer-mobile-heading,
  .pricing-section :is(.pricing-heading, .custom-intro) .offer-mobile-heading { display: block; }

  .process .section-heading .text-link {
    grid-row: 3;
    justify-self: center;
    min-width: 0;
    padding-block: 0;
    line-height: 1.4;
  }

  .process .process-grid,
  .pricing-section :is(.pricing-grid, .pricing-heading, .custom-services, .custom-intro) {
    grid-template-columns: minmax(0, 1fr);
  }

  .process .process-grid {
    grid-row: 2;
    gap: 0;
    margin-top: 12px;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .process .process-grid article {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    min-height: 44px;
    padding: 10px 0;
    border: 0;
    border-top: 1px solid var(--offer-rule);
  }

  .process .process-grid .step-number {
    grid-row: auto;
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    color: #576b8b;
    font-size: 20px;
  }

  .process .process-grid h3 {
    margin: 0;
    font-size: 16px;
  }

  .pricing-section .pricing-grid { gap: 12px; }
  .pricing-section .pricing-heading {
    margin-bottom: 17px;
    text-align: center;
  }

  .pricing-section :is(.price-card, .custom-card) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 2px 10px;
    min-width: 0;
    padding: 13px 10px 9px;
    border: 1px solid var(--offer-divider);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px -10px #263e6d80;
  }

  .pricing-section .price-card {
    grid-template-areas:
      'name name'
      'summary summary'
      'price price'
      'delivery deposit'
      'links links';
  }

  .pricing-section .price-card.featured {
    border-color: #97afe8;
    background: #eef3ff;
  }

  .pricing-section .price-card h3 {
    grid-area: name;
    margin: 0;
    font-size: clamp(28px, 7.2vw, 40px);
  }

  .pricing-section .price-card .plan-summary {
    grid-area: summary;
    display: block;
    margin: 0 0 3px;
    color: var(--offer-copy);
    font-size: 13px;
    line-height: 1.4;
  }

  .pricing-section .price-card .price {
    grid-area: price;
    margin: 0;
    font-size: clamp(27px, 7vw, 36px);
    white-space: nowrap;
  }

  .pricing-section .price-card .price small { margin-top: 3px; font-size: 10px; }

  .pricing-section .price-card :is(.plan-delivery, .deposit) {
    margin: 1px 0 2px;
    padding: 0;
    border: 0;
    font-size: 0;
  }

  .pricing-section .price-card .plan-delivery {
    grid-area: delivery;
    justify-self: end;
    text-align: center;
  }

  .pricing-section .price-card .deposit {
    grid-area: deposit;
    justify-self: start;
    text-align: center;
  }

  .pricing-section .price-card :is(.plan-delivery, .deposit) strong {
    font-size: 12px;
    line-height: 1.3;
  }

  .pricing-section .custom-services {
    gap: 12px;
    margin-top: 26px;
    padding-top: 24px;
  }

  .pricing-section .custom-intro { padding-bottom: 3px; }

  .pricing-section .custom-card,
  .pricing-section .custom-card.custom-product {
    grid-template-areas:
      'name name'
      'quote quote'
      'links links'
      'note note';
  }

  .pricing-section .custom-card.custom-product { background: #f7faff; }

  .pricing-section .custom-card h3 {
    grid-area: name;
    margin: 0;
    font-size: clamp(25px, 6.4vw, 34px);
  }

  .pricing-section .custom-card > strong {
    grid-area: quote;
    align-self: center;
    margin: 0;
    color: var(--offer-copy);
    font-size: 12px;
  }

  .pricing-section .custom-card > small {
    grid-area: note;
    margin: 0 auto 7px;
    line-height: 1.45;
  }

  /* The disclosure spans both columns so expanded content can use the full width. */
  .pricing-section :is(.price-card, .custom-card) > .offer-scope {
    grid-area: links;
    pointer-events: none;
  }

  .pricing-section .offer-scope > * { pointer-events: auto; }

  .pricing-section :is(.price-card > .button, .custom-card > a) {
    grid-area: links;
    justify-self: end;
    align-self: start;
    z-index: 1;
    justify-content: center;
    width: fit-content;
    max-width: calc(50% - 5px);
    min-height: 44px;
    margin: 0 calc(50% + 5px) 0 0;
    padding: 5px 0;
    border: 0;
    background: none;
    color: var(--offer-blue);
    box-shadow: none;
    font-size: 13px;
    text-align: center;
    text-wrap: balance;
  }

  .pricing-section .price-card.featured > .button {
    padding-inline: 9px;
    background: #2a51d5;
    color: #fff;
  }

  .pricing-section .price-card > .button > span { display: none; }

  .pricing-section :is(.offer-scope, .pricing-terms) > summary {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    color: var(--offer-copy);
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
  }

  .pricing-section .offer-scope > summary {
    justify-content: center;
    width: fit-content;
    max-width: calc(50% - 5px);
    margin-inline-start: calc(50% + 5px);
  }

  .pricing-section :is(.offer-scope, .pricing-terms) > summary::-webkit-details-marker { display: none; }

  .pricing-section :is(.offer-scope, .pricing-terms) > summary::after {
    content: '';
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    margin: -3px 2px 0 0;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
  }

  .pricing-section :is(.offer-scope, .pricing-terms)[open] > summary::after {
    margin-top: 3px;
    transform: rotate(225deg);
  }

  .pricing-section :is(.offer-scope, .pricing-terms) > summary:focus-visible {
    outline: 2px solid var(--offer-blue);
    outline-offset: 2px;
  }

  .pricing-section :is(.price-card, .custom-card) ul {
    gap: 7px;
    margin: 0;
    padding: 9px 0 12px;
    border: 0;
    border-top: 1px solid var(--offer-rule);
  }

  .pricing-section :is(.price-card, .custom-card) li {
    padding-inline-start: 0;
    line-height: 1.5;
  }

  .pricing-section :is(.price-card, .custom-card) li::before {
    position: static;
    margin-inline-end: .45em;
  }

  .pricing-section .pricing-terms {
    margin-top: 16px;
    border-top: 1px solid var(--offer-divider);
  }

  .pricing-section .pricing-terms > summary {
    justify-content: center;
    font-size: 13px;
  }

  .pricing-section .included-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
    align-items: start;
    margin-top: 0;
  }

  .pricing-section .included-row strong { flex-basis: 100%; }
  .pricing-section .included-row span { display: flex; }
  .pricing-section .pricing-fine {
    margin-inline: auto;
    font-size: 12px;
    text-align: center;
    text-wrap: pretty;
  }
}

@media (max-width: 350px) {
  .pricing-section .custom-services .custom-card > a { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-section :is(.price-card, .price-card > .button, .custom-card > a) { transition: none; }
}
