/* ==========================================================
   RED FOLDER FX — style.css
   off-white base · black type · red impact · charcoal cards
   ========================================================== */

:root {
  --bg: #F7F7F3;
  --red: #FF2E2E;
  --red-soft: rgba(255, 46, 46, 0.14);
  --black: #0F0F12;
  --char: #1A1D21;
  --char-2: #22262B;
  --hair-dark: #2A2E33;
  --gray: #8A8F98;
  --gray-2: #5C5F66;
  --paper: #FFFFFF;

  --font-head: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.7, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

::selection { background: var(--red); color: #fff; }

@media (pointer: fine) {
  body.rfx-has-cursor, body.rfx-has-cursor a, body.rfx-has-cursor summary,
  body.rfx-has-cursor button, body.rfx-has-cursor [data-cursor] { cursor: none; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.rfx-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.rfx-container-narrow { width: min(880px, calc(100% - 48px)); }

/* ---------- boot ---------- */
.rfx-boot {
  position: fixed; inset: 0; z-index: 200;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.7s var(--ease-snap);
}
.rfx-boot.rfx-boot-done { transform: translateY(-100%); pointer-events: none; }
.rfx-boot-inner { text-align: center; }
.rfx-boot-mark {
  width: 84px; height: 84px; margin: 0 auto 22px;
  background: var(--red); color: #fff; border-radius: 20px;
  font-family: var(--font-head); font-weight: 800; font-size: 34px;
  display: flex; align-items: center; justify-content: center;
  animation: rfxStampIn 0.55s var(--ease-snap) both;
}
@keyframes rfxStampIn {
  0% { transform: scale(1.6); opacity: 0; }
  60% { transform: scale(0.94); opacity: 1; }
  100% { transform: scale(1); }
}
.rfx-boot-line {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.24em;
  color: var(--gray);
}
.rfx-boot-line::after { content: '▌'; color: var(--red); animation: rfxBlink 0.7s steps(1) infinite; }
@keyframes rfxBlink { 50% { opacity: 0; } }

/* ---------- custom cursor ---------- */
.rfx-cursor { position: fixed; top: 0; left: 0; z-index: 190; pointer-events: none; display: none; }
body.rfx-has-cursor .rfx-cursor { display: block; }
.rfx-cursor-dot {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); transform: translate(-50%, -50%);
}
.rfx-cursor-ring {
  position: absolute; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--red); transform: translate(-50%, -50%) scale(1);
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
  opacity: 0.55;
}
.rfx-cursor.rfx-cursor-hover .rfx-cursor-ring { transform: translate(-50%, -50%) scale(1.7); opacity: 1; }
.rfx-cursor.rfx-cursor-hover .rfx-cursor-dot { background: #fff; mix-blend-mode: difference; }

/* ---------- nav ---------- */
.rfx-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(247, 247, 243, 0);
  backdrop-filter: blur(0px);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s, padding 0.4s;
}
.rfx-nav.rfx-nav-solid {
  background: rgba(247, 247, 243, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 15, 18, 0.08);
  padding: 10px 28px;
}
.rfx-logo { display: inline-flex; align-items: center; gap: 10px; }
.rfx-logo-mark {
  width: 30px; height: 30px; background: var(--red); color: #fff;
  border-radius: 8px; font-family: var(--font-head); font-weight: 800; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-out);
}
.rfx-logo:hover .rfx-logo-mark { transform: rotate(-8deg) scale(1.06); }
.rfx-logo-name {
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  letter-spacing: 0.04em; color: var(--black);
}
.rfx-logo-name em { font-style: normal; color: var(--red); }
.rfx-nav-links { display: flex; gap: 26px; }
.rfx-nav-links a {
  font-size: 13.5px; font-weight: 600; color: var(--gray-2);
  position: relative; transition: color 0.25s;
}
.rfx-nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--red); transition: width 0.3s var(--ease-out);
}
.rfx-nav-links a:hover { color: var(--red); }
.rfx-nav-links a:hover::after { width: 100%; }

/* armed strip */
.rfx-armed-tape {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  background: var(--red); color: #fff; overflow: hidden;
  height: 0; transition: height 0.4s var(--ease-snap);
}
body.rfx-armed .rfx-armed-tape { height: 28px; }
body.rfx-armed .rfx-nav { top: 28px; }
.rfx-armed-track {
  display: inline-flex; gap: 48px; white-space: nowrap; padding: 5px 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; font-weight: 600;
}
/* Marquee tracks are driven by JS (rAF) — see the marquee engine in
   main.js. CSS animations proved killable by iOS under memory pressure. */
.rfx-armed-track, .rfx-tape-track, .rfx-shout-track {
  animation: none !important;
  will-change: transform;
  backface-visibility: hidden;
}

/* ---------- buttons ---------- */
.rfx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 10px; border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  will-change: transform;
}
.rfx-btn-red { background: var(--red); color: #fff; }
.rfx-btn-red:hover { background: #e62222; box-shadow: 0 10px 30px -8px rgba(255, 46, 46, 0.55); }
.rfx-btn-ghost { border-color: var(--hair-dark); color: #ECEDEF; }
.rfx-btn-ghost:hover { border-color: #fff; }
.rfx-btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 8px; }
.rfx-btn-xl { padding: 20px 48px; font-size: 18px; border-radius: 14px; }

/* ---------- kicker / headings ---------- */
.rfx-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; color: var(--gray-2); margin-bottom: 22px;
}
.rfx-kicker-onDark { color: var(--gray); }
.rfx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; }
.rfx-dot-pulse { animation: rfxPulse 1.6s ease-in-out infinite; }
@keyframes rfxPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 46, 46, 0.5); }
  50% { opacity: 0.55; box-shadow: 0 0 0 7px rgba(255, 46, 46, 0); }
}

.rfx-h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  line-height: 1.02; letter-spacing: -0.015em;
  text-transform: uppercase; margin-bottom: 26px;
}
.rfx-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--black);
}
.rfx-section-reports .rfx-outline { -webkit-text-stroke-color: #fff; }
.rfx-red-word { color: var(--red); }
.rfx-lede { max-width: 560px; color: var(--gray-2); font-size: 17px; margin-bottom: 56px; }

.rfx-section { padding: 130px 0; position: relative; }

/* ---------- reveal ---------- */
[data-rfx-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-rfx-reveal].rfx-in { opacity: 1; transform: translateY(0); }

/* ==========================================================
   HERO
   ========================================================== */
.rfx-hero-wrap { padding: 84px 16px 0; }
.rfx-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 720px at 78% 36%, rgba(255, 46, 46, 0.09), transparent 58%),
    radial-gradient(820px 560px at 10% 92%, rgba(255, 255, 255, 0.045), transparent 62%),
    linear-gradient(152deg, #17181D 0%, #0F0F12 48%, #0C0C0F 100%);
  border-radius: 24px;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 72px) 0;
  min-height: calc(100vh - 100px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.rfx-hero-chart {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.rfx-hero-radar {
  position: absolute; width: 1000px; height: 1000px;
  left: 78%; top: 42%; transform: translate(-50%, -50%);
  pointer-events: none;
  background: conic-gradient(from 0deg,
    rgba(255, 46, 46, 0.15) 0deg, transparent 60deg, transparent 360deg);
  border-radius: 50%;
  animation: rfxRadar 7s linear infinite;
}
@keyframes rfxRadar { to { transform: translate(-50%, -50%) rotate(360deg); } }
.rfx-hero-ghost {
  position: absolute; top: 3%; right: -1.5%; z-index: 1; pointer-events: none;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(110px, 21vw, 310px); line-height: 0.9; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.065);
  user-select: none;
}
body.rfx-armed .rfx-hero-ghost { -webkit-text-stroke-color: rgba(255, 46, 46, 0.13); }
.rfx-hero-panel::before {
  content: ''; position: absolute; inset: -6% -14%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 46, 46, 0.09), transparent 72%);
}

.rfx-hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 64px); align-items: center;
  flex: 1;
}

.rfx-live-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--char); border: 1px solid var(--hair-dark);
  border-radius: 99px; padding: 7px 16px; margin-bottom: 26px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.14em; color: #C9CCD1;
}

.rfx-h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  line-height: 0.98; letter-spacing: -0.02em;
  color: #fff; text-transform: uppercase; margin-bottom: 26px;
}
.rfx-h1-line { display: block; overflow: hidden; }
.rfx-h1-line > span { display: inline-block; transform: translateY(110%); animation: rfxRise 0.9s var(--ease-snap) forwards; }
.rfx-h1-line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rfxRise { to { transform: translateY(0); } }
.rfx-impact { font-style: normal; color: var(--red); position: relative; display: inline-block; }
.rfx-impact-shock {
  position: absolute; left: -6%; bottom: -4px; width: 112%; height: 8px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  animation: rfxShock 0.6s var(--ease-snap) 1s forwards;
}
@keyframes rfxShock { to { transform: scaleX(1); } }
.rfx-impact.rfx-impact-hit { animation: rfxImpactHit 0.42s var(--ease-snap); }
@keyframes rfxImpactHit {
  0% { transform: translate(0, 0); }
  18% { transform: translate(-4px, 2px) skewX(-5deg); color: #fff; }
  38% { transform: translate(3px, -2px) skewX(3deg); }
  60% { transform: translate(-2px, 1px); }
  100% { transform: translate(0, 0); }
}

.rfx-hero-sub { color: var(--gray); font-size: clamp(15px, 1.4vw, 17.5px); max-width: 460px; margin-bottom: 34px; }
.rfx-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.rfx-hero-stats { display: flex; gap: clamp(20px, 3.5vw, 54px); flex-wrap: wrap; padding-bottom: 40px; }
.rfx-hero-stats > div { display: flex; flex-direction: column; gap: 2px; }
.rfx-hero-stats strong {
  font-family: var(--font-head); font-weight: 700; font-size: 26px; color: #fff;
  font-variant-numeric: tabular-nums;
}
.rfx-hero-stats span { font-size: 12.5px; color: var(--gray); }

/* hero right panel */
.rfx-hero-panel { position: relative; padding: 30px 0 60px; }
.rfx-robot-wrap {
  width: clamp(170px, 16vw, 230px);
  margin: 0 auto -34px; position: relative; z-index: 3;
  animation: rfxFloat 4.5s ease-in-out infinite;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5));
}
@keyframes rfxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
#rfxAntenna { animation: rfxPulse 1.6s ease-in-out infinite; }
#rfxEyes { transition: transform 0.15s ease-out; }
.rfx-eye { transform-origin: center; transition: transform 0.1s; }

.rfx-event-card {
  position: relative; z-index: 2;
  background: var(--char); border: 1px solid var(--hair-dark);
  border-radius: 18px; padding: 26px 26px 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.rfx-event-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 10px; }
.rfx-event-name {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; color: var(--gray);
}
.rfx-tag-impact {
  background: var(--red-soft); color: #FF6B6B;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  padding: 4px 9px; border-radius: 5px; white-space: nowrap;
}

.rfx-count { display: flex; align-items: flex-start; gap: 10px; }
.rfx-count-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rfx-count-cell b {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 3vw, 40px);
  color: #fff; line-height: 1; font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.rfx-count-cell b.rfx-tick { animation: rfxTickPop 0.3s var(--ease-out); }
@keyframes rfxTickPop { 0% { transform: translateY(-4px); color: var(--red); } 100% { transform: translateY(0); } }
.rfx-count-cell i { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--gray); text-transform: uppercase; }
.rfx-count-sep { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--hair-dark); line-height: 1.15; }

.rfx-event-meta {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair-dark);
  font-size: 12px; color: var(--gray);
}
.rfx-event-meta b { color: #ECEDEF; font-weight: 600; }
.rfx-armed-flag { display: inline-flex; align-items: center; gap: 7px; color: #FF6B6B; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; }

/* hero tape */
.rfx-tape {
  position: relative; z-index: 2; margin: 0 calc(-1 * clamp(28px, 5vw, 72px));
  border-top: 1px solid var(--hair-dark); background: #131519;
  overflow: hidden;
}
.rfx-tape-track {
  display: inline-flex; gap: 56px; white-space: nowrap; padding: 11px 0;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em;
  color: var(--gray);
}
.rfx-tape-track b { color: var(--red); font-weight: 500; margin-right: 8px; }
@keyframes rfxTicker { to { transform: translateX(-50%); } }

/* ==========================================================
   WHAT WE DO
   ========================================================== */
.rfx-what-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 22px; align-items: stretch; }
.rfx-card {
  border-radius: 20px; padding: 40px 38px;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.rfx-card:hover { transform: translateY(-8px); }
.rfx-card-dark { background: var(--black); color: #fff; }
.rfx-card-dark:hover { box-shadow: 0 30px 60px -24px rgba(15, 15, 18, 0.55); }
.rfx-card-light { background: var(--paper); border: 1px solid rgba(15, 15, 18, 0.09); }
.rfx-card-light:hover { box-shadow: 0 30px 60px -30px rgba(15, 15, 18, 0.22); }
.rfx-card-tag {
  position: absolute; top: 26px; right: 26px;
  background: var(--red); color: #fff;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  padding: 5px 11px; border-radius: 5px;
}
.rfx-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px; color: var(--red);
}
.rfx-card-dark .rfx-card-icon { background: var(--char); border: 1px solid var(--hair-dark); }
.rfx-card-light .rfx-card-icon { background: #F1F0EA; }
.rfx-card-icon svg { width: 24px; height: 24px; }
.rfx-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 25px; margin-bottom: 12px; letter-spacing: -0.01em; }
.rfx-card p { font-size: 15px; margin-bottom: 22px; }
.rfx-card-dark p { color: var(--gray); }
.rfx-card-light p { color: var(--gray-2); }
.rfx-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.rfx-card li { font-size: 14.5px; font-weight: 600; padding-left: 22px; position: relative; }
.rfx-card li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; background: var(--red); border-radius: 2px;
}
.rfx-card-cta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; font-weight: 600;
  color: var(--red); display: inline-flex; gap: 8px; align-items: center;
}
.rfx-card-cta i { font-style: normal; transition: transform 0.3s var(--ease-out); }
.rfx-card:hover .rfx-card-cta i { transform: translateX(6px); }

/* ==========================================================
   SHOUT MARQUEE
   ========================================================== */
.rfx-shout-clip { overflow: clip; margin: 30px 0; }
.rfx-shout {
  background: var(--black); transform: rotate(-1.6deg) scale(1.02);
  overflow: hidden;
  border-top: 3px solid var(--red); border-bottom: 3px solid var(--red);
}
.rfx-shout-track {
  display: inline-flex; align-items: center; gap: 42px; white-space: nowrap;
  padding: 18px 0;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 3vw, 36px);
  letter-spacing: 0.02em; color: #fff; text-transform: uppercase;
}
.rfx-shout-track em { font-style: normal; color: var(--red); font-size: 0.65em; }

/* ==========================================================
   THE DROP
   ========================================================== */
.rfx-drop { background: var(--bg); }
.rfx-drop-intro { padding: 130px 0 90px; }
.rfx-drop-scroll { height: 430vh; position: relative; }
.rfx-drop-stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: var(--black);
}
#rfxDropCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.rfx-drop-flash {
  position: absolute; inset: 0; background: var(--red);
  opacity: 0; pointer-events: none; z-index: 5;
}

.rfx-drop-headline {
  position: absolute; top: 12%; left: 50%; transform: translate(-50%, -30px) scale(0.92);
  z-index: 6; display: flex; align-items: center; gap: 14px;
  background: rgba(26, 29, 33, 0.92); border: 1px solid var(--hair-dark);
  border-left: 4px solid var(--red);
  padding: 14px 22px; border-radius: 10px;
  opacity: 0; transition: opacity 0.3s, transform 0.4s var(--ease-snap);
  white-space: nowrap; max-width: 92vw;
}
.rfx-drop-headline.rfx-show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.rfx-drop-headline-tag {
  background: var(--red); color: #fff; font-family: var(--font-mono);
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em; padding: 4px 9px; border-radius: 4px;
  animation: rfxBlinkSoft 1s steps(1) infinite;
}
@keyframes rfxBlinkSoft { 50% { opacity: 0.4; } }
.rfx-drop-headline-text {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(12px, 1.6vw, 18px);
  color: #fff; letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis;
}

.rfx-drop-phase {
  position: absolute; left: clamp(20px, 4vw, 60px); top: 22%; z-index: 6; max-width: 320px;
  background: rgba(15, 15, 18, 0.85); border-radius: 10px; padding: 10px 14px 12px; margin-left: -14px;
}
.rfx-drop-phase-idx { font-family: var(--font-mono); font-size: 12px; color: var(--red); letter-spacing: 0.3em; margin-bottom: 8px; }
.rfx-drop-phase-name {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 3.6vw, 46px);
  color: #fff; text-transform: uppercase; line-height: 1; margin-bottom: 12px;
  transition: opacity 0.25s;
}
.rfx-drop-phase-desc { font-size: 14px; color: var(--gray); transition: opacity 0.25s; }
.rfx-drop-phase.rfx-swap .rfx-drop-phase-name,
.rfx-drop-phase.rfx-swap .rfx-drop-phase-desc { opacity: 0; }

.rfx-drop-readout {
  position: absolute; right: clamp(20px, 4vw, 60px); top: 22%; z-index: 6;
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(26, 29, 33, 0.85); border: 1px solid var(--hair-dark);
  border-radius: 12px; padding: 18px 20px; min-width: 190px;
}
.rfx-drop-readout > div { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.rfx-drop-readout i { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--gray); }
.rfx-drop-readout b { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.rfx-drop-readout b.rfx-pos { color: #3DD68C; }
.rfx-drop-readout b.rfx-hot { color: var(--red); }

.rfx-drop-stamp {
  position: absolute; left: 50%; top: 44%; z-index: 7;
  transform: translate(-50%, -50%) rotate(-8deg) scale(2.2);
  border: 4px solid var(--red); color: var(--red);
  font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4.5vw, 56px);
  letter-spacing: 0.04em; padding: 10px 30px; border-radius: 8px;
  text-align: center; line-height: 1.05;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.35s var(--ease-snap);
  background: rgba(15, 15, 18, 0.55);
}
.rfx-drop-stamp span { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; color: #fff; margin-top: 6px; }
.rfx-drop-stamp.rfx-show { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }

.rfx-drop-timeline { position: absolute; left: clamp(20px, 4vw, 60px); right: clamp(20px, 4vw, 60px); bottom: 42px; z-index: 6; }
.rfx-drop-tl-track { position: relative; height: 3px; background: var(--hair-dark); border-radius: 2px; }
.rfx-drop-tl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); border-radius: 2px; }
.rfx-drop-tl-dot {
  position: absolute; top: 50%; left: 0; width: 13px; height: 13px;
  background: var(--red); border: 3px solid var(--black); border-radius: 50%;
  transform: translate(-50%, -50%);
}
.rfx-drop-tl-labels {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--gray);
}
.rfx-tl-zero { color: var(--red); font-weight: 600; }

.rfx-drop-clock {
  position: absolute; right: clamp(20px, 4vw, 60px); bottom: 78px; z-index: 6;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  color: #fff; background: rgba(26, 29, 33, 0.85); border: 1px solid var(--hair-dark);
  padding: 7px 13px; border-radius: 7px; font-variant-numeric: tabular-nums;
}

.rfx-drop-hint {
  position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--gray);
  transition: opacity 0.4s;
}
.rfx-drop-hint i { width: 1px; height: 34px; background: var(--gray); position: relative; overflow: hidden; }
.rfx-drop-hint i::after {
  content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--red); animation: rfxHintDrop 1.4s var(--ease-snap) infinite;
}
@keyframes rfxHintDrop { to { top: 110%; } }
.rfx-drop-hint.rfx-hide { opacity: 0; }

/* ==========================================================
   DOSSIERS
   ========================================================== */
.rfx-section-events { background: #F1F0EA; }
.rfx-drawer {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  perspective: 1200px; padding-top: 140px;
}
.rfx-folder {
  position: relative; height: 300px; outline: none;
  transition: transform 0.45s var(--ease-out);
}
.rfx-folder:hover, .rfx-folder:focus-visible, .rfx-folder.rfx-open { transform: translateY(-14px); }
.rfx-folder-tab {
  position: absolute; top: -14px; left: 16px; z-index: 1;
  background: #D92525; color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  padding: 4px 14px 10px; border-radius: 7px 7px 0 0;
}
.rfx-folder-paper {
  position: absolute; left: 7%; right: 7%; top: 0; height: 196px;
  background: var(--paper); border-radius: 8px; z-index: 2;
  padding: 15px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 -10px 30px rgba(15, 15, 18, 0.16);
  transform: translateY(34px);
  transition: transform 0.5s var(--ease-snap);
}
.rfx-folder:hover .rfx-folder-paper,
.rfx-folder:focus-visible .rfx-folder-paper,
.rfx-folder.rfx-open .rfx-folder-paper { transform: translateY(-140px); }
.rfx-folder-paper b { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--black); }
.rfx-folder-paper i { font-style: normal; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 7px; }
.rfx-folder-front {
  position: absolute; inset: 0; top: 6px; z-index: 3;
  background: linear-gradient(160deg, #FF3B3B, #E31E1E);
  border-radius: 12px; padding: 18px;
  display: flex; flex-direction: column;
  box-shadow: 0 18px 36px -14px rgba(227, 30, 30, 0.5);
  transform-origin: bottom center;
  transition: transform 0.5s var(--ease-snap);
}
.rfx-folder:hover .rfx-folder-front,
.rfx-folder:focus-visible .rfx-folder-front,
.rfx-folder.rfx-open .rfx-folder-front { transform: rotateX(-9deg) translateY(7px); }
.rfx-folder-code { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.75); margin-bottom: auto; }
.rfx-folder-name { font-family: var(--font-head); font-weight: 800; font-size: 34px; color: #fff; line-height: 1; }
.rfx-folder-sub { font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, 0.85); margin: 5px 0 13px; }
.rfx-folder-stamp {
  align-self: flex-start;
  border: 1.5px solid rgba(255, 255, 255, 0.9); color: #fff;
  font-family: var(--font-mono); font-size: 8.5px; font-weight: 600; letter-spacing: 0.16em;
  padding: 3px 8px; border-radius: 4px; transform: rotate(-4deg);
}
.rfx-drawer-note {
  margin-top: 44px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; color: var(--gray-2);
}

/* ==========================================================
   RISK
   ========================================================== */
.rfx-rules { display: flex; flex-direction: column; }
.rfx-rules li {
  display: flex; gap: clamp(20px, 4vw, 56px); align-items: flex-start;
  padding: 34px 8px; border-top: 1px solid rgba(15, 15, 18, 0.12);
  transition: background 0.3s, padding-left 0.3s var(--ease-out);
}
.rfx-rules li:last-child { border-bottom: 1px solid rgba(15, 15, 18, 0.12); }
.rfx-rules li:hover { background: rgba(255, 255, 255, 0.7); padding-left: 22px; }
.rfx-rule-num {
  font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--red);
  letter-spacing: 0.1em; padding-top: 6px; min-width: 34px;
}
.rfx-rules h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 6px; }
.rfx-rules p { color: var(--gray-2); font-size: 15px; max-width: 560px; }

/* ==========================================================
   REPORTS
   ========================================================== */
.rfx-section-reports { background: var(--black); color: #fff; }
.rfx-section-reports .rfx-lede { color: var(--gray); }
.rfx-reports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rfx-report {
  position: relative; overflow: hidden;
  background: #FDFDFB; color: var(--black);
  border-radius: 14px; padding: 24px 24px 96px;
  transform: rotate(-0.6deg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.rfx-report:nth-child(2) { transform: rotate(0.7deg); }
.rfx-report:nth-child(3) { transform: rotate(-0.4deg); }
.rfx-report:hover { transform: rotate(0deg) translateY(-8px); box-shadow: 0 30px 50px -22px rgba(0, 0, 0, 0.65); }
.rfx-report-head {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--gray);
  border-bottom: 1px dashed rgba(15, 15, 18, 0.25); padding-bottom: 12px; margin-bottom: 16px;
}
.rfx-report-demo { background: #F1F0EA; color: var(--gray-2); padding: 3px 8px; border-radius: 4px; font-weight: 600; }
.rfx-report h3 { font-family: var(--font-head); font-weight: 800; font-size: 21px; margin-bottom: 14px; }
.rfx-report table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rfx-report td { padding: 7px 0; border-bottom: 1px dashed rgba(15, 15, 18, 0.12); }
.rfx-report td:first-child { color: var(--gray); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }
.rfx-report td:last-child { text-align: right; font-weight: 700; }
.rfx-pos { color: #0E9F6E; }
.rfx-report-stamp {
  position: absolute; right: 14px; bottom: 34px;
  border: 3px solid var(--red); color: var(--red);
  font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: 0.08em;
  padding: 4px 14px; border-radius: 6px; transform: rotate(-10deg);
  opacity: 0.9;
}
.rfx-report-code {
  position: absolute; left: 24px; bottom: 22px; width: 90px; height: 22px;
  background: repeating-linear-gradient(90deg,
    var(--black) 0 2px, transparent 2px 4px,
    var(--black) 4px 7px, transparent 7px 9px,
    var(--black) 9px 10px, transparent 10px 13px);
  opacity: 0.75;
}
.rfx-reports-note { margin-top: 40px; font-size: 13px; color: var(--gray); max-width: 620px; }

/* ==========================================================
   FAQ
   ========================================================== */
.rfx-faq { display: flex; flex-direction: column; }
.rfx-faq details { border-top: 1px solid rgba(15, 15, 18, 0.12); }
.rfx-faq details:last-child { border-bottom: 1px solid rgba(15, 15, 18, 0.12); }
.rfx-faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; font-family: var(--font-head); font-weight: 700; font-size: 18px;
  transition: color 0.25s;
}
.rfx-faq summary::-webkit-details-marker { display: none; }
.rfx-faq summary:hover { color: var(--red); }
.rfx-faq-x { position: relative; width: 16px; height: 16px; flex: none; }
.rfx-faq-x::before, .rfx-faq-x::after {
  content: ''; position: absolute; background: var(--red); transition: transform 0.35s var(--ease-snap);
}
.rfx-faq-x::before { left: 0; top: 7px; width: 16px; height: 2px; }
.rfx-faq-x::after { left: 7px; top: 0; width: 2px; height: 16px; }
.rfx-faq details[open] .rfx-faq-x::after { transform: rotate(90deg); }
.rfx-faq details p { padding: 0 40px 26px 4px; color: var(--gray-2); font-size: 15px; max-width: 700px; }

/* ==========================================================
   FINAL CTA
   ========================================================== */
.rfx-final { padding: 16px; }
.rfx-final-inner {
  position: relative; overflow: hidden;
  background: var(--black); border-radius: 24px;
  padding: clamp(80px, 10vw, 140px) 24px;
  text-align: center; color: #fff;
}
.rfx-final-radar {
  position: absolute; width: 1200px; height: 1200px;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: repeating-radial-gradient(circle at center,
    transparent 0 78px, rgba(255, 255, 255, 0.04) 79px 80px);
  pointer-events: none;
}
.rfx-final .rfx-kicker { justify-content: center; }
.rfx-final-h2 { margin-bottom: 40px; }
.rfx-final-h2 em { font-style: normal; color: var(--red); }
.rfx-count-final { justify-content: center; margin-bottom: 36px; }
.rfx-count-final .rfx-count-cell b { font-size: clamp(44px, 6vw, 72px); }
.rfx-final-sub { color: var(--gray); max-width: 420px; margin: 0 auto 36px; }
.rfx-final-hint { display: block; margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--gray); }

/* ==========================================================
   FOOTER
   ========================================================== */
.rfx-footer { background: var(--char); color: #fff; padding: 64px 0 40px; }
.rfx-footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 48px; }
.rfx-logo-footer .rfx-logo-name { color: #fff; }
.rfx-footer-tag { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--gray); }
.rfx-footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.rfx-footer-links a { font-size: 13.5px; font-weight: 600; color: var(--gray); transition: color 0.25s; }
.rfx-footer-links a:hover { color: var(--red); }
.rfx-disclaimer { border-top: 1px solid var(--hair-dark); padding-top: 28px; }
.rfx-disclaimer p { font-size: 12px; line-height: 1.7; color: var(--gray); max-width: 820px; }
.rfx-copyright { margin-top: 18px; font-family: var(--font-mono); letter-spacing: 0.06em; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
  .rfx-drawer { grid-template-columns: repeat(3, 1fr); row-gap: 150px; }
}
@media (max-width: 900px) {
  .rfx-nav-links { display: none; }
  .rfx-hero-grid { grid-template-columns: 1fr; }
  .rfx-hero { min-height: 0; }
  .rfx-hero-panel { max-width: 440px; margin: 0 auto; width: 100%; }
  .rfx-what-grid { grid-template-columns: 1fr; }
  .rfx-reports-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .rfx-drop-phase { top: auto; bottom: 150px; max-width: 260px; }
  .rfx-drop-readout { top: 24%; right: 16px; transform: scale(0.9); transform-origin: top right; }
  .rfx-drop-clock { display: none; }
  .rfx-section { padding: 90px 0; }
}
@media (max-width: 620px) {
  .rfx-hero-ghost { font-size: 92px; top: 1.5%; right: 2%; }
  .rfx-drawer { grid-template-columns: repeat(2, 1fr); row-gap: 150px; }
  .rfx-hero-stats { gap: 18px; }
  .rfx-hero-stats strong { font-size: 21px; }
  .rfx-count { gap: 6px; }
  .rfx-count-sep { display: none; }
  .rfx-rules li { flex-direction: column; gap: 10px; }
  .rfx-footer-grid { flex-direction: column; }
}

/* ==========================================================
   UPGRADES — split-flap · seismo · tears · week board · drawer
   ========================================================== */

/* split-flap countdown digits */
.rfx-count-cell b { display: flex; gap: 0.09em; }
.rfx-digit {
  position: relative; display: inline-block;
  background: #22262B; border-radius: 0.14em;
  padding: 0.10em 0.13em; line-height: 1;
  perspective: 320px;
}
.rfx-digit::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: rgba(0, 0, 0, 0.45);
}
.rfx-digit span { display: block; transform-origin: center; }
.rfx-digit.rfx-flip span { animation: rfxFlip 0.3s var(--ease-snap); }
@keyframes rfxFlip {
  0% { transform: rotateX(-86deg); }
  100% { transform: rotateX(0deg); }
}

/* torn paper edges */
.rfx-tear {
  position: absolute; left: 0; right: 0; height: 26px;
  z-index: 3; pointer-events: none;
}
.rfx-tear svg { width: 100%; height: 100%; display: block; }
.rfx-tear-top { top: -25px; }
.rfx-tear-bottom { bottom: -25px; transform: scaleY(-1); }
.rfx-section-reports .rfx-tear path { fill: var(--black); }

/* week board (mini calendar / terminal) */
.rfx-week { margin-top: 60px; background: var(--black); border-radius: 18px; padding: 4px 24px 14px; }
.rfx-week-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 18px 2px 14px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  color: var(--gray);
}
.rfx-week-head > span:first-child { display: inline-flex; align-items: center; gap: 9px; color: #ECEDEF; }
.rfx-week-ctrl { display: inline-flex; align-items: center; gap: 8px; }
.rfx-tz-btn {
  background: var(--char); border: 1px solid var(--hair-dark); color: #C9CCD1;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  padding: 5px 10px; border-radius: 5px; cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.rfx-tz-btn:hover { color: var(--red); border-color: var(--red); }
.rfx-week-src {
  background: var(--char); border: 1px solid var(--hair-dark);
  padding: 4px 10px; border-radius: 5px; letter-spacing: 0.14em;
}
.rfx-week-src.rfx-live { color: #3DD68C; }

/* week strip — 7 days at a glance */
.rfx-week-strip {
  position: relative;
  display: grid; grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--hair-dark); border-radius: 10px;
  overflow: hidden; margin-bottom: 18px;
}
.rfx-strip-day { position: relative; height: 62px; border-left: 1px solid var(--hair-dark); }
.rfx-strip-day:first-child { border-left: 0; }
.rfx-strip-day.rfx-strip-today { background: rgba(255, 255, 255, 0.035); }
.rfx-strip-day > b {
  position: absolute; top: 7px; left: 9px;
  font-family: var(--font-mono); font-weight: 500; font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--gray);
}
.rfx-strip-day.rfx-strip-today > b { color: #ECEDEF; }
.rfx-strip-dot {
  position: absolute; bottom: 14px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); transform: translateX(-50%);
}
.rfx-strip-dot.rfx-strip-past { background: #4A4E55; }
.rfx-strip-dot.rfx-strip-next { width: 10px; height: 10px; bottom: 12.5px; animation: rfxPulse 1.6s ease-in-out infinite; }
.rfx-strip-now {
  position: absolute; top: 0; bottom: 0; width: 2px; background: var(--red); z-index: 2;
  transform: translateX(-50%);
}
.rfx-strip-now::after {
  content: 'NOW'; position: absolute; top: 4px; left: 5px;
  font-family: var(--font-mono); font-size: 8.5px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--red);
}

/* day group headers */
.rfx-week-day {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 2px 6px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  color: var(--gray-2);
}
.rfx-week-day b { color: #ECEDEF; letter-spacing: 0.2em; font-weight: 600; }
.rfx-week-day::after { content: ''; flex: 1; height: 1px; background: var(--hair-dark); }

/* event rows */
.rfx-week-row {
  display: grid; grid-template-columns: 52px 44px minmax(0, 1fr) auto 118px;
  gap: 14px; align-items: center;
  padding: 12px 10px; margin: 2px -10px;
  border-radius: 10px;
  color: #ECEDEF; cursor: pointer;
  transition: background 0.25s;
}
.rfx-week-row:hover { background: rgba(255, 255, 255, 0.04); }
.rfx-week-time { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: #ECEDEF; font-variant-numeric: tabular-nums; }
.rfx-cur-chip {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em;
  text-align: center; padding: 4px 0; border-radius: 5px;
  background: #2A2E33; color: #C9CCD1;
}
.rfx-cur-chip[data-cur="USD"] { background: var(--red-soft); color: #FF6B6B; }
.rfx-cur-chip[data-cur="EUR"] { background: transparent; border: 1px solid #3A3E44; }
.rfx-week-name b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rfx-week-name i { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--gray); letter-spacing: 0.12em; }
.rfx-week-fp { font-family: var(--font-mono); font-size: 11px; color: var(--gray); text-align: right; white-space: nowrap; }
.rfx-week-eta {
  font-family: var(--font-mono); font-weight: 600; font-size: 12.5px; text-align: right;
  color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* expandable execution intel */
.rfx-week-detail {
  grid-column: 1 / -1;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-snap), padding 0.4s var(--ease-snap);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--gray); padding: 0;
}
.rfx-week-detail b { color: #ECEDEF; font-weight: 600; }
.rfx-week-row.rfx-expand .rfx-week-detail,
.rfx-week-row:hover .rfx-week-detail { max-height: 60px; padding-top: 8px; }

/* row states */
.rfx-week-row.rfx-next {
  background: rgba(255, 46, 46, 0.06);
  border-left: 3px solid var(--red); border-radius: 0 10px 10px 0;
  padding-left: 13px;
}
.rfx-week-row.rfx-next:hover { background: rgba(255, 46, 46, 0.09); }
.rfx-week-row.rfx-next .rfx-week-eta { color: var(--red); font-size: 14px; }
.rfx-week-row.rfx-next .rfx-week-name b { font-size: 16px; }
.rfx-week-row.rfx-live .rfx-week-eta { color: var(--red); animation: rfxBlinkSoft 1s steps(1) infinite; }
.rfx-week-row.rfx-done { opacity: 0.4; }
.rfx-week-row.rfx-done .rfx-week-eta { color: var(--gray); }

/* drawer rim + cascade entrance */
.rfx-drawer { position: relative; overflow: hidden; padding-bottom: 30px; }
.rfx-drawer::after {
  content: ''; position: absolute; left: -1%; right: -1%; bottom: 0; height: 20px;
  background: var(--char); border-radius: 6px;
}
.rfx-drawer::before {
  content: ''; position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 6px; border-radius: 4px; background: #3A3E44; z-index: 5;
}
.rfx-drawer .rfx-folder[data-rfx-reveal] {
  transform: translateY(150px) scale(0.96);
  transition-duration: 0.85s;
  transition-delay: calc(var(--i, 0) * 120ms);
}
.rfx-drawer .rfx-folder[data-rfx-reveal].rfx-in { transform: translateY(0) scale(1); }
.rfx-drawer .rfx-folder.rfx-settled { transition-delay: 0ms; transition-duration: 0.45s; }
.rfx-drawer .rfx-folder.rfx-settled:hover,
.rfx-drawer .rfx-folder.rfx-settled.rfx-open { transform: translateY(-14px); }

/* stamp slam */
.rfx-report-stamp {
  opacity: 0; transform: rotate(-26deg) scale(2.6);
  transition: transform 0.28s var(--ease-snap), opacity 0.1s;
}
.rfx-report:nth-child(1) .rfx-report-stamp { transition-delay: 500ms; }
.rfx-report:nth-child(2) .rfx-report-stamp { transition-delay: 760ms; }
.rfx-report:nth-child(3) .rfx-report-stamp { transition-delay: 1020ms; }
.rfx-report.rfx-in .rfx-report-stamp { opacity: 0.9; transform: rotate(-10deg) scale(1); }

/* drop release shake */
@keyframes rfxShakeHit {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-5px, 3px); }
  40% { transform: translate(5px, -3px); }
  60% { transform: translate(-4px, -2px); }
  80% { transform: translate(3px, 2px); }
  100% { transform: translate(0, 0); }
}
.rfx-drop-stage.rfx-shake { animation: rfxShakeHit 0.35s linear; }

/* robot states */
#rfxScan { opacity: 0; }
.rfx-r-tracking #rfxScan, .rfx-r-armed #rfxScan { animation: rfxScanMove 2.8s ease-in-out infinite; }
@keyframes rfxScanMove {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 0.4; }
  50% { transform: translateX(96px); opacity: 0.4; }
  88% { opacity: 0.4; }
  100% { transform: translateX(0); opacity: 0; }
}
.rfx-r-armed .rfx-eye { fill: #FF5545; }
.rfx-r-armed #rfxAntenna { animation-duration: 0.5s; }
.rfx-r-armed { animation: rfxTremble 0.22s linear infinite; }
@keyframes rfxTremble {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(0.7px, -0.5px); }
  50% { transform: translate(-0.6px, 0.4px); }
  75% { transform: translate(0.4px, 0.6px); }
}

@media (max-width: 720px) {
  .rfx-week { padding: 4px 16px 12px; }
  .rfx-week-row {
    grid-template-columns: auto auto 1fr;
    grid-template-areas: "time chip eta" "name name name";
    column-gap: 10px; row-gap: 6px; padding: 12px 8px;
  }
  .rfx-week-time { grid-area: time; }
  .rfx-cur-chip { grid-area: chip; padding: 4px 9px; }
  .rfx-week-eta { grid-area: eta; justify-self: end; align-self: center; font-size: 11.5px; }
  .rfx-week-name { grid-area: name; }
  .rfx-week-name b { white-space: normal; font-size: 15px; line-height: 1.25; }
  .rfx-week-fp { display: none; }
  .rfx-week-detail { grid-area: auto; grid-column: 1 / -1; font-size: 10.5px; }
  .rfx-week-row.rfx-next { padding-left: 11px; }
  .rfx-week-row.rfx-next .rfx-week-eta { font-size: 12px; }
  .rfx-week-row.rfx-next .rfx-week-name b { font-size: 16px; }
  .rfx-week-day { padding-top: 10px; font-size: 9px; }
  .rfx-strip-day { height: 46px; }
  .rfx-strip-day > b { left: 50%; transform: translateX(-50%); letter-spacing: 0; }
  .rfx-strip-dw { display: none; }
  .rfx-strip-dot { bottom: 10px; }
  .rfx-strip-now::after { display: none; }
}

/* ==========================================================
   BRANDING — real logo assets
   ========================================================== */
.rfx-logo-img { height: 40px; width: auto; margin: -8px -14px -8px -22px; }
.rfx-logo-square { width: 32px; height: 32px; border-radius: 8px; }
img.rfx-boot-mark { width: 84px; height: 84px; border-radius: 20px; background: none; }

/* ==========================================================
   SIGNALS FEED — phone mockup
   ========================================================== */
.rfx-signals-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.rfx-sig-steps { display: flex; flex-direction: column; gap: 8px; }
.rfx-sig-steps li {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 18px 4px; border-top: 1px solid rgba(15, 15, 18, 0.1);
}
.rfx-sig-steps b {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--red); min-width: 46px; padding-top: 4px; letter-spacing: 0.06em;
}
.rfx-sig-steps h3 { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.rfx-sig-steps p { font-size: 14px; color: var(--gray-2); max-width: 380px; }

.rfx-phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.rfx-phone {
  width: min(340px, 88vw);
  background: var(--black); border-radius: 44px; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(15, 15, 18, 0.45);
  transform: rotate(1.6deg);
  transition: transform 0.5s var(--ease-out);
  animation: rfxFloat 6s ease-in-out infinite;
}
.rfx-phone:hover { transform: rotate(0deg); }
.rfx-phone-screen {
  background: #141619; border-radius: 33px; overflow: hidden;
  display: flex; flex-direction: column;
}
.rfx-phone-head {
  display: flex; align-items: center; gap: 11px;
  padding: 18px 18px 14px; border-bottom: 1px solid var(--hair-dark);
  background: var(--char);
}
.rfx-phone-head img { width: 36px; height: 36px; border-radius: 50%; }
.rfx-phone-head b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #fff; }
.rfx-phone-head span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--gray); text-transform: uppercase; }
.rfx-phone-chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 20px; }
.rfx-msg {
  position: relative;
  background: #1E2126; border-radius: 14px 14px 14px 4px;
  padding: 12px 14px 20px; max-width: 94%;
}
.rfx-msg p { font-size: 12.5px; line-height: 1.55; color: #D7D9DD; }
.rfx-msg p b { color: #fff; }
.rfx-msg-tag {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--red); margin-bottom: 6px;
}
.rfx-msg-ic {
  width: 14px; height: 14px; display: inline-block;
  vertical-align: -2.5px; margin-right: 7px;
}
.rfx-msg-ic-red { color: #FF6B6B; }
.rfx-msg-ic-green { color: #3DD68C; }
.rfx-msg-time {
  position: absolute; right: 12px; bottom: 6px;
  font-family: var(--font-mono); font-size: 9.5px; color: var(--gray);
}
.rfx-msg-win { border: 1px solid rgba(61, 214, 140, 0.25); }
.rfx-phone-note {
  font-family: var(--font-mono); font-size: 11px; color: var(--gray-2);
  text-align: center; max-width: 320px; letter-spacing: 0.02em;
}

/* ==========================================================
   STEPS
   ========================================================== */
.rfx-steps {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px); margin-top: 26px;
}
.rfx-steps::before {
  content: ''; position: absolute; left: 2%; right: 2%; top: 27px; height: 2px;
  background: rgba(15, 15, 18, 0.12);
}
.rfx-steps::after {
  content: ''; position: absolute; left: 2%; top: 27px; height: 2px; width: 96%;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease-out) 0.3s;
}
.rfx-steps.rfx-in::after { transform: scaleX(1); }
.rfx-step { position: relative; padding-top: 74px; }
.rfx-step-num {
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--black); color: #fff;
  font-family: var(--font-mono); font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--bg);
}
.rfx-step:hover .rfx-step-num { background: var(--red); }
.rfx-step-num { transition: background 0.3s; }
.rfx-step h3 { font-family: var(--font-head); font-weight: 700; font-size: 21px; margin-bottom: 8px; }
.rfx-step p { font-size: 14.5px; color: var(--gray-2); max-width: 300px; }
.rfx-steps-cta { display: flex; align-items: center; gap: 18px; margin-top: 54px; flex-wrap: wrap; }
.rfx-steps-cta span { font-family: var(--font-mono); font-size: 12px; color: var(--gray-2); letter-spacing: 0.04em; }

/* ==========================================================
   THE DESK — team
   ========================================================== */
.rfx-section-desk { background: #F1F0EA; }
.rfx-desk-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.rfx-member {
  background: var(--black); color: #fff;
  border-radius: 18px; padding: 14px 14px 20px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.rfx-member:hover { transform: translateY(-8px); box-shadow: 0 26px 46px -22px rgba(15, 15, 18, 0.5); }
.rfx-member-photo {
  position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: var(--char); margin-bottom: 14px;
}
.rfx-member-photo span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 34px; color: #3A3E44;
}
.rfx-member-photo img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.rfx-member:hover .rfx-member-photo img { transform: scale(1.06); }
.rfx-member h3 { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; padding: 0 4px; }
.rfx-member-role {
  display: block; font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.16em; color: var(--red); margin: 4px 0 8px; padding: 0 4px;
}
.rfx-member p { font-size: 12.5px; line-height: 1.5; color: var(--gray); padding: 0 4px; }
.rfx-member-engine { outline: 2px solid var(--red); outline-offset: -2px; }
.rfx-member-engine .rfx-member-photo img { object-fit: contain; padding: 14%; box-sizing: border-box; background: var(--char); border-radius: 26%; }

/* ==========================================================
   STICKY MOBILE CTA
   ========================================================== */
.rfx-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 15, 18, 0.94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--hair-dark);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-snap);
}
.rfx-sticky.rfx-sticky-show { transform: translateY(0); }
.rfx-sticky-info { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.rfx-sticky-info b {
  font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: #fff;
  letter-spacing: 0.06em; font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 900px) {
  .rfx-sticky { display: flex; }
}

@media (max-width: 980px) {
  .rfx-signals-grid { grid-template-columns: 1fr; }
  .rfx-desk-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .rfx-steps { grid-template-columns: 1fr; gap: 34px; }
  .rfx-steps::before, .rfx-steps::after { left: 27px; right: auto; top: 2%; bottom: 2%; width: 2px; height: 96%; }
  .rfx-steps::after { transform: scaleY(0); transform-origin: top; }
  .rfx-steps.rfx-in::after { transform: scaleY(1); }
  .rfx-step { padding-top: 0; padding-left: 78px; }
  .rfx-desk-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   LEGAL PAGES + 404
   ========================================================== */
.rfx-legal { padding: 150px 0 90px; }
.rfx-legal h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem); text-transform: uppercase;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.rfx-legal-updated {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--gray); margin-bottom: 44px; display: block;
}
.rfx-legal h2 {
  font-family: var(--font-head); font-weight: 700; font-size: 21px;
  margin: 38px 0 10px;
}
.rfx-legal p { color: var(--gray-2); font-size: 15px; margin-bottom: 12px; }
.rfx-legal ul { padding-left: 20px; list-style: disc; margin-bottom: 12px; }
.rfx-legal li { color: var(--gray-2); font-size: 15px; margin-bottom: 6px; }
.rfx-legal strong { color: var(--black); }

.rfx-404 {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  background: var(--black); color: #fff; padding: 24px;
}
.rfx-404-code {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(6rem, 22vw, 15rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 3px var(--red);
}
.rfx-404 h1 {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.4rem, 4vw, 2.4rem); margin: 8px 0 14px;
}
.rfx-404 p { color: var(--gray); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; margin-bottom: 34px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-rfx-reveal] { opacity: 1; transform: none; }
}
