/* Container and rhythm values come from recorded boxes, not reference rules. */
.tc-wrap { width: 1170px; max-width: 100%; padding-inline: var(--tc-space-3); margin-inline: auto; }
.tc-grid { display: flex; flex-wrap: wrap; margin-inline: -15px; }
.tc-grid > [class*='tc-cell--'] { min-width: 0; padding-inline: var(--tc-space-3); }
.tc-cell--full { width: 100%; }
.tc-cell--quarter { width: 25%; }
.tc-cell--third { width: calc(100% / 3); }
.tc-cell--half { width: 50%; }
.tc-cell--two-thirds { width: calc(200% / 3); }
.tc-cell--three-quarters { width: 75%; }
.tc-cell--large-half { width: 50%; }
.tc-grid > .tc-laptop { display: contents; }
.tc-laptop > [class*='tc-cell--'] { padding-inline: 15px; }
.tc-section { padding-block: var(--tc-space-7) var(--tc-space-8); }
.tc-surface { background: var(--tc-white); }
.tc-hero { position: relative; margin: 0 0 var(--tc-space-5); background: var(--tc-white); }
.tc-hero__surface { padding-block: 25.5px; }
.tc-hero__copy { text-align: center; }
.tc-hero__copy p { font-size: 20px; line-height: 1.5; margin-bottom: 20px; }
.tc-hero__copy p:empty { min-height: 5px; margin-bottom: 0; }
.tc-page--home .tc-hero { background: var(--tc-paper); }
.tc-page--home .tc-hero__surface { min-height: 269px; }
.tc-page--home .tc-hero h1 { max-width: 1050px; margin-inline: auto; }
.tc-prose-shell { text-align: left; padding-block: 20px; }
.tc-prose h3 { margin-top: 0; margin-bottom: 20px; font-size: 24px; }
.tc-prose h3:not(:first-child) { margin-top: 30px; }
.tc-prose p { margin-bottom: 20px; font-size: 14px; line-height: 20px; }
.tc-prose ul { margin-bottom: 25px; }
.tc-prose li { margin-bottom: 10px; }
.tc-side .tc-intro { font-size: 18px; margin-bottom: 18px; }
.tc-service-sidebar ul { padding: 0; list-style: none; }
.tc-service-sidebar li { padding-block: 9px; border-bottom: 1px solid var(--tc-rule); }
.tc-side-toggle { display: none; }
.tc-page-body { padding-bottom: var(--tc-space-8); }
.tc-page--service .tc-header__topics { display: none; }
@media (min-width: 1200px) {
  .tc-cell--wide-quarter { width: 25%; }
  .tc-cell--wide-three-quarters { width: 75%; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .tc-wrap { width: 970px; }
  .tc-feature .tc-cell--large-half { width: 100%; }
  .tc-feature img { margin-bottom: 20px; }
}
@media (min-width: 768px) and (max-width: 991px) { .tc-wrap { width: 750px; } }
@media (max-width: 1199px) { .tc-site { padding-top: 120px; } }
@media (max-width: 767px) {
  .tc-wrap { width: 100%; }
  .tc-grid > [class*='tc-cell--'], .tc-laptop > [class*='tc-cell--'] { width: 100%; }
  .tc-grid > .tc-cell--mobile-third { width: calc(100% / 3); }
  .tc-grid > .tc-cell--mobile-two-thirds { width: calc(200% / 3); }
  .tc-hero__surface { padding-block: var(--tc-space-5); }
  .tc-hero__copy h1 { display: inline-block; }
  .tc-hero__copy p { display: none; }
  .tc-hero__copy .tc-button { margin-top: 18px; }
  .tc-page--home .tc-hero__surface { min-height: 283px; }
  .tc-page--home .tc-hero h1 { display: block; }
  .tc-section { padding-block: var(--tc-space-7) var(--tc-space-8); }
  .tc-side-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px; margin-bottom: 14px; border: 1px solid var(--tc-rule); background: var(--tc-white); color: var(--tc-ink); }
  .tc-service-sidebar ul { display: none; }
  .tc-service-sidebar.tc-is-open ul { display: block; }
  .tc-service-sidebar .tc-intro { display: none; }
  .tc-prose h3 { font-size: 24px; }
  .tc-page-body { padding-bottom: 45px; }
}
/* First geometry pass: compact nested story cells and horizontal hero surfaces. */
.tc-cell--mobile-third { width: calc(100% / 3); }
.tc-cell--mobile-two-thirds { width: calc(200% / 3); }
.tc-hero { display: flex; flex-direction: column; justify-content: center; }
.tc-hero__surface { display: flex; justify-content: center; }
.tc-hero__copy h1 { display: block; }
.tc-page--home .tc-hero { background: var(--tc-ink); color: var(--tc-white); }
.tc-page--home .tc-hero h1 { max-width: none; margin-inline: 0; }
@media (max-width: 767px) {
  .tc-hero__copy { width: 100%; }
  .tc-hero__copy h1 { display: block; width: 100%; }
}
/* Third pass: use the dark brand surface for the measured title bands. */
.tc-hero { color: var(--tc-white); background: var(--tc-ink); }
@media (max-width: 767px) {
  .tc-hero__copy h1 { width: fit-content; max-width: 100%; margin-inline: auto; }
  .tc-page--home .tc-hero__copy h1 { width: 100%; margin-inline: 0; }
}
