:root {
  --jeeves-bg: #f0f5ff;
  --jeeves-panel: #ffffff;
  --jeeves-sidebar: #e2ebff;
  --jeeves-border: #c9d6ed;
  --jeeves-border-strong: #8ca3cc;
  --jeeves-text: #152548;
  --jeeves-muted: #536584;
  --jeeves-on-accent: #ffffff;
  --jeeves-accent: #2455eb;
  --jeeves-link: #2455eb;
  --jeeves-focus: #2455eb;
  color-scheme: light;
}
.dark {
  --jeeves-bg: #111f3d;
  --jeeves-panel: #1a2e51;
  --jeeves-sidebar: #263e67;
  --jeeves-border: #40577e;
  --jeeves-border-strong: #7188af;
  --jeeves-text: #f0f5ff;
  --jeeves-muted: #bccce5;
  --jeeves-on-accent: #143577;
    --jeeves-accent: #adc4ff;
  --jeeves-link: #adc4ff;
  --jeeves-focus: #c1d2ff;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-legal-theme]) {
    --jeeves-bg: #111f3d;
    --jeeves-panel: #1a2e51;
    --jeeves-sidebar: #263e67;
    --jeeves-border: #40577e;
    --jeeves-border-strong: #7188af;
    --jeeves-text: #f0f5ff;
    --jeeves-muted: #bccce5;
    --jeeves-on-accent: #143577;
    --jeeves-accent: #adc4ff;
    --jeeves-link: #adc4ff;
    --jeeves-focus: #c1d2ff;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; scrollbar-color: var(--jeeves-border-strong) var(--jeeves-bg); }
body { margin: 0; background: var(--jeeves-bg); color: var(--jeeves-text); font: 400 16px/1.8 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--jeeves-accent); color: var(--jeeves-on-accent); }
a { color: var(--jeeves-link); text-underline-offset: 4px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible { outline: 2px solid var(--jeeves-focus); outline-offset: 4px; border-radius: 3px; }
.skipLink { position: absolute; top: 8px; left: 16px; z-index: 5; padding: 8px 12px; background: var(--jeeves-panel); transform: translateY(-160%); }
.skipLink:focus { transform: translateY(0); }
.legalHeader { border-bottom: 1px solid var(--jeeves-border); }
.legalNav { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1120px; min-height: 80px; margin: 0 auto; padding: 16px 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--jeeves-text); text-decoration: none; font-size: 23px; font-weight: 500; line-height: 1.4; letter-spacing: -.035em; }
.brand svg { flex-shrink: 0; }
.returnLink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--jeeves-muted); text-decoration: none; font-size: 13px; line-height: 1.5; }
.returnLink:hover { color: var(--jeeves-text); }
.returnLink svg { flex-shrink: 0; }
.legalDocument { width: calc(100% - 64px); max-width: 70ch; margin: 64px auto 72px; overflow-wrap: anywhere; }
.legalDocument:focus { outline: none; }
.legalDocument p { margin: 0 0 20px; }
.legalDocument .h1 { margin-bottom: 8px; font-size: clamp(30px, 3.2vw, 40px); font-weight: 500; line-height: 1.35; letter-spacing: -.035em; }
.legalDocument .h2 { margin-bottom: 8px; color: var(--jeeves-muted); font-size: 15px; line-height: 1.6; }
.legalDocument .h2 + .normal0 { margin-bottom: 36px; color: var(--jeeves-muted); font-size: 12px; line-height: 1.7; }
.legalDocument > ol { margin: 40px 0 16px; padding-left: 24px; font-size: 16px; font-weight: 600; line-height: 1.6; }
.legalDocument > div { line-height: 1.8; }
.legalFooter { width: calc(100% - 64px); max-width: 70ch; margin: 0 auto; padding: 24px 0 36px; border-top: 1px solid var(--jeeves-border); }
.policyLinks, .socialLinks { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.legalFooter a { display: inline-flex; align-items: center; min-height: 44px; color: var(--jeeves-muted); text-decoration: none; font-size: 12px; line-height: 1.5; }
.legalFooter a:hover, .legalFooter a[aria-current='page'] { color: var(--jeeves-text); }
.socialLinks { margin-top: 8px; }
[hidden] { display: none !important; }
@media (max-width: 639px) {
  .legalNav { min-height: 72px; gap: 16px; padding: 12px 24px; }
  .brand { font-size: 21px; }
  .brand svg { width: 18px; height: 23px; }
  .returnLink { gap: 6px; font-size: 12px; }
  .legalDocument { width: calc(100% - 48px); margin-top: 40px; margin-bottom: 48px; font-size: 15px; line-height: 1.85; }
  .legalDocument .h1 { font-size: 30px; }
  .legalDocument > ol { margin-top: 32px; font-size: 14px; line-height: 1.7; }
  .legalFooter { width: calc(100% - 48px); padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; } }
