/* IBM Plex Sans, self-hosted (SIL Open Font License, fonts/OFL.txt). Served from this site, never from a font CDN. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-400-italic.woff2") format("woff2"); }
/* Resume Tribunal. Colours from the warmhop palette. Light and dark follow the device; the toggle overrides. Phone first. */
:root {
  --bg: #f7f4ef; --surf: #fffdf9; --ink: #221e19; --muted: #5f574d; --line: #ddd5c8; --tint: #f3e6e6;
  --brand: #a8515c; --tagink: #9c4a55; --onbrand: #fff; --blue: #35619a; --green: #2f6c36; --danger: #a14126;
  --shadow: 0 1px 2px rgba(34,30,25,.06), 0 8px 24px rgba(34,30,25,.07);
  color-scheme: light;
  /* header and footer span the wide column, so they line up with the full-width example viewer */
  --wide: 120rem; --page: 76rem; --gutter: clamp(16px, 2.5vw, 32px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14120f; --surf: #221e19; --ink: #f3ede4; --muted: #b5ab9e; --line: #3a332b; --tint: #2b1e1d;
    --brand: #d67a84; --tagink: #d67a84; --onbrand: #14120f; --blue: #4e88d3; --green: #479650; --danger: #db6141;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14120f; --surf: #221e19; --ink: #f3ede4; --muted: #b5ab9e; --line: #3a332b; --tint: #2b1e1d;
  --brand: #d67a84; --tagink: #d67a84; --onbrand: #14120f; --blue: #4e88d3; --green: #479650; --danger: #db6141;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
a { color: var(--brand); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.skip, .sr { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surf); padding: 8px 12px; z-index: 20; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 8.5vw, 4rem); font-weight: 850; margin: 16px 0; }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); font-weight: 800; margin: 8px 0 12px; }
h3 { font-size: 1.15rem; margin: 0 0 6px; }
.accent { color: var(--brand); }
.lede { font-size: clamp(1.05rem, 3.6vw, 1.3rem); color: var(--muted); max-width: 38rem; }
.meta { color: var(--muted); font-size: 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid var(--brand); line-height: 1.2; cursor: pointer; font-size: 16px; }
.btn.primary { background: var(--brand); color: var(--onbrand); }
.btn.ghost { color: var(--brand); background: transparent; }
.btn.big { padding: 15px 26px; font-size: 17px; }
.btn.small { padding: 7px 14px; font-size: 14px; }
.btn:hover { filter: brightness(1.06); }
.icon { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surf); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.theme span, .theme svg { display: block; }  /* no inline baseline gap, so the icon sits in the middle of its circle */
.theme .sun, :root[data-theme="dark"] .theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme .moon { display: none; } :root:not([data-theme]) .theme .sun { display: block; } }

/* header */
header.site { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .in { max-width: var(--page); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 10px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 18px; margin-right: auto; }
nav.top { display: none; gap: 24px; font-size: 15px; margin-right: 8px; }
nav.top a { color: var(--muted); text-decoration: none; }
nav.top a:hover, nav.top a[aria-current="page"] { color: var(--ink); }
nav.top a[aria-current="page"] { font-weight: 700; }
@media (min-width: 880px) { nav.top { display: flex; } }
@media (max-width: 380px) { .logo span { display: none; } }

/* layout */
main { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 56px 0; text-align: center; }
section > p, section > .sub { margin-left: auto; margin-right: auto; }
.sub { color: var(--muted); max-width: 40rem; }
.card { background: var(--surf); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); text-align: left; }
.grid { display: grid; gap: 16px; margin: 24px 0; }
@media (min-width: 720px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }

/* hero */
.hero { padding: 48px 0 24px; }
.hero h1 { margin-left: auto; margin-right: auto; }
.hero .lede { margin: 0 auto; }
.cta { display: flex; flex-direction: column; gap: 12px; margin: 28px auto 16px; max-width: 22rem; }
@media (min-width: 560px) { .cta { flex-direction: row; justify-content: center; max-width: none; } }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--muted); font-size: 14px; }
.trust li::before { content: "✓ "; color: var(--green); font-weight: 800; }

/* demo pause button (how it works) */
.pause .pl, .paused .pause .ps { display: none; } .paused .pause .pl { display: inline; }

/* proof */
.was { text-decoration: line-through; text-decoration-color: var(--danger); text-decoration-thickness: 2px; font-weight: 700; }
.is { color: var(--muted); }
.is::before { content: "✓ "; color: var(--green); font-weight: 900; }
.ba { display: grid; gap: 16px; }
@media (min-width: 720px) { .ba { grid-template-columns: 1fr 1.6fr; } }
.ba .label { font-size: 14px; font-weight: 700; color: var(--muted); }
.ba .after .label { color: var(--green); }
.ba ul { margin: 8px 0 0; padding-left: 18px; } .ba li { margin: 6px 0; }

/* start tabs */
.tabs { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); width: fit-content; max-width: 100%; margin: 24px auto 16px; overflow-x: auto; }
.tabs button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--surf); color: var(--ink); box-shadow: var(--shadow); }
.panel { max-width: 44rem; margin: 0 auto; text-align: left; }
.steps { padding-left: 22px; } .steps li { margin: 12px 0; }
.copybox { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.copybox code { flex: 1; white-space: normal; word-break: break-word; }
.copy { border: 1px solid var(--line); background: var(--surf); color: var(--ink); border-radius: 8px; padding: 5px 10px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.copy.done { color: var(--green); border-color: var(--green); }
.note { max-width: 44rem; margin: 24px auto 0; text-align: left; border-left: 4px solid var(--brand); padding: 8px 0 8px 16px; color: var(--muted); }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }

/* stats, compare, faq */
.stat .big { display: block; font-size: 2.4rem; font-weight: 850; color: var(--brand); letter-spacing: -.03em; }
.stat p { margin: 4px 0 8px; }
.stat a { font-size: 14px; }
.table { overflow-x: auto; margin: 24px auto; max-width: 52rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
table { border-collapse: collapse; width: 100%; font-size: 15px; text-align: left; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
th { font-size: 14px; color: var(--muted); }
th[scope=row] { font-size: inherit; color: var(--ink); }
.faq { max-width: 46rem; margin: 24px auto 0; text-align: left; }
details { border: 1px solid var(--line); background: var(--surf); border-radius: 14px; margin: 10px 0; padding: 0 18px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }
.final { padding: 64px 0 96px; }
.final p { color: var(--muted); }

/* sticky phone button */
.mcta { position: fixed; left: 16px; right: 16px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 9; padding: 14px; box-shadow: var(--shadow); }
@media (min-width: 760px) { .mcta { display: none; } }
@media (max-width: 759px) { body.home { padding-bottom: 76px; } }

/* cards for posts */
.card.post { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.card.post:hover { transform: translateY(-2px); border-color: var(--brand); }
.card.post strong { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; }
.card.post .desc { color: var(--muted); font-size: 15px; }
.card.post .more { color: var(--brand); font-weight: 700; font-size: 15px; margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 700; color: var(--tagink); background: var(--tint); padding: 2px 9px; border-radius: 999px; }

/* blog index */
.blog-wrap { max-width: var(--page); }  /* index pages use the page width, so they line up with the header */
.search input { width: 100%; max-width: 30rem; margin: 24px auto 12px; display: block; font: inherit; padding: 12px 16px 12px 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surf) no-repeat 16px 50% / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8075' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E"); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surf); color: var(--muted); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--onbrand); }
.grid.posts { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid.posts { grid-template-columns: 1fr 1fr; } }
.empty { text-align: center; color: var(--muted); }

/* post */
.post-wrap { max-width: 46rem; padding-bottom: 48px; }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 24px; }
.crumbs a { color: var(--muted); }
.post-head { padding: 16px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.post-head h1 { font-size: clamp(1.9rem, 7vw, 2.9rem); margin: 12px 0; }
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 12px; font-size: 15px; }
.avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--brand); color: var(--onbrand); display: grid; place-items: center; font-weight: 800; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; font-size: 14px; }
.share span { color: var(--muted); }
.share a { border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 13px; }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin: 48px 0 8px; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { margin: 14px 0; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand); font-size: 1.2rem; font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; }
.prose .table { margin: 24px 0; }
.prose table { font-size: 14px; }
.fig { margin: 32px 0; }
.fig img { border-radius: 16px; border: 1px solid var(--line); display: block; width: 100%; }
.fig figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.cta-box { display: flex; gap: 16px; align-items: flex-start; background: var(--tint); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); border-radius: 18px; padding: 20px; margin: 36px 0; }
.cta-box p { margin: 4px 0 12px; font-size: 16px; color: var(--muted); }
.post-foot { border-top: 1px solid var(--line); padding-top: 16px; }
/* Keep reading: its own full-width band, so it doesn't read as part of the post */
.post-wrap:has(.related) { padding-bottom: 0; }
.related { margin-top: 56px; padding: 40px 0 56px; text-align: left; background: var(--surf); box-shadow: 0 0 0 100vmax var(--surf); clip-path: inset(0 -100vmax); }
.related h2 { font-size: 1.4rem; text-align: left; margin: 0 0 20px; }
.related .card { background: var(--bg); }
.related .card p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* footer */
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }  /* about as tall as the header */
footer.site .in { max-width: var(--page); margin: 0 auto; padding: 14px var(--gutter); display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.fbrand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fbrand strong { color: var(--ink); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
@media (max-width: 759px) { footer.site .in { gap: 8px; font-size: 13px; } footer.site nav { gap: 4px 14px; } .fbrand span { display: none; } }

/* phone fixes */
.logo, .btn { white-space: nowrap; }
@media (max-width: 759px) {
  header.site .btn.small { display: none; }
  .tabs { display: grid; grid-template-columns: 1fr; border-radius: 16px; width: 100%; }
  .tabs button { border-radius: 12px; }
}
.apps { color: var(--muted); font-size: 14px; font-weight: 700; text-align: center; margin: 0 0 8px; }
details.more { margin-top: 16px; }
details.more ul { color: var(--muted); padding-left: 20px; }
details.more li { margin: 8px 0; }
.steps .copybox { margin-top: 8px; }

h1, h2 { text-wrap: balance; }
.hero h1 .accent { display: block; font-size: .82em; margin-top: 6px; }

:root { --purple: #685497; }
:root[data-theme="dark"] { --purple: #9177cf; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --purple: #9177cf; } }

/* how it works: a step list beside a stage that plays one short scene per step */
.hiw { display: grid; gap: 14px; max-width: 60rem; margin: 24px auto 8px; text-align: left; }
.steps6 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.st { width: 100%; border: 0; background: none; padding: 6px 0; cursor: pointer; font: inherit; color: inherit; text-align: left; }
.st .sts { display: none; }
.st .stt { position: absolute; left: -9999px; } /* phones show bars only; the title still names the button */
.bar { display: block; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 14%, transparent); overflow: hidden; }
.bar b { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 4px; }
.st.done .bar b { width: 100%; }
.st.now .bar b { animation: fillbar 4.4s linear forwards; }
.hiw.stopped .st.now .bar b { animation: none; width: 100%; }
.paused .st.now .bar b, .hiw.hold .st.now .bar b { animation-play-state: paused; }
@keyframes fillbar { to { width: 100%; } }
.stage { position: relative; height: 360px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; touch-action: pan-y; user-select: none; cursor: pointer; }
.stage .pause { position: absolute; right: 12px; top: 12px; z-index: 5; width: 34px; height: 34px; font-size: 11px; }
.cap { margin: 0; min-height: 3.4em; text-align: center; }
.cap strong { display: block; font-size: 1.2rem; letter-spacing: -.01em; }
.cap span { color: var(--muted); }
@media (min-width: 860px) {
  .hiw { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 28px; }
  .stage { grid-column: 1; grid-row: 1; height: 420px; }
  .steps6 { grid-column: 2; grid-row: 1; grid-template-columns: 1fr; gap: 4px; }
  .st { padding: 10px 14px 12px; border-radius: 14px; }
  .st .stt { position: static; display: block; font-weight: 750; font-size: 1.02rem; margin-top: 8px; color: var(--muted); }
  .st .sts { display: none; color: var(--muted); font-size: 14px; }
  .st.now { background: var(--surf); box-shadow: var(--shadow); }
  .st.now .stt { color: var(--ink); } .st.now .sts { display: block; }
  .st:hover .stt { color: var(--ink); }
  .cap { display: none; }
}
.sc { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s; }
.sc.on { opacity: 1; visibility: visible; }

/* the resume card */
.rc { position: relative; width: 150px; background: var(--surf); border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; box-shadow: var(--shadow); display: grid; gap: 7px; }
.rc .rc-name { height: 10px; width: 62%; border-radius: 5px; background: var(--ink); opacity: .85; }
.rc .rc-sub { height: 6px; width: 40%; border-radius: 3px; background: var(--muted); opacity: .5; margin-bottom: 4px; }
.rc i { height: 6px; border-radius: 3px; background: var(--muted); opacity: .3; }
.rc i.short { width: 60%; }
.rc.big { width: min(330px, 84%); padding: 20px 18px; gap: 6px; }
.rc.big p { margin: 0; font-size: 14px; line-height: 1.35; padding: 6px 8px; border-radius: 8px; background: var(--bg); }
.sctag { position: absolute; top: -11px; left: 14px; font-size: 11px; font-weight: 800; color: #fff; padding: 3px 9px; border-radius: 999px; }
.t-blue { background: var(--blue); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: var(--surf); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }

/* scene 1: link and resume drop into the chat */
.sc1 .chat { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); width: min(330px, 84%); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--surf); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; }
.sc1 .send { width: 28px; height: 28px; border-radius: 999px; background: var(--brand); color: var(--onbrand); display: grid; place-items: center; font-weight: 800; flex: none; }
.sc1 .job { position: absolute; left: 12%; top: 22%; }
.sc1 .rc-in { position: absolute; right: 12%; top: 14%; width: 104px; padding: 12px 10px; transform: rotate(4deg); }
.sc1.on .job { animation: dropL .9s .2s cubic-bezier(.3,1.4,.5,1) both; }
.sc1.on .rc-in { animation: dropR .9s .5s cubic-bezier(.3,1.4,.5,1) both; }
.sc1.on .typed { animation: type 1.1s 1.5s steps(28) both; }
.sc1.on .send { animation: pulse .5s 2.8s both; }
@keyframes dropL { from { transform: translate(-60px,-40px) rotate(-12deg); opacity: 0; } }
@keyframes dropR { from { transform: translate(60px,-50px) rotate(16deg); opacity: 0; } }

/* scene 2: AI 1 rewrites */
.sc2 .old { color: var(--muted); }
.sc2.on .old { animation: strikeout 2.2s .2s both; }
.sc2.on .n1 { animation: type 1s .9s steps(40) both; }
.sc2.on .n2 { animation: type 1s 2s steps(36) both; }
.sc2 .new { border-left: 3px solid var(--blue); }
.sc2 .kw { position: absolute; font-size: 12px; font-weight: 800; color: var(--blue); background: var(--surf); border: 1px solid color-mix(in srgb, var(--blue) 40%, var(--line)); padding: 4px 10px; border-radius: 999px; }
.sc2 .k1 { top: 9%; left: 10%; } .sc2 .k2 { top: 7%; right: 12%; } .sc2 .k3 { bottom: 9%; right: 16%; }
.sc2.on .kw { animation: floatin .7s both; } .sc2.on .k1 { animation-delay: .5s; } .sc2.on .k2 { animation-delay: .8s; } .sc2.on .k3 { animation-delay: 1.1s; }
@keyframes strikeout { 0%, 25% { text-decoration: none; opacity: 1; } 45% { text-decoration: line-through; opacity: .7; } 100% { text-decoration: line-through; opacity: .35; } }
@keyframes floatin { from { transform: translateY(14px) scale(.8); opacity: 0; } }

/* scene 3: AI 2 reads blind, catches the made-up number */
.t-swap { background: var(--brand); display: grid; }
.t-swap b { grid-area: 1 / 1; font-weight: 800; }
.t-swap b:first-child { visibility: hidden; }
.sc3.on .t-swap { animation: tagcol 1s .2s both; }
.sc3.on .t-swap b:first-child { visibility: visible; animation: hideb .01s 1s both; }
.sc3.on .t-swap b:last-child { animation: showb .01s 1s both; }
@keyframes tagcol { from { background: var(--blue); } 80% { background: var(--blue); } }
@keyframes hideb { to { visibility: hidden; } } @keyframes showb { from { visibility: hidden; } }
.sc3 .bad { display: none; } .sc3 .fix { color: var(--green); font-weight: 800; }
.sc3.on .bad { display: inline; color: var(--danger); font-weight: 800; animation: badgone 3s .3s both; }
.sc3.on .fix { display: inline-block; animation: fixin .4s 2.4s both; }
@keyframes badgone { 0%, 40% { text-decoration: none; } 50%, 70% { text-decoration: line-through; opacity: 1; } 71%, 100% { opacity: 0; font-size: 0; } }
@keyframes fixin { from { opacity: 0; transform: translateY(6px); max-width: 0; } }
.sc3 .lens { position: absolute; width: 54px; height: 54px; border-radius: 999px; border: 3px solid var(--brand); left: 8%; top: 46%; opacity: 0; }
.sc3 .lens::after { content: ""; position: absolute; width: 18px; height: 3px; background: var(--brand); right: -15px; bottom: -5px; transform: rotate(45deg); border-radius: 2px; }
.sc3.on .lens { animation: sweep 2s .4s ease-in-out both; }
@keyframes sweep { 0% { opacity: 0; transform: translate(0,0); } 15% { opacity: 1; } 55% { transform: translate(150px, 10px); opacity: 1; } 70% { transform: translate(90px, 24px); opacity: 1; } 100% { transform: translate(90px, 24px); opacity: 0; } }
.sc3 .note, .sc3 .verdict { position: absolute; font-size: 13px; font-weight: 800; padding: 7px 12px; border-radius: 12px; box-shadow: var(--shadow); }
.sc3 .note { top: 12%; right: 8%; background: var(--surf); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 40%, var(--line)); }
.sc3 .verdict { bottom: 10%; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; white-space: nowrap; }
.sc3.on .note { animation: popin .4s 1.5s both; }
.sc3.on .verdict { animation: popc .5s 3s both; }
@keyframes popin { from { transform: scale(.6); opacity: 0; } }
@keyframes popc { from { transform: translateX(-50%) scale(.6); opacity: 0; } }

/* scene 4: the script ticks */
.sc4 { grid-template-columns: auto auto; gap: 22px; justify-content: center; align-content: center; }
.sc4 .rc { overflow: hidden; }
.sc4 .scan { position: absolute; left: 0; right: 0; height: 26px; top: -30px; background: linear-gradient(transparent, color-mix(in srgb, var(--brand) 35%, transparent), transparent); }
.sc4.on .scan { animation: scan 1.4s .2s ease-in-out 2 both; }
@keyframes scan { to { top: 110%; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; font-weight: 650; max-width: 190px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks b { flex: none; width: 22px; height: 22px; border-radius: 999px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 12px; }
.sc4.on .c1 { animation: floatin .4s .7s both; } .sc4.on .c2 { animation: floatin .4s 1.4s both; } .sc4.on .c3 { animation: floatin .4s 2.1s both; }
@media (max-width: 420px) { .sc4 { grid-template-columns: 1fr; justify-items: center; gap: 14px; } .sc4 .rc { width: 120px; } }

/* scene 5: approve */
.sc5 { align-content: center; gap: 12px; }
.chg { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: min(330px, 86%); background: var(--surf); border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 12px 14px; box-shadow: var(--shadow); font-size: 14px; }
.chg p { margin: 0; }
.ok { flex: none; font-size: 13px; font-weight: 800; padding: 7px 12px; border-radius: 10px; border: 2px solid var(--green); color: var(--green); }
.sc5.on .ch1 .ok { animation: approve .3s 1s both; } .sc5.on .ch2 .ok { animation: approve .3s 2.2s both; }
@keyframes approve { from { background: transparent; color: var(--green); } to { background: var(--green); color: #fff; } }
.sc5 .tap { position: absolute; width: 26px; height: 26px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 30%, transparent); border: 2px solid var(--surf); opacity: 0; }
.sc5.on .tap { animation: tap 2.6s .2s both; }
@keyframes tap { 0% { opacity: 0; left: 50%; top: 80%; } 20% { opacity: 1; } 32% { left: calc(50% + min(130px, 34%)); top: calc(50% - 42px); transform: scale(1); } 36% { transform: scale(.75); } 40% { transform: scale(1); } 70% { left: calc(50% + min(130px, 34%)); top: calc(50% + 22px); transform: scale(1); } 74% { transform: scale(.75); } 78% { transform: scale(1); opacity: 1; } 100% { left: calc(50% + min(130px, 34%)); top: calc(50% + 22px); opacity: 0; } }

/* scene 6: your resume lifts out of the pile, like the logo */
.pile { position: relative; width: 170px; height: 200px; }
.pile .p1, .pile .p2 { position: absolute; inset: 20px 30px 0 0; border-radius: 14px; background: var(--brand); }
.pile .p1 { opacity: .25; transform: rotate(-14deg); } .pile .p2 { opacity: .45; transform: rotate(-6deg); }
.pile .lift { position: absolute; left: 34px; top: 10px; width: 136px; z-index: 2; }
.sc6.on .lift { animation: lift 1s .3s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes lift { from { transform: translate(-28px, 34px) rotate(-6deg); } }
.sc6 .pdf, .sc6 .qs { position: absolute; }
.sc6 .pdf { right: 9%; top: 26%; background: var(--brand); color: var(--onbrand); border-color: var(--brand); }
.sc6 .qs { left: 8%; bottom: 16%; }
.sc6.on .pdf { animation: popin .4s 1.3s both; } .sc6.on .qs { animation: popin .4s 1.8s both; }

@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pulse { 50% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .hiw *, .hiw *::after { animation: none !important; } .sc { transition: none; } }
.paused .hiw *, .paused .hiw *::after, .hiw.hold .sc * { animation-play-state: paused !important; }
.sc3 .fix { white-space: nowrap; overflow: hidden; vertical-align: bottom; }
.sc6 .pdf { right: auto; left: 8%; top: 12%; }
.sc6 .qs { left: auto; right: 8%; bottom: 12%; }
.sc2 .k2 { right: 20%; }
.cap { min-height: 4.6em; }

/* phone: bars and caption together on top; no long-press callout */
.stage { -webkit-touch-callout: none; -webkit-user-select: none; }
@media (max-width: 859px) {
  .steps6 { order: 0; } .cap { order: 1; min-height: 3.2em; margin-bottom: 2px; } .stage { order: 2; }
  .cap strong { font-size: 1.1rem; }
}
/* floating phone button appears only after the hero button scrolls away */
.mcta { transform: translateY(140%); opacity: 0; transition: transform .25s ease, opacity .25s ease; pointer-events: none; }
body.show-mcta .mcta { transform: none; opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .mcta { transition: none; } }

/* 44px tap targets, section spacing, and the player right under the hero */
.icon { width: 44px; height: 44px; }
.stage .pause { width: 40px; height: 40px; }
.copy { min-height: 40px; padding: 8px 14px; }
.tabs button { min-height: 44px; }
.chip { min-height: 40px; }
.share a { min-height: 36px; display: inline-flex; align-items: center; }
#how h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
.hint { margin-top: 10px; }

/* proof list, stat rows and the comparison table, kept short for skimming */
.caughtlist { list-style: none; margin: 20px auto; padding: 6px 18px; max-width: 46rem; }
.caughtlist li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.caughtlist li:last-child { border-bottom: 0; }
@media (min-width: 720px) { .caughtlist li { grid-template-columns: 1fr 1fr; gap: 16px; align-items: baseline; } }
.ba li { font-size: 15px; }
@media (max-width: 719px) {
  .stats { gap: 10px; }
  .stat { display: grid; grid-template-columns: 7.2rem 1fr; gap: 4px 12px; align-items: center; padding: 14px 16px; }
  .stat .big { font-size: 1.7rem; grid-row: span 2; }
  .stat p { margin: 0; font-size: 15px; }
  .stat a { grid-column: 2; }
  table { font-size: 14px; } th, td { padding: 10px; }
}

:root { --head: 65px; }
#how .sub strong { color: var(--ink); }
/* the player's stage sizes to the screen so How it works fits one screen */
.stage { height: clamp(290px, calc(100vh - 525px), 420px); height: clamp(290px, calc(100svh - 525px), 420px); }
@media (min-width: 860px) {
  .stage { height: clamp(320px, calc(100vh - 470px), 500px); height: clamp(320px, calc(100svh - 470px), 500px); }
}
@media (max-width: 759px) { #how > .meta:not(.hint) { display: none; } }
@media (min-width: 860px) and (max-height: 880px) { #how h2 { margin-bottom: 4px; } #how .sub { margin-top: 0; margin-bottom: 0; } #how .hiw { margin-top: 12px; } #how .hint { margin-top: 4px; } #how > .meta:not(.hint) { margin-top: 4px; } }

/* Get started: a short pill switcher (also on phones) over panels stacked in one spot,
   so the section is as tall as the tallest panel and never jumps when switching */
.tabs { display: flex; flex-wrap: nowrap; border-radius: 999px; }
.tabs button { border-radius: 999px; }
@media (max-width: 759px) {
  .tabs { display: flex; width: fit-content; gap: 2px; padding: 4px; }
  .tabs button { font-size: 14px; padding: 8px 12px; min-height: 44px; }
}
.panels { display: grid; max-width: 44rem; margin: 0 auto; }
.panels > .panel { grid-area: 1 / 1; margin: 0; }
.panels > .panel[hidden] { display: block !important; visibility: hidden; pointer-events: none; }

#start > details.more { max-width: 44rem; margin: 16px auto 0; text-align: left; }
.copybox code { overflow-wrap: break-word; word-break: normal; }
@media (max-width: 759px) { .copybox code { font-size: 13px; } }

/* blog index: plain header, tools, cards */
.blog-head { padding: 40px 0 8px; }
.blog-head h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); margin: 0 0 4px; }
.blog-tools { display: grid; gap: 12px; margin: 16px 0 8px; }
.blog-tools .search input { margin: 0; max-width: none; }
.blog-tools .chips { justify-content: flex-start; }
.blog-tools #count { margin: 0; }

/* posts: built to skim */
.readbar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 30; }
.readbar b { display: block; height: 100%; width: 0; background: var(--brand); }
.post-head h1 { font-size: clamp(1.7rem, 6.5vw, 2.6rem); line-height: 1.12; }
.tldr { display: block; background: var(--surf); border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: 14px; padding: 16px 20px 6px; margin: 24px 0 8px; box-shadow: var(--shadow); }
.tldr > strong { display: block; font-size: 14px; color: var(--brand); margin-bottom: 2px; }
.tldr ul { margin: 6px 0 10px; padding-left: 20px; }
.tldr li { margin: 6px 0; font-size: 17px; }
.prose h2 { font-size: clamp(1.35rem, 4.6vw, 1.7rem); margin: 44px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.prose p, .prose li { font-size: 18px; }
.prose li strong:first-child { color: var(--ink); }
.prose blockquote { margin: 28px 0; padding: 18px 22px; border: 0; border-radius: 16px; background: var(--tint); font-size: clamp(1.15rem, 4.4vw, 1.45rem); font-weight: 750; line-height: 1.35; letter-spacing: -.01em; }
.prose blockquote p { margin: 0; font-size: inherit; }
.prose .table { margin: 22px 0; font-size: 14px; }
.prose .table td:first-child { font-weight: 700; }
@media (min-width: 900px) { .fig { margin-left: -60px; margin-right: -60px; } }
.fig img { box-shadow: var(--shadow); }
.prose li em { font-style: normal; font-weight: 700; color: var(--brand); }

/* how it works, blog version: it waits at the reader's two steps and plays the AI steps by itself */
.hiw .who, .hiw .act { display: none; }
.hiw.play .who { display: block; position: absolute; left: 12px; top: 12px; z-index: 5; font-size: 12px; font-weight: 800; padding: 6px 11px; border-radius: 999px; background: var(--surf); border: 1px solid var(--line); color: var(--muted); }
.hiw.waiting .who { background: var(--brand); border-color: var(--brand); color: var(--onbrand); }
.hiw.waiting .sc.on *, .hiw.waiting .st.now .bar b { animation-play-state: paused !important; }
.hiw.waiting .sc.on .act { display: inline-flex; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; white-space: nowrap; }
.hiw.play .sc6.on .again { display: inline-flex; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 4; animation: popin .4s 2.4s both; }
.hiw.play .sc5 .tap { display: none; }
.hiw.play .sc5 .ok { animation: none !important; font: inherit; font-size: 13px; font-weight: 800; background: none; cursor: pointer; }
.hiw.play .sc5 .ok.yes { background: var(--green); color: #fff; }
.hiw.waiting .stage { cursor: default; }
/* the pretend pointer on the first step: glides to the button and taps it, again and again, until the reader clicks for real */
.hiw .gcur { display: none; }
.hiw.waiting .sc1.on ~ .gcur { display: block; position: absolute; left: calc(50% + 40px); top: calc(50% + 6px); z-index: 6; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); animation: gcur 3.2s ease-in-out infinite; transform-origin: 4px 2px; }
.hiw.waiting .sc1.on .act { animation: gpress 3.2s ease-in-out infinite; animation-play-state: running !important; }
@keyframes gcur { 0% { opacity: 0; transform: translate(120px, 90px); } 14% { opacity: 1; } 44% { transform: translate(0, 0) scale(1); } 50% { transform: translate(0, 0) scale(.8); } 57% { transform: translate(0, 0) scale(1); } 82% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(40px, 36px); } }
@keyframes gpress { 0%, 47% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 55%, transparent); } 51% { transform: translate(-50%, -50%) scale(.95); } 58% { transform: translate(-50%, -50%) scale(1); } 80%, 100% { box-shadow: 0 0 0 16px transparent; } }
@media (prefers-reduced-motion: reduce) { .hiw.waiting .sc1.on ~ .gcur { animation: none; opacity: 1; } .hiw.waiting .sc1.on .act { animation: none; } }
.hiw.play .sc6 .qs { bottom: 27%; }
.hiw.play .sc6 .pdf { top: 19%; }

/* Plex tops out at 700; keep headings firm without faux bold */
h1, h2, h3, .logo, .btn, summary, .card.post strong, .stat .big, .tldr > strong { font-weight: 700; }
h1 { letter-spacing: -0.025em; }
/* the footer sits at the bottom of the screen on short pages, and after the content on long ones */
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
body > header.site, body > footer.site { flex: none; }

/* blog cards: the title link covers the card; tag buttons sit above it and filter the list */
article.card.post { position: relative; }
article.card.post .stretch { color: inherit; text-decoration: none; }
article.card.post .stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
article.card.post .tags { position: relative; z-index: 1; }
article.card.post button.tag { border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; min-height: 28px; padding: 4px 10px; }
article.card.post button.tag:hover { background: var(--brand); color: var(--onbrand); }
article.card.post:focus-within { border-color: var(--brand); }

/* homepage: each section fills the screen, edge to edge, on alternating backgrounds; content keeps the page
   width, a heading column beside its content on wide screens, stacked on phones */
body.wide header.site .in, body.wide footer.site .in { max-width: var(--wide); }
body.home main > section { position: relative; text-align: left; padding: clamp(56px, 8vw, 112px) 0; border-top: 0; }
body.home main > section::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--bg); }
body.home main > section:nth-of-type(even)::before { background: var(--surf); border-block: 1px solid var(--line); }
body.home main > section:nth-of-type(even) .card, body.home main > section:nth-of-type(even) details,
body.home main > section:nth-of-type(even) .copybox, body.home main > section:nth-of-type(even) .tabs { background: var(--bg); }
@media (min-width: 760px) and (min-height: 600px) {
  body.home main > section { min-height: calc(100vh - var(--head)); min-height: calc(100svh - var(--head)); display: grid; align-content: center; }
}
.sh { max-width: 40rem; margin-bottom: 32px; }
.sh h2 { margin-top: 0; }
.sh .sub { margin: 0 0 12px; }
.split { display: grid; gap: 32px clamp(32px, 6vw, 96px); }
.split > .sh { margin-bottom: 0; }
@media (min-width: 960px) {
  body.home main > section.split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split > .sh { position: sticky; top: calc(var(--head) + 32px); }
}
/* the old centred blocks take the column they sit in */
body.home .caughtlist, body.home .faq, body.home .panels, body.home .note, body.home .table, body.home .hiw,
body.home #start details.more { max-width: none; margin-left: 0; margin-right: 0; }
body.home .caughtlist, body.home .faq { margin-top: 0; }
body.home .tabs { margin: 20px 0 0; }
body.home .apps { text-align: left; }
body.home section > .meta { margin: 8px 0 0; }
.why-compare { margin-top: 40px; align-items: center; }
@media (min-width: 960px) { .why-compare { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.why-compare .table { margin: 0; }
.limits { margin: 0; }
body.home .final { text-align: center; justify-items: center; }
.read-more { width: 100%; margin-top: clamp(56px, 9vh, 104px); text-align: left; }
.read-more h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
.read-more .grid { margin-bottom: 0; }

/* hero: one centred column with room around it */
body.home .hero { text-align: center; justify-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); margin: 0 0 24px; }
.nb { white-space: nowrap; }
.hero h1 .accent { font-size: .78em; margin-top: 12px; }
.hero .lede { margin: 0 auto; max-width: 34rem; font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
.hero .cta { margin: 40px auto 20px; }
.hero .trust { justify-content: center; }

/* proof: before and after, then the catches */
.proof-body { display: grid; gap: 16px; }
.proof-body .ba { grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .proof-body .ba { grid-template-columns: 1fr 1.7fr; } }
.proof-body .card:first-child li { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--danger) 70%, transparent); color: var(--muted); }
body.home .caughtlist { margin: 0; }

/* index pages: cards across the page */
.blog-head p, .ex-head p { max-width: 44rem; }
.ex-chips { justify-content: flex-start; }
@media (min-width: 1100px) { .ex-wrap .grid.posts { grid-template-columns: repeat(3, 1fr); } }

/* blog posts: on wide screens an "On this page" list sits beside the article and uses the side space */
.post-wrap { max-width: var(--page); }
.toc { display: none; }
@media (min-width: 1100px) {
  .post-grid { display: grid; grid-template-columns: 15rem minmax(0, 48rem); gap: clamp(40px, 5vw, 80px); justify-content: center; }
  .toc { display: block; position: sticky; top: calc(var(--head) + 32px); align-self: start; margin-top: 72px; font-size: 14px; }
  .toc strong { display: block; color: var(--ink); margin-bottom: 8px; }
  .toc ol { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px solid var(--line); display: grid; gap: 8px; }
  .toc a { color: var(--muted); text-decoration: none; line-height: 1.35; display: block; }
  .toc a:hover { color: var(--brand); }
}
.prose h2 { scroll-margin-top: calc(var(--head) + 16px); }

/* example pages have no site header or footer: the viewer gets the whole screen */
body.bare .rv-app { height: 100vh; height: 100svh; }
.post-head .lede { max-width: none; }

/* why: the heading on one line on wide screens, the sub broken where the meaning breaks */
.sh.wide { max-width: none; }
br.desk { display: none; }
@media (min-width: 760px) { .sh.wide h2 { white-space: nowrap; } br.desk { display: inline; } }

/* examples: one recorded run's "who worked when" chart; the playhead sweeps once as the bars appear */
:root { --gold: #8a6a12; }
:root[data-theme="dark"] { --gold: #d2ad4a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --gold: #d2ad4a; } }
#examples .cta { justify-content: flex-start; margin: 24px 0 0; }
.runcard { display: grid; gap: 14px; text-decoration: none; color: var(--ink); padding: clamp(18px, 2.4vw, 28px); transition: border-color .15s; }
.runcard:hover { border-color: var(--brand); }
.runcard strong { font-size: 1.15rem; line-height: 1.3; }
.runcard .facts { display: flex; flex-wrap: wrap; gap: 6px; }
.runcard .facts span { border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; font-size: 13px; color: var(--muted); }
.ml { position: relative; display: grid; grid-template-columns: 4.6rem 1fr; gap: 7px 10px; align-items: center; padding: 6px 0; }
.ml-steps { position: relative; height: 18px; font-size: 11px; color: var(--muted); }
.ml-steps span { position: absolute; top: 0; padding-left: 4px; border-left: 1px solid var(--line); white-space: nowrap; }
.ml-name { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-track { position: relative; height: 22px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 5%, transparent); --c: var(--muted); }
.ml-track i { position: absolute; top: 2px; bottom: 2px; border-radius: 4px; background: color-mix(in srgb, var(--c) 30%, var(--surf)); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  font: normal 600 11px/16px "IBM Plex Sans", system-ui, sans-serif; color: color-mix(in srgb, var(--c) 80%, var(--ink)); padding-left: 5px; overflow: hidden; white-space: nowrap; }
.ml-track i.w { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 18%, transparent) 0 4px, transparent 4px 8px); }
.ml-user { --c: var(--ink); } .ml-host { --c: var(--brand); } .ml-claude { --c: var(--purple); } .ml-agy, .ml-gemini { --c: var(--green); }
.ml-codex, .ml-chatgpt { --c: var(--blue); } .ml-check { --c: var(--gold); }
.ml-head { position: absolute; top: 0; bottom: 0; left: calc(4.6rem + 10px); width: 2px; background: var(--brand); opacity: 0; }
.runcard.on .ml-track i { animation: mlshow .3s var(--d, 0s) both; }  /* each bar appears as the playhead reaches it */
.runcard.on .ml-head { animation: mlhead 4.5s cubic-bezier(.4,0,.6,1) both; }
@keyframes mlhead { 0% { opacity: 1; left: calc(4.6rem + 10px); } 92% { opacity: 1; } 100% { opacity: 0; left: calc(100% - 2px); } }
@keyframes mlshow { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .runcard.on .ml-track i, .runcard.on .ml-head { animation: none; } }

/* read more: each card leads with the post's first drawing */
.card.post.pic { padding: 0 0 20px; overflow: hidden; }
.card.post.pic > :not(.thumb) { margin-left: 20px; margin-right: 20px; }
.card.post .thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); margin-bottom: 8px; }

/* the closing line gets its own screen */
body.home .final h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 20ch; margin: 0 0 16px; }
body.home .final p { font-size: clamp(1.05rem, 2vw, 1.25rem); margin: 0 0 32px; }
@media (max-width: 559px) { .ml > span:first-child, .ml-steps { display: none; } }
/* "On this page": the section being read is bright, with a brand bar on the rail */
.toc a { position: relative; transition: color .15s; }
.toc a.on { color: var(--ink); font-weight: 600; }
.toc a.on::before { content: ""; position: absolute; left: -14px; top: 0; bottom: 0; width: 2px; background: var(--brand); }
