/* Real product views, styled in the site's navy / cyan palette. */
.rf-platform-section {
  background: var(--rr-midnight);
  isolation: isolate;
}
.rf-platform-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 1;
  background: url('/assets/tread-navy.svg') repeat center / 280px 204px;
  mask-image: radial-gradient(ellipse at 50% 52%, #000 20%, transparent 76%);
  pointer-events: none;
}
.rf-platform-section .rf-os-intro { margin-bottom: 20px; }
.rf-platform-section .rf-os-intro h2 { max-width: 680px; }
.rf-platform-section .rf-os-intro p { color: #C4D1DF; }
.rf-platform-section .rf-os-promise { color: #8FEFFF; }
.rf-platform-stage {
  position: relative;
  aspect-ratio: 1.78;
  margin: 0 -12px 60px;
  perspective: 1600px;
}
.rf-platform-shot { position: absolute; margin: 0; }
.rf-platform-shot--os { width: 77%; left: 0; top: 4%; z-index: 1; transform: rotateY(9deg) rotateX(4deg) rotateZ(-2deg); }
.rf-platform-shot--asset { width: 51%; right: 0; bottom: 0; z-index: 2; transform: rotateY(-10deg) rotateX(5deg) rotateZ(3deg); }
.rf-platform-screen {
  display: block;
  overflow: hidden;
  color: var(--rr-paper);
  text-decoration: none;
  border: 1px solid rgba(143,239,255,.4);
  border-radius: 12px;
  background: #0a2236;
  box-shadow: 0 3px 0 #244c60, 0 7px 0 #0a2435, 0 24px 65px rgba(6,27,43,.2);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.rf-platform-screen:hover { border-color: var(--rr-cyan); box-shadow: 0 3px 0 #327087, 0 7px 0 #0a2435, 0 25px 70px rgba(6,27,43,.26); }
.rf-platform-screen:focus-visible { outline: 3px solid var(--rr-cyan); outline-offset: 7px; }
.rf-platform-screen img { display: block; width: 100%; height: auto; }
.rf-platform-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; font: 500 12px/1.4 var(--font-sans); }
.rf-platform-bar strong { font-weight: 500; }
.rf-platform-bar > span { color: #91b4c9; white-space: nowrap; }
.rf-platform-section .rf-platform-note { margin: 24px 0 32px; color: #A7B9C9; font: 400 11px/1.6 var(--font-mono); }
.rf-platform-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 28px; border-top: 1px solid #344A5C; }
.rf-platform-features article > span { color: #A7B9C9; font: 400 12px/1.5 var(--font-sans); }
.rf-platform-features h3 { margin: 12px 0 9px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.rf-platform-features p { max-width: 350px; margin: 0; font-size: 14px; line-height: 1.7; color: #B8CBD9; }
.rf-platform-cta { display: inline-flex; align-items: center; gap: 16px; margin-top: 28px; color: #8FEFFF; font-size: 14px; font-weight: 600; text-underline-offset: 5px; }
.rf-platform-cta:hover { color: #FFF; text-decoration: underline; }
.rf-platform-dialog {
  width: min(1500px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 1px solid #36556b;
  border-radius: 12px;
  background: #0a2236;
  color: #f5f8fb;
  box-shadow: 0 30px 100px #0008;
}
.rf-platform-dialog::backdrop { background: rgba(3,13,22,.88); backdrop-filter: blur(8px); }
.rf-platform-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; }
.rf-platform-dialog h2 { margin: 0; font: 500 14px/1.5 var(--font-sans); color: #f5f8fb; }
.rf-platform-close { flex: 0 0 auto; min-height: 44px; padding: 8px 14px; border: 1px solid #517087; border-radius: 6px; background: transparent; color: #f5f8fb; font: 500 13px/1.2 var(--font-sans); cursor: pointer; }
.rf-platform-close:hover { background: #183e54; }
.rf-platform-close:focus-visible { outline: 2px solid #00dcff; outline-offset: 3px; }
.rf-platform-dialog img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 116px); object-fit: contain; }
body.rf-platform-preview-open { overflow: hidden; }
@media (max-width: 900px) {
  .rf-platform-bar { font-size: 10px; padding: 8px 10px; }
  .rf-platform-bar > span { font-size: 0; }
  .rf-platform-bar > span::after { content: '↗'; font-size: 15px; }
  .rf-platform-features { gap: 24px; }
}
@media (max-width: 640px) {
  .rf-platform-stage { display: grid; gap: 26px; aspect-ratio: auto; margin: 34px 0 0; perspective: none; }
  .rf-platform-shot { position: relative; inset: auto; width: 100%; transform: none; }
  .rf-platform-features { grid-template-columns: 1fr; gap: 24px; }
  .rf-platform-features h3 { margin-top: 0; }
  .rf-platform-features p { max-width: none; }
  .rf-platform-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .rf-platform-dialog-head { padding: 8px 12px; }
  .rf-platform-dialog h2 { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rf-platform-screen { transition: none; }
}
