:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171c2e;
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #2d689c; outline-offset: 4px; }
p { line-height: 1.7; color: #525d73; }
h1, h2 { letter-spacing: -.035em; line-height: 1.12; }
h1 { font-size: clamp(2.8rem, 8vw, 5rem); margin: .3em 0; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin: 0 0 .6em; }
.shell { width: min(100% - 40px, 1040px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 5; background: #fff; padding: 12px 16px; }
.skip:focus { top: 8px; }
.site-header { position: relative; z-index: 10; background: #f7f8fb; }
.header-inner { width: min(100% - 48px, 1600px); min-height: 96px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { width: max-content; display: inline-flex; align-items: center; gap: 12px; color: #171c2e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 800; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.brand img { width: 44px; height: 44px; display: block; border-radius: 11px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.main-nav { justify-content: center; gap: 6px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.main-nav a { color: #48546d; font-size: 1rem; font-weight: 700; padding: 10px 17px; border-radius: 999px; text-decoration: none; }
.main-nav a:hover { background: #e4eaf5; }
.main-nav a[aria-current="page"] { color: #fff; background: #171c2e; }
.header-download { justify-self: end; display: inline-flex; align-items: center; gap: 9px; padding: 12px 19px; border-radius: 999px; background: #171c2e; color: #fff; font-size: .95rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.header-download:hover { background: #3d5278; }
body:has(.home-main) .site-header { background: #eef1f7; }
main { padding-bottom: 48px; }
.hero { max-width: 780px; padding: 70px 0 42px; }
.hero-small { padding: 48px 0 25px; }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.45rem); }
.eyebrow { font-size: .75rem; font-weight: 780; letter-spacing: .13em; text-transform: uppercase; color: #386b9a; }
.small { font-size: .84rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tags span { padding: 9px 14px; background: #e7eef7; border-radius: 999px; font-size: .82rem; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 23px; margin: 8px 0; border-radius: 999px; background: #171c2e; color: #fff; text-decoration: none; font-weight: 730; }
.button-light { background: #fff; color: #171c2e; }
.text-link { font-weight: 700; }
.section { margin-top: 20px; }
.section > h2 { max-width: 680px; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.card { background: #f0f2f6; border-radius: 28px; padding: clamp(24px, 4vw, 38px); margin: 18px 0; }
.grid .card { margin: 0; }
.card p:last-child { margin-bottom: 0; }
.accent { background: #e4edf7; }
.contact { background: #171c2e; border-radius: 28px; color: #fff; padding: clamp(25px, 4vw, 40px); margin: 25px 0; }
.contact p { color: #dde2ed; }
.contact .eyebrow { color: #b6d7f0; }
.related { margin-block: 24px; }
.license { background: #f0f2f6; border-radius: 20px; margin: 14px 0; padding: 18px 22px; }
.license summary { font-weight: 740; cursor: pointer; font-size: 1.1rem; }
.license pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .79rem; line-height: 1.55; color: #3e495e; }
.site-footer { width: 100%; background: #171c2e; color: #e4eaf5; font-size: .9rem; }
.footer-inner { width: min(100% - 48px, 1240px); margin: auto; padding: clamp(48px, 6vw, 84px) 0 28px; }
.footer-top { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 1.7fr); gap: clamp(45px, 8vw, 140px); }
.footer-brand { display: flex; align-items: flex-start; gap: 16px; }
.footer-brand img { width: 52px; height: 52px; flex: none; border-radius: 12px; }
.footer-brand strong { display: block; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.04em; color: #fff; }
.footer-brand p { margin: 7px 0 0; color: #b8c3d7; font-size: .95rem; line-height: 1.5; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.site-footer .footer-links nav { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.site-footer h2 { margin: 0 0 9px; color: #fff; font-size: .78rem; line-height: 1.3; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a { color: #bac5d9; text-decoration: none; line-height: 1.4; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid #3a455d; margin-top: clamp(44px, 6vw, 75px); padding-top: 22px; color: #aab7cd; font-size: .78rem; }
.contact-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-options .card { margin: 0; }
.contact-options .text-link { display: inline-block; margin-top: 14px; }
.contact-address { margin: 22px 0 0; padding: clamp(26px, 4vw, 42px); border-radius: 28px; background: #171c2e; color: #fff; }
.contact-address .eyebrow { color: #b6d7f0; }
.contact-address h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.contact-address p { max-width: 740px; color: #dce3ef; }
.contact-address p a { font-weight: 750; color: #fff; overflow-wrap: anywhere; }
.contact-address .contact-note { margin: 18px 0 0; font-size: .87rem; color: #bac5d9; }
.exercise-main { background: #f7f8fb; padding: 68px 24px 100px; }
.exercise-directory { width: min(100%, 1180px); margin: auto; }
.exercise-directory h1 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 800; color: #171c2e; margin: 0 0 38px; }
.exercise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.exercise-list li { border-bottom: 1px solid #d8deea; padding: 13px 0; color: #171c2e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.04rem; font-weight: 700; line-height: 1.35; }
@media (max-width: 700px) {
  .shell { width: calc(100% - 30px); }
  .header-inner { width: calc(100% - 30px); min-height: 74px; display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; padding-block: 12px; }
  .brand { gap: 7px; font-size: 1.5rem; }
  .brand img { width: 34px; height: 34px; border-radius: 8px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: nowrap; gap: 0; }
  .main-nav a { font-size: .86rem; padding: 8px 10px; }
  .header-download { grid-row: 1; grid-column: 2; padding: 9px 13px; font-size: .85rem; }
  .exercise-main { padding: 42px 20px 70px; }
  .exercise-list { grid-template-columns: 1fr; }
  .hero { padding: 42px 0 25px; }
  .grid { grid-template-columns: 1fr; }
  .card, .contact { border-radius: 23px; }
  .button { width: 100%; }
  .footer-inner { width: calc(100% - 40px); padding: 48px 0 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 5px; margin-top: 46px; }
  .contact-options { grid-template-columns: 1fr; }
}
@media (max-width: 400px) { .footer-links { column-gap: 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
