/* The marketing pages. Shares the editor's palette so arriving at /editor is
   not a jolt, and the same light/dark token pair the legal pages already use. */
:root {
  --bg: #0a0c10; --panel: #141924; --line: #232a38; --raise: #1b2130;
  --text: #e4e9f2; --dim: #8b93a5; --good: #6ee7a8; --accent: #7cc4ff;
  --brand: #a78bfa;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7f9; --panel: #ffffff; --line: #e1e5ec; --raise: #f0f2f6;
    --text: #16202d; --dim: #5c6675; --good: #12855a; --accent: #2c6fb5;
    --brand: #6d4fd0;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; }

/* ---- chrome ---- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .in, main, footer .in {
  max-width: 60rem; margin: 0 auto; padding: 0 22px;
}
.top .in { display: flex; align-items: center; gap: 18px; height: 58px; }
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none;
  letter-spacing: -0.01em;
}
.brand .mk {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  background: linear-gradient(140deg, var(--brand), var(--accent));
  color: #0b0e13; font-weight: 800; font-size: 15px;
  display: grid; place-items: center;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--dim); text-decoration: none; font-size: 14px;
  padding: 6px 10px; border-radius: 6px;
}
.nav a:hover { color: var(--text); background: var(--raise); }
.nav a[aria-current="page"] { color: var(--text); }

/* ---- buttons ---- */
.btn {
  display: inline-block; text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 11px 20px; border-radius: 8px; border: 1px solid transparent;
  background: var(--good); color: #08130d;
}
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--text); font-weight: 500; }
.btn.ghost:hover { background: var(--raise); }
.btn.sm { padding: 7px 14px; font-size: 14px; }

/* ---- layout ---- */
main { padding: 0 22px 100px; }
section { padding: 44px 0 0; }
h1 {
  font-size: clamp(30px, 5.2vw, 46px); line-height: 1.12; letter-spacing: -0.03em;
  margin: 0 0 14px; max-width: 17ch;
}
h2 { font-size: 21px; letter-spacing: -0.015em; margin: 0 0 14px; }
h3 { font-size: 15px; margin: 0 0 5px; }
.lede { font-size: 18px; color: var(--dim); max-width: 46ch; margin: 0 0 26px; }
.sub { color: var(--dim); margin: 0 0 8px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fine { color: var(--dim); font-size: 13.5px; margin: 12px 0 0; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
/* Four steps, four columns. auto-fit with a 230px floor lands two pixels over
   the 960px content width and drops to 3 + 1, which reads as a step that did
   not fit rather than as a sequence. */
.grid.four { grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 18px 19px;
}
.card p { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.55; }
.card .n {
  color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: 1px;
  display: block; margin-bottom: 8px;
}

/* ---- the free / pro table ---- */
.plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.plan.paid { border-color: color-mix(in srgb, var(--good) 45%, var(--line)); }
.plan .price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 2px 0 2px; }
.plan .per { color: var(--dim); font-size: 14px; font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 20px; }
.plan li { padding: 6px 0 6px 24px; position: relative; font-size: 14.5px; color: var(--text); }
.plan li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  color: var(--good); font-weight: 700; font-size: 13px;
}
.plan li.no { color: var(--dim); }
.plan li.no::before { content: "—"; color: var(--dim); }

/* ---- prose ---- */
.prose { max-width: 42rem; }
.prose p { margin: 0 0 14px; }
.prose h2 { margin: 34px 0 10px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 7px 0; }
.note {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--good); border-radius: 0 8px 8px 0;
  padding: 15px 17px; margin: 24px 0;
}
.note p { margin: 0; }
.note strong { color: var(--good); }
code {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 4px; padding: 1px 5px; font-size: 14px;
}

footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--dim); font-size: 14px; }
footer .in { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .sp { margin-left: auto; }

@media (max-width: 560px) {
  .top .in { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; gap: 8px; }
  .nav { width: 100%; margin-left: 0; }
  section { padding-top: 40px; }
}


/* ---- the free banner ---------------------------------------------------- */
.free {
  margin: 26px 0 0; padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--good) 42%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--good) 7%, var(--panel));
}
.free h2 { margin: 0 0 6px; font-size: 22px; }
.free p { margin: 0; color: var(--dim); font-size: 15px; max-width: 58ch; }
.free .pts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 12px; padding: 0; list-style: none; }
.free .pts li { font-size: 14.5px; color: var(--text); padding-left: 22px; position: relative; }
.free .pts li::before {
  content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; font-size: 13px;
}

/* ---- card loops ---------------------------------------------------------
   The cards ARE the product, so they are shown rather than listed. These are
   the same recordings the editor uses for its own locked tiles, made by the
   same renderer — a preview is the card, not an impression of it. */
.cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); margin-top: 16px; }
.cards figure { margin: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #0a0d13; position: relative; }
.cards video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0a0d13; }
.cards figcaption { padding: 6px 9px; font-size: 12px; color: var(--dim); background: var(--panel); }
@media (prefers-reduced-motion: reduce) { .cards video { animation: none; } }

/* ---- three claims, one line each ----------------------------------------
   These were three panels of prose. Same three facts, a fifth of the height:
   nobody reads a paragraph to find out that nothing is uploaded. */
.claims { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.claims li {
  padding: 11px 0; border-bottom: 1px solid var(--line);
  color: var(--dim); font-size: 14.5px;
}
.claims strong { color: var(--text); }

/* ---- the four steps, as a numbered list rather than four boxes ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 16px 0 0; }
.steps li {
  counter-increment: s; position: relative; padding: 9px 0 9px 34px;
  color: var(--dim); font-size: 14.5px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 9px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--raise); border: 1px solid var(--line);
  color: var(--brand); font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}
.steps strong { color: var(--text); }

/* ---- the rest of the cards, folded away --------------------------------
   Eleven tiles was the largest thing on the page and pushed the price below
   three screenfuls. Four prove the cards are real; the rest are one click. */
.more { margin-top: 12px; }
.more summary {
  cursor: pointer; display: inline-block; list-style: none;
  color: var(--accent); font-size: 14px;
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 7px;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " ▾"; }
.more[open] summary::after { content: " ▴"; }
.more summary:hover { background: var(--raise); }
