/* Shared header/footer. Tokens and selectors stay local to the site shell. */
.site-shell {
  --shell-ink: #19143b;
  --shell-purple: #7047ff;
  --shell-muted: #69617e;
  --shell-line: #e7e4ef;
  box-sizing: border-box;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: normal;
  color: var(--shell-ink);
  background: #fcfbff;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.site-shell *, .site-shell *::before, .site-shell *::after { box-sizing: border-box; }
.site-shell a { color: inherit; text-decoration: none; }
.site-shell a:hover { color: var(--shell-purple); }
.site-shell :focus-visible { outline: 3px solid var(--shell-purple); outline-offset: 4px; }
.shell-wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.site-header.site-shell { position: sticky; top: 0; z-index: 90; border-bottom: 1px solid var(--shell-line); background: rgba(252,251,255,.95); backdrop-filter: blur(18px); }
.shell-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.shell-brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; flex: none; }
.shell-brand img { display: block; width: 33px; height: 37px; max-width: none; }
.shell-brand span { font-size: 29px; font-weight: 900; line-height: 1; letter-spacing: -.085em; }
.site-shell .shell-brand:hover { color: var(--shell-ink); }
.shell-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.shell-nav > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; font-weight: 650; line-height: 1.2; }
.shell-nav > a[aria-current] { color: #5e35f7; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.shell-header-actions { display: flex; align-items: center; gap: 12px; }
.site-shell .shell-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; gap: 8px; padding: 13px 21px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 750; line-height: 1.2; text-align: center; background: var(--shell-purple); color: white; box-shadow: 0 9px 20px rgba(112,71,255,.2); transition: background .2s, transform .2s; }
.site-shell .shell-button:hover { color: white; background: #5e35f7; transform: translateY(-2px); }
.shell-button svg, .shell-menu-button svg { display: block; width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.shell-nav .shell-mobile-cta, .shell-menu-button { display: none; }
.shell-menu-button { width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; border: 1px solid var(--shell-line); border-radius: 13px; background: white; color: var(--shell-ink); cursor: pointer; }
.shell-menu-button svg { width: 23px; height: 23px; }
.site-footer.site-shell { padding: 51px 0 34px; border-top: 1px solid var(--shell-line); }
.shell-footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-bottom: 40px; }
.shell-footer-intro { max-width: 320px; }
.shell-footer-intro p { margin: 15px 0 0; font-size: 12px; line-height: 1.7; color: var(--shell-muted); }
.shell-footer-intro .shell-footer-cta { margin-top: 18px; }
.shell-footer-nav, .shell-footer-legal { display: flex; flex-wrap: wrap; min-width: 0; gap: 0 28px; }
.shell-footer-nav { max-width: 540px; }
.shell-footer-nav a, .shell-footer-legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.shell-footer-nav a { font-weight: 750; }
.shell-footer-legal { gap: 8px 22px; padding-bottom: 28px; }
.site-shell .shell-footer-legal a { color: var(--shell-muted); text-decoration: underline; text-underline-offset: 3px; }
.shell-footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; border-top: 1px solid var(--shell-line); padding-top: 21px; color: var(--shell-muted); font-size: 11px; line-height: 1.7; }
.shell-footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) and (min-width: 821px) {
  .shell-header-inner { gap: 18px; }
  .shell-nav { gap: 16px; }
  .shell-nav > a { font-size: 12px; }
  .site-shell .shell-desktop-cta { padding-inline: 16px; font-size: 12px; }
}
@media (max-width: 820px) {
  .shell-wrap { width: min(680px, calc(100% - 38px)); }
  .shell-header-inner { min-height: 72px; }
  .shell-nav { flex-direction: column; align-items: stretch; gap: 6px; }
  .shell-nav > a { font-size: 15px; }
  .shell-nav .shell-mobile-cta { display: flex; margin-top: 10px; color: white; }
  .shell-header-actions .shell-desktop-cta { display: none; }
  /* Until JS initializes, links remain accessible in a normal document flow. */
  html:not(.has-site-shell) .site-header.site-shell { position: relative; }
  html:not(.has-site-shell) .shell-header-inner { flex-wrap: wrap; padding-top: 16px; }
  html:not(.has-site-shell) .shell-nav { width: 100%; order: 3; padding: 12px 0; }
  .has-site-shell .shell-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 20px 24px 25px; background: white; border-bottom: 1px solid var(--shell-line); box-shadow: 0 20px 30px rgba(20,17,62,.06); max-height: calc(100dvh - 72px); overflow-y: auto; }
  .has-site-shell .shell-nav.is-open { display: flex; }
  .has-site-shell .shell-menu-button { display: flex; }
}
@media (max-width: 540px) {
  .shell-wrap { width: calc(100% - 36px); }
  .shell-brand span { font-size: 26px; }
  .shell-footer-top, .shell-footer-bottom { flex-direction: column; align-items: flex-start; }
  .shell-footer-nav { gap: 0 18px; }
}
@media (prefers-reduced-motion: reduce) { .site-shell *, .site-shell *::before, .site-shell *::after { transition: none !important; animation: none !important; } }
