/* The product-page template (v4, from riddleui.com/proicon): split hero, bento, alternating feature rows, a marquee,
   steps, a table, the film, reviews, what's new. Orb and Motion Copilot both use it; product 3 is one more page. */

/* ---------------------------------------------------------------- split hero */
.phero { position: relative; isolation: isolate; padding-block: 48px 40px; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.phero__copy { display: grid; justify-items: start; gap: 16px; }
.phero__copy .h1 { margin-top: 8px; }
.phero__copy .lead { max-width: 30em; }
.phero__copy .actions { margin-top: 16px; }
.phero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; color: var(--helper); font-size: 14px; line-height: 21px; }
.phero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.phero__meta .ico { width: 18px; height: 18px; color: var(--body); }
.phero__shot { position: relative; }
.phero__shot .illus { text-align: left; }
@media (max-width: 999px) {
  .phero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .phero__shot .illus { text-align: center; }
}
@media (max-width: 639px) { .phero .actions { flex-direction: column; } .phero .actions .btn { width: 100%; } }

/* a product window with a title bar (dark in both themes) */
.pwin__bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: var(--w-bar); border-bottom: 1px solid var(--w-line); }
.pwin__dots { display: flex; gap: 6px; }
.pwin__dots i { width: 10px; height: 10px; border-radius: 50%; background: #4A4D53; }
.pwin__title { flex: 1; text-align: center; color: var(--w-text); font-size: 14px; }
.pwin__tag { padding: 3px 9px; border-radius: 6px; border: 1px solid var(--w-line); color: var(--w-mute); font-size: 12px; }

/* ---------------------------------------------------------------- alternating feature rows */
.frows { display: grid; gap: 128px; }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.frow--rev .frow__art { order: 2; }
.frow__art { position: relative; aspect-ratio: 530 / 420; border-radius: var(--r); border: 1px solid var(--sep); background: var(--layer-1); overflow: hidden; }
:root:not([data-theme="light"]) .frow__art { background: linear-gradient(180deg, #080B12, #050910); }
.frow__copy { display: grid; gap: 16px; justify-items: start; }
.frow__copy .h2 { font-size: 36px; line-height: 44px; }
.frow__copy .lead { font-size: 17px; line-height: 27px; max-width: 32em; }
.frow__copy .checks { margin-top: 8px; }
.frow__copy .actions { margin-top: 12px; }
@media (max-width: 899px) {
  .frows { gap: 80px; }
  .frow { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .frow--rev .frow__art { order: 0; }
  .frow__copy .h2 { font-size: 28px; line-height: 36px; }
}

/* ---------------------------------------------------------------- marquee block */
.mblock { padding-top: 128px; }
.mblock .section__head { margin-bottom: 48px; }
@media (max-width: 767px) { .mblock { padding-top: 96px; } }

/* ---------------------------------------------------------------- steps, needs, table */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: st; }
.step .card__in { padding: 28px; gap: 10px; }
.step__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--acc-badge); border: 1px solid var(--acc-line); color: var(--acc-ink); font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.step .h4 { color: var(--ink); }
@media (max-width: 899px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.tbl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.tbl th { padding: 12px 16px; color: var(--body); font-weight: 500; text-align: left; border-bottom: 1px solid var(--sep); }
.tbl td { padding: 12px 16px; color: var(--label); border-bottom: 1px solid var(--sep); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.kbd { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.kbd kbd { display: inline-block; min-width: 26px; padding: 3px 8px; border-radius: 6px; background: var(--layer-2); border: 1px solid var(--border); color: var(--ink); font: 500 12px/18px var(--font); text-align: center; }
.kbd i { color: var(--helper); font-style: normal; font-size: 12px; }
.twocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.twocol .card__in { padding: 32px; }
.twocol .h4 { margin-bottom: 6px; }
.twocol .small { margin-bottom: 20px; }
.tblwrap { margin: 0 -16px; overflow-x: auto; }
@media (max-width: 899px) { .twocol { grid-template-columns: minmax(0, 1fr); } .twocol .card__in { padding: 24px; } }

/* ---------------------------------------------------------------- the film */
.film { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--sep); background: #000; aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film:focus-within { outline: 2px solid var(--focus); outline-offset: 4px; }
/* the player keeps focus inside its own controls, so :focus-visible never matches the video: ring it on :focus */
.film video:focus, .film video:focus-within { outline: 2px solid var(--focus); outline-offset: -4px; border-radius: 10px; }

/* ---------------------------------------------------------------- reviews + what's new */
.rw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.rw .card__in { padding: 32px; gap: 14px; }
.rw__t { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; line-height: 28px; font-weight: 500; }
.rw__t .ico { width: 22px; height: 22px; color: var(--acc-ink); }
.reviews__lede { color: var(--ink); font-size: 16px; font-weight: 500; }
.reviews { display: grid; gap: 16px; margin-top: 8px; }
.review figure { display: grid; gap: 10px; padding: 20px; border-radius: var(--r); border: 1px dashed var(--border); }
.review__stars { display: flex; gap: 3px; }
.star { width: 16px; height: 16px; fill: var(--layer-3); }
.star.is-on { fill: #FBC320; }
.review__text { color: var(--label); font-size: 15px; line-height: 23px; margin: 0; }
.review__by { display: grid; gap: 2px; font-size: 13px; color: var(--body); }
.review__name { color: var(--ink); font-weight: 500; }
.review__flag .badge, .review__flag .pill { font-size: 12px; }
.whatsnew__latest { display: grid; gap: 8px; }
.whatsnew__latest .h3 { font-size: 20px; line-height: 28px; }
.whatsnew__latest .h3 a:hover { color: var(--link); }
.rn__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--helper); font-size: 13px; }
@media (max-width: 899px) { .rw { grid-template-columns: minmax(0, 1fr); } .rw .card__in { padding: 24px; } }

/* ---------------------------------------------------------------- shared vignette pieces */
.vchip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--layer-2); color: var(--ink); font-size: 14px; line-height: 20px; }
.vbubble { padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #1B1E25; border: 1px solid #2A2D34; color: #E0E3E6; font-size: 14px; line-height: 20px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.vbubble--me { border-radius: 14px 14px 4px 14px; background: #0277B6; border-color: transparent; color: #fff; }
.vpanel { border-radius: 10px; background: #1B1E25; border: 1px solid #2A2D34; color: #E0E3E6; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.vring { box-shadow: 0 0 0 2px #40D2FF, 0 0 22px rgba(64, 210, 255, .5) !important; }
