/* The mock partner's own look: nothing from the Handy kit reaches it. */
:root {
  --bg: #0d0d10;
  --panel: #17171c;
  --line: #26262e;
  --text: #f2f2f5;
  --muted: #9a9aa6;
  --brand: #ff4f6d;
  --top: rgba(13, 13, 16, 0.9);
  --hero: radial-gradient(circle at 80% 20%, #ff4f6d55, transparent 50%), linear-gradient(135deg, #24122b, #0f1426);
  color-scheme: dark;
}
/* the light partner look, from the demo options (Partner's site → Light) */
html[data-site="light"] {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --line: #e2e2e8;
  --text: #16161b;
  --muted: #676774;
  --brand: #e0244a;
  --top: rgba(245, 245, 247, 0.9);
  --hero: radial-gradient(circle at 80% 20%, #ff4f6d33, transparent 50%), linear-gradient(135deg, #fde8ee, #e8eefc);
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: var(--top);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__logo { font-weight: 900; font-size: 24px; letter-spacing: -0.04em; }
.top__logo span { color: var(--brand); }
.top__nav { display: flex; gap: 18px; color: var(--muted); }
.top__nav a[aria-current], .top__nav a:hover { color: var(--text); }
.top__search {
  margin-left: auto;
  width: min(280px, 30vw);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}
@media (max-width: 700px) {
  .top__nav a:not([aria-current]):not([href="interactive.html"]), .top__search { display: none; }
  .top { justify-content: space-between; }
}

.page { padding: 24px clamp(16px, 4vw, 40px) 64px; max-width: 1400px; margin: 0 auto; }
.hero {
  padding: clamp(24px, 6vw, 64px);
  border-radius: 20px;
  background: var(--hero);
  margin-bottom: 32px;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--brand); margin: 0 0 8px; font-weight: 700; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); margin: 0 0 12px; letter-spacing: -0.03em; }
.lead { color: var(--muted); max-width: 60ch; margin: 0; }
.row-title { font-size: 20px; margin: 32px 0 16px; }

.grid { display: grid; gap: 24px 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: grid; gap: 4px; }
.card__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--panel); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.card:hover img { transform: scale(1.04); }
.card__badge { position: absolute; left: 8px; top: 8px; }
.card__time { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.7); font-size: 12px; }
.card__title { font-weight: 650; margin-top: 6px; }
.card__meta { color: var(--muted); font-size: 13px; margin: 0; }

.watch { max-width: 1100px; }
/* position: relative so the Handy overlay sits on the video */
.player { position: relative; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.banner { margin-bottom: 32px; }
.about h1 { margin: 24px 0 4px; font-size: 28px; }
.about .lead { margin-top: 12px; }


/* the demo's notes on the front page: not the partner's look */
.demo-note { margin-bottom: 24px; border: 1px dashed var(--line); border-radius: 16px; background: var(--panel); color: var(--muted); font-size: 14px; }
.demo-note summary { cursor: pointer; padding: 14px 18px; color: var(--text); font-weight: 600; }
.demo-note__tag { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; background: #f5b70033; color: #f5b700; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.demo-note__body { padding: 0 18px 16px; max-width: 80ch; }
.demo-note__body h3 { margin: 18px 0 6px; font-size: 14px; color: var(--text); }
.demo-note__body ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.demo-note__body p { margin: 8px 0 0; }
.demo-note__body a { color: var(--brand); text-decoration: underline; }
