/* Format card: the product's core object. Used on the landing demo, the run preview, niche pages and the app. */
.fc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 22px; min-width: 0; position: relative; }
.fc-top { display: grid; gap: 8px; }
.fc-top .kicker { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.fc-top .kicker .x { color: var(--ink); }
.fc-top .h-m { font-size: clamp(24px, 2.4vw, 31px); }
.fc-one { font-size: 18px; font-weight: 550; line-height: 1.45; color: var(--ink); text-wrap: pretty; letter-spacing: -0.01em; }
.fc-why { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 72ch; padding-left: 14px; border-left: 2px solid var(--line-2); }

.fc-proof { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; margin-inline: -4px; padding-inline: 4px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(244, 243, 238, 0.18) transparent; }
.pt { flex: 0 0 auto; width: 132px; display: grid; gap: 6px; text-decoration: none; color: var(--ink); scroll-snap-align: start; }
.pt .frame { width: 132px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.pt:hover .frame { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--ink); }
.pt-v { font-size: 13px; font-variant-numeric: tabular-nums; display: flex; gap: 8px; align-items: baseline; }
.pt-v b { font-weight: 750; }
.pt-v .x { font-weight: 850; }
.pt-ch { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-m { font-size: 11.5px; color: var(--ink-3); line-height: 1.4; font-variant-numeric: tabular-nums; }

/* a crisp cover on top of the strip; the flipbook shows through on hover */
.frame.has-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.frame.has-thumb.play img { opacity: 0; }

/* beats: a timeline, widths follow each beat's seconds */
.beats { display: flex; gap: 6px; align-items: stretch; min-width: 0; }
.bt { flex: calc(var(--w, 1) + 3) 1 0; min-width: 118px; display: grid; grid-template-rows: auto auto 1fr; gap: 8px; }
.bt-bar { height: 6px; border-radius: 2px; background: var(--card-3); overflow: hidden; position: relative; }
.bt-bar i { position: absolute; inset: 0; background: var(--ink-2); transform-origin: left; transform: scaleX(0); transition: transform 0.8s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.18s + 0.1s); }
.bt:first-child .bt-bar i { background: var(--ink); }
.in .bt-bar i, .beats.in .bt-bar i, .fc.static .bt-bar i { transform: scaleX(1); }
.bt-t { font-size: 12.5px; font-weight: 750; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bt p { font-size: 14.5px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
@media (max-width: 720px) {
  .beats { flex-direction: column; gap: 14px; }
  .bt { min-width: 0; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; }
  .bt-bar { grid-column: 1 / -1; }
  .bt-t { grid-row: 2; }
  .bt p { grid-row: 2; }
}

.fc-cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.fc-cols .kicker { margin-bottom: 12px; }
.fc ol { margin: 0; padding-left: 22px; display: grid; gap: 9px; font-size: 15.5px; color: var(--ink); }
.fc ol li::marker { font-size: 13px; font-weight: 750; color: var(--ink-3); }
.hooks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hooks li { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 10px 11px 14px; font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.hooks li q { quotes: "\201C" "\201D"; }
.copy { flex: 0 0 auto; border: 1px solid var(--line-2); background: transparent; border-radius: 8px; height: 30px; padding: 0 10px; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--ink-2); transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.copy:hover { color: var(--hi-ink); background: var(--ink); border-color: var(--ink); }

.fc-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }

/* locked: name and one-liner only, details stay on the server */
.fc-locked { gap: 10px; overflow: hidden; }
.fc-locked .fc-one { font-size: 16.5px; color: var(--ink-2); }
.fc-ghost { display: grid; gap: 8px; filter: blur(6px); opacity: 0.5; pointer-events: none; user-select: none; margin-top: 4px; }
.fc-ghost span { display: block; height: 10px; border-radius: 5px; background: rgba(244, 243, 238, 0.14); }
.fc-lock { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.fc-lock .mono { font-size: 13px; color: var(--ink-2); }
.lock-ico { display: inline-flex; width: 30px; height: 30px; border-radius: 9px; align-items: center; justify-content: center; }

/* compact list of formats (locked or summary rows) */
.frow { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 15px 4px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.frow:first-child { border-top: 0; }
.frow .n { font-size: 13px; font-weight: 750; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.frow .t { font-weight: 700; font-size: 16.5px; line-height: 1.3; letter-spacing: -0.01em; }
.frow .s { font-size: 14px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
.frow .r { font-size: 13px; text-align: right; white-space: nowrap; }
