/* Shared by the app and the standalone policy page. */
:root {
  --page-width: 1280px;
  --page-gutter: 48px;
  --card-radius: 10px;
  --control-radius: 8px;
  --page-heading: clamp(36px, 5vw, 64px);
  --blue: #92aec2;
  --blue-hover: #b0c8d9;
  --ink: #080b0e;
  --surface: #11171d;
  --border: #293640;
  --muted: #a8b1b9;
}
body .site-header {
  min-height: 80px;
  height: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px var(--page-gutter);
  border-bottom: 1px solid var(--border);
  background: var(--ink);
  position: relative;
  z-index: 3;
  max-width: none;
  margin: 0;
  line-height: 1.4;
}
body .site-header .brand-logo { width: 200px; height: 50px; }
.site-header .header-navigation { display: flex; gap: 24px; align-items: center; }
.site-header .header-navigation a, .header-menu nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  color: inherit;
  white-space: nowrap;
}
.site-header a[aria-current="page"] { color: var(--blue-hover); }
.site-header .header-navigation a:hover, .header-menu nav a:hover { color: var(--blue-hover); }
body .site-header .client-login-button {
  margin-left: auto;
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 8px;
  padding: 10px 14px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--blue-hover);
  text-decoration: none;
  white-space: nowrap;
}
.site-header .header-menu { display: none; order: 3; }
.header-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--control-radius);
  padding: 10px 12px;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
}
.header-menu summary::-webkit-details-marker { display: none; }
.header-menu[open] summary { border-color: var(--blue); }
.header-menu nav {
  position: absolute;
  right: var(--page-gutter);
  top: calc(100% - 1px);
  width: 230px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--control-radius);
  background: var(--surface);
  box-shadow: 0 12px 32px #0009;
}
body .site-footer {
  padding: 44px var(--page-gutter);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  max-width: none;
  margin: 0;
  line-height: 1.6;
}
.site-footer .footer-brand { margin: 0; border: 0; padding: 0; }
body .site-footer .brand-logo { width: 180px; height: 44px; }
.site-footer .footer-brand p { font-size: 13px; color: var(--muted); margin: 12px 0 8px; }
.site-footer .footer-brand small { font-size: 12px; color: var(--muted); }
.site-footer .footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .footer-links section { margin: 0; padding: 0; border: 0; }
.site-footer .footer-links h2 { font-size: 13px; font-weight: 600; margin: 0 0 10px; letter-spacing: 0; line-height: 1.4; }
body .site-footer .footer-links a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
  min-height: 36px;
}
.site-footer .footer-links a:hover { color: var(--blue-hover); }
body .site-page { max-width: var(--page-width); margin: auto; padding: 56px var(--page-gutter) 72px; }
.site-page .page-title {
  font-size: var(--page-heading);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 0 0 20px;
}
.site-page .page-intro { margin-bottom: 36px; }
.site-page .page-intro > p:not(.eyebrow):not(.service-eyebrow):not(.quiet) { font-size: 17px; line-height: 1.65; max-width: 720px; }
body .site-main .primary-button, body .site-main .secondary-button,
body .site-main .portal-button, body .site-main .service-add, body .site-main .service-checkout,
body .session-dialog .primary-button {
  border-radius: var(--control-radius);
  min-height: 48px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  gap: 10px;
  text-decoration: none;
}
body .site-main .primary-button { border: 1px solid transparent; }
body .site-main .intro-copy > .primary-button { border: 1px solid transparent; }
body .site-main .text-link { min-height: 44px; }
body .site-main .guide-map, body .site-main .exercise-card,
body .site-main .service-benefits, body .site-main .portal-login,
body .site-main .movement-detail { border-radius: var(--card-radius); }
.site-page .eyebrow, .site-page .service-eyebrow { font-size: 11px; letter-spacing: 1.7px; margin-bottom: 18px; }
.brand-link { display: block; flex-shrink: 0; text-decoration: none; }
.brand-logo { display: block; position: relative; overflow: hidden; width: 200px; height: 50px; }
.brand-logo > img { position: absolute; top: 50%; left: 0; width: 100%; height: auto; transform: translateY(-50%); }
@media (max-width: 1280px) {
  :root { --page-gutter: 32px; }
  body .site-header { gap: 16px; }
  .site-header .header-navigation { display: none; }
  .site-header .header-menu { display: block; }
  .site-footer .footer-links { gap: 28px; }
}
@media (max-width: 720px) {
  :root { --page-gutter: 22px; }
  body .site-header { min-height: 72px; padding-block: 10px; gap: 10px; }
  body .site-header .brand-logo { width: 154px; height: 40px; }
  body .site-header .client-login-button { padding: 10px; font-size: 12px; }
  .site-header .client-login-button svg, .header-menu summary svg { display: none; }
  .header-menu summary { padding: 10px; }
  body .site-page { padding-block: 36px 48px; }
  body .site-footer { flex-direction: column; gap: 28px; padding-block: 32px; }
  .site-footer .footer-links { width: 100%; gap: 24px; }
}
@media (max-width: 430px) {
  :root { --page-gutter: 18px; }
  body .site-header .brand-logo { width: 125px; height: 36px; }
  .site-footer .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  body .site-header { gap: 8px; padding-inline: 12px; }
  body .site-header .brand-logo { width: 110px; height: 34px; }
}
