/* Shared ScanRebel design: loaded by the homepage and every content page. */
:root {
  color-scheme: dark;
  --bg: #080b09;
  --surface: #101511;
  --surface-raised: #161d17;
  --ink: #f5f7ee;
  --muted: #a2afa5;
  --green: #a9ef39;
  --mint: #00ec88;
  --line: #263128;
  --mono: "IBM Plex Mono", monospace;
  --display: "Space Grotesk", "IBM Plex Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "IBM Plex Sans", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.lightbox-open { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
::selection { color: var(--bg); background: var(--green); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 112px; }
.mono, .eyebrow { font-family: var(--mono); }
.eyebrow { color: var(--green); font-size: .75rem; font-weight: 500; letter-spacing: .11em; line-height: 1.6; margin-bottom: 24px; }
h2 { line-height: 1.12; letter-spacing: -.055em; font-weight: 600; font-size: clamp(2rem, calc(1.2rem + 2vw), 3.2rem); }
h2 > span { color: var(--muted); }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 110; padding: 12px 20px; background: var(--green); color: var(--bg); }
.skip-link:focus { top: 16px; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.ui-icon { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -.125em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid #ffffff0d; background: #080b09f5; transition: border-color .2s; }
.header-scrolled .site-header { border-bottom-color: var(--line); }
.nav-bar { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.55rem; font-weight: 700; letter-spacing: -.045em; min-height: 44px; }
.brand > span > span { color: var(--mint); }
.brand img { flex: 0 0 auto; }
.desktop-nav { display: flex; gap: 30px; margin-left: auto; font-size: .875rem; color: #bcc7be; }
.desktop-nav a { padding-block: 12px; transition: color .2s; }
.desktop-nav a:hover { color: var(--green); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 56px; padding: 15px 24px; border: 1px solid var(--green); border-radius: 8px; background: var(--green); color: #102005; font-size: .9375rem; font-weight: 700; line-height: 1.3; transition: background .18s, transform .18s, box-shadow .18s; }
.button > span { font-size: 1.3em; font-weight: 400; }
.button:hover { background: #befb5d; transform: translateY(-2px); box-shadow: 0 7px 24px #a9ef391a; }
.button-small { min-height: 44px; padding: 11px 16px; font-size: .875rem; gap: 20px; }
.button-secondary { background: transparent; border-color: #45543c; color: var(--ink); }
.button-secondary:hover { background: #202b19; }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: .9375rem; font-weight: 500; }
.text-link > span { color: var(--green); font-size: 1.2rem; transition: transform .2s; }
.text-link:hover > span { transform: translate(2px, -2px); }
.status-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #a9ef3910; }

.footer-bottom nav a, .footer-explore a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer { padding-block: 40px 25px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 28px; }
.footer-top .brand { font-size: 1.3rem; }
.footer-top > p { font-family: var(--display); font-size: 1.2rem; letter-spacing: -.035em; }
.footer-top > p > span { color: var(--green); }
.footer-top .text-link { color: var(--muted); font-size: .8125rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 22px; font-size: .75rem; color: #93a08f; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover, .footer-explore a:hover { color: var(--green); }
.footer-explore { display: flex; flex-wrap: wrap; gap: 10px 24px; color: #93a08f; font-size: .75rem; }

@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .site-header { background: rgb(8 11 9 / 78%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
}
.site-header .brand img { width: 46px; height: 46px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.site-header .button { white-space: nowrap; }
.site-menu { position: relative; }
.site-menu > summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #45543c; border-radius: 8px; list-style: none; cursor: pointer; color: var(--ink); }
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary:hover, .site-menu[open] > summary { background: var(--surface-raised); border-color: var(--green); }
.site-menu > summary .ui-icon { width: 22px; height: 22px; }
.site-menu[open] .menu-lines { display: none; }
.site-menu:not([open]) .menu-close { display: none; }
.site-menu nav { position: absolute; top: calc(100% + 18px); right: 0; width: 340px; max-width: calc(100vw - 32px); padding: 14px; max-height: calc(100dvh - 116px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 12px; background: #101511fa; box-shadow: 0 20px 50px #0008; }
.site-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 6px; font-size: .9375rem; line-height: 1.45; }
.site-menu a:hover, .site-menu a[aria-current="page"] { background: #a9ef3910; color: var(--green); }
.site-menu .menu-group { display: block; padding: 16px 12px 6px; margin-top: 6px; border-top: 1px solid var(--line); color: var(--muted); font: .6875rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom { flex-wrap: wrap; }
.footer-bottom nav { flex-wrap: wrap; gap: 4px 22px; }
.footer-bottom a[aria-current="page"], .footer-explore a[aria-current="page"] { color: var(--green); }
.redirect-page { min-height: 100svh; display: grid; place-items: center; padding: 32px 20px; }
.redirect-card { width: min(100%, 560px); padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow-wrap: anywhere; }
.redirect-card h1 { margin-block: 32px 16px; font-size: 2.4rem; line-height: 1.15; letter-spacing: -.05em; }
.redirect-card p { color: var(--muted); margin-bottom: 24px; }
.redirect-card p a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1150px) {
  .container { width: calc(100% - 64px); }
  .desktop-nav { gap: 22px; }
}
@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .nav-bar { min-height: 88px; gap: 20px; }
  .site-header .brand img { width: 40px; height: 40px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 100px; }
  .container { width: calc(100% - 40px); }
  .nav-bar { min-height: 80px; gap: 10px; }
  .brand { font-size: 1.25rem; gap: 7px; }
  .site-header .brand img { width: 36px; height: 36px; }
  .header-actions { gap: 8px; }
  .site-header .button { font-size: .8125rem; padding: 10px 12px; }
  .site-menu nav { top: calc(100% + 12px); max-height: calc(100dvh - 102px); }
  .footer-top { flex-wrap: wrap; gap: 20px; }
  .footer-top > p { width: 100%; order: 3; }
  .footer-top .brand { font-size: 1.2rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 15px; }
  .footer-explore { gap: 4px 20px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: 1.1rem; gap: 5px; }
  .site-header .brand img { width: 32px; height: 32px; }
  .site-header .button { font-size: .75rem; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
