/* Car rental page: hero and "A day at your counter" in one section. Real planning-board screenshot kept.
   Each stop: the time, what happens at the counter (handwritten), the feature that handles it. Comp 6 Oct 2026. */
.rh { padding-bottom: 70px; }
.rh .rh-top { align-items: center; }
.rh .screen.static { position: relative; }
.rh-day { margin-top: 70px; }
.rd-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.rd-title { font: 700 30px/1 'Caveat', cursive; color: var(--brand); }
.rd-sub { color: var(--soft); font-size: 15px; }
.rd-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.rd-line::before { content: ''; position: absolute; left: 0; right: 0; top: 33px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 18px); }
.rd-stop { position: relative; display: flex; flex-direction: column; gap: 8px; }
.rd-time { font: 600 13px var(--mono); color: var(--accent); }
.rd-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--brand); margin: 2px 0 4px; position: relative; z-index: 1; }
.rd-stop:last-child .rd-dot { background: var(--node); border-color: var(--node); box-shadow: 0 0 0 3px var(--node-ring); }
.rd-moment { font: 700 22px/1.1 'Caveat', cursive; color: var(--head); min-height: 50px; }
.rd-card { border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); padding: 13px 14px 15px; border-top: 3px solid var(--brand); flex: 1; }
.rd-card b { display: block; color: var(--head); font: 600 15px/1.25 var(--rf-font); margin-bottom: 5px; }
.rd-card p { margin: 0; color: var(--soft); font-size: 13.5px; line-height: 1.45; }
@media (max-width: 1000px) {
  .rd-line { grid-template-columns: 1fr 1fr; }
  .rd-line::before { display: none; }
}
@media (max-width: 600px) { .rd-line { grid-template-columns: 1fr; } }
.phero .wrap.rh-day { display: block; }
.rd-moment { min-height: 52px; }

/* the three real screens together: planning board, dashboard, staff app; tabs and timeline stops bring one forward */
.rh .rh-top { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); }
.rs { position: relative; }
.rs-stack { position: relative; height: 470px; }
.rs-shot { position: absolute; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .6s cubic-bezier(.3,.7,.2,1), opacity .4s, z-index 0s .2s; }
.rs-shot .bar { height: 24px; background: #e9ecef; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.rs-shot .bar i { width: 7px; height: 7px; border-radius: 50%; background: #c3c9cf; }
.rs-shot .bar em { margin-left: 10px; font: 500 10.5px var(--mono); color: #6b7680; font-style: normal; }
.rs-shot img { display: block; width: 100%; }
.rs-plan { width: 560px; left: 0; top: 0; }
.rs-dash { width: 560px; left: 90px; top: 110px; }
.rs-app { position: absolute; right: -10px; top: 40px; display: flex; gap: 12px; transition: transform .6s cubic-bezier(.3,.7,.2,1); }
.rs-app .phone { position: relative; inset: auto; width: 150px; top: auto; }
.rs-app .p2 { transform: translateY(40px); }
/* which one is in front */
.rs .rs-plan, .rs .rs-dash, .rs .rs-app { z-index: 1; opacity: .5; }
.rs[data-front="plan"] .rs-plan, .rs[data-front="dash"] .rs-dash, .rs[data-front="app"] .rs-app { z-index: 5; opacity: 1; }
.rs[data-front="plan"] .rs-plan { transform: translateY(-6px) scale(1.04); }
.rs[data-front="dash"] .rs-dash { transform: translateY(-6px) scale(1.03); }
.rs[data-front="app"] .rs-app { transform: translateY(-10px) scale(1.06); }
.rs[data-front="dash"] .rs-app { opacity: .85; z-index: 4; }
.rs-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.rs-tabs button { text-align: left; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 14px 12px; cursor: pointer; color: var(--soft); font: inherit; border-top: 3px solid var(--line-2); }
.rs-tabs button b { display: block; color: var(--head); font: 600 15px var(--rf-font); margin-bottom: 3px; }
.rs-tabs button small { display: block; font-size: 12.5px; line-height: 1.35; }
.rs-tabs button[aria-selected="true"] { border-top-color: var(--brand); background: var(--brand-tint); }
.rd-stop[data-show] { cursor: pointer; }
.rd-stop.on .rd-card { border-color: var(--brand-edge); }
@media (max-width: 1000px) {
  .rs-stack { height: 360px; } .rs-plan, .rs-dash { width: 74%; } .rs-dash { left: 14%; top: 80px; } .rs-app .phone { width: 110px; }
}
@media (prefers-reduced-motion: reduce) { .rs-shot, .rs-app { transition: none; } }
/* screens behind stay solid, only dimmed */
.rs .rs-plan, .rs .rs-dash, .rs .rs-app { opacity: 1; filter: brightness(.5) saturate(.7); transition: transform .6s cubic-bezier(.3,.7,.2,1), filter .4s; }
.rs[data-front="plan"] .rs-plan, .rs[data-front="dash"] .rs-dash, .rs[data-front="app"] .rs-app { filter: none; }
.rs[data-front="dash"] .rs-app { opacity: 1; filter: brightness(.75); }

/* autoplay: Dashboard -> Planning board -> Staff app every 8 s; the active tab fills along its top; pause button on the screens */
.rs-tabs button { position: relative; overflow: hidden; }
.rs-tabs button b.fill { position: absolute; left: 0; top: -3px; height: 3px; width: 0; background: var(--head); opacity: .9; margin: 0; }
.rs.playing .rs-tabs button[aria-selected="true"] b.fill { animation: rs-fill 8s linear forwards; }
@keyframes rs-fill { to { width: 100%; } }
.rs-play { position: absolute; right: 8px; top: 418px; z-index: 8; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--head); display: grid; place-items: center; cursor: pointer; }
.rs-play .ic-pause { width: 9px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.rs-play .ic-play { display: none; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; margin-left: 3px; }
.rs.paused .rs-play .ic-pause { display: none; } .rs.paused .rs-play .ic-play { display: block; }
@media (prefers-reduced-motion: reduce) { .rs-play, .rs-tabs button b.fill { display: none; } }
.rs-tabs button b.fill { top: 0; background: var(--brand); height: 3px; }
.rs.playing .rs-tabs button[aria-selected="true"] { border-top-color: var(--brand-edge); }

/* Phone: text on top, then the screens, then the tabs (6 Oct 2026 phone check) */
@media (max-width: 760px) {
  .rh .rh-top { grid-template-columns: 1fr !important; gap: 26px; }
  .rh .rh-top h1 { font-size: 40px; }
  .rs-stack { height: 260px; }
  .rs-plan, .rs-dash { width: 82%; } .rs-dash { left: 18%; top: 54px; }
  .rs-app { right: -6px; top: 26px; } .rs-app .phone { width: 92px; padding: 5px; border-radius: 18px; } .rs-app .phone img { border-radius: 14px; }
  .rs-tabs { grid-template-columns: 1fr; gap: 8px; }
  .rs-play { top: 214px; }
  .rh-day { margin-top: 44px; }
}
