:root {
  --rx-head: "Oswald", Impact, sans-serif;
  --rx-sans: "Barlow", -apple-system, sans-serif;
  --rx-mono: "Share Tech Mono", monospace;
  --rx-bg: #070C17;
  --rx-panel: #0E1628;
  --rx-card: #131F36;
  --rx-ink: #F8FAFC;
  --rx-sub: #94A3B8;
  --rx-red: #EF4444;
  --rx-brass: #F59E0B;
  --rx-brass-hi: #FDE047;
  --rx-green: #22C55E;
  --rx-line: rgba(245, 158, 11, 0.25);
  --rx-line-hi: rgba(239, 68, 68, 0.65);
  --rx-wrap: 1260px;
  --rx-pad: clamp(1.2rem, 4vw, 2.6rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--rx-bg); color: var(--rx-ink); color-scheme: dark; }
body {
  margin: 0; font-family: var(--rx-sans); font-size: 16px; line-height: 1.58;
  background: radial-gradient(circle at 80% 0%, rgba(239, 68, 68, 0.16), transparent 45%),
              radial-gradient(circle at 15% 25%, rgba(245, 158, 11, 0.10), transparent 45%),
              var(--rx-bg);
  color: var(--rx-ink); overflow-x: hidden; padding-bottom: 4.8rem;
}
@media (min-width: 1080px) { body { padding-bottom: 0; } }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.rx-wrap { width: 100%; max-width: var(--rx-wrap); margin-inline: auto; padding-inline: var(--rx-pad); }

.rx-sirenbar {
  background: #04070E; border-bottom: 2px solid var(--rx-red);
  font-family: var(--rx-mono); font-size: 0.75rem; padding: 0.5rem var(--rx-pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.rx-siren-grp { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; color: var(--rx-sub); }
.rx-siren-grp strong { color: var(--rx-brass-hi); }

.rx-hdr {
  position: sticky; top: 0; z-index: 60; background: rgba(7, 12, 23, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rx-line); padding: 0.7rem var(--rx-pad);
}
.rx-hdr-in { max-width: var(--rx-wrap); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rx-badge-logo { display: flex; align-items: center; gap: 0.75rem; }
.rx-badge-logo img { width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--rx-brass); object-fit: cover; }
.rx-logo-title { font-family: var(--rx-head); font-size: 1.4rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; }
.rx-logo-sub { display: block; font-family: var(--rx-mono); font-size: 0.68rem; color: var(--rx-red); letter-spacing: 0.1em; margin-top: 0.15rem; }
.rx-nav { display: none; gap: 1.2rem; font-family: var(--rx-head); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rx-sub); }
.rx-nav a:hover { color: var(--rx-brass-hi); }
@media (min-width: 1024px) { .rx-nav { display: flex; } }

.rx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0 1.3rem; border-radius: 8px;
  font-family: var(--rx-head); font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em;
  transition: all 160ms ease; white-space: nowrap;
}
.rx-btn-red { background: linear-gradient(135deg, var(--rx-red), #B91C1C); color: #fff; box-shadow: 0 8px 25px -6px rgba(239, 68, 68, 0.7); }
.rx-btn-brass { background: var(--rx-brass); color: #070C17; }
.rx-btn-ghost { background: rgba(255,255,255,0.05); border: 1px solid var(--rx-line); color: var(--rx-ink); }
.rx-btn-ghost:hover { border-color: var(--rx-brass-hi); color: var(--rx-brass-hi); }

.rx-hero { padding: clamp(2.2rem, 5vw, 4.5rem) 0; border-bottom: 1px solid var(--rx-line); }
.rx-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1040px) { .rx-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 3.5rem; } }

.rx-alert {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem;
  border-radius: 6px; background: rgba(239, 68, 68, 0.15); border: 1px solid var(--rx-line-hi);
  font-family: var(--rx-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: #FCA5A5; margin-bottom: 0.85rem;
}
.rx-hero h1 { font-family: var(--rx-head); font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 0.98; margin: 0; text-transform: uppercase; letter-spacing: 0.02em; }
.rx-motto { font-family: var(--rx-head); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--rx-brass-hi); margin: 0.6rem 0 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.rx-cabox {
  background: var(--rx-panel); border: 1px solid var(--rx-line); border-top: 4px solid var(--rx-red);
  border-radius: 10px; padding: 1.15rem; max-width: 610px; min-width: 0;
}
.rx-cabox-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; font-family: var(--rx-mono); font-size: 0.74rem; color: var(--rx-brass-hi); margin-bottom: 0.6rem; }
.rx-cabox-row { display: flex; align-items: center; gap: 0.6rem; background: #04070E; border: 1px solid rgba(255,255,255,0.14); padding: 0.5rem 0.75rem; border-radius: 8px; }
.rx-ca-str { font-family: var(--rx-mono); font-size: clamp(0.72rem, 2vw, 0.86rem); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; user-select: all; }
.rx-ca-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-top: 0.8rem; }
@media (min-width: 600px) { .rx-ca-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rx-ca-badge { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); padding: 0.45rem 0.6rem; border-radius: 6px; font-family: var(--rx-mono); font-size: 0.7rem; }
.rx-ca-badge span { display: block; color: var(--rx-sub); font-size: 0.62rem; }
.rx-ca-badge strong { color: var(--rx-green); }
.rx-shield { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.rx-shield-frame {
  position: relative; width: min(100%, 450px); aspect-ratio: 1 / 1;
  border-radius: 18px; overflow: hidden; border: 3px solid var(--rx-brass);
  background: var(--rx-card); box-shadow: 0 28px 70px rgba(0,0,0,0.85), 0 0 40px rgba(239, 68, 68, 0.25);
}
.rx-shield-frame img { width: 100%; height: 100%; object-fit: cover; }
.rx-shield-tag {
  position: absolute; top: 12px; left: 12px; background: rgba(4, 7, 14, 0.9);
  border: 1px solid var(--rx-brass); padding: 0.35rem 0.8rem; border-radius: 6px;
  font-family: var(--rx-mono); font-size: 0.72rem; color: var(--rx-brass-hi);
}
.rx-shield-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; margin-top: 1.05rem; }
.rx-tab {
  padding: 0.4rem 0.85rem; border-radius: 6px; background: var(--rx-card);
  border: 1px solid var(--rx-line); font-family: var(--rx-mono); font-size: 0.72rem; color: var(--rx-sub);
}
.rx-tab.active, .rx-tab:hover { background: var(--rx-red); color: #fff; border-color: var(--rx-red); font-weight: 700; }
.rx-sec { padding: clamp(4rem, 7vw, 6.5rem) 0; border-bottom: 1px solid var(--rx-line); }
.rx-sec-head { max-width: 48rem; margin-bottom: 2.4rem; }
.rx-sec-title { font-family: var(--rx-head); font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.04; margin: 0.3rem 0 0.7rem; text-transform: uppercase; }
.rx-alarm-box {
  background: linear-gradient(145deg, #131F36, #1F0B12);
  border: 2px solid var(--rx-line-hi); border-radius: 14px; padding: clamp(1.5rem, 3.5vw, 2.6rem);
  display: grid; gap: 2rem;
}
@media (min-width: 960px) { .rx-alarm-box { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }
.rx-alarm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 1.15rem 0; }
.rx-alarm-stat { background: #04070E; border: 1px solid var(--rx-line); border-radius: 8px; padding: 0.85rem; text-align: center; }
.rx-alarm-stat span { display: block; font-family: var(--rx-mono); font-size: 0.66rem; color: var(--rx-sub); }
.rx-alarm-stat strong { display: block; font-family: var(--rx-head); font-size: 1.4rem; color: var(--rx-brass-hi); margin-top: 0.2rem; }
.rx-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 1.2rem; }
.rx-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 1.15rem; }
.rx-card {
  background: var(--rx-card); border: 1px solid var(--rx-line); border-radius: 12px;
  padding: 1.45rem; min-width: 0; overflow-wrap: anywhere; word-break: break-word;
}
.rx-card h3 { font-family: var(--rx-head); font-size: 1.35rem; color: var(--rx-brass-hi); margin: 0 0 0.45rem; text-transform: uppercase; }
.rx-card p { margin: 0; font-size: 0.92rem; color: var(--rx-sub); overflow-wrap: anywhere; }
.rx-card code {
  display: inline-block; max-width: 100%; font-family: var(--rx-mono); font-size: 0.74rem;
  color: var(--rx-brass-hi); background: #04070E; border: 1px solid var(--rx-line);
  padding: 0.2rem 0.45rem; border-radius: 4px; word-break: break-all; overflow-wrap: anywhere;
}
.rx-media-card { background: var(--rx-card); border: 1px solid var(--rx-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.rx-media-sq { aspect-ratio: 1 / 1; background: #04070E; }
.rx-media-sq img { width: 100%; height: 100%; object-fit: cover; }
.rx-media-916 { aspect-ratio: 9 / 16; max-height: 450px; background: #04070E; }
.rx-media-916 video { width: 100%; height: 100%; object-fit: cover; }
.rx-media-body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; justify-content: space-between; }
.rx-ba { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 9 / 14; max-height: 620px; margin-inline: auto; width: 100%; border: 2px solid var(--rx-brass); user-select: none; touch-action: pan-y; }
.rx-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.rx-ba-top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.rx-ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--rx-red); pointer-events: none; }
.rx-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.rx-footer { padding: 3.5rem 0 6rem; background: #04070E; border-top: 1px solid var(--rx-line); font-size: 0.85rem; color: var(--rx-sub); }
.rx-mob-bar {
  position: fixed; inset: auto 0 0 0; z-index: 90; background: rgba(4,7,14,0.95);
  border-top: 2px solid var(--rx-red); padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 0.45rem;
}
@media (min-width: 1080px) { .rx-mob-bar { display: none; } }
.rx-toast {
  position: fixed; bottom: 5.2rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--rx-red); color: #fff; font-family: var(--rx-mono); font-weight: 700; font-size: 0.8rem;
  padding: 0.6rem 1.2rem; border-radius: 8px; opacity: 0; pointer-events: none; transition: all 200ms; z-index: 120;
}
.rx-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


.rx-lead { color: var(--rx-sub); font-size: 1.02rem; margin: 0 0 1.35rem; max-width: 54ch; }
