.msp-service-section { padding-block: 104px; scroll-margin-top: 108px; }
.msp-service-section .section-intro { margin-bottom: 48px; gap: 80px; }
.msp-topic-tabs { display: flex; border-bottom: 1px solid #bed5df; gap: 24px; }
.msp-topic-tabs button { padding: 18px 0; font-size: 14px; display: flex; align-items: center; gap: 9px; position: relative; color: var(--muted); min-height: 54px; }
.msp-topic-tabs .icon { width: 18px; height: 18px; }
.msp-topic-tabs [aria-selected=true] { color: var(--blue); }
.msp-topic-tabs [aria-selected=true]:after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); }
.msp-topic-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; padding-top: 48px; min-height: 365px; }
.msp-topic-copy h3 { font-size: 32px; max-width: 27ch; }
.msp-topic-copy > p { margin-top: 18px; color: var(--muted); font-size: 16px; max-width: 50ch; }
.msp-topic-copy ul { margin-top: 23px; display: grid; gap: 12px; }
.msp-topic-copy li { display: flex; gap: 10px; align-items: start; font-size: 14px; }
.msp-topic-copy li .icon { width: 17px; height: 17px; color: #0083ad; margin-top: 3px; }
.msp-topic-example { background: #f0f6f8; padding: 32px; display: flex; flex-direction: column; align-items: start; border-radius: 8px; }
.msp-example-icon .icon { width: 34px; height: 34px; color: #1685a7; }
.msp-topic-example blockquote { font-size: 28px; line-height: 1.3; letter-spacing: -.025em; margin: 28px 0 0; }
.msp-start { background: #f2f7f8; }
.msp-start-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-block: 70px; }
.msp-start-photo { position: relative; align-self: stretch; min-height: 460px; }
.msp-start-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% 50%; border-radius: 8px; }
.msp-start-photo p { position: absolute; bottom: 20px; left: 20px; right: 20px; background: #fff; padding: 13px 16px; font-size: 13px; border-radius: 4px; }
.msp-start-copy h2 { font-size: 40px; }
.msp-start-copy > .lead { font-size: 16px; margin-top: 20px; }
.msp-onboarding { display: grid; margin-block: 28px; gap: 21px; }
.msp-onboarding li { display: flex; align-items: start; gap: 15px; }
.msp-onboarding li > span { color: var(--blue); font-size: 12px; min-width: 24px; padding-top: 5px; }
.msp-onboarding h3 { font-size: 21px; }
.msp-onboarding p { color: var(--muted); font-size: 14px; margin-top: 7px; max-width: 45ch; }

@media(max-width:1180px) {
  .msp-topic-tabs { gap: 20px; justify-content: space-between; }
  .msp-topic-tabs button { font-size: 13px; gap: 6px; }
  .msp-topic-panel, .msp-start-layout { gap: 40px; }
}
@media(max-width:960px) {
  .msp-service-section { padding-block: 60px; }
  .msp-service-section .section-intro { gap: 20px; }
  .msp-topic-tabs { flex-wrap: wrap; justify-content: start; gap: 0 24px; border: 0; }
  .msp-topic-tabs button { font-size: 14px; }
  .msp-topic-panel { gap: 32px; min-height: 390px; }
  .msp-topic-copy h3 { font-size: 28px; }
  .msp-topic-example { padding: 24px; }
  .msp-topic-example blockquote { font-size: 25px; }
  .msp-start-layout { grid-template-columns: 1fr; padding-block: 54px; gap: 32px; }
  /* Once this stacks, the box must take its height from a real in-flow image rather than from
     aspect-ratio over two absolutely-positioned children. With nothing in flow, iOS Safari
     collapses the box and the bottom-anchored caption renders above it, overlapping the section
     above at a squashed width. Putting the ratio on the image itself is the pattern used for every
     other photo here (.page-split > img, .local-photo) and behaves the same in every engine. */
  .msp-start-photo { min-height: 0; aspect-ratio: auto; }
  .msp-start-photo img { position: static; width: 100%; height: auto; aspect-ratio: 1.8; }
  .msp-start-copy h2 { font-size: 36px; }
}
/* One invitation, with the action on its own rail; the quiz stays on its own page. */
.msp-health { background: var(--deep); color: white; }
.msp-health-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 4.45vw, 64px); align-items: center; }
.msp-health-copy .lead { max-width: 43ch; margin-top: 24px; color: #d0e4ed; font-size: 18px; }
.msp-health-action { justify-self: center; }
.msp-health-meta { margin-top: 20px; color: #c0dae5; font-size: 13px; line-height: 1.7; }
.msp-health .button:focus-visible { outline-color: #8bdbfa; }
@media(max-width:960px) {
  .msp-health-layout { grid-template-columns: 1fr; gap: 32px; }
  .msp-health-action { justify-self: start; }
}
@media(max-width:600px) {
  .msp-health-copy .lead { font-size: 16px; margin-top: 20px; }
  .msp-health-action { width: 100%; }
  .msp-health .button { width: 100%; justify-content: space-between; white-space: normal; text-align: left; gap: 16px; }
}
@media(max-width:600px) {
  .msp-service-section { padding-block: 64px; scroll-margin-top: 132px; }
  .msp-service-section .section-intro { margin-bottom: 32px; }
  .msp-topic-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .msp-topic-tabs button { padding: 12px 10px; font-size: 13px; min-height: 50px; border: 1px solid #dce6e9; border-radius: 5px; text-align: left; gap: 8px; }
  .msp-topic-tabs [aria-selected=true] { background: #edf7fb; border-color: #7bb7cc; }
  .msp-topic-tabs [aria-selected=true]:after { display: none; }
  .msp-topic-tabs .icon { width: 16px; height: 16px; }
  .msp-topic-tabs button:last-child { grid-column: 1/-1; }
  .msp-topic-panel { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; min-height: 0; }
  .msp-topic-copy h3 { font-size: 28px; }
  .msp-topic-copy > p { font-size: 16px; margin-top: 16px; }
  .msp-topic-copy li { font-size: 14px; }
  .msp-topic-example { padding: 24px; }
  .msp-topic-example blockquote { font-size: 24px; margin-top: 18px; }
  .msp-example-icon .icon { width: 28px; height: 28px; }
  .msp-start-layout { padding-block: 64px; gap: 40px; }
  .msp-start-photo img { aspect-ratio: 1.3; }
  .msp-start-photo p { left: 14px; right: 14px; bottom: 14px; font-size: 13px; padding: 11px 12px; }
  .msp-start-copy h2 { font-size: 32px; }
  .msp-onboarding { margin-block: 24px; gap: 20px; }
  .msp-onboarding li > span { font-size: 13px; }
  .msp-start-copy .button { width: 100%; justify-content: space-between; }
  .msp-page .faq-layout h2 { margin-bottom: 0; }
  .msp-page .faq-list { margin-top: 14px; }
}
