/* =====================================================================
   YouTube Channel Management page. Uses the shared tokens from site.css;
   everything here is prefixed cm- so it can't leak into other pages.
   ===================================================================== */

/* ---- Shared bits for this page ---- */
.cm-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.875rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin-top: var(--s-4);
  overflow-wrap: break-word;
}
.cm-btn {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  gap: var(--s-3);
}
.cm-btn span {
  transition: transform 0.2s ease;
}
.cm-btn:hover span {
  transform: translateX(4px);
}
.cm-btn--citron {
  background: var(--citron);
  border-color: var(--citron);
  color: var(--ink);
}
.cm-btn--citron:hover {
  background: transparent;
  color: var(--citron);
}
.cm-tlink {
  font-weight: 600;
  text-decoration: underline 1px;
  text-underline-offset: 5px;
}
.cm-tlink:hover {
  text-decoration-color: var(--citron);
  text-decoration-thickness: 3px;
}
.cm-mark {
  background: linear-gradient(var(--citron), var(--citron)) no-repeat 0 85% / 100% 0.5em;
  padding-inline: 0.04em;
}
main a:not(.btn):not(.cm-tlink) {
  text-decoration: underline 1px;
  text-underline-offset: 3px;
}
main a:not(.btn):not(.cm-tlink):hover {
  text-decoration-color: var(--citron);
  text-decoration-thickness: 3px;
}
.cm-intro {
  margin-top: var(--s-6);
  max-width: 46ch;
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-muted);
}

/* =====================================================================
   1. HERO
   ===================================================================== */
.cm-hero {
  padding-top: clamp(2.5rem, 6vw, 5rem);
}
.cm-hero__grid {
  display: grid;
  gap: var(--s-12);
  align-items: center;
}
.cm-hero__title {
  margin-top: var(--s-6);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.4vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}
.cm-hero__lead {
  margin-top: var(--s-6);
  max-width: 40ch;
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.5;
}
.cm-actions {
  margin-top: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-8);
}
.cm-note {
  margin-top: var(--s-4);
  font-size: var(--fs-small);
  color: var(--ink-muted);
}
@media (width>=60rem) {
  .cm-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--s-16);
  }
}

/* The production path: five artifacts on one rail */
.cm-flow {
  margin: 0;
}
.cm-flow__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.75rem;
  display: grid;
  gap: var(--s-3);
  position: relative;
}
.cm-flow__list::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 1rem;
  bottom: 1rem;
  border-left: 1px dashed var(--ink-muted);
}
.cm-art {
  position: relative;
  background: #fbfaf7;
  border: 1px solid var(--rule);
  padding: 0.85rem 1rem;
  box-shadow: 0 18px 30px -28px rgb(20 20 20 / 0.45);
}
.cm-art::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem + 0.2rem);
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--ink);
}
.cm-art--live::before {
  background: var(--citron);
}
/* Stagger: the path wanders, like real work does */
.cm-art:nth-child(2) {
  margin-left: 1.5rem;
}
.cm-art:nth-child(3) {
  margin-left: 0.5rem;
  margin-right: 3rem;
}
.cm-art:nth-child(4) {
  margin-left: 2rem;
}
.cm-art__tag {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.6875rem;
}
.cm-art__idea {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.cm-art__meta {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.cm-art__hook {
  font-size: 0.9375rem;
  font-weight: 500;
  background: linear-gradient(var(--citron), var(--citron)) no-repeat 0 85% / 100% 0.45em;
  display: inline;
}
.cm-lines {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.6rem;
}
.cm-lines i {
  display: block;
  height: 0.4rem;
  background: var(--rule);
}
.cm-lines i:nth-child(2) {
  width: 86%;
}
.cm-lines i:nth-child(3) {
  width: 62%;
}
.cm-art--thumb {
  display: grid;
  grid-template-columns: 9rem 1fr;
  column-gap: var(--s-4);
  align-items: end;
}
.cm-art--thumb .cm-art__tag {
  grid-column: 1 / -1;
}
.cm-thumb {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 16 / 9;
  background: var(--paper-sunk);
}
.cm-thumb b {
  padding: 0 0.5rem 0.3rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.cm-thumb i {
  display: block;
  height: 0.45rem;
  background: var(--citron);
  border-bottom: 1px solid var(--ink);
}
.cm-timeline {
  position: relative;
  display: grid;
  gap: 0.3rem;
}
.cm-track {
  display: flex;
  gap: 2px;
  height: 1.1rem;
}
.cm-track i {
  display: block;
  width: var(--w);
  background: var(--ink);
}
.cm-track i:nth-child(2) {
  background: #3d3e3a;
}
.cm-track--audio {
  height: 0.7rem;
}
.cm-track--audio i {
  background: repeating-linear-gradient(90deg, var(--ink-muted) 0 2px, transparent 2px 4px);
}
.cm-playhead {
  position: absolute;
  top: -0.25rem;
  bottom: -0.25rem;
  left: 58%;
  border-left: 2px solid var(--citron);
  outline: 1px solid var(--ink);
}
.cm-live {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.cm-live__thumb {
  flex: none;
  width: 4.5rem;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  padding: 0.2rem 0.3rem;
  background: var(--paper-sunk);
  border-bottom: 3px solid var(--citron);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: -0.025em;
}
.cm-live__title {
  display: grid;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
}
.cm-live__title small {
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.cm-flow__cap {
  margin-top: var(--s-4);
  text-transform: none;
  letter-spacing: 0.01em;
}
@media (width<=30rem) {
  .cm-art:nth-child(n) {
    margin-left: 0;
    margin-right: 0;
  }
  .cm-art--thumb {
    grid-template-columns: 7rem 1fr;
  }
}

/* Compact logo strip under the hero */
.cm-logos {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: var(--s-6);
  border-top: 1px solid var(--rule);
  display: grid;
  gap: var(--s-4);
  align-items: center;
}
.cm-logos img {
  width: 100%;
  height: auto;
  filter: grayscale(1) brightness(0);
  opacity: 0.7;
}
@media (width>=60rem) {
  .cm-logos {
    grid-template-columns: 13rem 1fr;
    gap: var(--s-8);
  }
}

/* =====================================================================
   2. THE PROBLEM
   ===================================================================== */
.cm-problem {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--paper-sunk);
}
.cm-split {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: var(--s-8);
}
.cm-split__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-4);
}
/* Loose, uneven, half-owned */
.cm-scatter {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.5rem;
}
.cm-scatter li {
  padding: 0.45rem 0.7rem;
  background: var(--paper);
  border: 1px dashed var(--ink-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transform: rotate(var(--r, 0deg));
}
.cm-scatter li:nth-child(1) { --r: -1.5deg; }
.cm-scatter li:nth-child(2) { --r: 1.2deg; opacity: 0.6; }
.cm-scatter li:nth-child(3) { --r: -0.6deg; }
.cm-scatter li:nth-child(4) { --r: 2deg; }
.cm-scatter li:nth-child(5) { --r: -2.2deg; }
.cm-scatter li:nth-child(6) { --r: 0.8deg; }
.cm-scatter li:nth-child(7) { --r: -1deg; opacity: 0.6; }
.cm-scatter em {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-muted);
}
/* Straight, ordered, owned */
.cm-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rail;
  border-left: 2px solid var(--ink);
}
.cm-rail li {
  counter-increment: rail;
  display: flex;
  gap: var(--s-3);
  align-items: baseline;
  padding: 0.5rem 0 0.5rem var(--s-4);
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
}
.cm-rail li::before {
  content: counter(rail, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--ink-muted);
}
.cm-rail li:last-child {
  background: linear-gradient(var(--citron), var(--citron)) no-repeat 0 100% / 100% 3px;
}
.cm-problem__words {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: var(--s-4);
  max-width: 46rem;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.55;
}
.cm-problem__big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-block: var(--s-2);
}
.cm-define {
  margin-top: var(--s-4);
  padding-left: var(--s-4);
  border-left: 3px solid var(--citron);
  color: var(--ink-muted);
  font-size: 1rem;
}
.cm-define strong {
  color: var(--ink);
}
@media (width>=60rem) {
  .cm-split {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-16);
    align-items: start;
  }
}

/* =====================================================================
   3. THE SERVICE: three connected workstreams
   ===================================================================== */
.cm-service {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.cm-streams {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  border: 1px solid var(--ink);
}
.cm-stream {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.cm-stream + .cm-stream {
  border-top: 1px solid var(--ink);
}
.cm-stream--think {
  background: var(--paper);
}
.cm-stream--make {
  background: var(--paper-sunk);
}
.cm-stream--run {
  background: var(--ink);
  color: var(--paper);
}
.cm-stream--run .label,
.cm-stream--run .cm-stream__list li::before {
  color: #a8aaa2;
}
.cm-stream__verb {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.cm-stream--run .cm-stream__verb {
  color: var(--citron);
}
.cm-stream__what {
  font-weight: 600;
  font-size: 1.125rem;
}
.cm-stream__text {
  line-height: 1.55;
  max-width: 34ch;
}
.cm-stream__list {
  list-style: none;
  margin: auto 0 0;
  padding: var(--s-4) 0 0;
  border-top: 1px solid currentColor;
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
.cm-stream__list li::before {
  content: "+ ";
  color: var(--ink-muted);
}
.cm-stream__fine {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
@media (width>=60rem) {
  .cm-streams {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cm-stream + .cm-stream {
    border-top: 0;
    border-left: 1px solid var(--ink);
  }
  /* The hand-off between streams */
  .cm-stream:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -0.8rem;
    top: clamp(1.5rem, 2.5vw, 2.25rem);
    width: 1.6rem;
    height: 1.6rem;
    display: grid;
    place-items: center;
    background: var(--citron);
    border: 1px solid var(--ink);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--ink);
    z-index: 1;
  }
}

/* =====================================================================
   4. THE PARTNERSHIP
   ===================================================================== */
.cm-partner {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--paper-sunk);
}
.cm-steps {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-6);
  position: relative;
}
.cm-steps li {
  position: relative;
  padding-top: var(--s-4);
  border-top: 2px solid var(--ink);
}
.cm-steps h3 {
  margin-top: var(--s-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.cm-steps p {
  margin-top: var(--s-2);
  font-size: 1rem;
  line-height: 1.5;
  color: #3d3e3a;
}
@media (width>=48rem) {
  .cm-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-8) var(--s-6);
  }
}
@media (width>=60rem) {
  .cm-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  /* Staggered: each step sits a little lower, like a schedule */
  .cm-steps li:nth-child(2) { margin-top: 1.5rem; }
  .cm-steps li:nth-child(3) { margin-top: 3rem; }
  .cm-steps li:nth-child(4) { margin-top: 4.5rem; }
}
.cm-roles {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  border: 1px solid var(--ink);
}
.cm-roles__col {
  padding: var(--s-6);
  background: var(--paper);
}
.cm-roles__col--us {
  background: var(--ink);
  color: var(--paper);
}
.cm-roles__col--us .label {
  color: var(--citron);
}
.cm-roles__who {
  margin-top: var(--s-2);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.cm-partner__line {
  margin-top: var(--s-6);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 34ch;
}
@media (width>=48rem) {
  .cm-roles {
    grid-template-columns: 1fr 1.6fr;
  }
}

/* =====================================================================
   5. WHY OUTBELIEVED
   ===================================================================== */
.cm-why {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.cm-why__grid {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: var(--s-8) var(--s-16);
}
.cm-why__copy {
  display: grid;
  align-content: start;
  gap: var(--s-4);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.55;
  max-width: 40ch;
}
.cm-why__copy p:first-child {
  font-weight: 600;
}
.cm-adv {
  margin: 0;
  border-top: 1px solid var(--ink);
}
.cm-adv div {
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--rule);
}
.cm-adv dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.cm-adv dd {
  margin: 0.25rem 0 0;
  color: #3d3e3a;
  line-height: 1.5;
}
.cm-guarantee {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: var(--s-6) var(--s-8);
  background: var(--paper-sunk);
  border-left: 4px solid var(--citron);
  display: grid;
  gap: var(--s-3) var(--s-12);
}
.cm-guarantee h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  overflow-wrap: break-word;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.cm-guarantee p {
  line-height: 1.55;
  max-width: 54ch;
}
@media (width>=60rem) {
  .cm-why__grid {
    grid-template-columns: 1fr 1.1fr;
  }
  .cm-guarantee {
    grid-template-columns: minmax(0, 19rem) 1fr;
    align-items: start;
  }
}

/* =====================================================================
   6. INVESTMENT
   ===================================================================== */
.cm-invest {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--ink);
  color: var(--paper);
}
.cm-invest .label {
  color: #a8aaa2;
}
.cm-invest__grid {
  display: grid;
  gap: var(--s-12);
}
.cm-invest__grid > * {
  min-width: 0;
}
.cm-invest__text {
  margin-top: var(--s-6);
  max-width: 40ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.55;
  color: #c9cac3;
}
.cm-invest__price {
  border-top: 1px solid #3a3a37;
  padding-top: var(--s-6);
}
.cm-invest__fig {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.125rem, 5vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--citron);
  white-space: nowrap;
}
.cm-invest__scope {
  margin-block: var(--s-6);
  line-height: 1.5;
  max-width: 38ch;
}
.cm-invest__fit {
  margin-top: var(--s-4);
  font-size: var(--fs-small);
  color: #a8aaa2;
  max-width: 40ch;
}
.cm-invest a:focus-visible {
  outline-color: var(--citron);
}
@media (width>=60rem) {
  .cm-invest__grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}

/* =====================================================================
   7. FAQ + FINAL CTA
   ===================================================================== */
.cm-faq {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: var(--s-12);
}
.cm-faq__grid {
  display: grid;
  gap: var(--s-8);
}
.cm-faq__head {
  margin-top: 0;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  max-width: 12ch;
}
.cm-faq__list {
  border-top: 1px solid var(--ink);
}
.cm-faq__list details {
  border-bottom: 1px solid var(--rule);
}
.cm-faq__list summary {
  display: flex;
  justify-content: space-between;
  gap: var(--s-6);
  padding-block: var(--s-4);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.35;
}
.cm-faq__list summary::-webkit-details-marker {
  display: none;
}
.cm-faq__list summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
}
.cm-faq__list details[open] summary::after {
  content: "–";
}
.cm-faq__list summary:hover {
  text-decoration: underline;
  text-decoration-color: var(--citron);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.cm-faq__list summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.cm-faq__list details p {
  padding-bottom: var(--s-6);
  max-width: 62ch;
  line-height: 1.6;
  color: #3d3e3a;
}
.cm-reading {
  margin-top: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-2) var(--s-6);
  font-weight: 500;
}
@media (width>=60rem) {
  .cm-faq__grid {
    grid-template-columns: 1fr 2fr;
    gap: var(--s-16);
  }
}

.cm-final {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--citron);
}
.cm-final__head {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 16ch;
  overflow-wrap: break-word;
}
.cm-final__row {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.cm-final__row p {
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.5;
}
/* The footer follows straight on from the citron band */
main:has(.cm-final) + .foot {
  margin-top: 0;
}
