/* YouTubePilot marketing pages (landing, pricing, login).
 * Loads after style.css: same tokens, same type, same components. The product visuals are the
 * app's own markup, so this file only adds page layout, marketing type and the pricing block. */

:root {
  --lp-max: 1180px;
  --lp-gutter: 32px;
  --lp-sec: 128px;
}

body.lp { font-size: 15px; overflow-x: hidden; }
.lp ::selection { background: var(--ink); color: #fff; }

.lp-skip {
  position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 12px; border-radius: 8px;
  background: var(--ink); color: #fff; text-decoration: none; font-size: 13px;
}
.lp-skip:focus { top: 12px; color: #fff; }

.lp-wrap { width: 100%; max-width: calc(var(--lp-max) + var(--lp-gutter) * 2); margin: 0 auto; padding: 0 var(--lp-gutter); }
.lp-wrap-wide { max-width: calc(1280px + var(--lp-gutter) * 2); }

/* ------------------------------------------------------------------ nav */

.lp-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 245, 241, .86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 200ms ease;
}
.lp-nav.is-scrolled { border-bottom-color: var(--line); }
.lp-nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.lp-brand { text-decoration: none; color: var(--ink); }
.lp-brand:hover { color: var(--ink); }
.lp-nav-links { display: flex; gap: 22px; flex: 1; }
.lp-nav-links a, .lp-login {
  color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 120ms ease;
}
.lp-nav-links a:hover, .lp-login:hover, .lp-nav-links a[aria-current="page"] { color: var(--ink); }
.lp-nav-cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }

/* ------------------------------------------------------------------ type */

.lp-h1 {
  margin: 0; font-size: clamp(40px, 6.4vw, 84px); font-weight: 600; letter-spacing: -0.045em; line-height: .98;
  max-width: 14.5em; text-wrap: balance;
}
.lp-h1 > span { display: block; }
.lp-h1 > span + span { margin-top: .08em; }
.lp-h2 {
  margin: 0; font-size: clamp(30px, 4.2vw, 50px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04;
  text-wrap: balance; max-width: 17em;
}
.lp-h2-sm { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.025em; }
.lp-h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; display: flex; align-items: center; gap: 10px; }
.lp-lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 50ch; text-wrap: pretty; }
.lp-p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 42ch; text-wrap: pretty; }

/* ------------------------------------------------------------------ hero */

.lp-hero { padding: 84px 0 0; }
.lp-hero-sub { margin: 28px 0 0; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.lp-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.lp-hero-note { margin: 16px 0 0; font-size: 13px; color: var(--faint); }

/* the product frame: the real app, minus the scroll */
.lp-frame {
  position: relative; margin-top: 64px; border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden;
  background: var(--bg); max-height: 1150px;
  box-shadow: 0 1px 2px rgba(23, 23, 22, .05), 0 40px 80px -40px rgba(23, 23, 22, .28);
}
.lp-frame::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(246, 245, 241, 0), var(--bg) 92%);
}
.lp-app { display: flex; align-items: stretch; text-align: left; }
.lp-app, .lp-app * , .lp-stage, .lp-stage *, .lp-step-vis, .lp-step-vis * { cursor: default !important; }
.lp-stage a, .lp-stage a * { cursor: pointer !important; }
.lp-stage .strip-t, .lp-stage .ftitle { display: -webkit-box; color: inherit; }
.lp-sb.sb { position: static; height: auto; overflow: hidden; width: 224px; border-right: 1px solid var(--line); }
.lp-sb .sb-foot { margin-top: 18px; }
.lp-app-main { flex: 1; min-width: 0; padding: 30px 34px 40px; }
.lp-app-main .page { gap: 22px; max-width: none; }
.lp-app .stat, .lp-app .stat:hover { border-color: var(--line); }

@keyframes lp-pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ sections */

.lp-sec { padding: var(--lp-sec) 0 0; scroll-margin-top: 40px; }
.lp-sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.lp-sec-head .lp-lead { justify-self: start; }
.lp-sec-head-top { margin-bottom: 40px; }

/* product crops sit on the app's sidebar tone, like a window onto the app */
.lp-stage {
  border: 1px solid var(--line); border-radius: 20px; background: var(--sidebar); padding: 32px;
  display: flex; flex-direction: column; gap: 20px; min-width: 0;
}
.lp-stage .gpanel, .lp-stage .sources { position: static; }
.lp-stage .idea { box-shadow: 0 1px 2px rgba(23, 23, 22, .04), 0 12px 32px -16px rgba(23, 23, 22, .14); }
.lp-stage .gitem:hover { background: var(--surface); }
.lp-stage .gitem.is-sel:hover { background: var(--row-sel); }
.lp-fake-input { display: flex; align-items: center; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-ask-box { margin-bottom: 4px; }
.lp-ask-box .lp-fake-input { font-size: 16px; }
.lp-ask-box .ask-btn { display: inline-flex; align-items: center; }
.lp-stage .ans-p { animation: none; }
.lp-cite-open { background: var(--ink); color: #fff; }
.lp-cite-open .cite-pop { opacity: 1; transform: translateX(-50%) scale(1); }

/* steps: a real sequence, so they are numbered */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-step { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lp-step-vis {
  height: 248px; border: 1px solid var(--line); border-radius: 18px; background: var(--sidebar); overflow: hidden;
  padding: 22px; margin-bottom: 8px; position: relative;
}
.lp-step-vis::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(240, 239, 234, 0), var(--sidebar));
}
.lp-mini { display: flex; flex-direction: column; gap: 12px; }
.lp-mini .ob-input, .lp-mini .ob-find-btn { height: 40px; font-size: 14px; }
.lp-mini .ob-find-btn { display: inline-flex; align-items: center; }
.lp-mini .found-card { padding: 12px; gap: 10px; animation: none; }
.lp-mini .found-title { font-size: 14.5px; }
.lp-mini .found-stats { font-size: 12px; }
.lp-mini .chip { animation: none; }
.lp-mini .sugg { animation: none; padding: 10px 12px; }
.lp-mini .btn-add { display: inline-flex; align-items: center; }
.lp-mini .an-steps { gap: 10px; }
.lp-mini .an-label { font-size: 14px; }
.lp-mini .an-val { font-size: 12px; }
.lp-mini .bar { margin-top: 6px; }
.lp-num {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.lp-step .lp-p { padding-left: 32px; }

/* feed: text beside the product */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 56px; align-items: start; }
.lp-split-text { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 112px; }
.lp-stage-feed .feed { max-width: none; }

/* why */
.lp-why .lp-sec-head { margin-bottom: 36px; }
.lp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 1px solid var(--line-strong); }
.lp-col { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; }
.lp-col .lp-h3 { font-size: 19px; }
.lp-col .lp-p { font-size: 16px; color: var(--text-2); }

/* proof (placeholders) */
.lp-proof .lp-h2 { margin-bottom: 32px; }
.lp-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.lp-quote { margin: 0; display: flex; flex-direction: column; gap: 14px; padding-left: 18px; border-left: 2px solid var(--line-strong); }
.lp-quote blockquote { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; text-wrap: pretty; }
.lp-quote figcaption { font-size: 13.5px; color: var(--faint); }
.lp-logos { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.lp-logos li {
  flex: 1 1 140px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 12px;
  border: 1px dashed var(--line-strong); font-size: 12.5px; color: var(--placeholder);
}

/* ------------------------------------------------------------------ pricing */

.lp-pricing { display: flex; flex-direction: column; gap: 20px; }
.lp-toggle {
  align-self: flex-start; display: inline-flex; padding: 3px; border-radius: 11px; background: var(--nav-active); gap: 2px;
}
.lp-toggle-btn {
  height: 34px; padding: 0 14px; border: none; border-radius: 8px; background: transparent; color: var(--text-2);
  font-size: 13.5px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.lp-toggle-btn:hover { color: var(--ink); }
.lp-toggle-btn[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(23, 23, 22, .1); }
.lp-save { font-size: 11.5px; font-weight: 500; color: var(--green); background: var(--green-bg); padding: 2px 7px; border-radius: 6px; }

.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.lp-plan {
  display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); min-width: 0;
}
.lp-plan.is-pop { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 24px 48px -28px rgba(23, 23, 22, .3); }
.lp-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-plan-name { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.lp-pop { font-size: 12px; font-weight: 500; color: #fff; background: var(--ink); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.lp-plan-for { margin: -6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; min-height: 2.9em; }
.lp-price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.lp-amt { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-per { font-size: 14px; color: var(--faint); }
.lp-bill { margin: -6px 0 4px; font-size: 13px; color: var(--faint); }
.lp-pricing .is-y { display: none; }
.lp-pricing[data-interval="yearly"] .is-y { display: inline; }
.lp-pricing[data-interval="yearly"] .is-m { display: none; }
.lp-feats { list-style: none; margin: 6px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 9px; }
.lp-feats li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--text); }
.lp-feats li::before {
  content: ''; flex-shrink: 0; width: 12px; height: 7px; margin-top: 4px;
  border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px);
}
.lp-free {
  display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap;
  padding: 20px 24px; border-radius: 18px; border: 1px dashed var(--line-strong);
}
.lp-free-text { display: flex; align-items: baseline; gap: 6px 18px; flex-wrap: wrap; min-width: 0; flex: 1; }
.lp-free-text p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; max-width: 62ch; }
.lp-fine { margin: 0; font-size: 12.5px; color: var(--faint); }

/* ------------------------------------------------------------------ final + footer */

.lp-final { padding-bottom: 128px; }
.lp-final .lp-lead { margin-top: 18px; }
.lp-final-h { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.04em; }
.lp-foot { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.lp-foot-in { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.lp-foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.lp-foot-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.lp-foot-links a:hover { color: var(--ink); }
.lp-foot-note { margin: 0 0 0 auto; font-size: 12.5px; color: var(--faint); }

/* ------------------------------------------------------------------ pricing page FAQ */

.lp-pricing-page { padding-top: 88px; }
.lp-faq-sec { padding-bottom: 120px; }
.lp-faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; align-items: start; }
.lp-faq { border-top: 1px solid var(--line-strong); }
.lp-qa { border-bottom: 1px solid var(--line); }
.lp-qa summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
}
.lp-qa summary::-webkit-details-marker { display: none; }
.lp-qa summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg);
  transition: transform 200ms var(--ease-out);
}
.lp-qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.lp-qa summary:hover { color: var(--text-2); }
.lp-qa p { margin: 0; padding: 0 36px 22px 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 64ch; }

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1100px) {
  :root { --lp-sec: 104px; }
  .lp-split { grid-template-columns: 1fr; gap: 32px; }
  .lp-split-text { position: static; }
  .lp-quotes { gap: 28px; }
}

@media (max-width: 859px) {
  :root { --lp-gutter: 16px; --lp-sec: 88px; }
  .lp-nav-links { display: none; }
  .lp-nav-in { gap: 12px; height: 58px; }
  .lp-nav-cta { gap: 14px; }
  .lp-hero { padding-top: 48px; }
  .lp-hero-sub { font-size: 17px; margin-top: 20px; }
  .lp-hero-cta .btn { flex: 1 1 auto; }
  .lp-frame { margin-top: 44px; border-radius: 14px; max-height: 1010px; }
  .lp-app .ov-pulse, .lp-app .stat-sub, .lp-app .week-head .kicker { display: none; }
  .lp-app .stat { gap: 4px; }
  /* shorter crops on a phone: one row of evidence, one quote, one source video, one feed day */
  .lp-frame .strip-item:nth-child(n+3), .lp-stage .strip-item:nth-child(n+3),
  .lp-stage .quotes .q:nth-child(n+2), .lp-stage .gp-sec.is-videos .sv:nth-child(n+3),
  .lp-stage .fday:nth-child(n+2), .lp-stage .src.is-extra, .lp-stage .ans-p.is-extra { display: none; }
  .lp-stage .factions { display: none; }
  .lp-stage .gp-sec.is-videos .sv:nth-child(2) { border-bottom: none; padding-bottom: 0; }
  .lp-mini .found-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lp-stage .grow { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 84px; min-width: 0; gap: 10px; }
  .lp-stage .grow > :nth-child(2) { display: none; }
  .lp-stage .gitem, .lp-stage .ghead { padding-left: 12px; padding-right: 12px; }
  .lp-sb.sb { display: none; }
  .lp-app-main { padding: 18px 14px 24px; }
  .lp-app-main .page { gap: 16px; }
  .lp-sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .lp-lead { font-size: 16.5px; }
  .lp-stage { padding: 12px; border-radius: 16px; gap: 14px; }
  .lp-steps { grid-template-columns: 1fr; gap: 36px; }
  .lp-step-vis { height: auto; max-height: 260px; }
  .lp-cols, .lp-quotes { grid-template-columns: 1fr; gap: 0; }
  .lp-quotes { gap: 28px; }
  .lp-plans { grid-template-columns: 1fr; }
  .lp-plan.is-pop { order: -1; }
  .lp-plan-for { min-height: 0; }
  .lp-free { padding: 18px; }
  .lp-free .btn { width: 100%; }
  .lp-faq-wrap { grid-template-columns: 1fr; }
  .lp-foot-note { margin-left: 0; width: 100%; }
  .lp-final { padding-bottom: 88px; }
  .lp-ask-box .lp-fake-input { font-size: 14px; white-space: normal; height: auto; padding: 6px 0; line-height: 1.4; }
  .lp-toggle { align-self: stretch; }
  .lp-toggle-btn { flex: 1; justify-content: center; }
}

@media (max-width: 420px) {
  .lp-login { display: none; }
  .lp-amt { font-size: 40px; }
}


/* ------------------------------------------------------------------ login */

.lg { min-height: 100vh; display: flex; flex-direction: column; }
.lg-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; }
.lg-top .lp-login { font-size: 13.5px; }
.lg-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px 64px; }
.lg-card {
  width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 22px;
  animation: rise 260ms var(--ease-out);
}
.lg-context {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2);
}
.lg-context b { color: var(--ink); font-weight: 600; }
.lg-context .lp-pop { margin-left: auto; }
.lg-head { display: flex; flex-direction: column; gap: 8px; }
.lg-h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.lg-sub { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.lg-google { position: relative; min-height: 46px; }
.lg-gbtn {
  width: 100%; height: 46px; display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background 120ms ease, transform 140ms var(--ease-out), border-color 120ms ease;
}
.lg-gbtn:hover:not(:disabled) { background: var(--hover); }
.lg-gbtn:active:not(:disabled) { transform: scale(.985); }
.lg-gbtn svg { width: 18px; height: 18px; }
.lg-gis { display: flex; justify-content: center; min-height: 44px; }
.lg-chooser {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 10;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-pop);
  padding: 6px; display: flex; flex-direction: column; gap: 2px;
  transform-origin: top center; animation: menuin 140ms var(--ease-out);
}
.lg-chooser-h { padding: 8px 10px 6px; font-size: 12px; font-weight: 500; color: var(--faint); }
.lg-acct {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: none; background: none; border-radius: 10px;
  cursor: pointer; text-align: left; width: 100%;
}
.lg-acct:hover, .lg-acct:focus-visible { background: var(--hover); }
.lg-acct-text { min-width: 0; display: flex; flex-direction: column; }
.lg-acct-name { font-size: 14px; font-weight: 500; }
.lg-acct-email { font-size: 12.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-chooser-note { padding: 8px 10px 6px; font-size: 11.5px; color: var(--faint); line-height: 1.45; border-top: 1px solid var(--line-2); margin-top: 4px; }
.lg-or { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--faint); }
.lg-or::before, .lg-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.lg-form { display: flex; flex-direction: column; gap: 10px; }
.lg-form .ob-input { width: 100%; flex: none; }
.lg-legal { margin: 0; font-size: 12.5px; color: var(--faint); line-height: 1.5; }
.lg-legal a { color: var(--muted); }
.lg-sent-mail {
  width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.lg-sent-mail svg { width: 20px; height: 20px; }
.lg-dev { display: flex; flex-direction: column; gap: 4px; }
.lg-dev a { color: inherit; font-weight: 600; }
.lg-busy { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

@media (max-width: 600px) {
  .lg-top { padding: 16px; }
  .lg-main { padding-top: 4vh; }
  .lg-h1 { font-size: 27px; }
}

/* ------------------------------------------------------------------ hero A: collage */
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lp-hero-copy { min-width: 0; }
.lp-trust { display: flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 13.5px; color: var(--muted); }
.lp-trust .stack .av { border-color: var(--bg); }
.lp-trust b { color: var(--ink); font-weight: 600; }
.lp-collage { position: relative; height: 560px; min-width: 0; }
.lp-card {
  position: absolute; width: 46%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; display: block;
  background: #e9e7e1; box-shadow: 0 1px 2px rgba(23, 23, 22, .08), 0 18px 40px -16px rgba(23, 23, 22, .35);
  outline: 1px solid rgba(23, 23, 22, .08); outline-offset: -1px;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.lp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-card .xb { position: absolute; left: 8px; bottom: 8px; font-size: 12px; padding: 5px 7px; }
@media (hover: hover) and (pointer: fine) {
  .lp-card:hover { transform: translateY(-4px) rotate(0deg) scale(1.03) !important; z-index: 9; box-shadow: 0 24px 50px -14px rgba(23, 23, 22, .45); }
}
.lp-card-1 { left: 2%; top: 0; width: 42%; transform: rotate(-4deg); z-index: 3; }
.lp-card-2 { right: 0; top: 1%; width: 40%; transform: rotate(3deg); z-index: 2; }
.lp-card-3 { left: 0; top: 38%; width: 38%; transform: rotate(2deg); z-index: 1; }
.lp-card-4 { right: 6%; top: 42%; width: 44%; transform: rotate(-3deg); z-index: 2; }
.lp-card-5 { left: 12%; bottom: 0; width: 36%; transform: rotate(3deg); z-index: 1; }
.lp-card-6 { right: 2%; bottom: 2%; width: 34%; transform: rotate(-2deg); z-index: 1; }
.lp-chip {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 6px 18px -6px rgba(23, 23, 22, .25);
  font-size: 12.5px; line-height: 1.2; white-space: nowrap;
}
.lp-chip b { display: block; font-weight: 600; color: var(--ink); }
.lp-chip small { display: block; font-size: 11px; color: var(--faint); margin-top: 1px; }
.lp-chip-1 { left: 27%; top: -4%; }
.lp-chip-2 { right: 3%; top: -3%; }
.lp-chip-3 { left: -3%; top: 63%; }
.lp-chip-4 { right: 10%; bottom: -2%; }
.lp-next {
  position: absolute; z-index: 6; left: 50%; top: 50%; translate: -50% -50%; width: 56%;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 30px 60px -20px rgba(23, 23, 22, .6);
  display: flex; flex-direction: column; gap: 8px; animation: lp-pop 600ms var(--ease-out) 500ms both;
}
.lp-next-k { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, .7); }
.lp-next-t { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; text-wrap: pretty; }
.lp-next-m { display: flex; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, .6); }
.lp-next-m .is-hot { color: #ff6b63; }

/* ------------------------------------------------------------------ hero B: signal wall */
.lp-wall { background: var(--ink); color: #fff; padding: 72px 0 36px; margin-top: -84px; overflow: hidden; }
.lp-wall .lp-h1, .lp-wall .lp-hero-sub { color: #fff; }
.lp-wall .lp-hero-sub { color: rgba(255, 255, 255, .72); }
.lp-wall .lp-hero-note { color: rgba(255, 255, 255, .5); }
.lp-wall-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.lp-wall-copy .lp-h1 { max-width: 20ch; }
.lp-wall-copy .lp-hero-sub { max-width: 44ch; text-align: center; }
.lp-btn-white { background: #fff; color: var(--ink); border: none; }
.lp-btn-white:hover { background: #ebe9e4; color: var(--ink); }
.lp-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.lp-rows { display: flex; flex-direction: column; gap: 14px; margin-top: 56px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-row { overflow: hidden; }
.lp-track { display: flex; gap: 14px; width: max-content; animation: lp-marquee 48s linear infinite; }
.lp-row-rev .lp-track { animation-direction: reverse; animation-duration: 58s; }
.lp-rows:hover .lp-track { animation-play-state: paused; }
@keyframes lp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lp-tile { position: relative; width: 236px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #2a2927; }
.lp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; }
.lp-tile .xb { position: absolute; left: 8px; bottom: 8px; font-size: 12px; padding: 5px 7px; }
.lp-tile.is-hot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--red); }
.lp-wall-cap { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 22px; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .55); }
body.hero-wall .lp-hero-collage { display: none; }
body.hero-wall .lp-hero-wall { display: block; }
body.hero-wall .lp-hero { padding-top: 84px; }

@media (max-width: 1000px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-collage { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .lp-links { display: none; }
  .lp-card { position: relative; inset: auto; width: auto; transform: none !important; animation: none; }
  .lp-chip, .lp-next { position: static; transform: none; translate: none; width: auto; animation: none; }
  .lp-chip { display: none; }
  .lp-next { grid-column: 1 / -1; }
  .lp-tile { width: 180px; }
}
@media (max-width: 600px) {
  .lp-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-trust { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-track, .lp-next { animation: none; }
}

/* collage hero: a tighter headline so the two lines read as two lines */
.lp-hero-collage .lp-h1 { font-size: clamp(36px, 4.6vw, 64px); max-width: 12em; }
.lp-hero-collage .lp-hero-sub { font-size: 17px; }

/* founder's call: pure white page background on the marketing pages (the app keeps its warm neutral) */
body.lp { background: #fff; }
body.lp .lp-trust .stack .av { border-color: #fff; }
body.lp .lp-chip { border-color: var(--line); }

body.lp .lp-nav { background: rgba(255, 255, 255, .86); }

/* ------------------------------------------------------------------ motion that explains (landing.js)
 * .lp-motion is set by landing.js only when motion is allowed, so no-JS and reduced-motion visitors
 * get the finished page. Initial states below exist only until each block scrolls into view. */
@keyframes lp-grow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes lp-badge { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* 1. hero: evidence -> idea */
.lp-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 4; }
.lp-links path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lp-links .halo { stroke: #fff; stroke-width: 5; opacity: .9; }
.lp-links .ln { stroke: var(--ink); stroke-width: 1.5; opacity: .5; }
.lp-links .pulse { stroke: var(--red); stroke-width: 2.4; opacity: 0; }
.lp-links .ah { transform-box: fill-box; transform-origin: 50% 100%; }
.lp-links .arrow { stroke: var(--ink); stroke-width: 1.8; opacity: .8; }
.lp-links .arrow-halo { stroke: #fff; stroke-width: 5; opacity: .9; }
.lp-links circle { transform-box: fill-box; transform-origin: center; }
.lp-links .port { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.lp-links .core { fill: var(--red); }
.lp-links .ping { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: 0; }
.lp-card[data-evidence] { outline-color: rgba(23, 23, 22, .22); }
.lp-next { z-index: 6; }

/* 2. overview: the bars grow, the week fills day by day, breakouts arrive last */
.spark rect { transform-box: fill-box; transform-origin: 50% 100%; }
.lp-motion .stats:not(.is-in) .spark rect { transform: scaleY(0); }
.lp-motion .stats.is-in .spark rect { animation: lp-grow 380ms var(--ease-out) var(--d, 0ms) both; }
.lp-motion .week-grid:not(.is-in) .day-v, .lp-motion .week-grid:not(.is-in) .day-more { opacity: 0; }
.lp-motion .week-grid.is-in .day-v, .lp-motion .week-grid.is-in .day-more { animation: lp-pop 320ms var(--ease-out) var(--d, 0ms) both; }
.lp-motion .week-grid.is-in .day-v .xb.is-hot { animation: lp-badge 260ms var(--ease-out) 720ms both; }
.lp-motion .week-grid.is-in .day-v.is-hot::after { animation: lp-badge 260ms var(--ease-out) 720ms both; }

/* 3. how it works: the analysis checklist */
.lp-analysis .an-dot { width: 14px; height: 14px; display: grid; place-items: center; }
.lp-analysis .an-check { width: 12px; height: 12px; }
.lp-analysis .an-check path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-analysis .bar-fill { transform-origin: 0 50%; }
.lp-motion .lp-analysis:not(.is-in) .an-row { opacity: .32; }
.lp-motion .lp-analysis:not(.is-in) .an-dot { background: var(--dot-off); }
.lp-motion .lp-analysis:not(.is-in) .an-val { opacity: 0; }
.lp-motion .lp-analysis:not(.is-in) .an-check path { stroke-dasharray: 20; stroke-dashoffset: 20; }
.lp-motion .lp-analysis:not(.is-in) .bar-fill { transform: scaleX(0); }
.lp-motion .lp-analysis .an-row { transition: opacity 240ms var(--ease-out) var(--d, 0ms); }
.lp-motion .lp-analysis .an-dot { transition: background-color 160ms ease var(--d, 0ms); }
.lp-motion .lp-analysis .an-val { transition: opacity 240ms var(--ease-out) calc(var(--d, 0ms) + 120ms); }
.lp-motion .lp-analysis .bar-fill { transition: transform 1400ms cubic-bezier(.65, 0, .35, 1) 120ms; }

/* 4. ask: a citation and its source light up together */
#ask .ans-wrap { position: relative; }
.lp-motion #ask .ans-wrap:not(.is-in) .cite { opacity: 0; }
#ask .cite { transition: background-color 160ms ease, color 160ms ease; }
#ask .cite.is-lit { background: var(--ink); color: #fff; }
#ask .src { transition: border-color 160ms ease, box-shadow 160ms ease; }
#ask .src.is-lit { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
#ask .src.is-instant, #ask .cite:focus-visible { transition: none; }
.lp-ask-link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; opacity: 0; transition: opacity 120ms ease; }
.lp-ask-link.is-on { opacity: 1; }
.lp-ask-link path { fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-linecap: round; }
@media (max-width: 859px), (hover: none) { .lp-ask-link { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .lp-next .pulse-dot { animation: none; }
  #ask .cite, #ask .src, .lp-ask-link { transition: none; }
}

.lp-stage-feed .fc-top .fc-age + .fc-age { display: none; }
.lp-stage-feed .fc-ch { max-width: 11ch; }
.lp-chip small em { font-style: normal; font-family: var(--mono); font-weight: 600; color: var(--red); }

/* ------------------------------------------------------------------ the story (landing.js plays it)
 * One scene, five beats: your channel, your niche, we read every video, one idea with proof, you publish.
 * The CSS below is the finished frame (what no-JS and reduced-motion visitors see); landing.js only adds
 * WAAPI animations whose first keyframes hide things until their beat. transform, opacity and SVG stroke only. */
.lp-story { margin-top: 96px; }
.st-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.st-replay { flex-shrink: 0; gap: 6px; }
.st-replay svg { width: 13px; height: 13px; }

.st-scene {
  position: relative; height: 440px; margin-top: 20px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px; background: var(--sidebar);
}
.st-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.st-lines path { fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-linecap: round; }
.st-lines circle { fill: var(--sidebar); stroke: var(--ink); stroke-width: 1.25; transform-box: fill-box; transform-origin: center; }
.st-lines { opacity: .45; }
.st-lines g { opacity: .6; }
.st-live .st-scene { opacity: 0; } /* until landing.js has set the first frame (its clock animation holds opacity 1) */
.st-stream { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 3; pointer-events: none; }
.st-pg {
  position: absolute; left: 0; top: 0; width: 56px; height: 32px; margin: -16px 0 0 -28px; border-radius: 5px; overflow: hidden;
  background: #e9e7e1; box-shadow: 0 6px 14px -6px rgba(23, 23, 22, .4); opacity: 0;
}
.st-pg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* thumbnails: the outer box is positioned and animated, the inner one carries the resting tilt */
.st-th { position: absolute; display: block; width: 150px; aspect-ratio: 16 / 9; }
.st-th-in {
  position: absolute; inset: 0; display: block; border-radius: 10px; overflow: hidden; background: #e9e7e1;
  box-shadow: 0 1px 2px rgba(23, 23, 22, .08), 0 14px 30px -14px rgba(23, 23, 22, .35);
  outline: 1px solid rgba(23, 23, 22, .08); outline-offset: -1px;
}
.st-th-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.st-th .xb { position: absolute; left: 6px; bottom: 6px; }

/* you */
.st-you { position: absolute; left: 4%; top: 52px; width: 280px; z-index: 2; }
.st-stack { position: relative; height: 100px; }
.st-th-a { left: 112px; top: 2px; }
.st-th-a .st-th-in { transform: rotate(5deg); }
.st-th-b { left: 14px; top: 10px; }
.st-th-b .st-th-in { transform: rotate(-4deg); }
.st-th-new { left: 64px; top: -10px; z-index: 3; }
.st-th-new .st-th-in { transform: rotate(-1deg); box-shadow: 0 1px 2px rgba(23, 23, 22, .1), 0 18px 36px -14px rgba(23, 23, 22, .5); }
.st-newtile { background: var(--ink); padding: 9px 10px; }
.st-newtile-t {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em;
}
.st-newtile .xb { left: auto; right: 6px; bottom: 6px; font-size: 10px; padding: 3px 5px; }
.st-me {
  position: relative; z-index: 4; display: flex; align-items: center; gap: 10px; margin-top: -24px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(23, 23, 22, .04), 0 14px 30px -20px rgba(23, 23, 22, .35);
}
.st-me-text b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.st-me-text small { display: block; font-size: 12.5px; color: var(--faint); }

.st-result {
  position: absolute; left: 4%; top: 202px; width: 280px; z-index: 2; padding: 12px 14px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(23, 23, 22, .04), 0 14px 30px -20px rgba(23, 23, 22, .35);
}
.st-res-h { display: none; }
.st-new-res { display: none; }
.st-subs { display: flex; align-items: baseline; gap: 7px; }
.st-subs-n { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.st-subs-k { font-size: 13px; color: var(--muted); }
.st-spark { display: block; width: 100%; height: auto; margin: 6px 0 10px; overflow: visible; }
.st-spark path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.st-spark-base { stroke: var(--line-strong); stroke-width: 2; }
.st-spark-up { stroke: var(--green); stroke-width: 2.4; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.st-spark-dot { fill: var(--green); transform-box: fill-box; transform-origin: center; }
.st-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; color: var(--green); background: var(--green-bg); transform-origin: 0 50%;
}
.st-pill b { font-family: var(--mono); font-weight: 600; }

/* the mark */
.st-core {
  position: absolute; left: 48%; top: 80px; width: 96px; margin-left: -48px; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.st-mark { position: relative; display: block; width: 96px; height: 96px; }
.st-mark-in {
  position: absolute; inset: 0; border-radius: 22px; background: url('/logo-mark.png') center / contain no-repeat;
  box-shadow: 0 18px 40px -16px rgba(23, 23, 22, .55);
}
.st-ring { position: absolute; left: 0; top: 0; width: 96px; height: 96px; border-radius: 26px; border: 1.5px solid var(--red); opacity: 0; }
.st-core-k { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* the niche */
.st-niche { position: absolute; right: 4%; top: 62px; width: 330px; z-index: 2; display: flex; flex-direction: column; gap: 16px; }
.st-row { display: flex; align-items: center; gap: 14px; min-width: 0; }
.st-th.st-rth { position: relative; width: 168px; flex-shrink: 0; }
.st-who { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; }
.st-who b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-who > span:last-child { min-width: 0; }

/* the idea */
.st-next {
  position: absolute; left: calc(48% - 200px); top: 232px; width: 360px; z-index: 5;
  display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 14px;
  background: var(--ink); color: #fff; box-shadow: 0 30px 60px -20px rgba(23, 23, 22, .6);
}
.st-ev { display: flex; gap: 8px; margin-top: 2px; }
.st-ev-t { position: relative; width: 76px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #2a2927; }
.st-ev-t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.st-ev-t .xb { position: absolute; left: 4px; bottom: 4px; font-size: 9.5px; padding: 2px 4px; }

/* caption strip: real text, a real sequence, so numbered */
.st-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.st-step { min-width: 0; }
.st-step-btn, .st-step > .st-step-bar + .st-step-l { font-size: 13.5px; }
.st-step-btn {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 0 4px; border: none; background: none;
  text-align: left; cursor: pointer; color: var(--text-2); font-size: 13.5px; transition: color 160ms ease;
}
.st-step > .st-step-l { display: block; margin-top: 10px; color: var(--text-2); }
.st-step-bar { display: block; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.st-step-bar i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; }
.st-step-n { font-family: var(--mono); font-size: 11.5px; margin-right: 8px; color: var(--faint); }
.st-live .st-step-btn { color: var(--faint); }
.st-live .st-step.is-done .st-step-btn { color: var(--text-2); }
.st-live .st-step.is-active .st-step-btn { color: var(--ink); }
.st-live .st-step.is-active .st-step-n { color: var(--red); }
@media (hover: hover) and (pointer: fine) { .st-live .st-step-btn:hover { color: var(--ink); } }

@media (max-width: 859px) {
  .lp-story { margin-top: 64px; }
  .st-scene { height: auto; display: flex; flex-direction: column; gap: 18px; padding: 16px; }
  .st-you, .st-result, .st-core, .st-niche, .st-next { position: relative; left: auto; right: auto; top: auto; width: auto; margin-left: 0; }
  .st-you { order: 1; }
  .st-stack { width: 270px; max-width: 100%; }
  .st-th-new { display: none; }
  .st-niche { order: 2; gap: 12px; }
  .st-th.st-rth { width: 132px; }
  .st-core { order: 3; align-self: center; width: 96px; }
  .st-next { order: 4; }
  .st-ev-t { flex: 1 1 0; width: auto; max-width: 96px; }
  .st-result { order: 5; }
  .st-res-h { display: block; font-size: 12px; font-weight: 500; color: var(--faint); margin-bottom: 10px; }
  .st-res-body { display: flex; gap: 12px; align-items: flex-start; }
  .st-new-res { display: block; position: relative; width: 112px; flex-shrink: 0; }
  .st-new-res .st-newtile-t { font-size: 10px; -webkit-line-clamp: 4; }
  .st-res-stats { flex: 1; min-width: 0; }
  .st-subs { flex-wrap: wrap; gap: 0 6px; }
  .st-subs-n { font-size: 24px; }
  .st-spark { margin: 4px 0 8px; }
  .st-pill { font-size: 12px; }
  .st-steps { grid-template-columns: 1fr; gap: 8px; }
  .st-step-btn { flex-direction: row; align-items: center; gap: 12px; padding: 2px 0; }
  .st-step-bar { width: 28px; flex-shrink: 0; }
  .st-step > .st-step-l { margin-top: 0; }
  .st-step:not(:has(.st-step-btn)) { display: flex; align-items: center; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-replay { display: none !important; }
  .st-next .pulse-dot { animation: none; }
}


/* ------------------------------------------------------------------ SEO pages (web/seo/*.html) */
/* Article layout for the tool, guide and comparison pages. The product visuals inside them are the
 * same .lp-stage crops the landing uses; this block only adds reading type, tables and link lists. */

.sp-hero { padding: 64px 0 0; }
.sp-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--faint); }
.sp-crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.sp-crumbs a { color: var(--muted); text-decoration: none; }
.sp-crumbs a:hover { color: var(--ink); }
.sp-h1 {
  margin: 0; font-size: clamp(34px, 5.2vw, 62px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02;
  max-width: 15em; text-wrap: balance;
}
.sp-hero .lp-lead { margin-top: 22px; font-size: 19px; max-width: 58ch; }
.sp-hero .lp-hero-cta { margin-top: 28px; }

.sp-body { padding: 24px 0 0; }
/* reading width for the text; product figures inside the article use the full page width */
.sp-prose > :not(.sp-fig) { max-width: 70ch; }
.sp-prose > h2 { margin: 64px 0 16px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.sp-prose > h3 { margin: 32px 0 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
.sp-prose > p, .sp-prose > ul > li, .sp-prose > ol > li, .sp-note p { font-size: 16.5px; line-height: 1.65; color: var(--text); text-wrap: pretty; }
.sp-prose > p, .sp-note p { margin: 0 0 16px; }
.sp-prose > ul, .sp-prose > ol { margin: 0 0 18px; padding-left: 22px; }
.sp-prose > ul > li, .sp-prose > ol > li { margin-bottom: 8px; padding-left: 4px; }
.sp-prose > ul > li::marker, .sp-prose > ol > li::marker { color: var(--faint); }
.sp-prose > p b, .sp-prose > ul b, .sp-prose > ol b { color: var(--ink); font-weight: 600; }
.sp-note { margin: 24px 0; padding: 16px 18px; border-radius: 14px; background: var(--sidebar); border: 1px solid var(--line); }
.sp-note p:last-child { margin-bottom: 0; }

.sp-fig { margin: 48px 0 36px; }
.sp-fig figcaption { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--faint); max-width: 70ch; }
.sp-fig .lp-steps { margin-top: 4px; }

.sp-table-wrap { margin: 8px 0 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.sp-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.sp-table th, .sp-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.sp-table thead th { background: var(--sidebar); font-weight: 600; color: var(--ink); border-bottom-color: var(--line); }
.sp-table tbody th { font-weight: 500; color: var(--ink); width: 26%; }
.sp-table td { color: var(--text-2); }
.sp-table tr:last-child th, .sp-table tr:last-child td { border-bottom: none; }

.sp-faq { padding-top: 96px; }
.sp-faq .lp-faq-wrap { align-items: start; }

.sp-related { padding-top: 96px; }
.sp-related-h { margin: 0 0 20px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.sp-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sp-links a {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink);
  transition: border-color 140ms ease, background 140ms ease;
}
.sp-links a:hover { border-color: var(--line-strong); background: var(--row-hover); color: var(--ink); }
.sp-links b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.sp-links span { font-size: 13.5px; line-height: 1.45; color: var(--muted); }

.sp-cta { margin-top: 96px; }
.sp-cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: 20px; background: var(--sidebar); border: 1px solid var(--line);
}
.sp-cta-box .lp-h2 { font-size: clamp(24px, 3vw, 36px); max-width: 20em; }
.sp-cta-box .lp-lead { margin-top: 10px; font-size: 16px; }
.sp-end { padding-bottom: 120px; }

/* footer: the Resources block that links every guide from every marketing page */
.lp-res { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; margin-bottom: 40px; }
.lp-res-h { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.lp-res ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.lp-res a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.lp-res a:hover, .lp-res a[aria-current="page"] { color: var(--ink); }

@media (max-width: 859px) {
  .sp-hero { padding-top: 36px; }
  .sp-hero .lp-lead { font-size: 17px; }
  .sp-prose > h2 { margin-top: 48px; }
  .sp-prose > p, .sp-prose > ul > li, .sp-prose > ol > li, .sp-note p { font-size: 16px; }
  .sp-fig { margin-top: 36px; }
  .sp-links { grid-template-columns: 1fr; }
  .sp-cta-box { padding: 24px 20px; }
  .sp-cta-box .btn { width: 100%; }
  .sp-faq, .sp-related, .sp-cta { padding-top: 0; margin-top: 72px; }
  .sp-end { padding-bottom: 88px; }
  .lp-res { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  /* the comparison tables stay three columns on a phone, so the YouTubePilot column is never scrolled away */
  .sp-table { min-width: 0; font-size: 13.5px; }
  .sp-table th, .sp-table td { padding: 10px 9px; overflow-wrap: anywhere; }
  .sp-table tbody th { width: 30%; }
}
@media (max-width: 420px) {
  .lp-res { grid-template-columns: 1fr; }
}

/* hero headline accents: a marker sweep behind "your niche", a hand-drawn underline under
 * "next." and one sparkle. They play once on load; with reduced motion they are simply there. */
.lp-h1 em { font-style: normal; }
.lp-hl {
  color: var(--red); white-space: nowrap;
  padding: 0 .07em; margin: 0 -.07em;
  background: linear-gradient(rgba(217, 52, 43, .13), rgba(217, 52, 43, .13)) no-repeat left 0 bottom .25em / 100% .32em;
  border-radius: .06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lp-ul { position: relative; white-space: nowrap; }
.lp-ul-line {
  position: absolute; left: .01em; bottom: -.13em; width: calc(100% - .04em); height: .24em;
  overflow: visible; pointer-events: none;
}
.lp-ul-line path {
  fill: none; stroke: var(--red); stroke-width: .07em; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.lp-money {
  position: absolute; left: calc(100% + .04em); top: -.4em; font-size: .6em;
  line-height: 1; letter-spacing: 0; white-space: nowrap; pointer-events: none;
}
.lp-money-a, .lp-money-b { display: inline-block; }
.lp-money-a { rotate: -8deg; }
.lp-money-b { font-size: .7em; vertical-align: top; margin-left: -.12em; translate: 0 -.3em; rotate: 14deg; }
.lp-wall .lp-hl { color: #ff6b63; background-image: linear-gradient(rgba(255, 107, 99, .2), rgba(255, 107, 99, .2)); }
.lp-wall .lp-ul-line path { stroke: #ff6b63; }

@media (prefers-reduced-motion: no-preference) {
  .lp-hl { animation: lp-hl-sweep 720ms cubic-bezier(.22, .8, .3, 1) 260ms both; }
  .lp-ul-line { animation: lp-ul-draw 620ms cubic-bezier(.65, 0, .35, 1) 900ms both; }
  .lp-money-a { animation: lp-spark-pop 560ms cubic-bezier(.34, 1.56, .64, 1) 1400ms both; }
  .lp-money-b { animation: lp-spark-pop 560ms cubic-bezier(.34, 1.56, .64, 1) 1580ms both,
                           lp-money-bob 1.4s ease-in-out 2.4s 2; }
}
@keyframes lp-hl-sweep { from { background-size: 0 .32em; } to { background-size: 100% .32em; } }
@keyframes lp-ul-draw { from { clip-path: inset(-50% 100% -50% 0); } to { clip-path: inset(-50% 0 -50% 0); } }
@keyframes lp-spark-pop { from { opacity: 0; transform: scale(.3) rotate(-35deg); } to { opacity: 1; transform: none; } }
@keyframes lp-money-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-.12em) rotate(8deg); } }

/* default hero (body.hero-flow): the four evidence thumbnails stack on the left and flow into one idea.
 * Only connected cards are shown, and the whole thing fits above the fold on a laptop. */
@media (min-width: 1001px) {
  body.hero-flow .lp-collage { height: 448px; }
  body.hero-flow .lp-card-3, body.hero-flow .lp-card-4, body.hero-flow .lp-chip { display: none; }
  body.hero-flow .lp-card[data-evidence] { width: 35%; right: auto; bottom: auto; }
  body.hero-flow .lp-card-1 { left: 0; top: 0; transform: rotate(-3deg); z-index: 4; }
  body.hero-flow .lp-card-2 { left: 4%; top: 110px; transform: rotate(2deg); z-index: 3; }
  body.hero-flow .lp-card-5 { left: 1%; top: 220px; transform: rotate(-2deg); z-index: 2; }
  body.hero-flow .lp-card-6 { left: 3%; top: 330px; transform: rotate(3deg); z-index: 1; }
  body.hero-flow .lp-next { left: auto; right: 0; width: 44%; translate: 0 -50%; }
  body.hero-flow .lp-next-t { font-size: 17px; }
}

/* flow extras: hidden in the default collage; the flow layout shows the pile the breakouts were
 * picked from, who made each one, and the evidence behind the idea */
.lp-pool, .lp-flow-cap, .lp-by, .lp-next-why { display: none; }
@media (min-width: 1001px) {
  body.hero-flow .lp-pool {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: absolute; z-index: 0;
    left: -6%; top: -14px; width: 66%; rotate: -5deg; pointer-events: none;
    -webkit-mask-image: radial-gradient(75% 65% at 40% 50%, #000 35%, transparent 100%);
    mask-image: radial-gradient(75% 65% at 40% 50%, #000 35%, transparent 100%);
  }
  body.hero-flow .lp-pool img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; filter: grayscale(1); opacity: .18; display: block; }
  body.hero-flow .lp-flow-cap {
    display: block; position: absolute; left: 0; top: -34px; z-index: 5;
    font-family: var(--mono); font-size: 12px; color: var(--faint); white-space: nowrap;
  }
  body.hero-flow .lp-flow-cap b { color: var(--ink); font-weight: 500; }
  body.hero-flow .lp-card[data-evidence] { overflow: visible; }
  body.hero-flow .lp-card[data-evidence] > img { border-radius: inherit; }
  body.hero-flow .lp-by {
    display: block; position: absolute; left: -12px; top: 50%; translate: 0 -50%; z-index: 2; width: 26px; height: 26px;
    border-radius: 50%; border: 2px solid #fff; box-shadow: 0 3px 8px -2px rgba(23, 23, 22, .4); overflow: hidden; background: #fff;
  }
  body.hero-flow .lp-by img { position: static; width: 100%; height: 100%; display: block; }
  body.hero-flow .lp-by span { display: none; }
  body.hero-flow .lp-next { width: 46%; gap: 9px; }
  body.hero-flow .lp-next-why { display: flex; flex-direction: column; gap: 10px; padding-top: 11px; margin-top: 2px; border-top: 1px solid rgba(255, 255, 255, .12); }
  body.hero-flow .lp-next-val { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: #7ad9a1; }
  body.hero-flow .lp-next-val i { font-style: normal; }
  body.hero-flow .lp-next-avs { display: inline-flex; }
  body.hero-flow .lp-next-avs img { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink); }
  body.hero-flow .lp-next-avs img + img { margin-left: -6px; }
  body.hero-flow .lp-next-q {
    margin: 0; padding-left: 10px; border-left: 2px solid var(--red);
    font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .82); text-wrap: pretty;
  }
  body.hero-flow .lp-next-q cite { display: block; margin-top: 4px; font-style: normal; font-family: var(--mono); font-size: 10.5px; color: rgba(255, 255, 255, .5); }
  body.hero-flow .lp-next-q cite b { color: #ff6b63; font-weight: 500; }
}
@media (min-width: 1001px) and (prefers-reduced-motion: no-preference) {
  /* the pile appears, the four breakouts lift out of it in colour, then the evidence lands on the idea */
  body.hero-flow .lp-pool img { animation: lp-pool-in 600ms var(--ease-out) both; }
  body.hero-flow .lp-pool img:nth-child(3n+2) { animation-delay: 60ms; }
  body.hero-flow .lp-pool img:nth-child(3n) { animation-delay: 120ms; }
  body.hero-flow .lp-card[data-evidence] { animation: lp-lift 620ms var(--ease-out) both; }
  body.hero-flow .lp-card-1 { animation-delay: 260ms; }
  body.hero-flow .lp-card-2 { animation-delay: 340ms; }
  body.hero-flow .lp-card-5 { animation-delay: 420ms; }
  body.hero-flow .lp-card-6 { animation-delay: 500ms; }
  body.hero-flow .lp-next-why { animation: lp-badge 420ms var(--ease-out) 1900ms both; }
}
@keyframes lp-pool-in { from { opacity: 0; } to { opacity: .18; } }
@keyframes lp-lift { from { filter: grayscale(1) brightness(1.08); opacity: .45; scale: .94; } to { filter: none; opacity: 1; scale: 1; } }

/* step 3: transcripts (tiny pages) stream from each competitor into the mark, 50 each */
.st-tx {
  position: absolute; left: 0; top: 0; width: 30px; height: 22px; margin: -11px 0 0 -15px; border-radius: 4px; opacity: 0;
  border: 1px solid var(--line); box-shadow: 0 4px 10px -4px rgba(23, 23, 22, .35);
  background:
    linear-gradient(var(--red), var(--red)) 5px 5px / 8px 2px no-repeat,
    linear-gradient(#cfccc5, #cfccc5) 5px 10px / 19px 2px no-repeat,
    linear-gradient(#cfccc5, #cfccc5) 5px 15px / 14px 2px no-repeat,
    #fff;
}
.st-got { display: block; margin-top: 2px; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-got.is-full { color: var(--green); }
.st-got.is-full::after { content: ' ✓'; }

/* ------------------------------------------------------------------ v5: Studio (editing) hero + sections */
.ed-hero { padding-bottom: 8px; }
.lp-hero-2 { padding-top: var(--lp-sec); }
.lp-hero-2 .lp-h1 { font-size: clamp(30px, 3.6vw, 46px); }
.lp-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red-ink); }
.ed-works { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.ed-works span { margin-right: 2px; }
.ed-works b { font-weight: 550; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 99px; font-size: 12.5px; }

.ed-demo { position: relative; padding: 18px 0 40px; }
.ed-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 15%, #474c58 0%, #22252c 55%, #121317 100%);
  box-shadow: 0 30px 60px -20px rgba(23,23,22,.35), 0 0 0 1px rgba(23,23,22,.06);
  container-type: inline-size;
}
.ed-face { position: absolute; left: 50%; top: 17%; width: 23%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(160deg, #7a6a60, #463a34); }
.ed-body { position: absolute; left: 50%; bottom: -16%; width: 50%; height: 50%; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: linear-gradient(160deg, #2f4560, #1c2738); }
.ed-rec { position: absolute; top: 12px; left: 14px; display: flex; align-items: center; gap: 7px; font: 500 11.5px/1 var(--mono); color: rgba(255,255,255,.7); }
.ed-rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: ed-blink 1.4s ease-in-out infinite; }
@keyframes ed-blink { 50% { opacity: .25; } }
.ed-cap { position: absolute; left: 4%; right: 4%; bottom: 10%; text-align: center; font: 800 clamp(16px, 5.4cqw, 40px)/1.1 'Poppins', var(--font); color: #fff; -webkit-text-stroke: 1.5px #000; paint-order: stroke fill; text-shadow: 0 3px 0 rgba(0,0,0,.5); }
.ed-cap span { display: inline-block; margin: 0 .12em; transition: transform .14s var(--ease-out), color .14s; }
.ed-cap span.is-on { color: #FFE11A; transform: scale(1.08); }

.ed-tl { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-card); }
.ed-tl-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 44px; align-items: center; gap: 10px; }
.ed-tl-k { font-size: 12px; color: var(--muted); font-weight: 500; }
.ed-tl-t { font: 600 12.5px/1 var(--mono); text-align: right; color: var(--ink); }
.ed-tl-t.is-green { color: var(--green); }
.ed-tl-bar { display: flex; align-items: center; gap: 1px; height: 26px; overflow: hidden; }
.ed-tl-bar i { flex: 0 0 auto; width: 3px; border-radius: 2px; background: var(--ink); }
.ed-tl-bar i.x { background: #f2a49c; }
.ed-after { width: 75.3%; }
.ed-before.is-cutting i.x { animation: ed-cut 1.1s var(--ease-in-out) forwards; }
@keyframes ed-cut { to { width: 0; margin-right: -1px; opacity: 0; } }
.ed-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ed-stats span { font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 5px 11px; }
.ed-stats b { color: var(--ink); font-weight: 650; }
.ed-stats b.is-red { color: var(--red); }

.ed-float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-pop); }
.ed-titles { right: -22px; top: -6px; width: 252px; padding: 12px 14px; transform: rotate(1.5deg); }
.ed-float-k { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; }
.ed-float-k em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--green); background: var(--green-bg); padding: 1px 7px; border-radius: 99px; margin-left: 4px; font-weight: 550; }
.ed-t { font-size: 13px; font-weight: 600; line-height: 1.3; padding: 6px 0; border-top: 1px solid var(--line-2); }
.ed-t.is-dim { color: var(--muted); font-weight: 500; }
.ed-short { left: -34px; top: 96px; width: 96px; padding: 6px; transform: rotate(-3deg); }
.ed-short-v { aspect-ratio: 9 / 16; border-radius: 9px; background: radial-gradient(120% 70% at 50% 25%, #5a5f6b, #16181c); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1px; font: 800 11px/1.1 'Poppins', var(--font); color: #fff; -webkit-text-stroke: .6px #000; paint-order: stroke fill; }
.ed-short-v .is-on { color: #FFE11A; }
.ed-short-k { font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 5px; font-weight: 500; }

.ed-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.ed-card { display: flex; flex-direction: column; gap: 10px; }
.ed-card-vis { height: 132px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); margin-bottom: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ed-vis-cut { gap: 4px; }
.ed-vis-cut i { width: 18px; height: 46px; border-radius: 5px; background: var(--ink); }
.ed-vis-cut i.x { background: repeating-linear-gradient(-45deg, #f6c9c4, #f6c9c4 3px, #fbe4e1 3px, #fbe4e1 6px); height: 46px; }
.ed-vis-cut i.s { width: 9px; }
.ed-vis-cap { background: #1b1d22; font: 800 21px/1 'Poppins', var(--font); color: #fff; -webkit-text-stroke: 1px #000; paint-order: stroke fill; gap: 7px; }
.ed-vis-cap .is-on { color: #FFE11A; }
.ed-vis-pkg { display: block; padding: 28px 22px 0; font-size: 13px; line-height: 1.75; color: var(--text-2); }
.ed-vis-pkg b { font-family: var(--mono); font-weight: 500; color: var(--red-ink); margin-right: 6px; }
.ed-vis-shorts { gap: 10px; }
.ed-vis-shorts i { width: 46px; aspect-ratio: 9 / 16; border-radius: 7px; background: linear-gradient(180deg, #4a4f5b, #17191d); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.ed-vis-shorts i:nth-child(2) { transform: translateY(-8px); }

.ed-agents-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.ed-agents .lp-lead { margin: 14px 0 20px; }
.ed-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: var(--text); }
.ed-list li { padding-left: 22px; position: relative; }
.ed-list li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 9px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.ed-list code, .ed-term pre { font-family: var(--mono); }
.ed-list code { font-size: 13px; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; }
.ed-term { background: #121212; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); }
.ed-term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #1d1d1d; }
.ed-term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.ed-term-bar span { margin-left: 8px; font: 500 11.5px var(--mono); color: #8a8a8a; }
.ed-term pre { margin: 0; padding: 16px 18px 18px; color: #e9e9e6; font-size: 12.5px; line-height: 1.6; overflow-x: auto; white-space: pre; }
.ed-term .c { color: #7d7d7d; } .ed-term .p { color: #FFE11A; } .ed-term .g { color: #4BE36B; }

@media (max-width: 1100px) {
  .ed-titles { right: 0; }
  .ed-short { left: 0; }
}
@media (max-width: 900px) {
  .ed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-agents-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ed-grid { grid-template-columns: 1fr; }
  .ed-titles { position: static; transform: none; width: auto; margin-top: 12px; }
  .ed-short { display: none; }
  .ed-demo { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ed-rec i, .ed-before.is-cutting i.x { animation: none; }
}

.ed-example { position: absolute; top: -6px; left: 0; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }

/* ------------------------------------------------------------------ v6: "paste your website" hero */
.vx-hero { padding-bottom: 24px; }
@media (min-width: 1001px) { .vx-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 56px; } }
.vx-hero .lp-h1 { font-size: clamp(38px, 4.3vw, 60px); max-width: none; }
.vx-form { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 540px; }
.vx-fields { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 8px; width: 100%; }
.vx-fields .ob-input { width: 100%; height: 50px; }
.vx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vx-err { margin: 0; font-size: 13.5px; color: var(--red-ink); }
.vx-done {
  margin-top: 32px; max-width: 520px; padding: 16px 18px; border: 1px solid #cfe6d7; border-radius: var(--r-card);
  background: var(--green-bg); color: var(--text); font-size: 15.5px; line-height: 1.5; outline: none;
}
.vx-done b { color: var(--green); font-weight: 650; }
.vx-demo { margin: 0; min-width: 0; }
.vx-player {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #f1f1ef;
  box-shadow: 0 30px 60px -24px rgba(23, 23, 22, .32), 0 0 0 1px rgba(23, 23, 22, .07);
}
.vx-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #f1f1ef; }
.vx-play {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 7px; border-radius: 99px; background: rgba(23, 23, 22, .9); color: #fff;
  font-size: 14px; font-weight: 550; text-decoration: none; transition: transform 160ms var(--ease-out), background 160ms ease;
}
.vx-play:hover { color: #fff; background: var(--ink); }
.vx-play:active { transform: scale(.97); }
.vx-play-i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: #fff; flex: none; }
.vx-play-i::after {
  content: ""; position: absolute; left: 12px; top: 9px; border-style: solid; border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent var(--ink);
}
.vx-play-t { font: 500 12.5px/1 var(--mono); color: rgba(255, 255, 255, .6); }
.vx-player.is-playing .vx-play { display: none; }
.vx-cap { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.vx-cap a { color: var(--ink); }
.vx-cap b { color: var(--ink); font-weight: 650; }
.vx-studio-cta { align-items: center; gap: 16px; margin-top: 40px; }
.vx-studio-cta .lp-hero-note { margin: 0; }
@media (hover: hover) and (pointer: fine) { .vx-play:hover { transform: translateY(-1px); } }
@media (max-width: 600px) {
  .vx-fields { grid-template-columns: 1fr; }
  .vx-form .vx-submit { width: 100%; }
  .vx-play { left: 10px; bottom: 10px; height: 40px; font-size: 13px; }
}

/* v6 homepage: how it works (script + review visuals), founder pricing, FAQ, the Studio band */
.lp-step-vis:has(.vx-script)::after, .lp-step-vis:has(.vx-review)::after { display: none; }
.vx-script { display: flex; flex-direction: column; gap: 9px; height: 100%; }
.vx-script-k { font: 500 11.5px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; }
.vx-script p { margin: 0; display: flex; gap: 10px; font-size: 13.5px; line-height: 1.4; color: var(--text); }
.vx-script p b { flex: none; width: 32px; font: 500 12.5px/1.5 var(--mono); color: var(--red-ink); }
.vx-wave { margin-top: auto; display: flex; align-items: center; gap: 3px; height: 30px; }
.vx-wave i { flex: 1; height: calc(var(--h) * 100%); min-height: 4px; border-radius: 2px; background: var(--ink); opacity: .8; }

.vx-review { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 12px 14px; align-items: start; }
.vx-review-k { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 550; color: var(--green); }
.vx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-bg); }
.vx-review-th { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #e9e8e4; box-shadow: 0 0 0 1px rgba(23, 23, 22, .07); }
.vx-review-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vx-review-d { position: absolute; right: 5px; bottom: 5px; padding: 2px 5px; border-radius: 4px; background: rgba(23, 23, 22, .85); color: #fff; font: 500 11px/1.2 var(--mono); }
.vx-review-t { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.vx-review-m { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.vx-review-b { grid-column: 1 / -1; display: flex; gap: 8px; }
.vx-review-b .btn { flex: 1; justify-content: center; }

.vx-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vx-plans .lp-plan-for { min-height: 0; }
.vx-plans-more { margin-top: 20px; font-size: 14px; color: var(--muted); }
.vx-plans-more a { color: var(--ink); }

.vx-faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 32px 64px; align-items: start; }
.vx-faq { border-top: 1px solid var(--line-strong); }
.vx-faq details { border-bottom: 1px solid var(--line); }
.vx-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 18px; font-weight: 550; letter-spacing: -0.01em; color: var(--ink);
}
.vx-faq summary::-webkit-details-marker { display: none; }
.vx-faq summary::after {
  content: ''; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform 180ms var(--ease-out);
}
.vx-faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.vx-faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.vx-faq p { margin: -4px 0 22px; max-width: 62ch; font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

.vx-studio-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding: 48px; border-radius: 24px; background: var(--sidebar); border: 1px solid var(--line);
}
.vx-studio .lp-lead { margin-top: 16px; }
.vx-studio .vx-studio-cta { margin-top: 28px; }
.vx-studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 0; }
.vx-studio .ed-card { gap: 4px; }
.vx-studio .ed-card .lp-h3 { font-size: 15px; }
.vx-studio .ed-card-vis { height: 96px; background: var(--surface); }
.vx-studio .ed-vis-cap { background: #1b1d22; font-size: 16px; }
.vx-studio .ed-vis-cut i { width: 13px; height: 34px; }
.vx-studio .ed-vis-cut i.x { height: 34px; }
.vx-studio .ed-vis-cut i.s { width: 7px; }
.vx-studio .ed-vis-pkg { padding: 17px 16px 0; font-size: 12.5px; line-height: 1.6; }
.vx-studio .ed-vis-shorts i { width: 34px; }

@media (max-width: 900px) {
  .vx-faq-in { grid-template-columns: 1fr; }
  .vx-studio-in { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
}
@media (max-width: 760px) {
  .vx-plans { grid-template-columns: 1fr; }
  .vx-plans .lp-plan.is-pop { order: 0; }
}
@media (max-width: 560px) {
  .vx-studio-in { padding: 22px 18px; border-radius: 18px; }
  .vx-studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vx-studio .ed-card-vis { height: 84px; }
  .vx-studio .ed-vis-cap { font-size: 13px; gap: 5px; }
  .vx-studio .ed-vis-pkg { padding: 12px 10px 0; font-size: 11px; }
  .vx-faq summary { font-size: 16.5px; padding: 17px 0; }
}

/* v6 examples: one explainer and two Shorts, all the same height on desktop */
.vx-examples { display: grid; grid-template-columns: minmax(0, 3.16fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.vx-ex { margin: 0; min-width: 0; }
.vx-ex video {
  display: block; width: 100%; border-radius: 14px; background: #f1f1ef; object-fit: cover;
  box-shadow: 0 20px 44px -26px rgba(23, 23, 22, .35), 0 0 0 1px rgba(23, 23, 22, .07);
}
.vx-ex-wide video { aspect-ratio: 16 / 9; }
.vx-ex-tall video { aspect-ratio: 9 / 16; }
.vx-ex figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.vx-ex figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .vx-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .vx-ex-wide { grid-column: 1 / -1; }
}
.vx-local { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.vx-local a { color: var(--ink); }

/* v7 homepage: Channels (ambient videos on autopilot). Reuses the hero, steps, plans and FAQ blocks above. */

/* Small print on marketing pages: --faint (#8f8e89) is under 4.5:1 on white; --muted passes. */
.lp-hero-note, .lp-bill, .lp-fine, .lp-per, .lp-foot-note { color: var(--muted); }

.ch-hero .lp-h1 { font-size: clamp(38px, 4.4vw, 62px); }
.ch-hero .lp-hero-cta { margin-top: 30px; }

/* hero player: muted loop, one button toggles sound */
.ch-player { background: #1c1712; }
.ch-player .vx-video { background: #1c1712; }
.ch-sound { border: 0; cursor: pointer; font-family: inherit; padding: 0 16px 0 8px; }
.ch-sound-i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #fff; flex: none; }
/* speaker: a small square plus a triangle, drawn in the white disc */
.ch-sound-i::before {
  content: ""; position: absolute; left: 8px; top: 11px; width: 4px; height: 6px; background: var(--ink); border-radius: 1px;
}
.ch-sound-i::after {
  content: ""; position: absolute; left: 10px; top: 8px; border-style: solid; border-width: 6px 7px 6px 0;
  border-color: transparent var(--ink) transparent transparent;
}
.ch-sound[aria-pressed="true"] .ch-sound-i { background: var(--red); }
.ch-sound[aria-pressed="true"] .ch-sound-i::before { background: #fff; }
.ch-sound[aria-pressed="true"] .ch-sound-i::after { border-right-color: #fff; }

/* the finished package */
.ch-pkg {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-2);
}
.ch-pkg-th { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #1c1712;
  box-shadow: 0 24px 48px -26px rgba(23, 23, 22, .4), 0 0 0 1px rgba(23, 23, 22, .07); }
.ch-pkg-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ch-dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 7px; border-radius: 5px; background: rgba(15, 15, 14, .88);
  color: #fff; font: 500 13px/1.2 var(--mono); }
.ch-pkg-body { min-width: 0; }
.ch-pkg-k { margin: 0 0 6px; font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ch-pkg-title { margin: 0 0 22px; font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.ch-pkg-desc { margin: 0 0 22px; font-size: 15px; line-height: 1.55; color: var(--text-2); max-width: 52ch; }
.ch-pkg-meta { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.ch-pkg-meta div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ch-pkg-meta div:nth-child(odd) { margin-right: 14px; }
.ch-pkg-meta div:nth-child(even) { margin-left: 14px; }
.ch-pkg-meta dt { font-size: 14px; color: var(--muted); }
.ch-pkg-meta dd { margin: 0; font-size: 14px; font-weight: 550; color: var(--ink); text-align: right; }

/* niche gallery */
.ch-niches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ch-niche { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ch-niche-vis { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #1c1712;
  box-shadow: 0 20px 44px -28px rgba(23, 23, 22, .45), 0 0 0 1px rgba(23, 23, 22, .07); }
.ch-niche-vis img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ch-niche-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ch-tag { margin-top: 4px; font-size: 12.5px; font-weight: 550; color: var(--text-2); background: var(--hover); padding: 4px 10px; border-radius: 99px; }
.ch-tag.is-live { color: var(--green); background: var(--green-bg); }

/* how it works visuals */
.lp-step-vis.ch-vis::after, .lp-step-vis:has(.vx-review)::after { display: none; }
.ch-pick { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.ch-pick-k { flex-basis: 100%; font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 4px 0 2px; }
.ch-pick-k + .ch-chip { margin-left: 0; }
.ch-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 99px;
  font-size: 13.5px; color: var(--text); background: var(--surface); }
.ch-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ch-week { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ch-week li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.ch-week b { font: 500 12.5px/1 var(--mono); color: var(--muted); }
.ch-week span { font-size: 13.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-week em { font-style: normal; font-size: 12px; font-weight: 550; color: var(--muted); background: var(--hover); padding: 3px 8px; border-radius: 99px; }
.ch-week em.is-done { color: var(--green); background: var(--green-bg); }
.ch-week em.is-run { color: #8a4f0c; background: var(--amber-bg); }

.ch-plans .lp-plan-for { min-height: 0; }

@media (max-width: 1000px) {
  .ch-pkg { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .ch-niches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ch-plans { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ch-niches { grid-template-columns: 1fr; }
  .ch-pkg { padding: 14px; border-radius: 16px; }
  .ch-pkg-title { font-size: 18px; }
  .ch-pkg-meta { grid-template-columns: 1fr; }
  .ch-pkg-meta div:nth-child(odd), .ch-pkg-meta div:nth-child(even) { margin: 0; }
  .ch-hero .lp-hero-cta .btn { flex: 1 1 100%; justify-content: center; }
}
@media (min-width: 1001px) { .lp-res:has(> nav:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ night stage
 * The product is a warm room at night, so the hero and the closing band are lit like one: a dark stage, warm
 * off-white type, and the scene's own firelight spilling out behind the player (the poster, blurred). */
.ch-stage {
  --night: #15110d; --night-2: #1f1913; --cream: #f6efe6; --cream-2: rgba(246, 239, 230, .74); --cream-3: rgba(246, 239, 230, .62);
  --ember: #ff6b63;
  position: relative; isolation: isolate; overflow: hidden;
  padding: 72px 64px; border-radius: 28px; background: var(--night); color: var(--cream);
}
.ch-stage ::selection { background: var(--cream); color: var(--night); }
.ch-stage .lp-h1, .ch-stage .lp-h2 { color: var(--cream); }
.ch-stage .lp-hl { color: var(--ember); background-image: linear-gradient(rgba(255, 107, 99, .2), rgba(255, 107, 99, .2)); }
.ch-stage .lp-hero-sub, .ch-stage .lp-lead { color: var(--cream-2); }
.ch-stage .lp-hero-note { color: var(--cream-3); }
.ch-stage .btn-dark { background: var(--cream); border-color: var(--cream); color: var(--night); }
.ch-stage .btn-dark:hover { background: #fff; border-color: #fff; color: var(--night); }
.ch-stage .btn-light { background: transparent; border-color: rgba(246, 239, 230, .3); color: var(--cream); }
.ch-stage .btn-light:hover { background: rgba(246, 239, 230, .08); border-color: rgba(246, 239, 230, .5); color: var(--cream); }
.ch-stage .btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.ch-hero { padding-top: 28px; }

/* the player and its light */
.ch-demo { position: relative; z-index: 0; margin: 0; }
.ch-ambi {
  position: absolute; z-index: -1; left: 2%; top: 4%; width: 96%; height: 74%; object-fit: cover;
  filter: blur(44px) saturate(1.7) brightness(1.15); opacity: .8; transform: scale(1.18); pointer-events: none;
}
.ch-stage .vx-player { box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(246, 239, 230, .08); }
.ch-stage .vx-cap { color: var(--cream-3); }
.ch-stage .vx-cap b { color: var(--cream); }
@media (prefers-reduced-motion: no-preference) {
  /* firelight: the spill breathes slowly, never in a regular beat */
  .ch-ambi { animation: ch-fire 7.3s ease-in-out infinite alternate; }
  @keyframes ch-fire { 0% { opacity: .72; } 37% { opacity: .86; } 58% { opacity: .76; } 100% { opacity: .84; } }
}

/* closing band: the deep sleep scene behind, darkened toward the words */
.ch-stage-end { min-height: 440px; display: flex; align-items: center; }
.ch-end-bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.ch-stage-end::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, rgba(21, 17, 13, .94) 0%, rgba(21, 17, 13, .82) 42%, rgba(21, 17, 13, .2) 100%);
}
.ch-end-copy { max-width: 620px; }

/* sixth niche: a scene you describe */
a.ch-niche { color: inherit; text-decoration: none; }
.ch-own-vis {
  display: flex; align-items: center; padding: 26px 28px; background: #1f1913;
  transition: box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.ch-own-q { margin: 0; font-size: 17px; line-height: 1.45; letter-spacing: -0.01em; color: #f6efe6; text-wrap: pretty; }
.ch-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -0.15em; background: #ff6b63; }
.ch-niche-own:hover .ch-own-vis { transform: translateY(-2px); box-shadow: 0 26px 48px -26px rgba(23, 23, 22, .5), 0 0 0 1px rgba(23, 23, 22, .07); }
.ch-niche-own:hover .lp-h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ch-niche-own:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .ch-caret { animation: ch-blink 1.1s steps(1) infinite; }
  @keyframes ch-blink { 50% { opacity: 0; } }
}

@media (max-width: 1000px) {
  .ch-stage { padding: 56px 40px; }
}
@media (max-width: 600px) {
  .ch-hero { padding-top: 12px; }
  .ch-stage { padding: 36px 22px 28px; border-radius: 22px; }
  .ch-stage-end { min-height: 0; padding-top: 180px; align-items: flex-end; }
  .ch-stage-end::before { background: linear-gradient(180deg, rgba(21, 17, 13, 0) 0%, rgba(21, 17, 13, .2) 30%, rgba(21, 17, 13, .92) 56%, rgba(21, 17, 13, .97) 100%); }
  .ch-end-bg { object-position: 58% 62%; height: 58%; }
  .ch-own-q { font-size: 16px; }
}
