/* rectore hero film
   Look: Ramp-clean stage, monochrome, one signature: steel corners from the rectore mark.
   Motion: cubic-bezier(0.4, 0, 0.2, 1), 300 to 500 ms, transform and opacity. */

@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

.rf {
  --rf-ink: #0B0B0C;
  --rf-text: #2B2D31;
  --rf-mute: #6B6F76;
  --rf-line: #E4E4E2;
  --rf-stage: #F4F4F3;
  --rf-card: #FFFFFF;
  --rf-soft: #F1F1EF;
  --rf-urgent: #D9443A;
  --rf-ok: #1F8A4C;
  --rf-ok-ink: #1E6B3A;
  --rf-ok-bg: #E6F4EA;
  --rf-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --rf-in: 480ms;
  --rf-3d-in: cubic-bezier(0.3, 0.75, 0.25, 1);
  --rf-3d-out: cubic-bezier(0.3, 0, 0.55, 0.85);
  --rf-font: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  position: relative;
  width: 100%;
  font-family: var(--rf-font);
  color: var(--rf-ink);
  -webkit-font-smoothing: antialiased;
}
.rf *, .rf *::before, .rf *::after { box-sizing: border-box; }

.rf-frame { position: relative; width: 100%; overflow: hidden; border-radius: 20px; background: var(--rf-stage); }
.rf-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; perspective: 1800px; perspective-origin: 50% 55%; }
.rf-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(#CFCFCB 1.1px, transparent 1.3px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 52% 58% at 50% 50%, transparent 42%, #000 78%);
          mask-image: radial-gradient(ellipse 52% 58% at 50% 50%, transparent 42%, #000 78%);
  pointer-events: none;
}

/* cards */
.rf-card {
  position: absolute;
  background: var(--rf-card);
  border: 1px solid var(--rf-line);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(11, 11, 12, 0.04), 0 10px 28px rgba(11, 11, 12, 0.06);
  opacity: 0;
  /* 3D, after the Ramp hero: every card pivots around the centre of the frame (origin set in JS),
     so a whole scene swings in from one side and orbits out to the other like a camera move */
  --rf-t-in: translate3d(64px, 12px, -200px) rotateY(-26deg) rotateX(4deg);
  --rf-t-out: translate3d(-110px, -10px, -300px) rotateY(46deg) rotateX(-4deg);
  transform: var(--rf-t-in);
  backface-visibility: hidden;
  transition: opacity 360ms var(--rf-ease), transform 1150ms var(--rf-3d-in);
}
.rf-card.is-in { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0deg) rotateX(0deg); }
.rf-card.is-out { opacity: 0; transform: var(--rf-t-out); transition: opacity 280ms cubic-bezier(0.4, 0, 1, 1) 200ms, transform 700ms var(--rf-3d-out); }
.rf-phone { --rf-t-in: translate3d(90px, 40px, -160px) rotateY(-34deg) rotateX(6deg); }
.rf-calcard { --rf-t-in: translate3d(0, 70px, -240px) rotateY(0deg) rotateX(20deg); transition: opacity 420ms var(--rf-ease), transform 1300ms var(--rf-3d-in); }
.rf-dash { --rf-t-in: translate3d(0, 36px, 260px) rotateY(0deg) rotateX(9deg); transition: opacity 420ms var(--rf-ease), transform 1400ms var(--rf-3d-in); }
.rf-m .rf-card { --rf-t-in: translate3d(36px, 10px, -140px) rotateY(-20deg) rotateX(3deg); --rf-t-out: translate3d(-50px, -6px, -180px) rotateY(26deg) rotateX(-3deg); }
.rf-m .rf-calcard { --rf-t-in: translate3d(0, 50px, -180px) rotateY(0deg) rotateX(16deg); }
.rf-m .rf-dash { --rf-t-in: translate3d(0, 24px, 180px) rotateY(0deg) rotateX(7deg); }
.rf-card.is-hidden { display: none; }
@keyframes rf-snap { 0% { transform: scale(0.96); } 60% { transform: scale(1.012); } 100% { transform: none; } }

.rf-corner { position: absolute; width: 16px; height: 16px; pointer-events: none; }
.rf-corner--tr { right: -8px; top: -8px; }
.rf-corner--bl { left: -8px; bottom: -8px; }

.rf-pad { padding: 16px 18px; }
.rf-pad--s { padding: 14px 16px; }
.rf-pad--l { padding: 18px 20px; }
.rf-row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.rf-label { display: flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rf-mute); }
.rf-ic { width: 12px; height: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.rf-ic--none { display: none; }
.rf-ic--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rf-ink); }
.rf-ic--spin { animation: rf-rot 900ms linear infinite; }
.rf-ic--check { color: var(--rf-ok); }
@keyframes rf-rot { to { transform: rotate(360deg); } }
@keyframes rf-in-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* scene headline and progress */
.rf-head {
  position: absolute; left: 40px; top: 22px; z-index: 3;
  opacity: 0; transform: translateY(8px);
  transition: opacity 460ms var(--rf-ease), transform 460ms var(--rf-ease);
}
.rf-head.is-in { opacity: 1; transform: none; }
.rf-head.is-out { opacity: 0; transform: translateY(-8px); }
.rf-head-step { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rf-mute); }
.rf-head-t { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin-top: 5px; color: var(--rf-ink); white-space: nowrap; }
.rf-prog { position: absolute; right: 40px; top: 34px; z-index: 3; display: flex; gap: 6px; }
.rf-prog-s { width: 46px; height: 3px; border-radius: 2px; background: #DEDEDA; overflow: hidden; }
.rf-prog-s i { display: block; height: 100%; background: var(--rf-ink); transform: scaleX(0); transform-origin: left; transition-property: transform; transition-timing-function: linear; }
.rf-prog-s.is-on i { transform: none; }
.rf-prog-s.is-done i { background: var(--rf-ok); transition: transform 0ms, background-color 400ms var(--rf-ease); }
.rf-m .rf-head { left: 18px; top: 16px; }
.rf-m .rf-head-t { font-size: 19px; margin-top: 3px; }
.rf-m .rf-prog { display: none; }

.rf-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--rf-ok); color: #FFFFFF; font-size: 11.5px; font-weight: 500; opacity: 0; transform: scale(0.9); transition: opacity 360ms var(--rf-ease), transform 360ms var(--rf-ease); white-space: nowrap; }
.rf-badge.is-in { opacity: 1; transform: none; }
.rf-src-chip { font-size: 11px; font-weight: 500; color: var(--rf-text); background: var(--rf-soft); border-radius: 4px; padding: 3px 7px; white-space: nowrap; justify-self: end; }

/* ---------- scene 1: browser, scanner, database ---------- */
.rf-browser { overflow: hidden; display: flex; flex-direction: column; }
.rf-br-bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: #F7F7F5; border-bottom: 1px solid var(--rf-line); flex: none; }
.rf-br-dots { display: flex; gap: 6px; }
.rf-br-dots i { width: 10px; height: 10px; border-radius: 50%; background: #DCDCD8; }
.rf-br-url { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 24px; border-radius: 6px; background: #FFFFFF; border: 1px solid var(--rf-line); font-size: 11.5px; color: var(--rf-text); max-width: 300px; margin: 0 auto; }
.rf-br-url svg { color: var(--rf-mute); }
.rf-page { position: relative; flex: 1; overflow: hidden; }
.rf-page-in { position: relative; padding: 0 22px 22px; display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.rf-pg-nav { display: flex; align-items: center; justify-content: space-between; height: 48px; flex: none; border-bottom: 1px solid #F0F0EE; }
.rf-pg-logo { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.rf-pg-logo-i { width: 22px; height: 22px; border-radius: 6px; background: #2B2D31; color: #FFFFFF; font-size: 9px; display: inline-flex; align-items: center; justify-content: center; }
.rf-pg-links { display: flex; gap: 14px; font-size: 11.5px; color: var(--rf-mute); }
.rf-pg-hero { padding: 6px 0 2px; }
.rf-pg-h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; max-width: 360px; }
.rf-pg-sub { font-size: 12.5px; color: var(--rf-mute); margin-top: 8px; }
.rf-pg-cta { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 6px; background: #2B2D31; color: #FFFFFF; font-size: 12px; font-weight: 500; margin-top: 12px; }
.rf-pg-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rf-pg-svc { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid #EDEDEB; border-radius: 8px; font-size: 11.5px; font-weight: 500; }
.rf-pg-svc-i { width: 20px; height: 20px; border-radius: 5px; background: #EFEFEC; }
.rf-pg-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rf-pg-box { padding: 10px 12px; border: 1px solid #EDEDEB; border-radius: 8px; }
.rf-pg-box-t { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rf-mute); }
.rf-pg-box-v { font-size: 12.5px; font-weight: 500; margin-top: 4px; line-height: 1.35; }

.rf-got { position: absolute; right: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--rf-ok); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; transform: scale(0); transition: transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 2; box-shadow: 0 0 0 2px #FFFFFF; }
.rf-got svg { width: 10px; height: 10px; }
.rf-sel.is-got .rf-got { transform: scale(1); }
.rf-sel.is-on.is-got { box-shadow: 0 0 0 1.5px var(--rf-ok); background-color: rgba(31, 138, 76, 0.04); }
.rf-sel.is-on.is-got::before, .rf-sel.is-on.is-got::after { border-color: var(--rf-ok); }

/* longer page sections, so there is something to scroll */
.rf-pg-rev { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: #F7F7F5; font-size: 12px; font-weight: 500; }
.rf-pg-stars { letter-spacing: 2px; color: #2B2D31; font-size: 12px; }
.rf-pg-sec { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.rf-pg-why { padding-top: 4px; }
.rf-pg-li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--rf-text); padding: 4px 0; }
.rf-pg-li i { width: 14px; height: 14px; border-radius: 50%; background: #E7E7E4; flex: none; }
.rf-pg-faq { padding-top: 4px; }
.rf-pg-q { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid #EFEFED; font-size: 12px; color: var(--rf-text); }
.rf-pg-q b { font-weight: 400; color: var(--rf-mute); }
.rf-pg-foot { margin-top: 4px; padding: 14px 0 4px; border-top: 1px solid #EFEFED; font-size: 11.5px; color: var(--rf-mute); }

/* selection frame with vector handles, appears when the scanner passes */
.rf-sel { position: relative; border-radius: 8px; transition: box-shadow 260ms var(--rf-ease), background-color 260ms var(--rf-ease); }
.rf-sel::before, .rf-sel::after { content: ""; position: absolute; width: 7px; height: 7px; background: #FFFFFF; border: 1.5px solid var(--rf-ink); opacity: 0; transition: opacity 200ms var(--rf-ease); z-index: 1; }
.rf-sel::before { left: -4px; top: -4px; }
.rf-sel::after { right: -4px; bottom: -4px; }
.rf-sel.is-on { box-shadow: 0 0 0 1.5px var(--rf-ink); background-color: rgba(11, 11, 12, 0.025); }
.rf-sel.is-on::before, .rf-sel.is-on::after { opacity: 1; }

.rf-scan { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity 400ms var(--rf-ease); }
.rf-scan.is-in { opacity: 1; }
.rf-scan-line {
  position: absolute; left: 6px; right: 6px; top: -1px; height: 2px; border-radius: 1px;
  background: linear-gradient(90deg, rgba(142,146,152,0), #8E9298 10%, #FFFFFF 50%, #8E9298 90%, rgba(142,146,152,0));
  box-shadow: 0 0 6px rgba(170, 178, 190, 0.9), 0 0 18px rgba(130, 140, 155, 0.55), 0 0 36px rgba(120, 130, 145, 0.3);
}
.rf-scan-beam {
  position: absolute; left: 0; right: 0; top: -84px; height: 84px;
  background:
    repeating-linear-gradient(180deg, rgba(120, 128, 140, 0.07) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(160, 168, 180, 0), rgba(160, 168, 180, 0.22));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.rf-scan-line--ok {
  opacity: 0;
  background: linear-gradient(90deg, rgba(31,138,76,0), #2FA463 10%, #E9FFF1 50%, #2FA463 90%, rgba(31,138,76,0));
  box-shadow: 0 0 6px rgba(47, 164, 99, 0.9), 0 0 18px rgba(47, 164, 99, 0.55), 0 0 40px rgba(47, 164, 99, 0.3);
}
.rf-scan.is-complete .rf-scan-line--ok { animation: rf-ok-pulse 900ms var(--rf-ease); }
@keyframes rf-ok-pulse { 0% { box-shadow: 0 0 6px rgba(47,164,99,.9), 0 0 18px rgba(47,164,99,.55), 0 0 40px rgba(47,164,99,.3); } 40% { box-shadow: 0 0 10px rgba(47,164,99,1), 0 0 30px rgba(47,164,99,.8), 0 0 70px rgba(47,164,99,.5); } 100% { box-shadow: 0 0 6px rgba(47,164,99,.9), 0 0 18px rgba(47,164,99,.55), 0 0 40px rgba(47,164,99,.3); } }
.rf-scan.is-complete .rf-scan-beam { background: repeating-linear-gradient(180deg, rgba(31, 138, 76, 0.07) 0 1px, transparent 1px 4px), linear-gradient(180deg, rgba(47, 164, 99, 0), rgba(47, 164, 99, 0.2)); }
.rf-scan.is-complete .rf-scan-cap { border-color: var(--rf-ok); }
.rf-scan.is-complete .rf-scan-read { background: var(--rf-ok); color: #FFFFFF; }
.rf-scan.is-done { transition-duration: 600ms; }
.rf-scan-cap { position: absolute; top: -7px; width: 8px; height: 14px; border: 1.5px solid #4A4E55; transition: border-color 400ms var(--rf-ease); }
.rf-scan-cap--l { left: 4px; border-right: 0; border-radius: 3px 0 0 3px; }
.rf-scan-cap--r { right: 4px; border-left: 0; border-radius: 0 3px 3px 0; }
.rf-scan-read {
  transition: background-color 400ms var(--rf-ease);
  position: absolute; right: 18px; top: -26px; height: 18px; display: inline-flex; align-items: center; padding: 0 7px;
  border-radius: 4px; background: rgba(11, 11, 12, 0.86); color: #E6E8EB;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.rf-fly {
  position: absolute; z-index: 4; height: 26px; display: inline-flex; align-items: center; padding: 0 10px;
  background: var(--rf-ink); color: #FFFFFF; border-radius: 13px; font-size: 11.5px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(11, 11, 12, 0.18); opacity: 0;
}
.rf-fly.is-go { transition: transform 660ms var(--rf-ease); animation: rf-fly-fade 680ms linear forwards; }
@keyframes rf-fly-fade { 0% { opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }

.rf-tbl { margin-top: 14px; border: 1px solid var(--rf-line); border-radius: 8px; overflow: hidden; }
.rf-tr { display: grid; grid-template-columns: 104px 1fr auto; align-items: center; gap: 10px; padding: 0 12px; min-height: 38px; border-top: 1px solid var(--rf-line); font-size: 12.5px; }
.rf-tbody .rf-tr { animation: rf-row-in 900ms var(--rf-ease) both; }
@keyframes rf-row-in { 0% { opacity: 0; background: var(--rf-ok-bg); transform: translateY(-4px); } 35% { opacity: 1; background: var(--rf-ok-bg); transform: none; } 100% { opacity: 1; background: #FFFFFF; transform: none; } }
.rf-th { border-top: 0; min-height: 30px; background: #F7F7F5; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rf-mute); }
.rf-th span:last-child { justify-self: end; }
.rf-td-k { color: var(--rf-mute); }
.rf-td-v { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-db-foot { margin-top: 10px; font-size: 11.5px; color: var(--rf-mute); font-variant-numeric: tabular-nums; }

.rf-callrow { display: flex; align-items: center; gap: 12px; }
.rf-call-t { font-size: 13.5px; font-weight: 600; }
.rf-call-s { font-size: 11.5px; color: var(--rf-mute); margin-top: 2px; }
.rf-wave { margin-left: auto; display: flex; align-items: center; gap: 2px; height: 26px; }
.rf-wave i { width: 2.5px; height: 30%; border-radius: 2px; background: var(--rf-ink); animation: rf-wave 900ms var(--rf-ease) infinite alternate; }
@keyframes rf-wave { from { height: 18%; } to { height: 100%; } }

/* ---------- scene 2: channels, phone, counter ---------- */
.rf-ch-t { font-size: 14px; font-weight: 500; margin-top: 10px; }
.rf-reply { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; height: 24px; padding: 0 9px; border-radius: 12px; background: var(--rf-ok-bg); color: var(--rf-ok-ink); font-size: 12px; font-weight: 500; opacity: 0; transform: translateY(4px); transition: opacity 360ms var(--rf-ease), transform 360ms var(--rf-ease); }
.rf-reply.is-in { opacity: 1; transform: none; animation: rf-pop 420ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes rf-pop { 0% { transform: scale(0.85); } 100% { transform: none; } }
.rf-tab.is-active .rf-tab-bar { background: var(--rf-ok); }

.rf-phone { background: #121315; border: 0; border-radius: 40px; padding: 6px; box-shadow: inset 0 0 0 1px #34363B, 0 1px 2px rgba(11, 11, 12, 0.06), 0 16px 38px rgba(11, 11, 12, 0.12); }
.rf-ph-screen { position: relative; height: 100%; border-radius: 34px; background: #FFFFFF; overflow: hidden; display: flex; flex-direction: column; }
.rf-ph-island { position: absolute; top: 9px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 10px; background: #121315; z-index: 2; }
.rf-ph-status { height: 40px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 4px 20px 0 26px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rf-ph-head { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px 0 10px; border-bottom: 1px solid #EDEDEB; background: #FAFAF9; }
.rf-ph-back { position: absolute; left: 14px; top: 8px; font-size: 26px; line-height: 1; color: var(--rf-ink); }
.rf-av { width: 30px; height: 30px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #EAEAE7; color: var(--rf-ink); font-size: 11px; font-weight: 600; }
.rf-av--l { width: 34px; height: 34px; font-size: 11.5px; background: #E4E4E1; }
.rf-av--mark { background: var(--rf-ink); }
.rf-ph-name { font-size: 11px; font-weight: 500; }
.rf-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px; overflow: hidden; }
.rf-msg { display: flex; flex-direction: column; max-width: 80%; animation: rf-in-up 380ms var(--rf-ease) both; }
.rf-msg--a { align-self: flex-start; align-items: flex-start; }
.rf-msg--c { align-self: flex-end; align-items: flex-end; }
.rf-bub { padding: 7px 10px; border-radius: 15px; font-size: 11.5px; line-height: 1.38; }
.rf-msg--a .rf-bub { background: #EFEFF0; color: var(--rf-ink); }
.rf-msg--c .rf-bub { background: #2B2D31; color: #FFFFFF; }
.rf-ph-meta { align-self: center; font-size: 10px; color: var(--rf-ok-ink); margin: 0 0 8px; text-align: center; width: 100%; }
.rf-msg--a:has(.rf-ph-meta) { max-width: 100%; align-self: stretch; }
.rf-msg--a:has(.rf-ph-meta) .rf-bub { max-width: 80%; }
.rf-typing .rf-bub { display: inline-flex; gap: 4px; padding: 11px 12px; }
.rf-typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.35; animation: rf-dot 1s var(--rf-ease) infinite; }
.rf-msg--a.rf-typing i { color: #6B6F76; }
.rf-msg--c.rf-typing i { color: #FFFFFF; }
.rf-typing i:nth-child(2) { animation-delay: 0.15s; }
.rf-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes rf-dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.rf-ph-input { flex: none; margin: 4px 10px 6px; height: 28px; border: 1px solid #E2E2E0; border-radius: 16px; display: flex; align-items: center; padding: 0 14px; font-size: 12px; color: #A1A3A8; }
.rf-ph-home { flex: none; width: 90px; height: 4px; border-radius: 2px; background: #121315; margin: 4px auto 7px; }

.rf-big { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.rf-big-n { font-size: 46px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.rf-big-u { font-size: 13.5px; color: var(--rf-text); }
.rf-big-s { font-size: 12.5px; color: var(--rf-mute); margin-top: 8px; }
.rf-ctr-dots { display: grid; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rf-line); }
.rf-ctr-dot { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--rf-mute); transition: color 300ms var(--rf-ease); }
.rf-ctr-pip { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #C9C9C5; transition: background-color 300ms var(--rf-ease), border-color 300ms var(--rf-ease); }
.rf-ctr-dot.is-in { color: var(--rf-ink); }
.rf-ctr-dot.is-in .rf-ctr-pip { background: var(--rf-ink); border-color: var(--rf-ink); }

/* channel tabs: dim until active, active one gets a running bar */
.rf-tab { transition: opacity 360ms var(--rf-ease), transform 1150ms var(--rf-3d-in), border-color 300ms var(--rf-ease), box-shadow 300ms var(--rf-ease); overflow: hidden; }
.rf-tab.is-in { opacity: 0.55; }
.rf-tab.is-in.is-active { opacity: 1; border-color: #CFCFCB; box-shadow: 0 1px 2px rgba(11, 11, 12, 0.05), 0 14px 32px rgba(11, 11, 12, 0.1); }
.rf-tab.is-in.is-done { opacity: 0.85; }
.rf-tab.is-done .rf-tab-bar { transform: none; transition: none; background: var(--rf-ok); }
.rf-tab.is-in.is-out { opacity: 0; box-shadow: none; transition: opacity 280ms cubic-bezier(0.4, 0, 1, 1) 200ms, transform 700ms var(--rf-3d-out); }
.rf-tab-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--rf-ink); transform: scaleX(0); transform-origin: left; }
.rf-tab.is-active .rf-tab-bar { transform: none; transition-property: transform; transition-timing-function: linear; }
.rf-tab .rf-corner { display: none; }

.rf-formcard { overflow: hidden; }
.rf-formcard .rf-corner { display: none; }
.rf-br-bar--s { height: 32px; }
.rf-br-bar--s .rf-br-url { height: 20px; font-size: 10.5px; }
.rf-form-t { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.rf-field { display: grid; gap: 4px; margin-top: 9px; }
.rf-fname { font-size: 11px; color: var(--rf-mute); }
.rf-fval { position: relative; min-height: 32px; display: flex; align-items: center; padding: 0 10px; border: 1px solid var(--rf-line); border-radius: 6px; font-size: 12.5px; font-weight: 500; overflow: hidden; }
.rf-ftxt { white-space: nowrap; clip-path: inset(0 100% 0 0); transition: clip-path 420ms steps(18, end); }
.rf-fval.is-typed .rf-ftxt { clip-path: inset(0 0 0 0); }
.rf-fval.is-typed { border-color: #CFCFCB; }
.rf-caret { width: 1.5px; height: 14px; background: var(--rf-ink); margin-left: 1px; opacity: 0; }
.rf-fval.is-typed .rf-caret { animation: rf-caret 420ms steps(1) 2; }
@keyframes rf-caret { 50% { opacity: 1; } }
.rf-form-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.rf-form-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 6px; background: #2B2D31; color: #FFFFFF; font-size: 12.5px; font-weight: 500; transition: transform 160ms var(--rf-ease), background-color 160ms var(--rf-ease); }
.rf-form-btn.is-press { animation: rf-press 360ms var(--rf-ease); }
@keyframes rf-press { 40% { transform: scale(0.95); background: #0B0B0C; } 100% { transform: none; } }
.rf-form-sent { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--rf-ok-ink); font-weight: 500; opacity: 0; transition: opacity 300ms var(--rf-ease); }
.rf-form-sent.is-in { opacity: 1; }

.rf-callbig { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.rf-ring--l { width: 48px; height: 48px; }
.rf-ring--l svg { width: 20px; height: 20px; }
.rf-ring.is-ringing { animation: rf-shake 450ms var(--rf-ease) infinite; }
.rf-ring.is-ringing::after { animation: rf-ring 900ms var(--rf-ease) infinite; }
@keyframes rf-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
.rf-call-n { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.rf-call-st { font-size: 12.5px; color: var(--rf-mute); margin-top: 3px; }
.rf-card.is-missed .rf-ring { background: #8E9298; }

.rf-ph-sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--rf-mute); padding: 4px 9px; border-radius: 10px; background: #F4F4F3; margin-bottom: 4px; animation: rf-in-up 360ms var(--rf-ease) both; }
.rf-ph-sys svg { width: 11px; height: 11px; }
.rf-msgs { transition: opacity 240ms var(--rf-ease); }
.rf-msgs.is-clear { opacity: 0; }

.rf-mail-h { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.rf-mail-from { font-size: 13px; font-weight: 600; }
.rf-mail-sub { font-size: 12px; color: var(--rf-text); margin-top: 2px; }
.rf-mail-body { font-size: 12.5px; line-height: 1.5; color: var(--rf-text); margin-top: 12px; padding-top: 12px; border-top: 1px solid #F0F0EE; }
.rf-mail-reply { opacity: 0; transform: translateY(4px); transition: opacity 420ms var(--rf-ease), transform 420ms var(--rf-ease); }
.rf-mail-reply.is-in { opacity: 1; transform: none; }
.rf-mail-sign { font-size: 12px; font-weight: 600; margin-top: 10px; opacity: 0; transition: opacity 420ms var(--rf-ease) 150ms; }
.rf-mail-sign.is-in { opacity: 1; }

.rf-big--s { margin-top: 8px; gap: 10px; align-items: center; }
.rf-big--s .rf-big-n { font-size: 30px; color: var(--rf-ok-ink); }
.rf-big--s .rf-big-u { font-size: 12px; color: var(--rf-mute); line-height: 1.35; }

/* ---------- scene 3: week schedule ---------- */
.rf-legend { display: flex; gap: 12px; font-size: 11px; color: var(--rf-mute); }
.rf-lg { display: inline-flex; align-items: center; gap: 5px; }
.rf-lg i { width: 10px; height: 10px; border-radius: 3px; }
.rf-lg--new { padding-left: 12px; border-left: 1px solid var(--rf-line); color: var(--rf-ink); }
.rf-lg-n { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--rf-ink); }
.rf-lg-b { background: var(--rf-ink); }
.rf-lg-c { background: #A9ADB3; }
/* job types: light tint for existing jobs, a slightly deeper light tone for jobs we just booked */
.rf-t--repair { --t-bg: #F3F7FB; --t-fg: #3D5F82; --t-new: #DCE8F5; --t-edge: #8DAFD3; }
.rf-t--maint { --t-bg: #F2F8F4; --t-fg: #3C6B50; --t-new: #DAEEE1; --t-edge: #8DC0A2; }
.rf-t--install { --t-bg: #F6F4FA; --t-fg: #5A4F86; --t-new: #E6E1F4; --t-edge: #ADA2D6; }
.rf-t--inspect { --t-bg: #FBF7EF; --t-fg: #84662C; --t-new: #F3E8CF; --t-edge: #D3B57A; }
.rf-lg-t { background: var(--t-edge); }
.rf-wk { display: grid; margin-top: 14px; column-gap: 6px; }
.rf-wk-corner { height: 34px; }
.rf-wk-day { height: 34px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding-left: 4px; }
.rf-wk-day b { font-size: 10px; font-weight: 600; color: #FFFFFF; background: var(--rf-ink); border-radius: 4px; padding: 2px 5px; }
.rf-wk-times { position: relative; }
.rf-wk-time { position: absolute; right: 6px; font-size: 10px; color: var(--rf-mute); transform: translateY(-6px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rf-wk-time:first-child { transform: none; }
.rf-wk-col { position: relative; border-radius: 6px; background-image: linear-gradient(to bottom, #ECECEA 1px, transparent 1px); background-color: #FBFBFA; }
.rf-wk-col.is-today { background-color: #F4F4F2; }
.rf-ev { position: absolute; left: 3px; right: 3px; border-radius: 6px; padding: 5px 7px 5px 9px; overflow: hidden; font-size: 10.5px; line-height: 1.3; }
.rf-ev--old { background: var(--t-bg); color: var(--t-fg); box-shadow: inset 3px 0 0 var(--t-edge); opacity: 0.85; }
.rf-ev--new { background: var(--t-new); color: var(--t-fg); opacity: 0; transform: translateY(-10px) scale(0.96); transition: opacity 420ms var(--rf-ease), transform 420ms var(--rf-ease); box-shadow: inset 3px 0 0 var(--t-fg), 0 0 0 1px var(--t-edge), 0 6px 14px rgba(11, 11, 12, 0.1); z-index: 1; }
.rf-ev--new.is-in { opacity: 1; transform: none; }
.rf-ev-t { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.rf-ev-t b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.rf-ev--new .rf-ev-t::before { content: ""; width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--rf-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.3l2 2 4-4.3' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.rf-ev-u { font-size: 9px; font-weight: 600; letter-spacing: 0.04em; background: #FFFFFF; color: var(--t-fg); border: 1px solid var(--t-edge); border-radius: 3px; padding: 0 4px; flex: none; }
.rf-ev-s { opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rf-esc { display: flex; gap: 12px; margin-top: 14px; align-items: flex-start; }
.rf-ring { width: 34px; height: 34px; border-radius: 50%; background: var(--rf-ink); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; flex: none; position: relative; }
.rf-ring--s { width: 32px; height: 32px; }
.rf-ring::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--rf-ink); opacity: 0; }
.rf-card.is-in .rf-ring::after { animation: rf-ring 1.6s var(--rf-ease) 0.3s 2; }
@keyframes rf-ring { 0% { opacity: 0.5; transform: scale(0.85); } 100% { opacity: 0; transform: scale(1.35); } }
.rf-esc-t { font-size: 14px; font-weight: 600; line-height: 1.3; }
.rf-esc-s { font-size: 12.5px; color: var(--rf-text); margin-top: 4px; line-height: 1.4; }

.rf-fu { display: grid; gap: 2px; margin-top: 10px; }
.rf-fu-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #F0F0EE; font-size: 12.5px; opacity: 0; transform: translateY(4px); transition: opacity 360ms var(--rf-ease), transform 360ms var(--rf-ease); }
.rf-fu-row:first-child { border-top: 0; }
.rf-fu-row.is-in { opacity: 1; transform: none; }
.rf-fu-row.is-in .rf-fu-ic { animation: rf-pop 420ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.rf-fu-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rf-fu-ic { width: 20px; height: 20px; border-radius: 50%; background: var(--rf-ok); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.rf-fu-ic svg { width: 10px; height: 10px; }

/* ---------- scene 4: dashboard ---------- */
.rf-dash-l { display: flex; align-items: center; gap: 10px; }
.rf-range { font-size: 11.5px; font-weight: 500; color: var(--rf-text); background: var(--rf-soft); border-radius: 4px; padding: 3px 8px; }
.rf-from-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--rf-mute); }
.rf-from-mark .rf-av { width: 24px; height: 24px; }
.rf-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-top: 14px; background: var(--rf-line); border: 1px solid var(--rf-line); border-radius: 8px; overflow: hidden; }
.rf-kpi { background: var(--rf-card); padding: 12px 14px; }
.rf-kpi-l { font-size: 11.5px; color: var(--rf-mute); white-space: nowrap; }
.rf-kpi-n { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.rf-kpi-d { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 10.5px; color: var(--rf-mute); white-space: nowrap; }
.rf-delta { font-weight: 600; color: #1F6B35; background: #E3F1E6; border-radius: 3px; padding: 1px 5px; }
.rf-delta--n { color: var(--rf-ink); background: var(--rf-soft); }
.rf-dash-mid { display: grid; grid-template-columns: 1.85fr 1fr; gap: 12px; margin-top: 12px; }
.rf-dash-bot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.rf-panel { border: 1px solid var(--rf-line); border-radius: 8px; padding: 12px 14px; }
.rf-panel-t { font-size: 12px; font-weight: 600; }
.rf-chartsvg { display: block; width: 100%; height: 126px; margin-top: 8px; overflow: visible; }
.rf-c-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1300ms var(--rf-ease); }
.rf-c-area, .rf-cd { opacity: 0; transition: opacity 700ms var(--rf-ease) 500ms; }
.rf-chartsvg.is-in .rf-c-line { stroke-dashoffset: 0; }
.rf-chartsvg.is-in .rf-c-area, .rf-chartsvg.is-in .rf-cd { opacity: 1; }
.rf-c-x { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; color: var(--rf-mute); }
.rf-hb { display: grid; grid-template-columns: 78px 1fr 24px; align-items: center; gap: 8px; margin-top: 10px; font-size: 11.5px; }
.rf-hb--s { margin-top: 7px; grid-template-columns: 110px 1fr 24px; }
.rf-hb-n { color: var(--rf-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-hb b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.rf-hb-track { height: 8px; border-radius: 4px; background: var(--rf-soft); overflow: hidden; }
.rf-hb-fill { display: block; height: 100%; border-radius: 4px; background: var(--rf-ink); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--rf-ease) 200ms; }
.rf-hb-fill--g { background: #8E9298; }
.rf-hb-fill.is-in { transform: none; }
.rf-ah { margin-top: 12px; padding-top: 10px; border-top: 1px solid #F0F0EE; }
.rf-ah-t { font-size: 11.5px; color: var(--rf-mute); }
.rf-ah-v { display: flex; align-items: baseline; gap: 6px; margin-top: 3px; font-size: 11px; color: var(--rf-mute); }
.rf-ah-v b { font-size: 15px; color: var(--rf-ink); font-weight: 600; }
.rf-ah-track { height: 6px; border-radius: 3px; background: var(--rf-soft); margin-top: 6px; overflow: hidden; }
.rf-ah-fill { height: 100%; background: linear-gradient(90deg, #4A4E55, #9AA0A8); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 1000ms var(--rf-ease) 300ms; }
.rf-ah-fill.is-in { transform: none; }
.rf-dash .rf-fu-row { padding: 6px 0; }

/* ---------- mobile layout tweaks ---------- */
.rf-m .rf-page-in { padding: 0 14px 14px; gap: 10px; }
.rf-m .rf-pg-links, .rf-m .rf-pg-hero { display: none; }
.rf-m .rf-tbody { max-height: 124px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.rf-m .rf-ev { font-size: 10px; padding: 4px 6px; }
.rf-m .rf-pg-h1 { font-size: 17px; }
.rf-m .rf-pg-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.rf-m .rf-pg-svc { flex-direction: row; align-items: center; padding: 6px 8px; font-size: 11px; }
.rf-m .rf-pg-svc-i { width: 14px; height: 14px; }
.rf-m .rf-pg-box { padding: 7px 9px; }
.rf-m .rf-pg-box-v { font-size: 11.5px; }
.rf-m .rf-tr { min-height: 31px; grid-template-columns: 92px 1fr auto; font-size: 11.5px; }
.rf-m .rf-th { min-height: 26px; }
.rf-m .rf-db-foot { display: none; }
.rf-m .rf-tbl { margin-top: 10px; }
.rf-m .rf-legend { display: none; }
.rf-m .rf-ev-s, .rf-m .rf-ev-u { display: none; }
.rf-m .rf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rf-m .rf-kpi:nth-child(5) { display: none; }
.rf-m .rf-kpi-n { font-size: 22px; }
.rf-m .rf-dash-mid { grid-template-columns: 1fr; }
.rf-m .rf-panel--chan, .rf-m .rf-dash-bot, .rf-m .rf-range, .rf-m .rf-from-mark span:last-child { display: none; }

.rf-m .rf-phone { border-radius: 34px; padding: 5px; }
.rf-m .rf-ph-status { padding: 2px 16px 0 18px; font-size: 10.5px; }
.rf-m .rf-ph-status svg { width: 38px; }
.rf-m .rf-ph-island { width: 58px; margin-left: -29px; height: 18px; }
.rf-m .rf-ph-screen { border-radius: 29px; }

/* no motion: show the finished results, still */
.rf.is-static .rf-card, .rf.is-static .rf-msg, .rf.is-static .rf-head, .rf.is-static .rf-prog-s i, .rf.is-static .rf-tr, .rf.is-static .rf-reply,
.rf.is-static .rf-badge, .rf.is-static .rf-ev, .rf.is-static .rf-fu-row, .rf.is-static .rf-tab, .rf.is-static .rf-ftxt, .rf.is-static .rf-mail-reply, .rf.is-static .rf-hb-fill, .rf.is-static .rf-ah-fill,
.rf.is-static .rf-c-line, .rf.is-static .rf-c-area, .rf.is-static .rf-cd, .rf.is-static .rf-scan, .rf.is-static .rf-ring::after { transition: none !important; animation: none !important; }
.rf.is-static .rf-ic--spin, .rf.is-static .rf-wave i, .rf.is-static .rf-typing i { animation: none; }
