/* viewerscut.com: the site for viewers. */

body.viewers { background: var(--ground); font-size: 17px; }
.site-header--ground { background: var(--ground); }
.viewers-h2 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 46px); line-height: 1.05; font-weight: 750; letter-spacing: -0.02em; }

.hero { padding-block: 56px 64px; display: flex; flex-direction: column; gap: 36px; }
.hero__top { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-end; }
.hero__headline { flex: 1.2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero__h1 { margin: 0; font-family: var(--font-display); font-size: clamp(42px, 4.8vw, 62px); line-height: 0.98; font-weight: 750; letter-spacing: -0.025em; }
.hero__pitch { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* The live demo ---------------------------------------------------------- */

.demo { background: var(--player); color: var(--on-dark); border-radius: 20px; overflow: hidden; display: flex; flex-wrap: wrap; box-shadow: 0 24px 60px rgb(14 16 21 / 0.28); }
.demo__player { flex: 1.9 1 560px; min-width: 0; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.demo__screen { position: relative; aspect-ratio: 1280 / 546; border-radius: 10px; overflow: hidden; background: #000000; }
.demo__screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo__dim { position: absolute; inset: 0; background: rgb(14 16 21 / 0.62); display: grid; place-items: center; }
.demo__black { position: absolute; inset: 0; background: #000000; display: grid; place-items: center; color: #868C97; font-size: 14px; }
.demo__box { position: absolute; left: 49%; top: 0; width: 28%; height: 42%; background: #000000; border-radius: 0 0 6px 6px; }
.demo__pill, .demo__plain {
  position: absolute; top: 12px; display: flex; align-items: center; gap: 8px; padding: 5px 11px 5px 7px;
  border-radius: 999px; background: rgb(14 16 21 / 0.78); font-size: 12px;
}
.demo__pill { left: 12px; }
.demo__plain { right: 12px; padding: 7px 12px; color: var(--on-dark-2); }
.demo__notice {
  position: absolute; right: 12px; top: 12px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px;
  border-radius: 12px; background: rgb(14 16 21 / 0.9); box-shadow: 0 8px 24px rgb(0 0 0 / 0.35); max-width: calc(100% - 24px);
}
.demo__notice-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.demo__notice-text strong { font-size: 14px; }
.demo__notice-text span { font-size: 12px; color: var(--on-dark-3); }
.demo__anyway {
  min-height: 34px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--player-edge); background: transparent;
  color: var(--on-dark); font: inherit; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.demo__caption {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 4px 12px; background: rgb(0 0 0 / 0.7);
  border-radius: 4px; font-size: 20px; color: #FFFFFF; white-space: nowrap; display: flex; align-items: center; gap: 8px;
}
.demo__bleep { display: inline-block; width: 74px; height: 6px; border-radius: 3px; background: var(--cat-language); }
.demo [hidden] { display: none; }

.demo__bar { display: flex; align-items: center; gap: 14px; }
.demo__bar > .mono { font-size: 12px; color: var(--on-dark-3); white-space: nowrap; }
.demo__timeline { position: relative; flex: 1; height: 18px; }
.demo__track { position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 2px; background: #2A2E37; }
.demo__mark { position: absolute; top: 4px; height: 10px; border-radius: 2px; background: var(--player-edge); min-width: 3px; }
.demo__mark.is-on[data-kind="violence"] { background: var(--cat-violence); }
.demo__mark.is-on[data-kind="frightening"] { background: var(--cat-frightening); }
.demo__mark.is-on[data-kind="word"] { background: var(--cat-language); }
.demo__head { position: absolute; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 3px rgb(14 16 21 / 0.6); transition: left 0.25s; }

.demo__scenes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.demo__scene {
  min-height: 56px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--player-edge); background: transparent;
  color: var(--on-dark); font: inherit; text-align: left; display: flex; flex-direction: column; gap: 2px; cursor: pointer;
}
.demo__scene[aria-pressed="true"] { background: var(--player-line); border-color: var(--on-dark); }
.demo__scene-time { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--on-dark-3); }
.demo__scene-title { font-size: 14px; font-weight: 600; }

.demo__panel { flex: 1 1 300px; min-width: 0; padding: 24px; border-left: 1px solid var(--player-line); background: var(--player-2); display: flex; flex-direction: column; gap: 18px; }
.demo__h { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 720; }
.demo__intro { margin: 0; font-size: 14px; color: var(--on-dark-2); }
.demo__label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.demo__hint { margin: 0; font-size: 13px; color: var(--on-dark-3); }
.demo__word {
  min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--player-edge); background: transparent;
  color: var(--on-dark-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.demo__word[aria-pressed="true"] { background: var(--cat-language); border-color: var(--cat-language); color: var(--player); }
.demo__credit { margin: auto 0 0; font-size: 12px; color: #868C97; }
.demo__credit a { color: inherit; }

/* Segmented control, on dark. */
.segmented { display: flex; border: 1px solid var(--player-edge); border-radius: 9px; overflow: hidden; font-size: 13px; }
.segmented > * {
  flex: 1; min-height: 40px; padding: 0 10px; border: 0; background: transparent; color: var(--on-dark-2);
  font: inherit; font-weight: 600; cursor: pointer; display: grid; place-items: center; white-space: nowrap;
}
.segmented > [aria-pressed="true"] { background: var(--on-dark); color: var(--ink); }
.segmented--sm > * { min-height: 34px; padding: 0 11px; font-weight: 400; color: var(--on-dark-3); }
.segmented--sm > [aria-pressed="true"] { font-weight: 600; }

/* Sections ---------------------------------------------------------------- */

.works { border-block: 1px solid var(--line); background: var(--card); }
.works .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; padding-block: 26px; }
.works__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; font-family: var(--font-display); font-size: 22px; font-weight: 650; color: #2A2E37; }

.search--big { max-width: 860px; }
.search--big input[type="search"] { min-height: 58px; border-radius: 14px; font-size: 18px; padding: 0 20px; }
.search--big .btn { min-height: 58px; border-radius: 14px; padding: 0 26px; }
.results { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.result { border-radius: 16px; padding: 20px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.result__thumb {
  width: 132px; height: 88px; border-radius: 10px; flex: none; background: var(--player); color: var(--on-dark-3);
  display: flex; flex-direction: column; justify-content: space-between; padding: 12px; font-size: 13px;
}
.result__thumb .catbar { width: 100%; background: #2A2E37; }
.result__thumb--empty { background: var(--line-2); color: var(--ink-4); align-items: center; justify-content: center; font-size: 28px; font-family: var(--font-display); }
.result__body { flex: 1 1 280px; min-width: 0; }
.result__title { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.result__title span { font-weight: 500; color: var(--ink-3); }

.how { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.how__steps { flex: 1 1 360px; min-width: 0; }
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; display: flex; flex-direction: column; gap: 26px; }
.numbered li { counter-increment: n; display: flex; gap: 18px; }
.numbered li::before {
  content: counter(n); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-display);
}
.numbered h3 { margin: 0 0 4px; font-size: 19px; }
.numbered p { margin: 0; color: var(--ink-2); }

.filters { flex: 1.2 1 460px; min-width: 0; background: var(--player-2); color: var(--on-dark); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 20px 50px rgb(14 16 21 / 0.18); }
.filters__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--player-line); }
.filters__head h3 { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.filters__head span { font-size: 13px; color: var(--on-dark-3); }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0; border-bottom: 1px solid var(--player-line); }
.filters__row:last-of-type { border-bottom: 0; }
.filters__name { display: flex; align-items: center; gap: 10px; flex: 1 1 150px; font-weight: 600; }
.filters__threshold { font-size: 13px; color: var(--on-dark-2); min-width: 120px; }
.filters__threshold--off { color: #868C97; }
.filters__note { margin: 8px 0 0; font-size: 13px; color: var(--on-dark-3); }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.trust > div { display: flex; flex-direction: column; gap: 10px; }
.trust h3 { margin: 0; font-size: 19px; }
.trust p { margin: 0; color: var(--ink-2); font-size: 16px; }

.community { background: var(--player); color: var(--on-dark); }
.community__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.community__pitch { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.community__pitch p { margin: 0; color: var(--on-dark-2); max-width: 32em; }
.community__pitch kbd { border-color: var(--player-edge); }
.community__sample { flex: 1 1 420px; min-width: 0; }
.community__list { background: #171A21; border: 1px solid var(--player-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.community__event { display: flex; gap: 12px; align-items: baseline; }
.community__event .mono { color: var(--on-dark-3); font-size: 13px; width: 64px; flex: none; }

.faq { display: flex; flex-wrap: wrap; gap: 48px; }
.faq h2 { flex: 1 1 260px; }
.faq dl { margin: 0; flex: 2 1 520px; min-width: 0; }
.faq dl > div { padding: 20px 0; border-top: 1px solid #DADDE2; }
.faq dl > div:last-child { border-bottom: 1px solid #DADDE2; }
.faq dt { font-weight: 600; font-size: 18px; }
.faq dd { margin: 6px 0 0; color: var(--ink-2); }

.prose h2 { font-size: 21px; margin: 32px 0 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose .lede { margin: 12px 0 0; }

/* On a phone the picture is small: drop the pill and keep the notice to one line. */
@media (max-width: 600px) {
  .demo__player { padding: 10px; }
  .demo__pill { display: none; }
  .demo__notice { left: 8px; right: 8px; top: 8px; padding: 6px 6px 6px 10px; gap: 8px; }
  .demo__notice-text strong { font-size: 13px; }
  .demo__notice-text span { display: none; }
  .demo__anyway { min-height: 30px; padding: 0 8px; }
  .demo__plain { right: 8px; top: 8px; }
  .demo__caption { font-size: 15px; bottom: 8px; }
  .demo__bleep { width: 52px; }
  .demo__panel { padding: 20px 16px; }
}
