@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --bg: #141414;
  --panel: #181818;
  --panel-2: #2d2d2d;
  --text: #ffffff;
  --text-2: #e5e5e5;
  --muted: #b3b3b3;
  --dim: #808080;
  --line: #404040;
  --gold: #f2c230;
  --pad: 4%;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { scrollbar-color: #4d4d4d var(--bg); }
::selection { background: var(--gold); color: #141414; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }

/* ---------- top nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
  padding: 0 var(--pad);
  background: linear-gradient(180deg, rgb(0 0 0 / .7) 10%, transparent);
  transition: background-color .4s;
}
.nav.is-solid { background-color: var(--bg); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 30px; height: 30px; }
.brand span { font-weight: 800; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; }
.nav-links { display: flex; gap: 20px; padding: 0; list-style: none; font-size: 14px; }
.nav-links a { color: var(--text-2); text-decoration: none; transition: color .3s; }
.nav-links a:hover { color: var(--muted); }
.nav-links a[aria-current="page"] { color: #fff; font-weight: 700; }
.nav-cta { margin-left: auto; }

/* ---------- buttons (Netflix billboard style) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 26px 0 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s;
}
.btn svg { width: 24px; height: 24px; flex: none; }
.btn-play { background: #fff; color: #000; }
.btn-play:hover { background: rgb(255 255 255 / .75); }
.btn-info { background: rgb(109 109 110 / .7); color: #fff; }
.btn-info:hover { background: rgb(109 109 110 / .4); }
.btn-sm { min-height: 40px; padding: 0 18px 0 12px; font-size: 15px; gap: 8px; }
.btn-sm svg { width: 18px; height: 18px; }

/* ---------- billboard ---------- */
.billboard {
  position: relative;
  height: min(56.25vw, 92vh);
  min-height: 560px;
  overflow: hidden;
  background: #000;
}
.billboard-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0, #000 38%);
}
.billboard::before, .billboard::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.billboard::before { background: linear-gradient(77deg, rgb(0 0 0 / .95) 0%, #000 22%, rgb(0 0 0 / .55) 52%, transparent 78%); z-index: 1; }
.billboard::after { background: linear-gradient(180deg, transparent 62%, rgb(20 20 20 / .65) 80%, var(--bg) 100%); z-index: 1; }
.billboard-info {
  position: absolute;
  left: var(--pad);
  bottom: 30%;
  z-index: 2;
  width: min(44%, 640px);
}
.billboard-tag { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-2); }
.billboard-tag img { width: 22px; height: 22px; }
.billboard h1 {
  margin-top: 14px;
  font-weight: 900;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.03em;
  text-wrap: balance;
  text-shadow: 2px 2px 4px rgb(0 0 0 / .45);
}
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 16px; font-size: 16px; color: #fff; }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #bcbcbc; }
.meta .age { padding: 0 6px; border: 1px solid rgb(255 255 255 / .4); font-size: 13px; }
.scores { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; font-size: 14px; text-shadow: 0 1px 3px rgb(0 0 0 / .6); }
.sc { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sc svg { width: 20px; height: 20px; flex: none; }
.sc svg.imdb { width: 40px; height: 20px; }
.sc strong { font-weight: 700; font-size: 15px; }
.sc span { color: #bcbcbc; font-size: 13px; }
.mc { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 3px; border-radius: 4px; font-weight: 700; font-size: 14px; color: #000; }
.mc-good { background: #66cc33; }
.mc-mixed { background: #ffcc33; }
.mc-bad { background: #ff0000; }
.billboard p.synopsis { margin-top: 16px; max-width: 40ch; font-size: clamp(1rem, 1.25vw, 1.25rem); line-height: 1.35; text-shadow: 2px 2px 4px rgb(0 0 0 / .45); }
.billboard-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.billboard-rating {
  position: absolute;
  right: 0;
  bottom: 34%;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 46px 0 12px;
  border-left: 3px solid #dcdcdc;
  background: rgb(51 51 51 / .6);
  font-size: 16px;
}

/* ---------- rows ---------- */
.rows { position: relative; z-index: 3; margin-top: clamp(-150px, -9vw, -60px); padding-bottom: 24px; }
.row { margin: 0 0 3vw; }
.row-title { padding: 0 var(--pad); margin-bottom: 10px; font-size: clamp(1.1rem, 1.4vw, 1.5rem); font-weight: 700; color: var(--text-2); }
.row-title small { margin-left: 10px; font-size: .62em; font-weight: 600; color: var(--muted); }
.slider { position: relative; }
.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--pad) - 5 * 8px) / 5.6);
  gap: 8px;
  padding: 18px var(--pad);
  margin: -18px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--pad);
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.card {
  position: relative;
  scroll-snap-align: start;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 250 / 141;
  background: #222;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card img { width: 100%; height: 100%; object-fit: cover; }
.card { padding: 0; border: 0; cursor: pointer; display: block; width: 100%; }
.card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.slide-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: var(--pad);
  border: 0;
  background: rgb(20 20 20 / .5);
  color: #fff;
  opacity: 0;
  cursor: pointer;
  transition: opacity .2s, background-color .2s;
}
.slide-btn svg { width: 28px; height: 28px; transition: transform .2s; }
.slider:hover .slide-btn { opacity: 1; }
.slide-btn:hover { background: rgb(20 20 20 / .7); }
.slide-btn:hover svg { transform: scale(1.25); }
.slide-btn:focus-visible { opacity: 1; }
.slide-btn.prev { left: 0; }
.slide-btn.next { right: 0; }

/* Top-10 style row */
.top-track { grid-auto-columns: calc((100% - 2 * var(--pad) - 3 * 8px) / 4.2); }
.top-item { display: grid; grid-template-columns: 46% 54%; align-items: end; scroll-snap-align: start; min-height: 0; }
.top-num {
  font-weight: 900;
  font-size: clamp(7rem, 15vw, 15rem);
  line-height: .8;
  letter-spacing: -.08em;
  color: var(--bg);
  -webkit-text-stroke: 4px #595959;
  text-align: right;
  margin-right: -12%;
  user-select: none;
}
.top-card {
  position: relative;
  z-index: 1;
  aspect-ratio: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 12px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, transparent 30%, rgb(0 0 0 / .85)),
    var(--art, #333);
  overflow: hidden;
}
.top-card .glyph { position: absolute; top: 16%; left: 50%; translate: -50% 0; width: 54%; height: auto; opacity: .95; }
.top-card b { font-size: clamp(1rem, 1.35vw, 1.35rem); font-weight: 800; line-height: 1.05; }
.top-card span { margin-top: 6px; font-size: 13px; line-height: 1.3; color: var(--text-2); }

/* ---------- details "modal" ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 88px) var(--pad);
}
.modal {
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 3px 10px rgb(0 0 0 / .75), 0 20px 60px rgb(0 0 0 / .6);
}
.feature-copy h2 { font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.feature-copy p { margin-top: 16px; max-width: 46ch; font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--text-2); }
.feature-copy .scores { margin-top: 20px; font-size: 15px; }
.feature-copy .list { margin-top: 22px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-copy .list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.feature-copy .list b { flex: none; width: 7.5em; color: #fff; }
.feature-alt { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
.feature-alt .feature-copy { order: -1; }
.popup-shot { justify-self: center; width: min(340px, 100%); }

/* ---------- section divider (Netflix landing style) ---------- */
.band { border-top: 8px solid #232323; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(48px, 6vw, 80px) var(--pad); }
.faq h2 { font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.01em; text-align: center; }
.faq-list { max-width: 900px; margin: 28px auto 0; padding: 0; list-style: none; }
.faq-list li + li { margin-top: 8px; }
.faq-list details { background: var(--panel-2); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  cursor: pointer;
  list-style: none;
  transition: background-color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: #414141; }
.faq-list summary svg { width: 30px; height: 30px; flex: none; transition: transform .25s var(--ease); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list .answer { padding: 22px 24px 26px; border-top: 1px solid #000; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.45; }
.faq-list .answer a { text-underline-offset: 3px; }

/* ---------- closing CTA ---------- */
.close { padding: 0 var(--pad) clamp(56px, 7vw, 96px); text-align: center; }
.close p { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--text-2); }
.close .btn { margin-top: 18px; min-height: 56px; padding: 0 30px 0 24px; font-size: 22px; }

/* ---------- footer ---------- */
.foot { padding: 48px var(--pad) 40px; border-top: 8px solid #232323; color: var(--dim); font-size: 13px; }
.foot-inner { max-width: 1000px; margin: 0 auto; }
.foot-q { font-size: 16px; }
.foot-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; margin: 26px 0; padding: 0; list-style: none; }
.foot-links a { text-decoration: underline; text-underline-offset: 2px; }
.foot-legal { max-width: 70ch; line-height: 1.5; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .billboard-info { width: min(70%, 620px); }
  .track { grid-auto-columns: calc((100% - 2 * var(--pad) - 3 * 8px) / 3.6); }
  .top-track { grid-auto-columns: calc((100% - 2 * var(--pad) - 2 * 8px) / 2.6); }
  .feature, .feature-alt { grid-template-columns: 1fr; }
  .feature-alt .feature-copy { order: 0; }
  .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  :root { --pad: 16px; }
  .nav { height: 58px; gap: 12px; }
  .brand span { font-size: 16px; }
  .billboard { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .billboard-art { position: relative; width: 100%; height: auto; aspect-ratio: 902 / 592; margin-top: 58px; -webkit-mask-image: none; mask-image: none; }
  .billboard::before { background: linear-gradient(180deg, transparent 0, transparent 28%, rgb(0 0 0 / .4) 34%, #000 46%); }
  .billboard::after { display: none; }
  .billboard-info { position: relative; left: 0; bottom: 0; width: 100%; padding: 0 var(--pad) 28px; margin-top: -64px; }
  .billboard-rating { display: none; }
  .billboard-actions .btn { flex: 1 1 100%; }
  .rows { margin-top: 0; padding-top: 20px; }
  .row { margin-bottom: 28px; }
  .track { grid-auto-columns: 62%; }
  .top-track { grid-auto-columns: 78%; }
  .top-item { grid-template-columns: 40% 60%; }
  .top-num { -webkit-text-stroke-width: 3px; font-size: 12rem; }
  .slide-btn { display: none; }
  .faq-list summary { padding: 18px; }
  .faq-list .answer { padding: 18px 18px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .card:hover { transition: none; transform: none; }
  .track { scroll-behavior: auto; }
}

/* ---------- privacy page ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 120px var(--pad) 72px; }
.doc h1 { font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.02em; }
.doc .date { margin-top: 8px; color: var(--muted); }
.doc section { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc h2 { font-weight: 800; font-size: 1.35rem; }
.doc p, .doc ul { margin-top: 12px; color: var(--text-2); font-size: 1.05rem; line-height: 1.55; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.doc strong { color: #fff; }
.doc code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .86em; padding: 1px 5px; border-radius: 4px; background: var(--panel-2); }
.doc a { text-underline-offset: 3px; }

/* ---------- top bar + hero (editorial, Netflix-dark) ---------- */
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  padding: 0 calc(var(--pad) + 8px);
}
.top-links { display: flex; gap: 26px; padding: 0; list-style: none; font-size: 15px; }
.top-links a { color: var(--text-2); text-decoration: none; transition: color .2s; }
.top-links a:hover { color: #fff; }
.topbar .brand { justify-self: center; }
.top-cta { justify-self: end; }
.btn-glass { background: rgb(255 255 255 / .14); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 0 26px; }
.btn-glass:hover { background: rgb(255 255 255 / .22); }

.hero { padding: 0 8px; }
.hero-card {
  position: relative;
  overflow: hidden;
  height: calc(100vh - 84px);
  min-height: 600px;
  max-height: 940px;
  border-radius: 20px;
  background: #070707;
  isolation: isolate;
}
.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0, #000 42%);
  filter: saturate(.9) contrast(1.05);
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(42% 70% at 30% 58%, rgb(229 9 20 / .55), rgb(140 6 14 / .25) 45%, transparent 72%),
    linear-gradient(0deg, rgb(7 7 7 / .9) 0, transparent 38%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: calc(var(--pad) + 8px);
  top: 50%;
  translate: 0 -50%;
  width: min(46%, 640px);
}
.hero-kicker { font-size: 15px; font-weight: 600; color: var(--text-2); }
.hero h1 {
  margin-top: 16px;
  font-weight: 500;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-sub { margin-top: 18px; max-width: 34ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 26px;
  display: flex;
  gap: 28px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--text-2);
}
.hero-facts b { color: #fff; font-weight: 700; }

.sources { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 44px var(--pad) 56px; }
.sources p { font-size: 15px; color: var(--muted); }
.sources ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 0; list-style: none; }
.sources li { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--text-2); }
.sources svg { width: 26px; height: 26px; }
.sources svg.imdb { width: 52px; height: 26px; }
.rows { margin-top: 0; }

/* reasons: real stills behind big type */
.top-card { background: #111; }
.top-card img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(1.05); }
.top-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgb(0 0 0 / .85)); }
.top-card { z-index: 0; isolation: isolate; }
.top-card b { font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
/* four items always fit: a fixed grid, never a sideways scroller */
.top-track { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; }
@media (max-width: 1100px) {
  .top-track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .top-num { font-size: 24vw; }
}
@media (max-width: 700px) {
  .top-item { grid-template-columns: 30% 70%; }
  .top-num { font-size: 7rem; -webkit-text-stroke-width: 2px; }
  .top-card { padding: 10px; }
  .top-card b { font-size: 1.15rem; }
  .top-card span { font-size: 12px; }
}

@media (max-width: 1100px) {
  .top-links { display: none; }
  .topbar { grid-template-columns: auto 1fr; }
  .topbar .brand { justify-self: start; }
  .hero-copy { width: min(70%, 620px); }
  .hero-facts { left: calc(var(--pad) + 8px); right: auto; }
}
@media (max-width: 700px) {
  .topbar { height: 62px; padding: 0 var(--pad); }
  .topbar .brand span { font-size: 16px; }
  .top-cta { padding: 0 14px 0 10px; font-size: 14px; }
  .hero { padding: 0 6px; }
  .hero-card { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; }
  .hero-art { position: relative; width: 100%; height: auto; aspect-ratio: 902 / 592; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .hero-glow { background: radial-gradient(80% 50% at 50% 62%, rgb(229 9 20 / .45), transparent 70%); }
  .hero-copy { position: relative; left: 0; top: 0; translate: none; width: 100%; padding: 0 18px; margin-top: -40px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { position: relative; left: 0; bottom: 0; flex-wrap: wrap; gap: 8px 18px; padding: 24px 18px 22px; font-size: 14px; }
  .sources { padding: 32px var(--pad) 36px; }
  .sources ul { gap: 12px 22px; }
  .sources li { font-size: 15px; }
}

/* ---------- browser mockup ---------- */
.demo { padding: 24px var(--pad) clamp(56px, 7vw, 96px); }
.demo-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.demo-head h2 { font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.demo-head p { margin-top: 14px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); }
.browser {
  --chrome: #202124;
  --chrome-2: #35363a;
  max-width: 1320px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: var(--chrome);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 40px 120px rgb(229 9 20 / .16), 0 30px 80px rgb(0 0 0 / .7);
}
.b-tabs { display: flex; align-items: flex-end; gap: 10px; height: 44px; padding: 0 14px; }
.b-lights { display: flex; gap: 8px; align-self: center; margin-right: 10px; }
.b-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.b-lights i:nth-child(2) { background: #febc2e; }
.b-lights i:nth-child(3) { background: #28c840; }
.b-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 230px;
  height: 34px;
  padding: 0 12px 0 16px;
  border-radius: 10px 10px 0 0;
  background: var(--chrome-2);
  font-size: 13px;
  color: #e8eaed;
}
.b-x { width: 10px; height: 10px; background: linear-gradient(45deg, transparent 44%, #9aa0a6 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #9aa0a6 44% 56%, transparent 56%); }
.b-newtab { align-self: center; width: 12px; height: 12px; background: linear-gradient(#9aa0a6, #9aa0a6) center / 12px 2px no-repeat, linear-gradient(#9aa0a6, #9aa0a6) center / 2px 12px no-repeat; }
.b-bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 12px; background: var(--chrome-2); }
.b-nav { display: flex; gap: 6px; color: #9aa0a6; }
.b-nav svg { width: 20px; height: 20px; }
.b-omni { flex: 1; display: flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 999px; background: #202124; font-size: 14px; color: #9aa0a6; }
.b-host { color: #e8eaed; }
.b-ext { display: flex; align-items: center; gap: 14px; }
.b-pin { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgb(255 255 255 / .1); }
.b-pin img { width: 20px; height: 20px; }
.b-tip {
  position: absolute;
  top: calc(100% + 10px);
  right: -6px;
  z-index: 5;
  padding: 7px 12px;
  border-radius: 8px;
  background: #fff;
  color: #141414;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgb(0 0 0 / .4);
}
.b-tip::before { content: ""; position: absolute; top: -5px; right: 17px; width: 10px; height: 10px; background: #fff; rotate: 45deg; }
.b-avatar { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #f2c230 0 28%, transparent 29%), radial-gradient(circle at 50% 110%, #f2c230 0 45%, transparent 46%), #5f6368; }
.b-view { margin: 0; padding: 30px 0 10px; background: var(--bg); }
.b-view .row:last-child { margin-bottom: 18px; }
.b-view { --pad: 3%; }
.rows-after { padding-top: 8px; }

@media (max-width: 700px) {
  .demo { padding: 8px 10px 48px; }
  .demo-head { margin-bottom: 24px; padding: 0 6px; }
  .browser { border-radius: 10px; }
  .b-tabs { height: 36px; padding: 0 10px; }
  .b-lights i { width: 9px; height: 9px; }
  .b-tab { width: 150px; height: 28px; font-size: 12px; }
  .b-bar { height: 40px; gap: 8px; padding: 0 8px; }
  .b-nav { display: none; }
  .b-omni { height: 28px; font-size: 13px; padding: 0 12px; }
  .b-avatar { display: none; }
  .b-tip { font-size: 12px; }
  .b-view { padding-top: 36px; --pad: 12px; }
}

/* ---------- footer (card) ---------- */
.foot { padding: 0 8px 8px; border-top: 0; color: var(--muted); font-size: 15px; }
.foot-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 48px 64px;
  padding: clamp(36px, 4.5vw, 64px) clamp(24px, 4vw, 64px) 28px;
  border-radius: 20px;
  background: #0b0b0b;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06);
}
.foot-brand p { margin-top: 14px; max-width: 36ch; line-height: 1.5; }
.foot-brand .btn { margin-top: 22px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-cols h3 { font-size: 14px; font-weight: 600; color: var(--dim); }
.foot-cols ul { margin-top: 14px; padding: 0; list-style: none; }
.foot-cols li + li { margin-top: 10px; }
.foot-cols a { color: var(--text-2); text-decoration: none; }
.foot-cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .08); font-size: 13px; color: var(--dim); }
.foot-base p:last-child { max-width: 72ch; }
@media (max-width: 900px) {
  .foot-card { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- card preview + details window ---------- */
.pv {
  position: absolute;
  z-index: 60;
  border-radius: 8px;
  overflow: hidden;
  background: #181818;
  box-shadow: 0 6px 30px rgb(0 0 0 / .8);
  cursor: pointer;
  transform: scale(.68);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .2s;
}
.pv.is-open { transform: none; opacity: 1; }
.pv-img { width: 100%; aspect-ratio: 250 / 141; object-fit: cover; }
.pv-body { padding: 14px 16px 16px; }
.pv-btns { display: flex; gap: 8px; }
.pv-b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .5); color: #fff; background: rgb(42 42 42 / .6); }
.pv-b svg { width: 18px; height: 18px; }
.pv-play { background: #fff; border-color: #fff; color: #000; }
.pv-more { margin-left: auto; }
.pv-scores { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 14px; }
.pv-meta { margin-top: 10px; font-size: 14px; color: var(--text-2); }

.dlg {
  width: min(760px, calc(100% - 24px));
  max-height: calc(100% - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #181818;
  color: #fff;
  box-shadow: 0 10px 60px rgb(0 0 0 / .8);
  overflow: auto;
}
.dlg::backdrop { background: rgb(0 0 0 / .7); }
.dlg[open] { animation: dlg-in .35s var(--ease); }
@keyframes dlg-in { from { transform: translateY(24px) scale(.97); opacity: 0; } }
.dlg-x { position: absolute; top: 14px; left: 14px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgb(24 24 24 / .85); color: #fff; cursor: pointer; }
.dlg-x svg { width: 20px; height: 20px; }
.dlg-hero { position: relative; }
.dlg-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #181818); }
.dlg-img { width: 100%; aspect-ratio: 250 / 141; object-fit: cover; }
.dlg-body { padding: 4px clamp(20px, 4vw, 44px) 36px; }
.dlg h3 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; }
.dlg-meta { margin-top: 6px; color: var(--muted); }
.dlg-scores { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: 15px; }
.dlg-scores .sc strong { font-size: 18px; }
.dlg-scores .sc svg { width: 24px; height: 24px; }
.dlg-scores .sc svg.imdb { width: 48px; height: 24px; }
.dlg-note { margin-top: 18px; max-width: 56ch; color: var(--text-2); line-height: 1.5; }
.dlg .btn { margin-top: 22px; }
@media (prefers-reduced-motion: reduce) { .pv, .dlg[open] { transition: none; animation: none; } }
