/* FeedCut — the only stylesheet. Light and dark themes, no external requests. */

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #efeee8;
  --ink: #151514;
  --ink-2: #46453f;
  --muted: #74726b;
  --line: #e2e0d8;
  --accent: #c4f03a;
  --accent-ink: #151514;
  --accent-soft: #eaf8c4;
  --good: #1b7a43;
  --bad: #b3261e;
  --block: #d93025;
  --logo-line: #f6f5f1;
  --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 18px 40px -18px rgb(0 0 0 / .22);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111110;
    --surface: #1a1a18;
    --surface-2: #222220;
    --ink: #f1f0ea;
    --ink-2: #c8c6be;
    --muted: #93918a;
    --line: #302f2b;
    --accent-soft: #2a3311;
    --good: #5bd38a;
    --bad: #ff8a80;
    --block: #ff6b5e;
    --logo-line: #111110;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 18px 40px -18px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
  /* Light text on a lime band reads badly; flip to a solid highlight. */
  mark { display: inline-block; margin-top: .1em; padding: .02em .1em .06em !important; line-height: 1; border-radius: .12em; background: var(--accent) !important; color: var(--accent-ink) !important; }
}

/* --- base --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
/* Demo titles look like headings but aren’t: the fake videos must not enter the page outline. */
.dt, .shelf-h, .watch-title, .cm-h, .next-h { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }

/* --- header --- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; color: var(--ink); }
.nav { display: flex; gap: 2px; margin-left: auto; margin-right: 8px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: .94rem; }
.nav a:hover, .nav a[aria-current] { background: var(--surface-2); color: var(--ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] nav { position: absolute; right: 0; top: 48px; display: flex; flex-direction: column; min-width: 230px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.menu nav a { padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 550; }
.menu nav a:hover { background: var(--surface-2); }

/* --- buttons and links --- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border: 1.5px solid transparent; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn svg { width: 22px; height: 22px; flex: none; }
a.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -10px rgb(0 0 0 / .45); }
.btn[aria-disabled] { cursor: default; background: transparent; color: var(--ink); border: 1.5px dashed var(--ink); }
.btn-small { padding: 8px 16px; font-size: .9rem; gap: 8px; white-space: nowrap; }
.btn-small svg { width: 18px; height: 18px; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.arrow-link::after { content: "→"; transition: transform .15s; }
.arrow-link:hover::after { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 26px 0 14px; }
.fine { margin: 0; font-size: .88rem; color: var(--muted); }
.soon { display: inline-block; margin-right: 2px; padding: 1px 8px; border: 1px dashed var(--muted); border-radius: 999px; color: var(--ink); font-weight: 650; }
.fine a { color: var(--ink-2); }

/* --- hero --- */
.hero { padding: 64px 0 36px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.eyebrow { margin-bottom: 18px; font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 850; letter-spacing: -.045em; line-height: .98; }
mark { background: linear-gradient(transparent 60%, var(--accent) 60%, var(--accent) 94%, transparent 94%); color: inherit; padding: 0 .06em; }
.lead { font-size: 1.18rem; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.hero-side .lead { margin: 0; }
.hero-side .cta-row { margin-top: 24px; }

/* --- live demo --- */
.demo-note { margin: 0 0 14px; text-align: center; font-size: .95rem; color: var(--muted); }
.demo-note b { color: var(--ink); }
.demo { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; overflow: clip; }
.demo-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.url { flex: 1; max-width: 420px; padding: 3px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; color: var(--muted); }
.demo-tag { margin-left: auto; font-size: .78rem; font-weight: 650; color: var(--muted); }
.demo-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: 600px; background: linear-gradient(to left, var(--surface-2) 300px, transparent 300px); }
.yt { min-width: 0; padding: 0 20px 20px; border-right: 1px solid var(--line); }
.yt-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0; }
.yt-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.yt-tabs button:hover { border-color: var(--ink); }
.yt-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.badge { padding: 1px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 750; }

.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px 14px; margin-bottom: 20px; }
.vc, .sc, .chc, .cm { position: relative; min-width: 0; }
.thumb { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: radial-gradient(circle at 28% 24%, rgb(255 255 255 / .28), transparent 42%), linear-gradient(135deg, hsl(var(--h) 78% 58%), hsl(calc(var(--h) + 40) 70% 30%)); }
.thumb b { padding: 0 8px; color: #fff; font-size: clamp(1rem, 1.7vw, 1.4rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; text-align: center; text-shadow: 0 2px 0 rgb(0 0 0 / .35); transform: rotate(-3deg); }
.thumb i { position: absolute; right: 6px; bottom: 6px; padding: 1px 5px; border-radius: 4px; background: rgb(0 0 0 / .78); color: #fff; font-size: .7rem; font-style: normal; font-weight: 650; }
.thumb-short { aspect-ratio: 9 / 15; }
.vc-info { display: flex; gap: 10px; margin-top: 10px; }
.vc .dt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; font-size: .92rem; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.vc p { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.vc-row { display: grid; grid-template-columns: minmax(120px, 240px) minmax(0, 1fr); gap: 14px; align-items: start; margin-bottom: 14px; }
.vc-row .vc-info { margin-top: 0; }
.vc-row .dt { font-size: .98rem; }

.av { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: hsl(var(--h) 55% 44%); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: 0; }
.av-sm { width: 28px; height: 28px; font-size: .62rem; }
.av-xs { width: 18px; height: 18px; font-size: .48rem; }
.av-lg { width: 72px; height: 72px; font-size: 1.3rem; }
.av-user { background: var(--surface-2); color: var(--ink-2); }

.blk { position: absolute; top: 8px; left: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 7px; border: 0; border-radius: 999px; background: #fff; color: #c5221f; font: inherit; font-size: .78rem; font-weight: 750; box-shadow: 0 2px 10px rgb(0 0 0 / .28); cursor: pointer; opacity: 0; transform: translateY(-3px); transition: opacity .15s, transform .15s, background .15s; }
.blk svg { width: 15px; height: 15px; }
.blk:hover { background: #fde8e7; }
.vc:hover .blk, .sc:hover .blk, .chc:hover .blk, .cm:hover .blk, .blk:focus-visible { opacity: 1; transform: none; }
.vgrid:first-child .vc:first-child .blk { opacity: 1; transform: none; animation: nudge 1.8s ease-in-out 1s 3; }
@keyframes nudge { 50% { box-shadow: 0 2px 10px rgb(0 0 0 / .28), 0 0 0 7px rgb(217 48 37 / .25); } }
@media (hover: none) { .blk { opacity: 1; transform: none; } }
.sc .blk { top: 6px; left: 6px; padding: 5px; }
.sc .blk span { display: none; }
.cm .blk { top: 0; left: auto; right: 0; }
.chc .blk { top: 50%; left: auto; right: 0; transform: translateY(-50%); }
.chc:hover .blk, .chc .blk:focus-visible { transform: translateY(-50%); }

.is-cut { pointer-events: none; animation: cut .42s cubic-bezier(.6, 0, .4, 1) forwards; }
@keyframes cut {
  0% { clip-path: inset(0 0 0 0); opacity: 1; }
  35% { clip-path: inset(0 0 0 0); outline: 2px dashed var(--block); outline-offset: 4px; }
  100% { clip-path: inset(0 0 0 100%); opacity: .2; transform: translateX(14px); }
}

.shelf { margin: 0 0 22px; padding: 14px; border-radius: 14px; background: var(--surface-2); }
.shelf-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 1rem; }
.shorts-mark { width: 13px; height: 18px; border-radius: 4px; background: var(--block); }
.shelf-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sc .dt { margin: 8px 0 2px; font-size: .85rem; font-weight: 650; line-height: 1.3; }
.sc p { margin: 0; font-size: .78rem; color: var(--muted); }

.yt-query { margin-bottom: 16px; }
.yt-search { display: inline-flex; align-items: center; gap: 10px; min-width: min(420px, 100%); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); }
.yt-search svg { width: 16px; height: 16px; color: var(--muted); }
.yt-search.big { min-width: min(460px, 100%); padding: 12px 20px; }
.chc { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; padding: 8px 120px 18px 0; border-bottom: 1px solid var(--line); }
.chc .dt { font-size: 1.1rem; }
.chc p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.yt-empty { display: grid; place-items: center; gap: 14px; padding: 90px 20px; text-align: center; color: var(--ink-2); }
.yt-empty p { margin: 0; }
.yt-note { margin: 0; padding: 10px 0; font-size: .88rem; color: var(--muted); }

.watch { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; }
.player { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 12px; background: radial-gradient(circle at 70% 30%, hsl(var(--h) 70% 45% / .7), transparent 50%), linear-gradient(135deg, hsl(var(--h) 60% 20%), hsl(calc(var(--h) + 30) 70% 7%)); }
.play { position: relative; width: 56px; height: 56px; border-radius: 50%; background: rgb(255 255 255 / .92); }
.play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid #151514; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.watch-title { margin: 12px 0 8px; font-size: 1.05rem; }
.watch-ch { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .88rem; }
.watch-ch span:last-child { color: var(--muted); }
.cm-h, .watch-next .next-h { margin: 18px 0 12px; font-size: .95rem; }
.watch-next .next-h { margin-top: 0; }
.watch-next .vc-row { grid-template-columns: 140px minmax(0, 1fr); gap: 10px; margin-bottom: 12px; }
.watch-next .vc-row .dt { font-size: .85rem; }
.watch-next .thumb b { font-size: .85rem; }
.watch-next .blk span { display: none; }
.watch-next .blk { padding: 5px; }
.cm { display: flex; gap: 10px; margin-bottom: 14px; padding-right: 120px; }
.cm p { margin: 0; font-size: .86rem; line-height: 1.45; }
.cm .cm-by { font-size: .8rem; font-weight: 700; }
.cm .cm-meta { margin-top: 2px; font-size: .75rem; color: var(--muted); }

.fc-panel { position: sticky; top: 72px; align-self: start; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--surface-2); font-size: .9rem; }
.fc-head { display: flex; align-items: center; gap: 10px; }
.fc-head b { font-size: 1.05rem; letter-spacing: -.02em; }
.fc-logo { width: 26px; height: 26px; border-radius: 7px; background: url(/favicon.svg) center / contain no-repeat; }
.sw-mini { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 4px; border: 0; background: none; font: inherit; cursor: pointer; }
.sw-state { font-size: .8rem; font-weight: 700; color: var(--muted); }
.fc-off { padding: 10px 12px; border-radius: 12px; background: #fff4d6; color: #4a3500; font-size: .84rem; line-height: 1.45; }
.fc-off button, .yt-off button { margin-left: 4px; padding: 2px 10px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.fc-off button { background: #4a3500; color: #fff4d6; }
.fc-body { display: flex; flex-direction: column; gap: 12px; transition: opacity .15s; }
.fc-body.is-off { opacity: .45; }
.yt-off { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: #fff4d6; color: #4a3500; font-size: .88rem; }
.yt-off button { background: #4a3500; color: #fff4d6; }
.fc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fc-stats div { padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.fc-stats b { display: block; font-size: 1.35rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fc-stats span { font-size: .72rem; color: var(--muted); }
.fc-stats .hl { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.fc-stats .hl span { color: var(--accent-ink); opacity: .75; }
.fc-box { padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.sw-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 7px 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.sw-row + .sw-row { border-top: 1px solid var(--line); }
.sw-row b, .fc-words label b, .fc-label b { display: block; font-size: .88rem; font-weight: 650; }
.sw-row small { display: block; font-size: .74rem; color: var(--muted); }
.sw { position: relative; display: block; flex: none; width: 36px; height: 21px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 45%, transparent); transition: background .15s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .3); transition: transform .15s; }
[aria-checked="true"] > .sw { background: var(--good); }
[aria-checked="true"] > .sw::after { transform: translateX(15px); }
.fc-add { display: flex; gap: 6px; margin-top: 8px; }
.fc-add input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: .88rem; }
.fc-add button { padding: 0 12px; border: 0; border-radius: 8px; background: var(--ink); color: var(--bg); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 2px; padding: 2px 4px 2px 10px; border-radius: 999px; background: var(--accent-soft); font-size: .8rem; font-weight: 650; }
.chip button { padding: 0 4px; border: 0; background: none; color: var(--ink-2); font-size: 1rem; line-height: 1; cursor: pointer; }
.sugg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 8px 0 0; font-size: .78rem; color: var(--muted); }
.sugg button { padding: 1px 9px; border: 1px dashed var(--muted); border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: .78rem; cursor: pointer; }
.sugg button:hover { border-style: solid; background: var(--accent-soft); }
.fc-label { margin: 0 0 8px; }
.fc-list { display: flex; flex-direction: column; gap: 6px; max-height: 150px; margin: 0; padding: 0; overflow: auto; list-style: none; }
.fc-list li { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.fc-list li > span:not(.av) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-list button { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font: inherit; font-size: .75rem; font-weight: 700; cursor: pointer; }
.fc-empty { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.fc-reset { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; }

.demo-toast { position: fixed; left: 50%; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px); padding: 10px 12px 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: .9rem; box-shadow: 0 12px 30px -10px rgb(0 0 0 / .5); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .2s, transform .2s; }
.demo-toast.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.demo-toast button { padding: 4px 6px; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 750; cursor: pointer; }
@media (prefers-color-scheme: dark) { .demo-toast button { color: #4a6b00; } }

/* --- sections --- */
.section { padding: 88px 0; }
.section-tight { padding: 8px 0 40px; }
.section-head { max-width: 740px; margin-bottom: 40px; }
.section-head h2, .split h2, .cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 820; line-height: 1.07; letter-spacing: -.035em; }
.section-head p { margin: 14px 0 0; font-size: 1.1rem; color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split .lead { margin-top: 20px; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tbody tr:last-child > * { border-bottom: 0; }
thead th { background: var(--surface-2); font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
tbody th { font-weight: 650; }
td { color: var(--ink-2); }
.compare { min-width: 640px; }
.compare td { font-size: .9rem; }
.compare .yes, .compare .no { display: block; font-size: .98rem; font-weight: 750; }
.compare .yes { color: var(--good); }
.compare .no { color: var(--bad); }
.compare td.ours { background: color-mix(in srgb, var(--accent) 13%, var(--surface)); color: var(--ink); }
.compare thead th.ours { background: var(--accent); color: var(--accent-ink); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow); }
.card .k { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.card h3 { margin-top: 6px; font-size: 1.2rem; }
.card p { flex: 1; margin: 0; color: var(--ink-2); }
.card .arrow-link { margin-top: 10px; font-size: .92rem; }

.facts-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts-list li { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts-list span { color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 850; }
.steps h3 { margin-bottom: 8px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-2); }
.steps-v { grid-template-columns: 1fr; gap: 10px; }
.steps-v li { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; padding: 18px 20px; }
.steps-v li::before { grid-row: span 2; margin: 0; }
.steps-v h3 { margin: 6px 0 4px; font-size: 1.08rem; }
.steps-v p { font-size: 1rem; }

.move { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 36px; border: 1.5px dashed var(--ink); border-radius: 20px; }
.move h2 { margin-bottom: 8px; font-size: 1.5rem; }
.move p { max-width: 64ch; margin: 0; color: var(--ink-2); }
.move .arrow-link { flex: none; }

.plans { display: grid; justify-content: start; }
.plans-1 { grid-template-columns: minmax(0, 720px); }
.plan { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.plan ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good); transform: rotate(-45deg); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 44px 18px 0; font-size: 1.05rem; font-weight: 650; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 18px; color: var(--ink-2); }
.faq .answer p { margin: 0; }

.cta-band { position: relative; overflow: hidden; padding: 96px 0 88px; background: var(--ink); color: var(--bg); text-align: center; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; border-top: 2px dashed color-mix(in srgb, var(--bg) 22%, transparent); }
.cta-band h2 { max-width: 20ch; margin: 0 auto; }
.cta-band p { max-width: 56ch; margin: 16px auto 0; font-size: 1.1rem; color: color-mix(in srgb, var(--bg) 72%, var(--ink)); }
.cta-band .cta-row { justify-content: center; margin: 32px 0 0; }
.cta-band .btn { background: var(--accent); color: var(--accent-ink); }
.cta-band .btn[aria-disabled] { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 60%, transparent); }

/* --- inner pages --- */
.page-hero { padding: 48px 0 28px; }
.page-hero h1 { margin: 14px 0 18px; font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 850; line-height: 1.03; letter-spacing: -.04em; }
.page-hero .lead { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article { display: grid; grid-template-columns: minmax(0, 720px) 220px; justify-content: space-between; gap: 64px; padding-top: 40px; padding-bottom: 72px; }
.toc { position: sticky; top: 88px; align-self: start; font-size: .88rem; }
.toc p { margin-bottom: 10px; font-size: .76rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.prose { font-size: 1.06rem; }
.prose h2 { margin: 52px 0 16px; font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.prose .table-wrap { margin: 8px 0 20px; }
.prose table { font-size: .92rem; }
.prose .faq { margin-top: 8px; }
.prose h3 { margin: 28px 0 10px; font-size: 1.2rem; font-weight: 750; }
.prose code { padding: 1px 6px; border-radius: 6px; background: var(--surface-2); font: .88em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.byline { margin-top: 40px; font-size: .85rem; color: var(--muted); }

/* short answer at the top of an article */
.verdict { margin: 0 0 40px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: 14px; }
.verdict .label { display: block; margin-bottom: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.verdict p:last-child, .verdict ul:last-child { margin-bottom: 0; }
.verdict ul { margin: 0; padding-left: 1.1em; }
.verdict li { margin-bottom: .45em; }

/* "where each one wins" pair */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 28px; }
.duo > div { padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.duo h3 { margin: 0 0 10px; font-size: 1.05rem; }
.duo ul { margin: 0; padding-left: 1.1em; font-size: .98rem; }
.duo li { margin-bottom: .5em; }
.duo .ours { border: 2px solid var(--ink); }

/* one product in a roundup */
.pick { margin: 48px 0 0; padding: 26px 28px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.prose .pick h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 1.55rem; }
.pick .rank { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); font-size: 1rem; font-weight: 850; letter-spacing: 0; }
.pick-ours { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.pick-ours .rank { background: var(--accent); color: var(--accent-ink); }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0 !important; list-style: none; }
.prose .meta li { margin: 0; padding: 3px 11px; border-radius: 999px; background: var(--surface-2); font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.pick dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 16px; margin: 16px 0 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .98rem; }
.pick dt { font-weight: 700; }
.pick dd { margin: 0; color: var(--ink-2); }

/* small free tools */
.tool { max-width: 820px; margin: 0 auto; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.tool label { display: block; margin-bottom: 10px; font-weight: 750; }
.tool textarea { display: block; width: 100%; min-height: 92px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: .95rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; }
.tool textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.tool-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.tool .btn { padding: 12px 22px; font-size: 1rem; }
.tool-msg { margin: 0; font-size: .9rem; color: var(--muted); }
.tool-msg.err { color: var(--bad); }
.tool-out { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.tool-out:empty { display: none; }
.tool-out li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; background: var(--accent-soft); border-radius: 12px; }
.tool-out li.bad { background: var(--surface-2); color: var(--bad); }
.tool-out code { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; font: .9rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tool-out a, .tool-out button { padding: 5px 13px; border: 1px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: .84rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.tool-out a { background: var(--ink); color: var(--bg); }
.tool-privacy { margin: 14px 0 0; font-size: .84rem; color: var(--muted); }
.related-h { margin-bottom: 18px; font-size: 1.4rem; }
.container.narrow.prose { padding-top: 24px; padding-bottom: 80px; }

/* --- footer --- */
.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--line); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-grid p { max-width: 36ch; margin-top: 14px; color: var(--ink-2); }
.footer-grid h2 { margin-bottom: 12px; font-size: .76rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.footer-grid ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-grid ul a { color: var(--ink-2); text-decoration: none; }
.footer-grid ul a:hover { color: var(--ink); text-decoration: underline; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.legal p { margin: 0; }
.legal a { color: inherit; }

/* --- responsive --- */
@media (max-width: 1080px) {
  .article { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; }
  .site-header .btn-small { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .demo-body { grid-template-columns: 1fr; min-height: 0; background: none; }
  .fc-panel { position: static; }
  .yt { border-right: 0; border-bottom: 1px solid var(--line); }
  .yt-view { max-height: 560px; overflow: auto; overscroll-behavior: contain; }
  .watch { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 36px 0 20px; }
  .section { padding: 64px 0; }
  .lead { font-size: 1.08rem; }
  .btn { padding: 14px 22px; font-size: 1rem; }
  .demo { border-radius: 16px; }
  .demo-tag { display: none; }
  .yt { padding: 0 12px 12px; }
  .vgrid { grid-template-columns: 1fr; }
  .vc-row { grid-template-columns: 128px minmax(0, 1fr); gap: 10px; }
  .vc-row .dt { font-size: .88rem; }
  .vc-row .thumb b { font-size: .85rem; }
  .vc-row .blk span, .cm .blk span, .chc .blk span { display: none; }
  .vc-row .blk, .cm .blk, .chc .blk { padding: 5px; }
  .shelf-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; }
  .chc { gap: 14px; padding-right: 44px; }
  .av-lg { width: 52px; height: 52px; font-size: 1rem; }
  .cm { padding-right: 40px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .facts-list li { grid-template-columns: 1fr; gap: 4px; }
  .move { flex-direction: column; align-items: flex-start; padding: 24px; }
  .plans-1 { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 22px; }
  .plan ul { grid-template-columns: 1fr; }
  th, td { padding: 12px 14px; }
  .duo { grid-template-columns: 1fr; }
  .pick { padding: 20px 18px 8px; }
  .prose .pick h2 { font-size: 1.3rem; }
  .pick dl { grid-template-columns: 1fr; gap: 2px; }
  .pick dd { margin-bottom: 8px; }
  .verdict { padding: 18px; }
  .tool { padding: 18px; }
}
@media (max-width: 420px) {
  .site-header .btn-small { display: none; }
  .menu { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
