/* Chals Channel · boost landing (proposal, 07/11/2026).
   Only what the brand landing does not have: the hero proof line, the four-step flow,
   the launch-week timeline, the example campaign and the lead list. Header, hero,
   windows, cards, plans, FAQ, closing and footer all come from hero.css. */

/* ───────────── Hero ───────────── */

/* Old TV screen, as on agentcard.com: flat blue, dark scanlines every 3px, a vignette,
   darker sides and a faint band rolling down. All of it sits behind the 3D headline
   (canvas raised above it) and behind the text. */
.hero[data-screen="crt"] {
  background: var(--blue);
}

.hero[data-screen="crt"]::after {
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 40, 0.22) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 50% 48%, transparent 52%, rgba(0, 0, 36, 0.46)),
    linear-gradient(90deg, rgba(0, 0, 36, 0.34), transparent 16%, transparent 84%, rgba(0, 0, 36, 0.34));
  mix-blend-mode: normal;
}

.hero[data-screen="crt"]::before {
  content: "";
  position: absolute;
  inset: -30% 0 auto;
  z-index: 1;
  height: 28%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.07) 50%, transparent);
  animation: crt-roll 9s linear infinite;
}

.hero[data-screen="crt"] .universe {
  z-index: 2;
}

@keyframes crt-roll {
  to {
    transform: translateY(560%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero[data-screen="crt"]::before {
    display: none;
  }
}

/* An open frame, as on unfair.so: a wide two-line subtitle, two buttons side by side
   and a wide proof line, with room between them. */
.hero[data-objects="none"] .headline-slot {
  height: clamp(150px, 30vh, 320px);
}

.kicker {
  margin: 0 0 22px;
  padding: 7px 11px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #ffd24a;
  font: 400 12px/1 var(--pixel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero[data-screen="crt"] .sub {
  max-width: 760px;
  margin: 42px auto 38px;
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* The connector buttons (Claude or ChatGPT) open the connection popup, without the brief's steps. */
button.pill {
  cursor: pointer;
}

.plan.is-direct .plan-steps,
.plan.is-direct [data-pane="2"] > .kicker,
.plan.is-direct [data-back],
.plan.is-direct .plan-brief-note {
  display: none;
}

.hero-actions .pill.ghost {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1000px, 100%);
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.proof li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 2px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.proof li:first-child {
  border-left: 0;
}

.proof b {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.proof span {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

/* ───────────── How a boost works: four steps ───────────── */

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}

.flow .card {
  display: flex;
  flex-direction: column;
}

.flow .card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%);
  font: 700 20px/1 var(--sans);
  color: var(--ink);
}

.flow-n {
  margin-bottom: 14px;
  font: 400 26px/1 var(--pixel);
  color: var(--blue);
}

/* ───────────── Launch week: one line per row, a growing number on each ───────────── */

.tl-card {
  max-width: 980px;
  margin: 56px auto 0;
  padding: 6px 34px 10px;
}

.tl-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 150px;
  gap: 20px;
  align-items: center;
}

.tl-head {
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--line);
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9cb8;
}

.tl-head span:last-child {
  justify-self: end;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 80px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 0;
}

.tl-when {
  font: 600 13px/1.3 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9cb8;
}

.tl-what {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
}

.tl-what b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.tl-chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--blue);
  font: 700 12px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tl-note {
  margin: 20px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* Who does it: you (dashed), us (our mark), creators (avatars) or the feed. */
.who {
  display: inline-flex;
  align-items: center;
  justify-self: end;
}

.who > img,
.who > i {
  flex: none;
  width: 40px;
  height: 40px;
  margin-left: -10px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--ink);
  object-fit: cover;
}

.who > :first-child {
  margin-left: 0;
}

.who > img.who-us {
  padding: 6px;
  background: #fff;
}

.who > .who-you {
  display: grid;
  place-items: center;
  font: 400 9px/1 var(--pixel);
  font-style: normal;
  text-transform: uppercase;
}

.who > .who-you {
  border: 1.5px dashed var(--muted);
  box-shadow: none;
  background: #fff;
  color: var(--muted);
}

/* ───────────── Example campaign ───────────── */

.ex-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin: 60px 0 0;
}

.ex-grid > * {
  min-width: 0;
}

.ex-grid .wide {
  grid-column: 1 / -1;
}

.ex-grid h3 {
  margin: 12px 0 14px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.sample {
  margin-left: 6px;
  padding: 4px 6px;
  border-radius: 5px;
  background: #ffd24a;
  color: var(--ink);
  font: 400 9.5px/1 var(--pixel);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: middle;
}

.facts {
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-weight: 600;
}

.angles {
  margin: 0;
  padding-left: 18px;
}

.angles li + li {
  margin-top: 3px;
}

.lineup {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lineup li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.lineup img {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.lineup .ln {
  flex: 1;
  min-width: 0;
}

.lineup b {
  display: block;
  font-size: 14.5px;
}

.lineup small {
  display: block;
  overflow: hidden;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fit {
  flex: none;
  padding: 5px 7px;
  border-radius: 6px;
  background: var(--chip);
  color: var(--blue);
  font: 400 10px/1 var(--pixel);
  text-transform: uppercase;
  white-space: nowrap;
}

.fit.med {
  background: #f0f0f4;
  color: var(--muted);
}

.lineup em {
  flex: none;
  min-width: 92px;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.ex-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.math {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--chip);
  font-size: 14px;
  line-height: 1.45;
}

.log {
  margin: 0;
  padding: 0;
  list-style: none;
}

.log li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}

.log time {
  font: 400 12px/1.7 var(--pixel);
  color: var(--blue);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.stats div {
  padding: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
}

.stats dt {
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

.stats dd {
  margin: 6px 0 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.table-scroll {
  overflow-x: auto;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.leads-table th {
  padding: 0 10px 10px 0;
  border-bottom: 1.5px solid var(--ink);
  font: 400 10px/1 var(--pixel);
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.leads-table td {
  padding: 10px 10px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.leads-table td:first-child,
.leads-table td:last-child {
  font-weight: 600;
  white-space: nowrap;
}

.ex-cost {
  margin-top: 34px;
}

/* ───────────── Why it works ───────────── */

.why .step-tag {
  margin-bottom: 14px;
}

/* ───────────── Small screens ───────────── */

@media (max-width: 960px) {
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow .card::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .hero[data-screen="crt"] .sub {
    font-size: 17px;
    margin: 18px auto 28px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(340px, 100%);
  }
  .hero-actions .hero-cta {
    justify-content: center;
  }
  .proof {
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(340px, 100%);
    margin-top: 40px;
  }
  .proof li {
    padding: 0 0 0 14px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
  }
  .proof li:first-child {
    border-left: 2px solid rgba(255, 255, 255, 0.3);
  }
  .ex-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tl-head {
    display: none;
  }
  .tl-card {
    padding: 4px 20px 6px;
  }
  .tl-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "when who" "what what";
    gap: 8px 14px;
  }
  .timeline li {
    min-height: 0;
  }
  .tl-when {
    grid-area: when;
  }
  .tl-what {
    grid-area: what;
  }
  .tl-what b {
    font-size: 18px;
  }
  .who {
    grid-area: who;
  }
  .who > img,
  .who > i {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 560px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stats dd {
    font-size: 26px;
  }
  .lineup .fit {
    display: none;
  }
  .lineup em {
    min-width: 0;
  }
  .log li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ───────────── Growth Community band (owner proposal, 08/11/2026) ─────────────
   A thin strip right after the hero: the free way in for founders with no budget yet,
   without a second promise inside the hero. */
.cband {
  background: #ffd24a;
  border-block: 2px solid var(--ink);
}
.cband-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  padding-block: 16px;
  text-align: center;
}
.cband p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}
.cband-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}
.cband-cta:hover {
  background: #0000d6;
}
.cband-cta:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.pricing-alt {
  margin: 14px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--ink);
}
.pricing-alt a {
  color: var(--blue);
  font-weight: 700;
}

/* The hero leaves room for the band in the first screen (owner, 08/11/2026): a little more
   compact, so at least half of the band shows on load on common laptop and desktop screens. */
.hero.with-band,
.hero.with-band .stage {
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
}
.hero.with-band .stage {
  padding: 84px 20px 44px;
}
.hero.with-band[data-objects="none"] .headline-slot {
  height: clamp(140px, 26vh, 300px);
}
.hero.with-band[data-screen="crt"] .sub {
  margin: 30px auto 28px;
}
.hero.with-band .proof {
  margin-top: 44px;
}
.dock {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dock.is-resting {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
}
@media (prefers-reduced-motion: reduce) {
  .dock {
    transition: none;
  }
}
/* On phones the hero stacks, so it gets more compact for the band to show on load. */
@media (max-width: 760px) {
  .hero.with-band .stage {
    padding: 72px 20px 20px;
  }
  .hero.with-band[data-objects="none"] .headline-slot {
    height: 150px;
  }
  .hero.with-band[data-screen="crt"] .sub {
    margin: 18px auto 22px;
  }
  .hero.with-band .proof {
    margin-top: 26px;
  }
  .hero.with-band .proof span {
    display: none;
  }
}

/* The home page's logo, «CHALS AI» (owner, 08/11/2026): as tall as the full logo it replaces. */
.logo.is-chalsai {
  width: auto;
}
.logo.is-chalsai .logo-3d {
  width: auto;
  height: 36px;
}
.foot .logo.is-chalsai .logo-3d {
  height: 30px;
}
@media (max-width: 720px) {
  .top .logo.is-chalsai {
    width: auto;
  }
  .top .logo.is-chalsai .logo-3d {
    height: 24px;
  }
}

/* ───────────── From the home page to the community and back (owner, 08/11/2026) ─────────────
   A cross-page transition: the page folds away onto the band's yellow, the next one rises in
   from below, and the logo and the kicker morph from one page to the other. Browsers without
   view transitions simply load the page. */
@view-transition {
  navigation: auto;
}
::view-transition {
  background: #ffd24a;
}
::view-transition-old(root) {
  animation: cc-fold 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}
::view-transition-new(root) {
  animation: cc-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}
.top .logo {
  view-transition-name: cc-logo;
}
.hero .kicker {
  view-transition-name: cc-kicker;
}
::view-transition-group(cc-logo),
::view-transition-group(cc-kicker) {
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cc-fold {
  to {
    opacity: 0;
    transform: scale(0.9) translateY(-3%);
    filter: blur(4px);
  }
}
@keyframes cc-rise {
  from {
    clip-path: inset(100% 0 0 0);
    transform: translateY(6%);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}
