/* The site's frame, shared by /legal and the contact, support and feedback
   pages: the home page's top bar, a short band of the home sky at the
   visitor's hour, and the home footer. The home page writes the same bar in
   its own home.css. Tokens are /legal's own. */
:root {
  --blue-900: #12307f; --blue-700: #1e4fd0; --blue-600: #2b63e8; --blue-500: #3d78f0;
  --teal: #40e0d0; --teal-ink: #0b7d73;
  --ink: #16233d; --ink-2: #3b4a66; --ink-3: #5b6884;
  --line: #e1e6ef; --line-2: #cfd7e6; --wash: #f3f6fb; --wash-2: #e8eef8; --paper: #fff;
  --sans: 'Public Sans', -apple-system, system-ui, sans-serif;
}
[hidden] { display: none !important; }

/* ── Top bar: clear over the band, cobalt once the band scrolls away ─────── */
.rw-bar { position: fixed; inset: 0 0 auto; z-index: 40; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(16px, 3vw, 32px); color: #fff; font-family: var(--sans); transition: background-color .35s, box-shadow .35s; }
.rw-bar.stuck { background: var(--blue-700); box-shadow: 0 6px 18px -8px rgba(18, 48, 127, .55); }
.rw-bar a:focus-visible, .rw-bar button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.rw-lockup { display: flex; align-items: center; gap: 10px; min-width: 0; color: #fff; text-decoration: none; }
.rw-lockup:hover { color: #fff; }
.rw-lockup svg { flex: none; width: 28px; height: 28px; }
.rw-lockup b { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.rw-lockup .section { font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; padding-left: 12px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, .45); }
.rw-bar nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.rw-bar nav a.link { color: #fff; text-decoration: none; opacity: .92; padding: 4px 0; border-bottom: 2px solid transparent; }
.rw-bar nav a.link:hover { opacity: 1; color: #fff; }
.rw-bar nav a.link[aria-current] { opacity: 1; border-bottom-color: var(--teal); }
.rw-pill { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; }
.rw-pill:hover { color: #fff; background: rgba(255, 255, 255, .16); border-color: #fff; }
.rw-acct { position: relative; }
.rw-acct-btn { display: flex; align-items: center; gap: 10px; padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(10, 16, 30, .18); color: #fff; cursor: pointer; font: 600 14px var(--sans); }
.rw-acct-btn:hover { background: rgba(255, 255, 255, .18); }
.rw-avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; position: relative; background: var(--teal); color: var(--ink); display: grid; place-items: center; font-weight: 800; flex: none; }
.rw-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rw-acct-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; background: var(--paper); color: var(--ink); border-radius: 10px; padding: 8px; display: none; box-shadow: 0 12px 32px rgba(16, 22, 38, .16); }
.rw-acct-btn[aria-expanded="true"] + .rw-acct-menu { display: block; }
.rw-acct-menu p { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin: 0 0 6px; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.rw-acct-menu p strong { display: block; color: var(--ink); font-size: 15px; }
.rw-acct-menu a, .rw-acct-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font: 600 14px var(--sans); background: none; border: 0; cursor: pointer; }
.rw-acct-menu a:hover, .rw-acct-menu button:hover { color: var(--ink); background: var(--wash); }
.rw-acct-menu a:focus-visible, .rw-acct-menu button:focus-visible { outline-color: var(--blue-700); }

/* ── Band: a slice of the home sky at the visitor's hour (set by a one-line
   script after it), washed in cobalt so white titles always read. Without
   the script it is the cobalt wash over the sky's own night blue. ───────── */
.rw-band { position: relative; color: #fff; font-family: var(--sans); background: #26365a center 62% / cover no-repeat; }
.rw-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18, 48, 127, .92) 0%, rgba(30, 79, 208, .8) 55%, rgba(30, 79, 208, .3) 100%); }
.rw-band-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 116px clamp(16px, 4vw, 32px) 44px; }
.rw-band .band-title { margin: 0; max-width: 20ch; font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.rw-band .band-sub { margin: 12px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.6; color: #fff; text-shadow: 0 1px 2px rgba(10, 16, 30, .45); }
.rw-band .band-sub a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
.rw-band .band-sub a:hover { color: #fff; text-decoration-thickness: 2px; }
.rw-band a:focus-visible { outline-color: #fff; }

/* ── Footer: the home page's ─────────────────────────────────────────────── */
.rw-foot { background: var(--wash); border-top: 1px solid var(--line); padding: 40px 0; font: 14px/1.5 var(--sans); color: var(--ink-3); }
.rw-foot .wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rw-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.rw-foot a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.rw-foot a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .rw-bar nav a.link, .rw-lockup .section { display: none; }
  .rw-band-inner { padding-top: 96px; padding-bottom: 32px; }
}
@media print {
  .rw-bar, .rw-band, .rw-foot { display: none !important; }
}
