/* /remote/ (the One Man Show Bluetooth Remote sales page) and /remote/thanks/.
   Loaded after site.css; uses its tokens only (all three themes, RTL via
   logical properties). No inline styles on these pages. */

/* site.css locks the desktop scroller to .sec/.hero/.final screens; these pages
   have none, so the only snap point left (the footer) would pull every scroll
   to the bottom of the page. Natural scrolling here. */
html:has(main.rm) { scroll-snap-type: none; }

.rm { padding: 48px 0 88px; }
.rm section { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* hero: product video + name, price and the Buy button */
.rm-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px; align-items: center; margin-bottom: 56px;
}
.rm-media {
  margin: 0; border-radius: var(--r-xl); overflow: hidden; background: #000;
  border: 1px solid var(--border); aspect-ratio: 1 / 1;
  box-shadow: 0 18px 50px rgb(0 0 0 / .35);
}
.rm-media video { display: block; width: 100%; height: 100%; object-fit: cover; }

.rm-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
  background: var(--accent-dim); color: color-mix(in srgb, var(--accent) 72%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
}
.rm h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 900; letter-spacing: -.025em;
  line-height: 1.12; overflow-wrap: anywhere;
}
.rm-lead { margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: var(--subtext); max-width: 560px; }

.rm-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 26px; }
.rm-amount { font-size: clamp(2.2rem, 5vw, 2.8rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.rm-ship { font-size: 15px; font-weight: 600; color: var(--subtext); }

.rm-buy { margin-top: 22px; }
.rm-buy-btn {
  width: 100%; max-width: 420px; padding: 16px 26px; font-size: 17px; font-weight: 800;
  border-radius: var(--r-lg);
}
.rm-buy-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.rm-secure { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: var(--subtext); max-width: 420px; }

/* content sections */
.rm-sec { max-width: 760px; margin-bottom: 44px; }
.rm-sec h2 {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.015em;
  padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 18px;
}
.rm-sec p { font-size: 15px; line-height: 1.65; color: var(--subtext); margin-bottom: 12px; }
.rm-sec a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

.rm-list, .rm-steps { display: flex; flex-direction: column; gap: 12px; margin: 0 0 18px; padding: 0; }
.rm-list li, .rm-steps li {
  position: relative; list-style: none; padding-inline-start: 30px;
  font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--text) 86%, var(--subtext));
}
.rm-list li::before {
  content: '✔'; position: absolute; inset-inline-start: 2px; top: 0;
  color: var(--accent); font-weight: 800;
}
.rm-steps { counter-reset: rm-step; }
.rm-steps li { counter-increment: rm-step; }
.rm-steps li::before {
  content: counter(rm-step); position: absolute; inset-inline-start: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; background: var(--accent); color: #fff;
}
.rm-note {
  padding: 16px 20px; border-radius: var(--r-lg);
  background: var(--bg2); border: 1px solid var(--border);
}

.rm-facts { display: grid; gap: 12px; margin: 0 0 18px; }
.rm-facts > div {
  padding: 14px 18px; border-radius: var(--r-md);
  background: var(--bg2); border: 1px solid var(--border);
}
.rm-facts dt { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.rm-facts dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--subtext); }
.rm-facts a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

.rm-again { margin-top: 8px; }

/* thanks page */
.rm-done { max-width: 760px; margin-bottom: 44px; }
.rm-done-img {
  display: block; width: 120px; height: 120px; border-radius: var(--r-lg);
  object-fit: cover; margin-bottom: 22px; border: 1px solid var(--border);
}

@media (max-width: 860px) {
  .rm { padding: 28px 0 64px; }
  .rm-hero { grid-template-columns: 1fr; gap: 26px; margin-bottom: 44px; }
  .rm-media { max-width: 460px; width: 100%; margin-inline: auto; }
}
@media (max-width: 400px) {
  .rm .wrap { padding-inline: 16px; }
  .rm-lead { font-size: 15.5px; }
  .rm-facts > div { padding: 12px 14px; }
}
