/* Copy an edit cover, restyled to match the home Auto-cut card (owner
   2026-10-26: "how the timeline thing looks on the home page is how I want the
   copy and edit portal"). One card: media on top, title + line, one solid
   button inside. The demo animation is kept, just framed as the card media.
   Loaded after copy-edit-cover.css on copy-edit.html only. */

.ce-cover .ce-cover-inner { justify-content: center; gap: 0; }
.cv-card {
  width: 100%; max-width: 440px; display: flex; flex-direction: column; overflow: hidden;
  background: var(--cf-surface, #15161C); border: 1px solid var(--cf-border, #2A2C36);
  border-radius: var(--cf-r-panel, 12px);
}
html[data-theme="light"] .cv-card { background: #fff; border-color: var(--cf-border-subtle, #E8EAF0); box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 4px 14px rgba(16,24,40,.05); }

/* media: the demo, on the card's own tinted strip (like the Auto-cut video) */
.cv-card .cv-stage-wrap {
  order: 0; width: 100%; gap: 10px; padding: 16px 0 12px;
  background: var(--cf-timeline, #0B0C10);
}
html[data-theme="light"] .cv-card .cv-stage-wrap { background: #EEF0F5; }
.cv-card .cv-stage-wrap::before { display: none; }
.cv-card .ce-demo { width: min(48vw, 176px, calc((100dvh - 420px) * 9 / 15)); min-width: 132px; border-radius: 20px; box-shadow: 0 16px 36px rgba(0,0,0,.35); }
.cv-card .cv-cap { font-size: 12px; top: 10px; }
.cv-card .cv-steps { width: min(76%, 300px); }

/* title + line, left aligned like the Auto-cut card */
.cv-card .cv-head { order: 1; max-width: none; text-align: left; align-items: flex-start; gap: 6px; padding: 14px 16px 0; }
.cv-card .cv-eyebrow { display: none; }
.cv-card .ce-cover-title { font: 700 20px/1.14 var(--cf-font, Inter, sans-serif); letter-spacing: -.022em; text-wrap: pretty; }
.ce-cover .cv-card .ce-cover-title em { color: var(--cf-text-2, rgba(255,255,255,.7)) !important; }
.cv-card .ce-cover-lead { max-width: none; font-size: 13px; line-height: 1.45; color: var(--cf-text-2, rgba(255,255,255,.7)); text-wrap: pretty; }

/* one solid button inside the card, same as "Start editing" */
.cv-card .ce-cover-body { order: 2; max-width: none; margin-top: 0; padding: 12px 16px 16px; gap: 10px; align-items: stretch; }
.cv-card .ce-cover-cta {
  height: auto; padding: 11px 16px; border-radius: var(--cf-r-button, 6px); box-shadow: none;
  font: 600 13.5px var(--cf-font, Inter, sans-serif); background: var(--cf-accent, #3B82F6);
}
.cv-card .ce-cover-cta svg { width: 15px; height: 15px; }
.cv-card .cv-trust { justify-content: flex-start; gap: 12px; font-size: 12px; }

/* desktop: same card, media left, words right */
@media (min-width: 900px) {
  .ce-cover .ce-cover-inner { display: flex; align-items: center; justify-content: center; }
  .cv-card { max-width: 860px; display: grid; grid-template-columns: 340px 1fr; grid-template-rows: 1fr 1fr; grid-template-areas: "stage head" "stage body"; }
  .cv-card .cv-stage-wrap { grid-area: stage; justify-content: center; padding: 28px 0 20px; }
  .cv-card .ce-demo { width: 230px; }
  .cv-card .cv-head { grid-area: head; align-self: end; padding: 32px 32px 0; }
  .cv-card .ce-cover-title { font-size: 34px; }
  .cv-card .ce-cover-lead { font-size: 15.5px; }
  .cv-card .ce-cover-body { grid-area: body; align-self: start; padding: 18px 32px 32px; align-items: flex-start; }
  .cv-card .ce-cover-cta { width: auto; padding: 13px 22px; font-size: 15px; }
}
