/* Support routes. Kept separate from the home page and scoped to their section. */
.secondary-page {
  background: var(--paper, #f8fafb);
  color: var(--ink, #131b22);
  min-height: 65vh;
  padding: 72px 0 112px;
  overflow-wrap: anywhere;
}
.secondary-page[hidden] { display: none !important; }
.secondary-page:focus { outline: none; }
.secondary-page .sp-shell,
.secondary-page.sp-legal > .page-hero,
.secondary-page.sp-legal > .page-body {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.secondary-page .sp-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  margin-bottom: 46px;
  color: var(--muted, #63717c);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.secondary-page .sp-back:hover { color: var(--ink, #131b22); }
.secondary-page .sp-header { max-width: 890px; margin-bottom: 60px; }
.secondary-page .sp-eyebrow,
.secondary-page.sp-legal .eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--blue, #1675dc);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.secondary-page h1 {
  margin: 0;
  max-width: 960px;
  font-family: 'Bricolage Grotesque', Inter, sans-serif;
  font-size: clamp(2.75rem, 5.8vw, 5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.secondary-page h1:focus { outline: none; }
.secondary-page .sp-intro,
.secondary-page.sp-legal .page-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted, #63717c);
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}
.secondary-page .sp-content { max-width: 760px; }
.secondary-page .sp-content-wide { max-width: 1120px; }
.secondary-page h2 {
  margin: 0 0 16px;
  font-family: 'Bricolage Grotesque', Inter, sans-serif;
  font-size: clamp(1.5rem, 2.7vw, 2rem);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.secondary-page p,
.secondary-page li {
  font-size: 1rem;
  line-height: 1.8;
}
.secondary-page p { margin: 0 0 18px; }
.secondary-page a { color: var(--blue, #1675dc); text-underline-offset: .2em; }
.secondary-page a:hover { text-decoration-thickness: 2px; }
.secondary-page a:focus-visible,
.secondary-page summary:focus-visible {
  outline: 3px solid var(--blue, #1675dc);
  outline-offset: 5px;
  border-radius: 3px;
}
.secondary-page .sp-prose > h2:not(:first-child),
.secondary-page.sp-legal .doc > h2:not(:first-child) { margin-top: 42px; }
.secondary-page .sp-prose > p,
.secondary-page .sp-answer,
.secondary-page .sp-card p,
.secondary-page .sp-release > p:not(.sp-status),
.secondary-page .sp-callout > p,
.secondary-page .sp-contact-main p { color: var(--muted, #63717c); }
.secondary-page .sp-principles { padding: 0 0 0 22px; margin: 24px 0 32px; }
.secondary-page .sp-principles li { padding-left: 6px; margin-bottom: 14px; }
.secondary-page .sp-principles strong { font-weight: 650; }
.secondary-page .sp-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  max-width: 100%;
  padding: 13px 21px;
  background: var(--ink, #131b22);
  border: 1px solid var(--ink, #131b22);
  border-radius: 7px;
  color: white;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}
.secondary-page .sp-button:hover { background: #263643; border-color: #263643; }
.secondary-page .sp-small,
.secondary-page .sp-prose > .sp-small { margin-top: 18px; font-size: .8125rem; line-height: 1.7; color: var(--muted, #63717c); }
.secondary-page .sp-group-title { margin-top: 48px; margin-bottom: 18px; font-size: 1.375rem; }
.secondary-page .sp-group-title:first-child { margin-top: 0; }
.secondary-page .sp-accordion { border-top: 1px solid #dce3e8; }
.secondary-page details { border-bottom: 1px solid #dce3e8; }
.secondary-page summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 19px 0;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
}
.secondary-page summary::-webkit-details-marker { display: none; }
.secondary-page summary::after { content: '+'; flex: 0 0 20px; text-align: center; color: var(--muted, #63717c); font-size: 1.5rem; font-weight: 400; }
.secondary-page details[open] summary::after { content: '−'; }
.secondary-page .sp-answer { max-width: 690px; padding: 0 34px 22px 0; }
.secondary-page .sp-answer p:last-child { margin-bottom: 0; }
.secondary-page .sp-callout { margin-top: 48px; padding: 30px; background: #edf3f7; border-radius: 12px; }
.secondary-page .sp-callout h2 { font-size: 1.5rem; }
.secondary-page .sp-callout p { margin-bottom: 16px; }
.secondary-page .sp-text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 20px; font-weight: 600; }
.secondary-page .sp-status { display: inline-block; margin: 0 0 24px; padding: 7px 11px; border: 1px solid #b7cfe1; border-radius: 5px; color: #1e527e; background: #eaf2f9; font-size: .75rem; font-weight: 650; line-height: 1.3; }
.secondary-page .sp-release { padding: 32px; background: white; border: 1px solid #dce3e8; border-radius: 12px; }
.secondary-page .sp-release h2 { max-width: 570px; }
.secondary-page .sp-release > :last-child { margin-bottom: 0; }
.secondary-page .sp-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.secondary-page .sp-card { min-width: 0; padding: 32px; background: white; border: 1px solid #dce3e8; border-radius: 12px; }
.secondary-page .sp-card-index { display: block; margin-bottom: 32px; color: var(--muted, #63717c); font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.secondary-page .sp-card h2 { font-size: 1.625rem; }
.secondary-page .sp-card p { margin-bottom: 0; }
.secondary-page .sp-linked-card { display: flex; flex-direction: column; color: var(--ink, #131b22); text-decoration: none; transition: border-color 180ms ease; }
.secondary-page .sp-linked-card:hover { border-color: var(--blue, #1675dc); }
.secondary-page .sp-card-link { display: flex; align-items: center; gap: 14px; margin-top: 24px; min-height: 44px; color: var(--blue, #1675dc); font-size: .9375rem; font-weight: 600; }
.secondary-page .sp-follow-on { margin-top: 36px; max-width: 760px; }
.secondary-page .sp-contact-main { padding-bottom: 32px; margin-bottom: 28px; }
.secondary-page .sp-contact-main h2 { font-size: 1.375rem; }
.secondary-page .sp-email { display: inline-flex; align-items: center; gap: 20px; min-height: 48px; max-width: 100%; margin: 0 0 10px; font-family: 'Bricolage Grotesque', Inter, sans-serif; font-size: clamp(1.1rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.025em; }
.secondary-page .sp-email span { flex-shrink: 0; }
/* The legal documents retain their original inner markup and wording. */
.secondary-page.sp-legal { padding-top: 100px; }
.secondary-page.sp-legal .page-hero { margin-bottom: 56px; }
.secondary-page.sp-legal .page-hero .wrap { width: auto; margin: 0; }
.secondary-page.sp-legal .doc { max-width: 760px; }
.secondary-page.sp-legal .doc h2 { font-size: 1.5rem; }
.secondary-page.sp-legal .doc h3,
.secondary-page.sp-legal .doc h4 { margin: 28px 0 12px; font-size: 1.0625rem; line-height: 1.5; }
.secondary-page.sp-legal .doc p,
.secondary-page.sp-legal .doc li { color: var(--muted, #63717c); }
.secondary-page.sp-legal .doc ul,
.secondary-page.sp-legal .doc ol { padding-left: 24px; margin: 0 0 22px; }
.secondary-page.sp-legal .doc li { padding-left: 4px; margin-bottom: 8px; }
.secondary-page.sp-legal .doc strong { color: var(--ink, #131b22); }
@media (max-width: 640px) {
  .secondary-page { padding: 36px 0 72px; }
  .secondary-page .sp-shell,
  .secondary-page.sp-legal > .page-hero,
  .secondary-page.sp-legal > .page-body { width: calc(100% - 40px); }
  .secondary-page .sp-back { margin-bottom: 28px; }
  .secondary-page .sp-header { margin-bottom: 40px; }
  .secondary-page .sp-intro { margin-top: 20px; }
  .secondary-page .sp-card-grid { grid-template-columns: 1fr; }
  .secondary-page .sp-card,
  .secondary-page .sp-callout,
  .secondary-page .sp-release { padding: 24px; }
  .secondary-page .sp-card-index { margin-bottom: 24px; }
  .secondary-page .sp-answer { padding-right: 24px; }
  .secondary-page .sp-email { gap: 12px; }
  .secondary-page.sp-legal { padding-top: 60px; }
  .secondary-page.sp-legal .page-hero { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .secondary-page .sp-button,
  .secondary-page .sp-linked-card { transition: none; }
}
