/* Review Machine product page and help videos page (2026-10-01, mock-up v2). Script: js/rm-landing.js */
.rmsub{position:sticky;top:var(--sub-top,72px);z-index:990;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--fog);transition:top .2s}
.rmsub__in{display:flex;align-items:center;gap:18px;min-height:52px}
.rmsub__brand{font-weight:700;color:var(--ink);text-decoration:none;white-space:nowrap;display:flex;align-items:center;gap:8px}
.rmsub__brand::before{content:'';width:10px;height:10px;border-radius:3px;background:var(--accent)}
.rmsub__links{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;flex:1 1 auto;min-width:0}
.rmsub__links::-webkit-scrollbar{display:none}
.rmsub__links a{white-space:nowrap;color:var(--graphite);text-decoration:none;font-size:14px;font-weight:500;padding:8px 11px;border-radius:8px}
.rmsub__links a:hover{color:var(--ink);background:var(--bg-alt)}
.rmsub__links a.on{color:var(--accent-hover);background:var(--accent-light);font-weight:600}
/* one booking button at a time (CEO 2 Oct): while the Fractalic header is on screen it carries the button and
   the bar shows the price; when the header slides away (.rmsub.rm-solo, set in js/rm-landing.js) the button
   moves into the bar. On phones the bar shows no price, only the button while the header is away. */
.rmsub__end{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;position:relative}
.rmsub__price{font-size:13.5px;color:var(--graphite);white-space:nowrap;margin-right:4px;transition:opacity .2s,transform .2s}
.rmsub__price b{color:var(--ink);font-weight:600}
.rmsub.rm-solo .rmsub__price{opacity:0;transform:translateY(8px);position:absolute;right:100%;pointer-events:none}
.rmsub__cta{white-space:nowrap;padding:9px 0 !important;font-size:14px !important;max-width:0;overflow:hidden;opacity:0;visibility:hidden;transform:translateY(-14px);transition:max-width .2s,padding .2s,opacity .2s,transform .2s,visibility .2s}
.rmsub.rm-solo .rmsub__cta{max-width:200px;padding:9px 16px !important;opacity:1;visibility:visible;transform:none}
.header.rm-away{transform:translateY(-110%);transition:transform .2s}
.header{transition:transform .2s}
@media (prefers-reduced-motion:reduce){.rmsub__price,.rmsub__cta{transition:none}}
@media (max-width:760px){
  .rmsub__in{gap:10px;min-height:48px}
  .rmsub__price{display:none}
  .rmsub__cta{font-size:13px !important}
  .rmsub.rm-solo .rmsub__cta{max-width:140px;padding:9px 12px !important}
  .rmsub__brand{display:none}
  .rmsub__links a{font-size:14px;padding:10px 10px}
}
.rmsteps{counter-reset:s;list-style:none;padding:0;margin:8px 0 28px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.rmsteps li{counter-increment:s;background:#fff;border:1px solid var(--fog);border-radius:12px;padding:16px;font-size:15px;line-height:1.55;color:var(--graphite)}
.rmsteps li::before{content:counter(s);display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;font-size:13px;margin-bottom:8px}
.rmsteps b{color:var(--ink);display:block;margin-bottom:2px}
@media (max-width:900px){.rmsteps{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.rmsteps{grid-template-columns:1fr}}
.rmblock{margin-top:40px;padding-top:32px;border-top:1px solid var(--fog)}
.rm-sub{font-size:1.5rem;margin-bottom:8px}
.rmteaser{display:grid;grid-template-columns:1.3fr 1fr;gap:28px;align-items:center}
.rmteaser img{max-width:100%;border-radius:12px;border:1px solid var(--fog)}
@media (max-width:760px){.rmteaser{grid-template-columns:1fr}}
.rmcards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0 24px}
@media (max-width:900px){.rmcards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rmcard{display:flex;flex-direction:column;gap:6px;background:none;border:0;padding:0;text-align:left;cursor:pointer;font-family:var(--font-family);color:var(--ink);min-width:0}
.rmcard img{width:100%;aspect-ratio:16/9;object-fit:cover;object-position:top left;border-radius:10px;border:1px solid var(--fog);display:block}
.rmcard__t{font-weight:600;font-size:15px;line-height:1.35}
.rmcard__d{font-size:13px;color:var(--graphite)}
.rmcard:hover .rmcard__t{color:var(--accent-hover)}
.rmgrp{font-size:1.25rem;margin:34px 0 0;display:flex;gap:10px;align-items:baseline}
.rmgrp span{font-size:13px;color:var(--graphite);font-weight:500}
.rmfilm{position:relative;display:block;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#0B1120;max-width:100%}
.rmfilm img{width:100%;height:100%;object-fit:cover;opacity:.55;display:block}
.rmfilm__play{position:absolute;left:50%;top:50%;width:70px;height:70px;margin:-35px 0 0 -35px;border-radius:50%;background:rgba(255,255,255,.95)}
.rmfilm__play::after{content:'';position:absolute;left:28px;top:22px;border-left:20px solid var(--accent);border-top:13px solid transparent;border-bottom:13px solid transparent}
.rmfilm__cap{position:absolute;left:0;right:0;bottom:0;color:#fff;font-size:13px;padding:24px 14px 10px;background:linear-gradient(transparent,rgba(11,17,32,.9))}
.rmp{position:fixed;inset:0;z-index:2000;background:rgba(11,17,32,.55);display:grid;place-items:center;padding:20px}
.rmp[hidden]{display:none}
.rmp__card{background:#fff;border-radius:16px;width:100%;max-width:800px;padding:18px 20px 20px;box-shadow:0 20px 50px rgba(15,23,42,.3)}
.rmp__head{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}
.rmp__head b{display:block;font-size:17px}
.rmp__head span{font-size:13px;color:var(--graphite)}
.rmp__x{margin-left:auto;background:none;border:0;font-size:28px;line-height:1;cursor:pointer;color:var(--graphite);width:40px;height:40px;border-radius:9px}
.rmp__x:hover{background:var(--bg-alt)}
.rmp__video{position:relative;display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#0B1120}
.rmp__video img{width:100%;height:100%;object-fit:cover;object-position:top left;opacity:.85}
@media (max-width:560px){.rmp{padding:0;place-items:end stretch}.rmp__card{border-radius:16px 16px 0 0}}

.rm-watch-row .rm-watch[data-v]{cursor:pointer}

main section[id], main [id].rm-sub{scroll-margin-top:140px}
.rmhero{padding-block:calc(var(--header-h,72px) + 64px) 40px}
.rmhero__in{display:grid;grid-template-columns:1.15fr 1fr;gap:48px;align-items:center}
.rmhero__h1{font-size:clamp(2rem,4.2vw,3.1rem);line-height:1.1;letter-spacing:-.02em;margin:6px 0 10px;text-wrap:balance}
.rmhero__sub{font-size:1.25rem;font-weight:600;color:var(--ink);margin:0 0 12px}
.rmhero__p{font-size:1.0625rem;color:var(--graphite);line-height:1.6;max-width:56ch;margin:0 0 18px}
.rmprice{display:flex;flex-direction:column;gap:2px;border-left:3px solid var(--accent);padding:4px 0 4px 14px;margin:0 0 20px}
.rmprice b{font-size:1.125rem;color:var(--ink)}
.rmprice span{font-size:.9375rem;color:var(--graphite)}
.rmhero__cta{display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center}
.rmhero__alt{font-weight:600;color:var(--accent-hover);text-decoration:none}
.rmhero__video{position:relative;display:block;border:0;padding:0;cursor:pointer;border-radius:14px;overflow:hidden;aspect-ratio:16/9;background:#0B1120;box-shadow:0 12px 32px rgba(15,23,42,.14);width:100%}
.rmhero__video img{width:100%;height:100%;object-fit:cover;object-position:top left;opacity:.9;display:block}
.rmhero__vcap{position:absolute;left:0;right:0;bottom:0;padding:26px 14px 11px;color:#fff;font-weight:600;font-size:14px;text-align:left;background:linear-gradient(transparent,rgba(11,17,32,.85))}
.rmpath{list-style:none;padding:0;margin:28px 0 6px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;counter-reset:p}
.rmpath li{counter-increment:p;background:#fff;border:1px solid var(--fog);border-radius:10px;padding:11px 13px;font-size:14px;font-weight:600;color:var(--ink);position:relative}
.rmpath li::before{content:counter(p);color:var(--accent);font-weight:700;margin-right:8px}
.rmpath__alt{font-size:13.5px;color:var(--graphite);margin:6px 0 0}
@media (max-width:900px){.rmhero__in{grid-template-columns:1fr;gap:26px}.rmhero{padding-block:calc(var(--header-h,64px) + 36px) 28px}.rmpath{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.rmpath{grid-template-columns:1fr}.rmhero__sub{font-size:1.125rem}}
.rmproof{padding-block:40px}
.rmproof__big{font-size:clamp(1.4rem,2.6vw,2rem);line-height:1.25;margin:4px 0 6px;text-wrap:balance}
.rmproof__big span{color:var(--accent-hover);white-space:nowrap}
.rmproof__when{color:var(--graphite);margin:0}
.rmproof__locs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 14px}
.rmproof__locs div{background:#fff;border:1px solid var(--fog);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.rmproof__locs b{font-size:14px;color:var(--graphite);font-weight:600}
.rmproof__locs span{font-size:1.75rem;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.rmproof__locs small{font-size:13px;color:var(--graphite)}
.rmproof__note{font-size:14px;color:var(--graphite);max-width:80ch;margin:0}
@media (max-width:600px){.rmproof__locs{grid-template-columns:1fr}}
.rmfit{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:6px}
.rmfit h3{font-size:1.125rem;margin-bottom:10px}
.rmfit ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px}
.rmfit li{padding-left:28px;position:relative;line-height:1.5;color:var(--ink)}
.rmyes li::before{content:'';position:absolute;left:4px;top:5px;width:12px;height:7px;border-left:2.5px solid var(--accent);border-bottom:2.5px solid var(--accent);transform:rotate(-45deg)}
.rmno li::before{content:'';position:absolute;left:5px;top:10px;width:12px;height:2.5px;background:var(--error);transform:rotate(45deg);box-shadow:0 0 0 0 transparent}
.rmno li::after{content:'';position:absolute;left:5px;top:10px;width:12px;height:2.5px;background:var(--error);transform:rotate(-45deg)}
.rmdot li::before{content:'';position:absolute;left:6px;top:9px;width:7px;height:7px;border-radius:50%;background:var(--graphite)}
@media (max-width:760px){.rmfit{grid-template-columns:1fr}}
.rmdet{border:1px solid var(--fog);border-radius:12px;padding:14px 18px;background:#fff;margin-top:18px}
.rmdet summary{cursor:pointer;font-weight:600;color:var(--ink)}
.rmdet[open] summary{margin-bottom:12px}
.rmchap{margin-top:8px}
.rmsmall{font-size:14.5px;color:var(--graphite);margin-top:10px}
.rmcards2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:8px}
.rmcard2{background:#fff;border:1px solid var(--fog);border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:6px}
.rmcard2 h3{font-size:1.25rem;margin:0}
.rmcard2__who{color:var(--graphite);margin:0 0 6px}
.rmcard2__price{font-size:1.75rem;font-weight:700;color:var(--ink);margin:0;font-variant-numeric:tabular-nums}
.rmcard2__sub{color:var(--graphite);font-size:14.5px;margin:0 0 8px}
.rmcard2 dl{margin:6px 0 10px;display:grid;gap:4px}
.rmcard2 dt{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--graphite);font-weight:700;margin-top:8px}
.rmcard2 dd{margin:0;line-height:1.5}
.rmcard2 .btn{align-self:flex-start;margin-top:auto}
.rmcard2 .rm-watch-row{margin:2px 0 12px}
@media (max-width:760px){.rmcards2{grid-template-columns:1fr}}
.rmband{background:var(--ink);color:#fff}
.rmband .cmp-title{color:#fff}
.rmband p{color:#D1D5DB;max-width:62ch}
.rmband__in{display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:space-between}

/* links that look like the mock-up's buttons (they open YouTube when JavaScript is off) */
a.rmhero__video, a.rmcard{text-decoration:none}
.rmhero__video .rmfilm__play{transition:transform .15s}
.rmhero__video:hover .rmfilm__play, .rmhero__video:focus-visible .rmfilm__play{transform:scale(1.06)}
.rmp__video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.rmp__yt{display:inline-block;margin-top:10px;font-size:13px;color:var(--accent-hover)}
html.rmp-open{overflow:hidden}
