/* Shared chrome for every demo page: the Runeflake bar on top, the CTA strip at the
   bottom. Everything between them belongs to the demo's own stylesheet, so all
   selectors here are rf- prefixed and nothing here styles bare elements except the reset. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rf-skip { position: absolute; left: -9999px; z-index: 100; }
.rf-skip:focus { left: 12px; top: 8px; background: #141218; color: #fff; padding: 8px 14px; border-radius: 8px; font: 600 14px Figtree, system-ui, sans-serif; }

.rf-bar { position: relative; z-index: 50; background: #0d0d11; color: #fff; font: 500 13px/1.3 Figtree, system-ui, sans-serif; }
.rf-bar__in { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); min-height: 48px;
  display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; }
.rf-bar a { color: inherit; text-decoration: none; }
.rf-bar__logo { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.rf-bar__logo span { background: #d9f26b; color: #141218; letter-spacing: .06em; font-size: 10.5px; padding: 3px 7px; border-radius: 999px; }
.rf-bar__crumb { color: rgba(255,255,255,.62); }
.rf-bar__crumb b { color: #fff; font-weight: 600; }
.rf-bar__note { margin-left: auto; color: rgba(255,255,255,.62); display: flex; align-items: center; gap: 8px; }
.rf-bar__note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d9f26b; }
.rf-bar__nav { display: flex; gap: 6px; }
.rf-bar__nav a { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 11px; }
.rf-bar__nav a:hover { background: rgba(255,255,255,.1); }
.rf-bar a:focus-visible, .rf-foot a:focus-visible { outline: 2px solid #d9f26b; outline-offset: 2px; }
@media (max-width: 720px) { .rf-bar__note { display: none; } .rf-bar__crumb { flex-basis: 100%; order: 3; padding-bottom: 10px; } .rf-bar__nav { margin-left: auto; } }

.rf-foot { background: #0d0d11; color: rgba(255,255,255,.7); font: 400 14px/1.5 Figtree, system-ui, sans-serif; }
.rf-foot__in { max-width: 1320px; margin: 0 auto; padding: 22px clamp(16px, 3vw, 32px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.rf-foot strong { color: #fff; font-weight: 600; }
.rf-foot__cta { background: #d9f26b; color: #141218; font-weight: 700; padding: 10px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.rf-foot__cta:hover { background: #c6e553; }
