/* Buyer information reuses the demo directory's colours, fonts and buttons.
   Loaded only by the directory and these two pages, never by market demos. */
.buyer-header {
  gap: 16px 32px;
}

.buyer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  font-size: 13px;
  font-weight: 700;
}

.buyer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  text-underline-offset: 7px;
}

.buyer-nav a:hover,
.buyer-nav [aria-current="page"] {
  color: var(--hub-accent);
  text-decoration: underline;
}

.buyer-nav a:focus-visible,
.buyer-shell a:focus-visible,
.buyer-disclosures summary:focus-visible {
  outline: 3px solid #008575;
  outline-offset: 5px;
}

.buyer-nav a:focus-visible {
  outline-color: var(--hub-accent);
}

.buyer-shell {
  width: min(960px, calc(100% - 48px));
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.65;
}

.buyer-shell--guide {
  max-width: 800px;
}

.buyer-shell h1,
.buyer-shell h2,
.buyer-shell h3 {
  margin: 0;
  line-height: 1.15;
}

.buyer-shell h1 {
  max-width: 820px;
  font-size: clamp(36px, 4.5vw, 54px);
  letter-spacing: -0.025em;
}

.buyer-shell h2 {
  font-size: 28px;
}

.buyer-shell h3 {
  font-size: 21px;
}

.buyer-shell p {
  max-width: 70ch;
  margin: 12px 0 0;
}

.buyer-shell .hub-kicker {
  margin: 0 0 12px;
  color: var(--hub-primary);
}

.buyer-intro {
  padding: 48px 0 32px;
}

.buyer-shell .buyer-lead {
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.5;
}

.buyer-intro .hub-contact__button {
  margin-top: 24px;
  text-transform: none;
  font-size: 15px;
}

.buyer-section {
  padding: 32px 0;
  border-top: 1px solid var(--hub-line);
}

.buyer-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.buyer-roles > div,
.buyer-explainer {
  padding: 24px;
  border: 1px solid var(--hub-line);
  border-top: 4px solid var(--hub-primary);
  background: var(--hub-white);
}

.buyer-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-left: 22px;
  margin: 22px 0 0;
}

.buyer-steps li {
  padding-left: 4px;
}

.buyer-steps li::marker {
  color: var(--hub-primary);
  font-weight: 800;
}

.buyer-shell .buyer-note {
  margin-top: 22px;
  color: #52615b;
  font-size: 14px;
}

.buyer-explainer {
  margin-bottom: 32px;
}

.buyer-shell .buyer-example {
  padding-left: 14px;
  border-left: 3px solid var(--hub-accent);
}

.buyer-shell .buyer-section-intro {
  margin: 8px 0 20px;
  color: #52615b;
  font-size: 14px;
}

.buyer-disclosures {
  border: 1px solid var(--hub-line);
  background: var(--hub-white);
}

.buyer-disclosures details + details {
  border-top: 1px solid var(--hub-line);
}

.buyer-disclosures summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
}

.buyer-disclosures summary::marker {
  color: var(--hub-primary);
}

.buyer-disclosures summary:hover {
  background: #f0f4ee;
}

.buyer-disclosures details[open] summary {
  color: var(--hub-primary);
}

.buyer-answer {
  padding: 0 24px 24px;
}

.buyer-answer p:first-child {
  margin-top: 0;
}

.buyer-answer a {
  color: var(--hub-primary);
  text-underline-offset: 3px;
}

.buyer-contact {
  padding: 32px 0 48px;
  border-top: 1px solid var(--hub-line);
}

.buyer-email {
  display: inline-block;
  margin-top: 12px;
  padding-block: 8px;
  color: var(--hub-primary);
  font-weight: 750;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.buyer-secondary {
  display: block;
  width: fit-content;
  margin-top: 14px;
  padding-block: 8px;
  font-size: 14px;
  text-underline-offset: 4px;
}

.hub-footer.buyer-shell {
  font-size: 12px;
}

@media (max-width: 760px) {
  .buyer-header {
    flex-wrap: wrap;
    gap: 4px 20px;
    padding-top: 12px;
  }

  .buyer-nav {
    gap: 0 16px;
    font-size: 12px;
  }

  .buyer-shell {
    width: calc(100% - 40px);
  }

  .buyer-intro {
    padding-top: 32px;
  }

  .buyer-shell .buyer-lead {
    font-size: 18px;
  }

  .buyer-roles,
  .buyer-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .buyer-roles > div,
  .buyer-explainer {
    padding: 20px;
  }

  .buyer-disclosures summary {
    padding: 18px;
  }

  .buyer-answer {
    padding: 0 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Commercial information belongs to buyer pages, never participant views. */
.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
}
.pricing-standard {
  margin: 8px 0 40px;
  padding: clamp(24px, 4vw, 40px);
  border: 2px solid var(--hub-ink);
  border-top: 8px solid var(--hub-primary);
  background: var(--hub-white);
  box-shadow: 8px 8px 0 #10243a12;
}
.pricing-standard h2 { font-size: clamp(30px, 4vw, 44px); }
.buyer-shell .pricing-amount {
  max-width: none;
  margin-top: 28px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
  font-weight: 800;
}
.pricing-amount > span:not(.pricing-or),
.pricing-module-amount > span:not(.pricing-or) { white-space: nowrap; }
.pricing-or { color: #52615b; font-weight: 400; }
.buyer-shell .pricing-tax { margin-top: 6px; font-size: 14px; color: #52615b; }
.pricing-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
  padding: 22px 0 0 20px;
  margin: 20px 0;
  border-top: 1px solid var(--hub-line);
}
.pricing-includes li::marker { color: var(--hub-primary); }
.pricing-standard .hub-contact__button { margin-top: 24px; text-transform: none; }
.pricing-module-amount { font-size: 24px; font-weight: 750; }
.pricing-module-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.pricing-module-list li { padding: 7px 12px; border: 1px solid var(--hub-line); background: var(--hub-white); font-weight: 650; }
.pricing-broader { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.pricing-broader article { padding: 22px; background: var(--hub-white); border-top: 4px solid var(--hub-primary); }
.pricing-proposal { color: var(--hub-primary); font-weight: 800; }
.pricing-examples { margin: 24px 0 12px; }
.pricing-examples > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--hub-line); }
.pricing-examples dt { font-weight: 750; }
.pricing-examples dd { margin: 0; }
.pricing-callout { padding-block: 28px; border-top: 1px solid var(--hub-line); line-height: 1.6; }
.pricing-callout h2 { margin: 8px 0; font-size: 30px; }
.pricing-callout a { display: inline-block; padding: 10px 0; color: var(--hub-primary); font-weight: 700; }
.pricing-callout a:focus-visible { outline: 3px solid var(--hub-primary); outline-offset: 4px; }
@media (max-width: 760px) {
  .pricing-includes, .pricing-broader, .pricing-examples > div { grid-template-columns: 1fr; }
  .pricing-examples > div { gap: 6px; }
  .pricing-standard .hub-contact__button { max-width: 100%; white-space: normal; }
}
