/*
 * 04-E02 — Internal content components.
 * Extends the approved Home without overriding header, hero or footer.
 * Every selector is scoped beneath main.interior-page.
 * Sources: 02-B-02 v0.3; 02-B-04 v1.0 (I-01–04, P-01, S-01–04, U-01–04);
 * 02-B-05 v1.0. Uses the tokens and font stack already defined in home.css.
 */
.interior-page {
  min-width: 0;
}

.interior-page [hidden] {
  display: none !important;
}

.interior-page .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--color-text);
}

.interior-page .breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.interior-page .page-intro > .product-logo {
  margin: 0 0 32px;
}

.interior-page .page-intro > .review-note {
  margin-top: 32px;
  padding: 16px 20px;
  justify-content: flex-start;
}

.interior-page .page-toc ul ul {
  padding-left: 18px;
}

.interior-page .platform-overviews > .content-section {
  max-width: 68ch;
}

.interior-page .update-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 24px 0;
}

.interior-page .update-filters select {
  max-width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--color-control);
  border-radius: 0;
  color: var(--color-ink);
  background: var(--color-surface);
}

.interior-page .page-intro,
.interior-page .page-shell {
  width: calc(100% - (2 * var(--page-gutter)));
  max-width: var(--content-width);
  margin-right: auto;
  margin-left: auto;
}

.interior-page .page-intro {
  padding: 72px 0 56px;
}

.interior-page .page-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--color-link);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.interior-page .page-intro h1 {
  max-width: 24ch;
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.interior-page .page-lead {
  max-width: 68ch;
  font-size: 21px;
  line-height: 1.5;
}

.interior-page .page-shell {
  padding-bottom: 96px;
}

.interior-page .page-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: 48px 72px;
}

.interior-page .page-grid > *,
.interior-page .page-prose,
.interior-page .product-overview > *,
.interior-page .service-index-row > *,
.interior-page .update-row > * {
  min-width: 0;
}

.interior-page .page-toc {
  padding-top: 24px;
  border-top: 1px solid var(--color-rule);
}

.interior-page .page-toc h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.interior-page .page-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.interior-page .page-toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.interior-page .page-prose {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.interior-page .content-section,
.interior-page .value-section {
  margin-bottom: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--color-rule);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.interior-page .content-section:last-child,
.interior-page .value-section:last-child {
  margin-bottom: 0;
}

.interior-page .content-section h2,
.interior-page .value-section h2,
.interior-page .product-overview h2,
.interior-page .updates-empty h2 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.interior-page .content-section h3,
.interior-page .value-section h3,
.interior-page .detail-note h2,
.interior-page .detail-note h3 {
  margin: 32px 0 16px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
}

.interior-page .page-prose p {
  margin-bottom: 24px;
}

.interior-page .page-prose ul,
.interior-page .page-prose ol {
  padding-left: 1.35em;
  color: var(--color-text);
}

.interior-page .page-prose li + li {
  margin-top: 12px;
}

.interior-page .page-prose li > p {
  margin-bottom: 12px;
}

.interior-page .detail-note {
  margin: 32px 0;
  padding: 24px;
  border: 1px solid var(--color-rule);
  background: var(--color-subtle);
  font-size: 16px;
  line-height: 1.6;
}

.interior-page .detail-note > :first-child {
  margin-top: 0;
}

.interior-page .detail-note > :last-child {
  margin-bottom: 0;
}

.interior-page .related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 32px;
  margin-top: 24px;
}

.interior-page .related-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0;
  font-size: 16px;
  line-height: 1.5;
}

.interior-page .service-index-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--color-rule);
}

.interior-page .service-index-row:last-child {
  border-bottom: 1px solid var(--color-rule);
}

.interior-page .service-index-row h2 {
  max-width: 38ch;
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.interior-page .service-index-row p {
  max-width: 68ch;
}

.interior-page .service-index-row .service-code {
  color: var(--color-link);
  font-size: 13px;
  font-weight: 600;
  line-height: 2;
}

.interior-page .product-overview {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: 40px 72px;
  padding: 40px 0;
  border-top: 1px solid var(--color-rule);
}

.interior-page .product-logo img {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.interior-page .product-overview p {
  max-width: 68ch;
}

.interior-page .updates-empty {
  max-width: 68ch;
  padding: 32px;
  border: 1px solid var(--color-rule);
  background: var(--color-subtle);
}

.interior-page .update-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: 32px 48px;
  padding: 32px 0;
  border-top: 1px solid var(--color-rule);
}

.interior-page .update-row h2 {
  max-width: 40ch;
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.interior-page .update-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 24px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.5;
}

.interior-page .update-meta time,
.interior-page .update-meta span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.interior-page .update-status {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--color-control);
  color: var(--color-ink);
  font-size: 13px;
  line-height: 1.5;
}

.interior-page .page-prose figure {
  margin: 32px 0;
}

.interior-page .page-prose figcaption {
  margin-top: 12px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .interior-page .page-intro {
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .interior-page .page-intro h1 {
    font-size: 34px;
  }

  .interior-page .page-lead {
    font-size: 20px;
  }

  .interior-page .page-shell {
    padding-bottom: 72px;
  }

  .interior-page .page-grid,
  .interior-page .product-overview,
  .interior-page .update-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .interior-page .page-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
  }

  .interior-page .content-section h2,
  .interior-page .value-section h2,
  .interior-page .product-overview h2,
  .interior-page .service-index-row h2,
  .interior-page .update-row h2,
  .interior-page .updates-empty h2 {
    font-size: 25px;
  }

  .interior-page .update-row .update-meta {
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .interior-page .page-intro {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .interior-page .page-intro h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .interior-page .page-lead {
    font-size: 19px;
  }

  .interior-page .page-shell {
    padding-bottom: 56px;
  }

  .interior-page .page-prose {
    font-size: 17px;
  }

  .interior-page .content-section,
  .interior-page .value-section {
    margin-bottom: 40px;
    padding-top: 24px;
  }

  .interior-page .content-section h2,
  .interior-page .value-section h2,
  .interior-page .product-overview h2,
  .interior-page .service-index-row h2,
  .interior-page .update-row h2,
  .interior-page .updates-empty h2 {
    font-size: 23px;
  }

  .interior-page .content-section h3,
  .interior-page .value-section h3 {
    font-size: 19px;
  }

  .interior-page .detail-note,
  .interior-page .updates-empty {
    padding: 24px;
  }

  .interior-page .service-index-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }

  .interior-page .page-toc ul {
    gap: 0 16px;
  }

  .interior-page .product-overview {
    padding: 32px 0;
  }
}
