/*
 * Raising Superheroes: shared base styles (fonts, reset-lite, buttons, wordmark, focus).
 * Loaded on EVERY page after tokens.css. Page- and app-specific CSS builds on this.
 * Roboto is self-hosted (Apache 2.0, see fonts/LICENSE-roboto.txt): no Google Fonts requests.
 */
@font-face { font-family: Roboto; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/roboto-latin-400-normal.4279528ce0e7.woff2") format("woff2"); }
@font-face { font-family: Roboto; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/roboto-latin-500-normal.55cfeb5304f0.woff2") format("woff2"); }
@font-face { font-family: Roboto; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/roboto-latin-700-normal.10a07810f28f.woff2") format("woff2"); }
@font-face { font-family: Roboto; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/roboto-latin-900-normal.c1a67fffb17b.woff2") format("woff2"); }

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--rs-text); background: var(--rs-bg); font-family: var(--rs-font); font-size: var(--rs-text-base); line-height: var(--rs-leading); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rs-link); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { line-height: 1.12; margin-top: 0; }
p { margin-top: 0; }

.rs-container { width: min(var(--rs-max), calc(100% - 2 * var(--rs-gutter))); margin-inline: auto; }
.rs-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Skip link */
.rs-skip-link, .skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; transform: translateY(-160%); background: var(--rs-brand-white); color: var(--rs-text); padding: 10px 14px; border-radius: 6px; }
.rs-skip-link:focus, .skip-link:focus { transform: translateY(0); }

/* Focus: ink ring on light, canary on dark (canary on white is only 2:1) */
:focus-visible { outline: 3px solid var(--rs-focus); outline-offset: 3px; }
.rs-on-dark :focus-visible, .rs-dark :focus-visible { outline-color: var(--rs-focus-on-dark); }

/* Wordmark (text logotype from the landing page; swap for the real logo file when supplied) */
.rs-wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; font-weight: var(--rs-weight-black); line-height: .88; }
.rs-wordmark__top { color: var(--rs-brand-tangerine); font-size: 18px; }
.rs-wordmark__main { color: var(--rs-brand-white); font-size: 20px; }
.rs-wordmark__tag { color: var(--rs-brand-on-dark); margin-top: 6px; font-size: 9px; line-height: 1; font-weight: var(--rs-weight-bold); }
.rs-wordmark--on-light .rs-wordmark__main { color: var(--rs-brand-ocean); }
.rs-wordmark--on-light .rs-wordmark__tag { color: var(--rs-brand-muted); }

/* Buttons: tangerine pill with INK text. Label size is a token so it stays WCAG "large text". */
.rs-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 0; border-radius: var(--rs-radius-pill); background: var(--rs-action-bg); color: var(--rs-action-fg); font-size: var(--rs-button-size); font-weight: var(--rs-weight-black); text-decoration: none; cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.rs-button:hover { filter: brightness(.94); transform: translateY(-1px); }
.rs-button--dark { background: var(--rs-brand-ink); color: var(--rs-brand-white); }          /* 12.65 */
.rs-button--ghost { background: transparent; color: var(--rs-brand-ink); box-shadow: inset 0 0 0 2px var(--rs-brand-ink); }
.rs-dark .rs-button--ghost { color: var(--rs-brand-white); box-shadow: inset 0 0 0 2px var(--rs-brand-white); }

/* Eyebrow: tangerine rule + INK/ocean text (tangerine text on white fails contrast) */
.rs-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--rs-brand-ocean); font-size: .8rem; font-weight: var(--rs-weight-black); letter-spacing: .05em; text-transform: uppercase; }
.rs-eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--rs-brand-tangerine); }
.rs-dark .rs-eyebrow { color: var(--rs-brand-on-dark); }

/* Dark surface helper */
.rs-dark { background: var(--rs-brand-ink); color: var(--rs-brand-white); }
.rs-dark p { color: var(--rs-brand-on-dark); }
.rs-dark a:not(.rs-button) { color: var(--rs-brand-white); }

@media (max-width: 560px) { :root { --rs-gutter: 16px; --rs-header-height: 74px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* Real logo artwork (assets branch). Height-driven so it stays crisp; the wordmark text styles above are now unused fallbacks. */
.rs-logo { display: block; width: auto; height: 52px; }
.rs-header__brand .rs-logo, .rs-topbar__brand .rs-logo { height: 56px; }
.rs-topbar--light .rs-logo { height: 46px; }
.rs-partners__brand .rs-logo { height: 96px; }
.rs-footer .rs-logo, footer .rs-logo { height: 84px; }
