html, body, #root { margin: 0; min-height: 100%; background: #0b0b0c; }
:root { --rs-red: #b02323; --rs-red-d: #7a1414; --rs-ink: #f4efec; --rs-mute: #a9a5a3; --rs-bg: #0b0b0c; --rs-panel: #151617; }
.file-card, [class*="file-card"] { background: var(--rs-bg) !important; padding: 0 !important; box-shadow: none !important; }
.rs-page { background: var(--rs-bg); color: var(--rs-ink); overflow: hidden; font-family: inherit; }
.rs-page * { box-sizing: border-box; }

/* hero */
.rs-hero { position: relative; min-height: 700px; display: flex; align-items: flex-end; overflow: hidden; }
.rs-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.rs-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1100px; margin: 0 auto; padding: 24px 24px 56px; }
.rs-chip { display: inline-block; background: #f4efec; padding: 6px 10px; border-radius: 4px; margin-bottom: 28px; }
.rs-chip img { display: block; width: 150px; height: auto; }
.rs-h1 { margin: 0 0 24px; font-family: 'Aime', Georgia, serif; font-weight: 400; font-size: clamp(44px, 11vw, 120px); line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; color: var(--rs-ink); text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.rs-h1 span, .rs-h1 em { display: inline-block; animation: rs-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rs-h1 span:nth-child(1) { animation-delay: .1s; } .rs-h1 span:nth-child(2) { animation-delay: .25s; }
.rs-h1 em:nth-of-type(1) { animation-delay: .45s; } .rs-h1 em:nth-of-type(2) { animation-delay: .6s; }
.rs-h1 em { font-style: normal; color: #e0453f; }
.rs-lead { max-width: 560px; margin: 0 0 28px; font-size: 16px; line-height: 26px; color: #d9d4d1; animation: rs-rise .9s .8s cubic-bezier(.2,.7,.2,1) both; }
.rs-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rs-actions .file-button, .rs-cta, .rs-ghost { min-height: 48px; }
.rs-cta, .rs-cta:hover { background: #b02323 !important; border-color: #b02323 !important; color: #fff !important; transition: none !important; }
.rs-ghost { transition: none !important; background: transparent !important; border: 1px solid #5a5d61 !important; color: var(--rs-ink) !important; }

/* sections */
.rs-sec { max-width: 1100px; margin: 0 auto; padding: 96px 24px; }
.rs-kicker { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: #e0453f; font-weight: 600; }
.rs-h2 { margin: 0 0 40px; font-family: 'Aime', Georgia, serif; font-weight: 400; font-size: clamp(36px, 7vw, 72px); line-height: 1; letter-spacing: -0.025em; text-transform: uppercase; color: var(--rs-ink); }
.rs-big { margin: 0 0 32px; font-size: clamp(18px, 2.6vw, 26px); line-height: 1.5; color: #e6e1de; max-width: 900px; }
.rs-quote { margin: 0 0 48px; padding-left: 20px; border-left: 4px solid var(--rs-red); font-size: clamp(20px, 3vw, 30px); line-height: 1.35; font-weight: 600; color: var(--rs-ink); max-width: 800px; }
.rs-photo { border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px #2a2b2d, 0 30px 80px rgba(176,35,35,.25); }
.rs-list { list-style: none; margin: 0; padding: 0; }
.rs-item { display: flex; gap: 20px; padding: 28px 0; border-top: 1px solid #2a2b2d; transition: background .3s, padding-left .3s; }
.rs-item:last-child { border-bottom: 1px solid #2a2b2d; }
.rs-item:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(176,35,35,.18), transparent); }
.rs-num { flex: none; width: 56px; font-family: 'Aime', Georgia, serif; font-size: clamp(28px, 5vw, 44px); line-height: 1; color: var(--rs-red); }
.rs-item h3 { margin: 0 0 8px; font-size: clamp(18px, 2.8vw, 26px); line-height: 1.2; color: var(--rs-ink); font-weight: 600; }
.rs-item p { margin: 0; color: var(--rs-mute); line-height: 24px; max-width: 640px; }
.rs-item p.rs-step { color: #e6e1de; font-size: clamp(17px, 2.4vw, 22px); line-height: 1.4; }
.rs-red { max-width: none; background: linear-gradient(135deg, #8d1a1a, #4d0e0e); }
.rs-red > * { max-width: 1052px; margin-left: auto; margin-right: auto; }
.rs-red .rs-kicker { color: #ffd1cc; }
.rs-diff { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 16px; }
.rs-diff li { padding: 20px 24px; background: rgba(0,0,0,.28); border-left: 4px solid #fff; font-size: clamp(17px, 2.4vw, 22px); line-height: 1.4; color: #fff; }
.rs-tags { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.rs-tags li { padding: 14px 22px; border: 1px solid #3a3c3f; border-radius: 999px; font-size: clamp(16px, 2.4vw, 22px); color: var(--rs-ink); background: var(--rs-panel); }
.rs-small { margin: 0; color: var(--rs-mute); font-size: 14px; }
.rs-facts { margin: 0 0 32px; }
.rs-facts div { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 16px 0; border-top: 1px solid #2a2b2d; }
.rs-facts dt { width: 120px; color: var(--rs-mute); }
.rs-facts dd { margin: 0; flex: 1 1 220px; color: var(--rs-ink); font-size: 18px; word-break: break-word; }
.rs-foot { display: flex; align-items: center; gap: 16px; padding: 32px 24px; max-width: 1100px; margin: 0 auto; border-top: 1px solid #2a2b2d; }
.rs-foot img { width: 56px; height: 56px; flex: none; }
.rs-foot p { margin: 0; color: var(--rs-mute); }

/* transitions */
.rs-marquee { overflow: hidden; background: var(--rs-red); color: #fff; padding: 16px 0; transform: skewY(-1.5deg); margin: 24px 0; }
.rs-marquee-track { display: flex; width: max-content; animation: rs-scroll 28s linear infinite; }
.rs-marquee span { display: inline-flex; align-items: center; white-space: nowrap; padding: 0 28px; font-family: 'Aime', Georgia, serif; font-size: clamp(22px, 4vw, 40px); text-transform: uppercase; letter-spacing: .02em; }
.rs-marquee i { display: inline-block; width: 12px; height: 12px; margin-left: 56px; background: #fff; transform: rotate(45deg); }
.rs-hazard { height: 14px; background: repeating-linear-gradient(135deg, var(--rs-red) 0 16px, #151617 16px 32px); background-size: 45px 45px; animation: rs-hz 2s linear infinite; }

/* scene animation */
.rs-trolley { animation: rs-trolley 14s ease-in-out infinite alternate; }
.rs-lift { animation: rs-lift 7s ease-in-out infinite alternate; transform-box: fill-box; }
.rs-glow { animation: rs-pulse 5s ease-in-out infinite alternate; }
.rs-blink { animation: rs-blink 1.4s steps(2) infinite; }
.rs-drift-slow { animation: rs-drift 40s linear infinite alternate; }
.rs-drift-fast { animation: rs-drift 22s linear infinite alternate-reverse; }
.rs-spark { animation: rs-spark 5s linear infinite; opacity: 0; }

/* reveal */
.rs-js .rs-rv { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rs-js .rs-rv.rs-in { opacity: 1; transform: none; }

@keyframes rs-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes rs-scroll { to { transform: translateX(-50%); } }
@keyframes rs-hz { to { background-position: 45px 0; } }
@keyframes rs-trolley { from { transform: translateX(-160px); } to { transform: translateX(120px); } }
@keyframes rs-lift { from { transform: translateY(-50px); } to { transform: translateY(20px); } }
@keyframes rs-pulse { from { opacity: .5; } to { opacity: 1; } }
@keyframes rs-blink { 50% { opacity: 0.1; } }
@keyframes rs-drift { from { transform: translateX(-30px); } to { transform: translateX(30px); } }
@keyframes rs-spark { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: .9; } 100% { opacity: 0; transform: translateY(-160px) translateX(20px); } }

@media (max-width: 600px) {
  .rs-hero { min-height: 640px; }
  .rs-sec { padding: 64px 20px; }
  .rs-num { width: 40px; }
  .rs-facts dt { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-page *, .rs-page *::before { animation: none !important; transition: none !important; }
  .rs-js .rs-rv { opacity: 1; transform: none; }
}
.rs-page .file-button[data-variant="primary"], .rs-page .file-button[data-variant="primary"]:hover { background: #b02323 !important; border-color: #b02323 !important; color: #fff !important; transition: none !important; }
.rs-page .file-button[data-variant="secondary"] { background: transparent !important; border: 1px solid #5a5d61 !important; color: #f4efec !important; transition: none !important; }
.rs-h1 { text-shadow: 0 2px 30px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }
/* standalone page: the kit's card gets the dark ground */
body { margin: 0; background: #0b0b0c; }
.file-card { max-width: none !important; width: 100%; margin: 0; }
.rs-photo { display: block; width: fit-content; max-width: 100%; margin: 0; }
.rs-photo img { display: block; max-width: 100%; height: auto; }
