/* Purchase page: the form beside a sticky order summary, and the pricing
   page's license card extras and buyer questions. */
.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.purchase-main {
  min-width: 0;
}
/* Each price, refund, VAT and seller fact once, next to the form. */
.purchase-summary {
  display: grid;
  gap: var(--space-4);
  min-width: 0;
  padding: var(--space-5);
  border: var(--size-hairline) solid var(--color-border);
  border-top: var(--size-rule) solid var(--color-solar-500);
  border-radius: var(--radius-lg);
  background: var(--color-bg-surface);
}
.purchase-summary .license-price {
  margin-bottom: 0;
}
.purchase-facts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}
.purchase-facts li {
  padding: var(--space-3) 0;
  border-top: var(--size-hairline) solid var(--color-border);
}
.purchase-facts li:last-child {
  padding-bottom: 0;
}
.purchase-links {
  margin: var(--space-4) 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
/* The terms box, its label and the link to read them on one row. */
.terms-row label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
}
.terms-row a {
  white-space: nowrap;
}
/* Phones: the summary stays above the form, tight enough that the first
   field shows on the first screen. */
@media (max-width: 640px) {
  .purchase-layout {
    gap: var(--space-5);
  }
  .purchase-summary {
    gap: var(--space-2);
    padding: var(--space-4);
  }
  .purchase-facts li {
    padding: var(--space-2) 0;
  }
  .purchase-summary .license-price {
    gap: var(--space-1);
  }
}
/* Wide layout only while the page also holds it in rem (the page
   container, portal-shell-base.css), so enlarged text keeps the narrow one. */
@media (min-width: 960px) {
  @container page (min-width: 59rem) {
    .purchase-layout {
      grid-template-columns: minmax(0, 1fr) minmax(
          0,
          calc(var(--size-col-2xl) * 1.25)
        );
      grid-template-areas: "main summary";
      gap: var(--space-12);
    }
    .purchase-main {
      grid-area: main;
    }
    .purchase-summary {
      grid-area: summary;
      position: sticky;
      top: var(--space-6);
    }
  }
}
/* Order page: the facts in even rows of three on a laptop, and the support
   period as a note under them. */
.order-facts {
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, var(--size-col-2xl)), 1fr)
  );
}
.order-note {
  margin: var(--space-3) 0 0;
}
/* Pricing: the compatibility link under the buy action. */
.offer-requirements {
  margin: var(--space-3) 0 0;
  font-size: var(--text-sm);
}
/* The buyer's questions with what every license includes beside them, in
   one text size. */
.pricing-faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
}
.pricing-faq > * {
  min-width: 0;
}
.pricing-faq h2 {
  margin: 0 0 var(--space-4);
}
.pricing-includes {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-secondary);
}
.pricing-includes li {
  padding: var(--space-3) 0;
  border-top: var(--size-hairline) solid var(--color-border);
}
.pricing-includes li:first-child {
  padding-top: 0;
  border-top: 0;
}
/* Wide layout only while the page also holds it in rem (the page
   container, portal-shell-base.css), so enlarged text keeps the narrow one. */
@media (min-width: 900px) {
  @container page (min-width: 55rem) {
    .pricing-faq {
      grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
      gap: var(--space-12);
    }
  }
}
