/* Marketing: the home hero with the promo video, the streaming taglines, "your own website", the comparison and
   the support buttons; the /race-director page and its sandboxed race control demo. */
.hero-rd h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem); }
.mk-promo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.mk-promo video, .mk-promo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-tour { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; min-height: 48px;
  background: color-mix(in oklab, #05080f 72%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border-color: rgba(255,255,255,.28); }
.mk-tour:hover { background: color-mix(in oklab, #05080f 55%, transparent); }
.mk-tour-dialog { width: min(1100px, 96vw); padding: 0; border: 0; border-radius: var(--r-lg); background: #000; }
.mk-tour-dialog::backdrop { background: rgba(2,4,8,.8); }
.mk-tour-dialog video { width: 100%; display: block; aspect-ratio: 16 / 9; }
.mk-tour-close { position: absolute; top: 10px; right: 10px; z-index: 2; min-width: 44px; min-height: 44px; }
.mk-stream-grid, .mk-own { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .mk-stream-grid, .mk-own { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.mk-noobs { font-weight: 650; color: var(--text); margin-top: var(--s-4); }
.mk-ticks { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: 10px; }
.mk-ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: var(--text-2); }
.mk-ticks li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.mk-pipe { display: grid; gap: var(--s-4); }
.mk-pipe-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mk-node { padding: 10px 14px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface-2, var(--surface)); font-weight: 700; }
.mk-yt { border-color: #ff3d5e; color: #ff8a9e; }
.mk-arrow { width: 28px; height: 2px; background: var(--brand); position: relative; }
.mk-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--brand); }
.mk-old { opacity: .55; }
.mk-old .mk-node { text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--text-3) 80%, transparent); }
.mk-old .mk-arrow { background: var(--text-3); }
.mk-old .mk-arrow::after { border-left-color: var(--text-3); }
.mk-urls { display: grid; gap: 12px; }
.mk-url { padding: 14px 18px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); font: 600 clamp(1rem, .9rem + .6vw, 1.25rem)/1.2 var(--font-mono); overflow-wrap: anywhere; }
.mk-url strong { color: var(--brand); }
.mk-lock { color: var(--text-3); font-weight: 500; }
.mk-url-own { border-color: color-mix(in oklab, var(--brand) 55%, transparent); }
.mk-vs th[scope=row] { text-align: left; width: 22%; }
.mk-vs td { color: var(--text-2); vertical-align: top; }
.mk-vs .pr-us { color: var(--text); background: color-mix(in oklab, var(--brand) 7%, transparent); }
@media (max-width: 640px) {
  .mk-vs thead { display: none; }
  .mk-vs tr { display: grid; gap: 6px; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
  .mk-vs th[scope=row], .mk-vs td { width: auto; border: 0; padding: 4px var(--s-3); }
  .mk-vs td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--text-3); text-transform: lowercase; }
}
.mk-support { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); }
.mk-support-btns .btn { min-height: 48px; }
/* /race-director */
.rd-grid { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .rd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rd-card h3 { margin: 0 0 6px; font-size: var(--fs-lg); }
.rd-card p { margin: 0; color: var(--text-2); }
.rd-demo { overflow: hidden; }
.rd-demo-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.rd-demo-head .clock { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.rd-demo-body { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .rd-demo-body { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .rd-demo-side { border-left: 1px solid var(--line); } }
.rd-demo-side { padding: var(--s-4) var(--s-5); display: grid; gap: var(--s-4); align-content: start; }
.rd-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rd-controls .btn { min-height: 48px; justify-content: center; }
.rd-controls [data-rd=start] { grid-column: 1 / -1; font-size: 1.1rem; }
.rd-marshal .h3 { margin: 0; font-size: var(--fs-md); }
.rd-marshal-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.rd-marshal-btns .btn { min-height: 44px; font-size: var(--fs-sm); justify-content: center; }
.rd-log { margin: 0; padding-left: 18px; color: var(--text-2); max-height: 160px; overflow: auto; }
.rd-sandbox { padding: 0 var(--s-5) var(--s-4); margin: 0; }
.rd-demo .tower-row.go { background: color-mix(in oklab, var(--brand) 12%, transparent); }
@media (prefers-reduced-motion: reduce) { .mk-promo-loop { display: none; } }
