:root {
  --page-max-width: 67.75em;
  --section-gap: 3rem;
  --content-padding: 1.25rem;
}

/* ============================================================
   SHARED PAGE WRAPPER
   ============================================================ */

.subpage-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--ui--background);
  color: var(--text--1);
  font-family: var(--body-font-family), sans-serif;
  overflow-x: hidden;
}

.subpage-container {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  width: 100%;
  box-sizing: border-box;
}

.subpage-main {
  flex-grow: 1;
  padding-bottom: 4rem;
  max-width: 100%;
  overflow-x: hidden;
}

/* ============================================================
   SUBPAGE HEADER / NAV
   ============================================================ */

.subpage-header {
  background: transparent;
  padding: 1rem 0;
  border-bottom: 0.5px solid var(--ui--border);
  margin-bottom: 2.5rem;
}

.subpage-header .subpage-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subpage-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.subpage-nav__link {
  color: var(--text--2);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.125rem;
  transition: color 0.2s ease;
  padding: 0.375rem 0.6875rem;
  border-radius: 2.25rem;
}

.subpage-nav__link:hover {
  color: var(--text--supply);
}

.subpage-nav__link--active {
  color: var(--text--1);
  background-color: var(--button--neutral);
}

/* ============================================================
   SUBPAGE HERO / H1
   ============================================================ */

.subpage-hero {
  margin: 2.5rem 0 3rem;
}

.subpage-hero__eyebrow {
  font-family: var(--label-font-family), sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.125rem;
  color: var(--text--supply);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.subpage-hero__h1 {
  font-family: var(--heading-font-family--emphasized), sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 3.25rem;
  color: var(--text--1);
  margin: 0 0 1rem;
}

.subpage-hero__subtitle {
  font-family: var(--body-font-family), sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5rem;
  color: var(--text--2);
  max-width: 42rem;
  margin: 0;
}

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */

.subpage-section {
  margin-bottom: var(--section-gap);
  max-width: 100%;
}

.subpage-section__h2 {
  font-family: var(--heading-font-family), sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.75rem;
  color: var(--text--1);
  margin: 0 0 1.5rem;
  padding-bottom: 0.875rem;
  border-bottom: 0.5px solid var(--ui--border);
}

.subpage-section__intro {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.25rem;
  color: var(--text--2);
  margin-bottom: 1.5rem;
  max-width: 48rem;
}

/* ============================================================
   Q&A BLOCKS — QUESTIONS PAGE
   ============================================================ */

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--ui--foreground--1);
}

.qa-item {
  border-bottom: 0.5px solid var(--ui--border);
  position: relative;
}

.qa-item:last-child {
  border-bottom: none;
}

.qa-item__toggle {
  display: none;
}

.qa-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.25rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
  transition: background-color 0.2s ease;
}

.qa-item__question:hover {
  background-color: var(--ui--hover-overlay);
}

.qa-item__question-text {
  font-family: var(--heading-font-family--emphasized), sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25rem;
  color: var(--text--1);
  margin: 0;
}

.qa-item__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--button--neutral);
  border-radius: 50%;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.qa-item__icon::before {
  content: "";
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  background-color: var(--icon--2);
  clip-path: polygon(0 25%, 50% 75%, 100% 25%);
  transition: clip-path 0.25s ease, background-color 0.2s ease;
}

.qa-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 1.25rem;
}

.qa-item__answer-inner {
  padding-bottom: 1.5rem;
}

.qa-item__answer p {
  font-family: var(--body-font-family), sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5rem;
  color: var(--text--2);
  margin: 0 0 0.75rem;
}

.qa-item__answer p:last-child {
  margin-bottom: 0;
}

.qa-item__answer a {
  color: var(--text--supply);
  text-decoration: none;
  transition: color 0.2s ease;
}

.qa-item__answer a:hover {
  color: var(--text--1);
}

.qa-item__toggle:checked ~ .qa-item__question .qa-item__icon {
  background-color: var(--button--supply--deemphasized);
  transform: rotate(180deg);
}

.qa-item__toggle:checked ~ .qa-item__question .qa-item__icon::before {
  background-color: var(--icon--supply);
}

.qa-item__toggle:checked ~ .qa-item__answer {
  max-height: 40rem;
  padding: 0 1.25rem;
}

/* ============================================================
   COMPANY PAGE — SECTION PANELS
   ============================================================ */

.company-panel {
  background-color: var(--ui--foreground--1);
  border-radius: 0.5rem;
  padding: 2rem 1.25rem;
  margin-bottom: 1.25rem;
  max-width: 100%;
  box-sizing: border-box;
}

.company-panel__h2 {
  font-family: var(--heading-font-family), sans-serif;
  font-size: 1.3125rem;
  font-weight: 500;
  line-height: 1.5rem;
  color: var(--text--1);
  margin: 0 0 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 0.5px solid var(--ui--border);
}

.company-panel__body {
  font-family: var(--body-font-family), sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5rem;
  color: var(--text--2);
}

.company-panel__body p {
  margin: 0 0 0.875rem;
}

.company-panel__body p:last-child {
  margin-bottom: 0;
}

.company-panel__body a {
  color: var(--text--supply);
  text-decoration: none;
  transition: color 0.2s ease;
}

.company-panel__body a:hover {
  color: var(--text--1);
}

.company-panel__body strong {
  color: var(--text--1);
  font-weight: 500;
}

/* ============================================================
   STAT GRID — COMPANY PAGE
   ============================================================ */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-grid__item {
  background-color: var(--ui--foreground--2);
  border-radius: 0.5rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-grid__value {
  font-family: var(--heading-font-family--emphasized), sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.75rem;
  color: var(--text--1);
}

.stat-grid__label {
  font-family: var(--label-font-family), sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1rem;
  color: var(--text--2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   FEATURE LIST
   ============================================================ */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background-color: var(--ui--foreground--1);
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}

.feature-list__item:hover {
  background-color: var(--ui--foreground--2);
}

.feature-list__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--button--supply--deemphasized);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.feature-list__icon::before {
  content: "";
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--icon--supply);
  clip-path: polygon(10% 50%, 40% 80%, 90% 15%, 95% 20%, 40% 90%, 5% 55%);
}

.feature-list__content {
  flex-grow: 1;
}

.feature-list__title {
  font-family: var(--body-font-family--emphasized), sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: var(--text--1);
  margin: 0 0 0.25rem;
}

.feature-list__desc {
  font-family: var(--body-font-family), sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.125rem;
  color: var(--text--2);
  margin: 0;
}

/* ============================================================
   INLINE CONTENT LINKS
   ============================================================ */

.subpage-inline-link {
  color: var(--text--supply);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.subpage-inline-link:hover {
  color: var(--text--1);
}

/* ============================================================
   NAV BUTTON / RETURN HOME
   ============================================================ */

.subpage-btn-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--ui--border);
}

.subpage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.84375rem 1.25rem;
  border-radius: 3.625rem;
  font-family: var(--label-font-family), sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, background-color 0.2s ease;
  min-width: 6.45rem;
  border: 0.5px solid transparent;
  box-sizing: border-box;
}

.subpage-btn--primary {
  background-color: var(--button--supply--deemphasized);
  border-color: var(--text--supply);
  color: var(--text--supply);
}

.subpage-btn--primary:hover {
  filter: brightness(110%);
}

.subpage-btn--neutral {
  background-color: var(--button--neutral);
  border-color: var(--button--neutral);
  color: var(--text--button-label);
}

.subpage-btn--neutral:hover {
  filter: brightness(90%);
}

.subpage-btn__arrow {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  flex-shrink: 0;
}

.subpage-btn__arrow--left {
  transform: rotate(135deg);
}

/* ============================================================
   FOOTER
   ============================================================ */

.subpage-footer {
  background: transparent;
  margin-top: auto;
}

.subpage-footer__inner {
  border-top: 0.5px solid var(--ui--border);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.subpage-footer__links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.subpage-footer__link {
  color: var(--text--2);
  font-size: 0.8125rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
}

.subpage-footer__link:hover {
  color: var(--text--supply);
}

.subpage-footer__copy {
  font-size: 0.75rem;
  color: var(--text--3);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.subpage-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.subpage-breadcrumb__item {
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1rem;
  color: var(--text--2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.subpage-breadcrumb__item:hover {
  color: var(--text--supply);
}

.subpage-breadcrumb__sep {
  font-size: 0.6875rem;
  color: var(--text--3);
}

.subpage-breadcrumb__current {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text--1);
}

/* ============================================================
   DIVIDER
   ============================================================ */

.subpage-divider {
  width: 100%;
  height: 1px;
  border: none;
  border-bottom: 0.5px solid var(--ui--border);
  margin: 2rem 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 70rem) {
  .subpage-container {
    padding: 0 1.25rem;
  }

  .subpage-hero {
    margin: 1.5rem 0 2rem;
  }

  .subpage-hero__h1 {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subpage-header .subpage-container {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .subpage-nav {
    gap: 0.75rem;
  }

  .subpage-btn-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .qa-item__question-text {
    font-size: 0.9375rem;
  }

  .company-panel {
    padding: 1.5rem 1rem;
  }

  .feature-list__item {
    padding: 0.875rem 1rem;
  }
}

@media (max-width: 26.563rem) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .subpage-hero__h1 {
    font-size: 1.3125rem;
    line-height: 1.75rem;
  }
}