/* CLAUDE 10-05: the feature strip under the hero (featcar.js), shared by the app's landing and the waitlist site.
   It uses the two pages' common tokens (--panel, --hair, --ink, --soft, --dim, --go), with fallbacks. Native scroll
   snapping: swipe on a phone, the arrows and buttons scroll it. */
.featcar {
  --fc-w: min(880px, 100vw - 120px);
  --fc-ease: cubic-bezier(0.23, 1, 0.32, 1);
  margin: clamp(28px, 5vw, 56px) 0 clamp(40px, 7vw, 88px);
}
.fc-view {
  position: relative;
}
.fc-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--fc-w);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px calc((100% - var(--fc-w)) / 2) 10px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.fc-track::-webkit-scrollbar {
  display: none;
}
.fc-track:focus-visible {
  outline: 2px solid var(--go, #53fc18);
  outline-offset: -2px;
  border-radius: 24px;
}
.fc-card {
  scroll-snap-align: center;
  border-radius: 24px;
  background: var(--panel, #121215);
  box-shadow: inset 0 0 0 1px var(--hair, rgba(255, 255, 255, 0.075));
  overflow: hidden;
  opacity: 0.38;
  transform: scale(0.96);
  transition:
    opacity 350ms ease,
    transform 450ms var(--fc-ease);
  cursor: pointer;
}
.fc-card.on {
  opacity: 1;
  transform: none;
  cursor: default;
}
.fc-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d0d10;
  overflow: hidden;
}
.fc-text {
  padding: 16px 22px 20px;
}
.fc-text h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink, #f3f2ee);
}
.fc-text p {
  margin: 0;
  color: var(--soft, #b3b2bc);
  font-size: 14.5px;
  line-height: 1.5;
}
.fc-stage :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fc-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  margin: 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
/* arrows at the edges of the middle card */
.fc-arrow {
  position: absolute;
  top: calc(50% - 60px);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hair2, rgba(255, 255, 255, 0.14));
  background: rgba(18, 18, 21, 0.85);
  color: var(--ink, #f3f2ee);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    opacity 200ms ease,
    transform 160ms var(--fc-ease);
}
.fc-arrow:active {
  transform: scale(0.94);
}
.fc-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}
.fc-arrow.prev {
  left: calc((100% - var(--fc-w)) / 2 - 56px);
}
.fc-arrow.next {
  right: calc((100% - var(--fc-w)) / 2 - 56px);
}
.fc-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-inline: 16px;
}
.fc-pills button {
  border: 1px solid var(--hair2, rgba(255, 255, 255, 0.14));
  border-radius: 10px;
  background: transparent;
  color: var(--soft, #b3b2bc);
  padding: 9px 16px;
  font: 650 14px/1 inherit;
  font-family: inherit;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}
.fc-pills button[aria-selected='true'] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink, #f3f2ee);
}
.fc-pills button:hover {
  color: var(--ink, #f3f2ee);
}

/* Clipping, read left to right (top to bottom on a phone): the link, the long video, an arrow, the clips cut from it */
.fc-clip {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.45fr auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 14px 12px;
  padding: 20px 22px 22px;
  align-items: center;
}
.fc-clip .fc-link {
  grid-column: 1 / -1;
  justify-self: center;
}
.fc-long {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.fc-to {
  width: 40px;
  height: 20px;
  fill: none;
  stroke: var(--go, #53fc18);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 92%;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: var(--soft, #b3b2bc);
  font-size: 13px;
  white-space: nowrap;
}
.fc-link b {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--go, #53fc18);
  color: var(--go-ink, #0a1902);
  font-size: 13px;
}
.fc-phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;
}
.fc-phone {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.fc-phone:nth-child(2) {
  transform: translateY(-14px);
}
.fc-phone .fc-tag {
  left: 5px;
  right: 5px;
  top: 6px; /* the clip's own captions sit at the bottom */
  bottom: auto;
  padding: 3px 6px;
  font-size: 9.5px;
  text-align: center;
}

/* Editing: the recording fills the card */
.fc-edit {
  position: absolute;
  inset: 0;
}

/* Scheduling: a week in an hour grid */
.fc-cal {
  position: absolute;
  inset: 18px 18px 46px;
  display: grid;
  grid-template-columns: 46px repeat(7, 1fr);
  grid-template-rows: auto repeat(4, 1fr);
  gap: 4px;
  font-size: 11px;
}
.fc-cal b {
  padding: 4px 6px;
  color: var(--dim, #8a8994);
  font-weight: 650;
}
.fc-cal b.today {
  color: var(--go, #53fc18);
}
.fc-cal small {
  color: var(--dim, #8a8994);
  font-size: 10px;
  padding-top: 4px;
  text-align: right;
  padding-right: 6px;
}
.fc-cal i {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 3px;
  font-style: normal;
  min-width: 0;
}
.fc-cal em {
  display: block;
  padding: 5px 6px;
  border-radius: 6px;
  background: #1c1c21;
  box-shadow: inset 2px 0 0 var(--nc, #8f8f8f);
  color: var(--ink, #f3f2ee);
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.fc-cal u {
  display: block;
  text-decoration: none;
  color: var(--dim, #8a8994);
  font-size: 9.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.n-tiktok {
  --nc: #25f4ee;
}
.n-youtube {
  --nc: #ff3b30;
}
.n-instagram {
  --nc: #e1306c;
}
.n-threads {
  --nc: #b4a2ff;
}
.n-x {
  --nc: #e7e7e7;
}
.fc-queue {
  left: 18px;
}

/* Analytics: the growth of one clip against the creator's usual */
.fc-stats {
  position: absolute;
  inset: 22px 24px 46px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
}
.fc-nums {
  display: flex;
  gap: clamp(16px, 4vw, 44px);
}
.fc-nums small {
  display: block;
  color: var(--dim, #8a8994);
  font-size: 12px;
}
.fc-nums b {
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink, #f3f2ee);
}
.fc-nums div:last-child b {
  color: var(--go, #53fc18);
}
.fc-stats svg {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.fc-area {
  fill: rgba(83, 252, 24, 0.12);
}
.fc-line {
  fill: none;
  stroke: var(--go, #53fc18);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}
.fc-usual {
  fill: none;
  stroke: var(--dim, #8a8994);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  vector-effect: non-scaling-stroke;
}
.fc-key {
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--dim, #8a8994);
  font-size: 12px;
}
.fc-key i {
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--go, #53fc18);
}
.fc-key i.u {
  margin-left: 8px;
  background: var(--dim, #8a8994);
}

/* phones: one card with the next one showing at the edge, a small arrow on it, and a nudge the first time the strip
   comes into view (the owner 10-05: "on mobile there's no way to know to swipe right") */
@media (max-width: 720px) {
  .featcar {
    --fc-w: calc(100vw - 88px);
  }
  .fc-track {
    gap: 10px;
  }
  .fc-card {
    opacity: 0.6;
  }
  .fc-arrow {
    top: calc(50% - 52px);
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
  .fc-arrow.prev {
    left: 5px;
  }
  .fc-arrow.next {
    right: 5px;
  }
  .fc-track.nudge .fc-card {
    animation: fc-nudge 1s var(--fc-ease) 300ms;
  }
  .fc-pills {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .fc-pills button {
    padding: 9px 11px;
    font-size: 13px;
  }
  .fc-link {
    padding-left: 12px;
    font-size: 11.5px;
  }
  .fc-link b {
    padding: 7px 11px;
    font-size: 12px;
  }
  .fc-stage {
    aspect-ratio: 4 / 5;
  }
  .fc-clip {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr;
    padding: 14px;
    gap: 8px;
    align-items: start;
    justify-items: center;
  }
  .fc-long {
    width: 100%;
  }
  .fc-to {
    transform: rotate(90deg); /* turned, its box stays 16 tall: the margins make room for the 30 it now spans */
    width: 30px;
    height: 16px;
    margin: 7px 0;
  }
  .fc-phones {
    width: 100%;
  }
  .fc-phones {
    height: 100%;
  }
  .fc-phone {
    aspect-ratio: auto;
    height: 100%;
  }
  .fc-phone:nth-child(2) {
    transform: none;
  }
  .fc-cal {
    grid-template-columns: 38px repeat(4, 1fr);
    inset: 12px 12px 44px;
  }
  .fc-cal :is([data-c='4'], [data-c='5'], [data-c='6']) {
    display: none; /* four days fit a phone */
  }
  .fc-edit video {
    object-fit: contain;
    background: #000;
  }
}
@keyframes fc-nudge {
  40% {
    translate: -44px 0;
  }
  100% {
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fc-card {
    transition: none;
    animation: none !important;
  }
}
