/* Shared visual foundation for Rebu's public pages. Page wording is unchanged. */
@font-face {
  font-family: "Rebu Home Geist";
  src: url('/assets/lai-redesign/geist-variable-9ce2d97863.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --rebu-ink: #312f57;
  --rebu-muted: #686374;
  --rebu-paper: #fbfaf7;
  --rebu-lavender: #eeebf4;
  --rebu-rule: #ded9e4;
  --rebu-sans: "Rebu Home Geist", Arial, sans-serif;
}
.home-secondary-shell { background: var(--rebu-paper); color: var(--rebu-ink); font-family: var(--rebu-sans); }
.home-secondary-shell > main { min-width: 0; }
.home-secondary-shell :where(a,button,summary) { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.home-secondary-shell :where(a,button,summary,[tabindex]):focus-visible { outline: 3px solid #8264b9; outline-offset: 5px; }
.home-secondary-shell ::selection { background: #d8cfeb; color: #312f57; }

/* Retain the secondary footer's full navigation and eligibility wording. */
.rebu-shared-footer.rebu-shared-footer {
  padding: 66px 0 30px;
  border-top: 1px solid var(--rebu-rule);
  background: var(--rebu-paper);
  color: var(--rebu-ink);
  font: 400 14px/1.6 var(--rebu-sans);
}
.rebu-shared-footer > div { width: min(1200px, calc(100% - 112px)); max-width: none; margin-inline: auto; }
.rebu-shared-footer > div > div:first-child { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 72px; margin-bottom: 40px; }
.rebu-shared-footer > div > div:first-child > div { min-width: 0; grid-column: auto; }
.rebu-shared-footer > div > div:first-child > div:first-child > a > img { width: 130px; height: auto; }
.rebu-shared-footer > div > div:first-child > div:first-child > p { max-width: 330px; margin-top: 22px; font-size: 14px; line-height: 1.8; color: var(--rebu-muted); }
.rebu-shared-footer h5 { margin: 0 0 18px; font: 550 13px/1.5 var(--rebu-sans); color: var(--rebu-ink); }
.rebu-shared-footer ul { padding: 0; list-style: none; color: var(--rebu-muted); }
.rebu-shared-footer ul > li { margin-block: 0; }
.rebu-shared-footer ul :is(a,button) { display: inline-flex; align-items: center; min-height: 36px; padding: 5px 0; font: inherit; color: inherit; transition: color .18s; }
.rebu-shared-footer ul :is(a,button):hover { color: var(--rebu-ink); transform: none; text-decoration: underline; text-underline-offset: 4px; }
.rebu-shared-footer a[href^="mailto:"] { font-weight: 400; font-size: 14px; overflow-wrap: anywhere; }
.rebu-shared-footer a[target="_blank"] { width: 44px; height: 44px; background: transparent; box-shadow: none; border: 1px solid var(--rebu-rule); color: var(--rebu-ink); }
.rebu-shared-footer a[target="_blank"]:hover { background: var(--rebu-lavender); border-color: #b8b0c5; transform: none; }
.rebu-shared-footer > div > div:nth-child(2) { padding-top: 23px; border-color: var(--rebu-rule); gap: 24px; }
.rebu-shared-footer > div > div:nth-child(2) > div:first-child { font-size: 12px; color: var(--rebu-muted); }
.rebu-shared-footer [aria-label="HIPAA compliant"] { color: var(--rebu-muted); opacity: .85; gap: 7px; }
.rebu-shared-footer [aria-label="HIPAA compliant"] svg { width: 26px; height: 26px; }
.rebu-shared-footer [aria-label="HIPAA compliant"] span:first-child { font-size: 12px; font-weight: 550; }
.rebu-shared-footer [aria-label="HIPAA compliant"] span:last-child { font-size: 9px; }
.rebu-shared-footer [data-nosnippet] { max-width: none; margin-top: 24px; color: var(--rebu-muted); font-size: 11px; line-height: 1.8; text-align: left; }
.rebu-shared-footer [data-nosnippet] p { max-width: 100ch; }
.rebu-shared-footer [data-nosnippet] strong { font-weight: 550; }

@media (max-width: 900px) {
  .rebu-shared-footer > div { width: calc(100% - 56px); }
  .rebu-shared-footer > div > div:first-child { grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .rebu-shared-footer.rebu-shared-footer { padding-top: 46px; }
  .rebu-shared-footer > div { width: calc(100% - 44px); }
  .rebu-shared-footer > div > div:first-child { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; }
  .rebu-shared-footer > div > div:first-child > div:first-child { grid-column: 1 / -1; }
  .rebu-shared-footer > div > div:first-child > div:first-child > p { max-width: 430px; }
  .rebu-shared-footer ul :is(a,button) { min-height: 44px; font-size: 13px; }
  .rebu-shared-footer > div > div:nth-child(2) { flex-direction: row; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .home-secondary-shell *, .home-secondary-shell *::before, .home-secondary-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
