/* Launch-page additions on top of site.css: the signup form, steps, FAQ. */

[hidden] { display: none !important; }

.signup { margin: 1.5rem 0 2rem; max-width: 34rem; }
.signup-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.signup input[type=email] {
  flex: 1 1 16rem; min-width: 0;
  font: inherit; font-size: 1.05rem;
  padding: .8rem 1rem;
  color: var(--text); background: var(--bg-raise);
  border: 1px solid var(--panel-edge); border-radius: var(--radius-sm);
}
.signup input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.signup button { flex: 0 0 auto; }
.signup .hero-note { margin-top: .75rem; }
.hero-live { margin: -1rem 0 1.75rem; color: var(--muted); font-size: .95rem; }
.hero-live a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-error {
  margin: 0 0 .75rem; padding: .6rem .9rem;
  color: var(--fail); background: rgba(255, 107, 122, .1);
  border: 1px solid rgba(255, 107, 122, .35); border-radius: var(--radius-sm);
}
.form-success {
  margin: 0; padding: .8rem 1rem; font-weight: 600;
  color: var(--accent); background: var(--accent-dim);
  border: 1px solid var(--accent); border-radius: var(--radius-sm);
}
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#cta .signup { margin-left: auto; margin-right: auto; }
#cta { text-align: center; }
#cta .lede { margin-left: auto; margin-right: auto; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.steps li { position: relative; padding: 1.25rem 1.25rem 1.25rem 3.5rem; background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius); color: var(--muted); }
.steps li strong { color: var(--text); display: block; margin-bottom: .25rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 1.1rem; top: 1.1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; }

.faq { margin: 1.5rem 0 0; max-width: 46rem; }
.faq dt { font-weight: 600; margin-top: 1.25rem; color: var(--text); }
.faq dd { margin: .35rem 0 0; color: var(--muted); }

code { font-size: .92em; padding: .1em .35em; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 4px; }
.card .meta { overflow-wrap: anywhere; }

/* ---- product mock: mirrors the real board (sidebar, banner, tiles, rows) ---- */
.mock {
  display: grid; grid-template-columns: 11rem 1fr;
  margin-top: 2.5rem; border: 1px solid var(--panel-edge); border-radius: var(--radius);
  background: var(--bg); overflow: hidden; font-size: .72rem; line-height: 1.3;
  color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.mock i { font-style: normal; }
.mock .dot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--ok); flex: 0 0 auto; }
.mock .dot-ok { background: var(--ok); } .mock .dot-fail { background: var(--fail); }
.mock .dot-run { background: var(--run); } .mock .dot-none { background: var(--neutral); }
.mock .c-ok { color: var(--ok); } .mock .c-fail { color: var(--fail); } .mock .c-run { color: var(--run); }
.mock .c-drift { color: var(--drift); } .mock .c-muted { color: var(--faint); }
.mock code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95em; color: var(--accent); background: none; border: 0; padding: 0; }

.mock-side { background: var(--bg-raise); border-right: 1px solid var(--line); padding: .9rem .8rem; display: flex; flex-direction: column; gap: .6rem; }
.mock-brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; margin-bottom: .2rem; }
.mock-status { display: flex; gap: .5rem; align-items: center; padding: .55rem .6rem; background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius-sm); }
.mock-status b { display: block; } .mock-status small { color: var(--muted); font-size: .85em; }
.mock-h { text-transform: uppercase; letter-spacing: .08em; font-size: .6rem; color: var(--faint); margin-top: .4rem; }
.mock-list { list-style: none; margin: 0; padding: 0; }
.mock-list li { display: flex; justify-content: space-between; align-items: center; padding: .38rem .5rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.mock-list li span { display: flex; gap: .4rem; align-items: center; }
.mock-list li b { color: var(--text); }
.mock-list li.on { background: var(--panel); border-radius: var(--radius-sm); color: var(--text); border-bottom-color: transparent; }
.mock-bottom { margin-top: auto; }
.mock-nav { display: flex; flex-direction: column; gap: .35rem; }
.mock-nav span { display: flex; justify-content: space-between; padding: .45rem .6rem; background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius-sm); }

.mock-main { padding: .8rem; display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.mock-top { display: flex; justify-content: flex-end; gap: .6rem; align-items: center; color: var(--muted); font-size: .68rem; }
.mock .chip { padding: .2rem .5rem; border: 1px solid var(--panel-edge); border-radius: 6px; background: var(--panel); color: var(--text); }
.mock .chip-ok { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.mock-banner { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.mock-headline { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius-sm); font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.mock .tile-dot { width: 2.2rem; height: 2.2rem; border-radius: 9px; background: var(--ok); box-shadow: 0 0 0 4px var(--accent-dim); flex: 0 0 auto; }
.mock .tile-dot.fail { background: var(--fail); box-shadow: 0 0 0 4px rgba(255,107,122,.18); }
.mock-tiles { display: flex; gap: .4rem; }
.mock-tiles div { min-width: 3.6rem; padding: .5rem .6rem; background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius-sm); }
.mock-tiles b { display: block; font-size: 1.3rem; line-height: 1.1; font-weight: 800; }
.mock-tiles small { color: var(--muted); }

.mock-row { display: grid; grid-template-columns: 11rem 1fr auto; gap: .8rem; align-items: start; padding: .8rem .9rem; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mock-id { display: flex; gap: .45rem; align-items: flex-start; min-width: 0; }
.mock-id .dot { margin-top: .5em; }
.mock-id b { display: block; font-size: .95rem; font-weight: 700; }
.mock-id small { display: block; color: var(--muted); }
.mock-id em { display: inline-block; margin-top: .25rem; padding: .1rem .4rem; font-size: .6rem; color: var(--faint); background: var(--panel); border-radius: 4px; }
.mock-stages { display: flex; align-items: flex-start; flex-wrap: wrap; row-gap: .5rem; min-width: 0; }
.stage-col { display: flex; flex-direction: column; gap: .35rem; width: 7.4rem; }
.mock .stage { display: block; text-align: center; padding: .5rem .3rem; border-radius: 6px; font-weight: 700; color: #06281a; background: var(--ok); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .stage.fail { background: var(--fail); color: #2b0a0e; }
.mock .stage.run { background: var(--run); color: #2b1c02; }
.mock .stage.none { background: var(--neutral); color: var(--text); }
.mock .link { width: 1.4rem; height: 2px; margin-top: 1rem; background: var(--panel-edge); flex: 0 0 auto; }
.scard { display: flex; flex-direction: column; gap: .1rem; padding: .4rem .5rem; background: var(--panel); border: 1px solid var(--panel-edge); border-radius: 6px; min-width: 0; }
.scard span, .scard small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scard small { color: var(--faint); font-size: .62rem; }
.scard b { font-weight: 700; }
.scard-fail { border-color: rgba(255,107,122,.5); }
.scard-drift { border-color: rgba(180,140,255,.55); }
.mock .badge { padding: .25rem .6rem; border-radius: 999px; font-weight: 700; white-space: nowrap; border: 1px solid; margin-top: .6rem; }
.badge-fail { color: var(--fail); border-color: var(--fail); background: rgba(255,107,122,.1); }
.badge-drift { color: var(--drift); border-color: var(--drift); background: rgba(180,140,255,.12); }
.badge-run { color: var(--run); border-color: var(--run); background: rgba(242,178,62,.12); }
.badge-none { color: var(--faint); border-color: var(--panel-edge); background: var(--panel); }
@media (prefers-color-scheme: dark) { body { --faint: #8491aa; } }
@media (prefers-color-scheme: light) {
  .mock .stage.run { background: #805700; }
  .mock .stage { color: #fff; } .mock .stage.fail, .mock .stage.run { color: #fff; }
  .mock .stage.none { color: var(--text); }
  .mock .chip-ok { color: #086840; }
  .mock .badge-run { color: #805700; }
  .mock { box-shadow: 0 20px 50px rgba(19,27,43,.12); }
}
@media (max-width: 900px) {
  .mock { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-banner { grid-template-columns: 1fr; }
  .mock-tiles { flex-wrap: wrap; }
  .mock-row { grid-template-columns: 1fr; }
  .mock .badge { justify-self: start; margin-top: 0; }
}

/* ---- scannable copy helpers ---- */
.mid-cta { margin-top: 2rem; }
.honesty-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; max-width: 34rem; }
.honesty-list li { padding: .75rem 1rem; background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius-sm); color: var(--muted); }
.honesty-list strong { color: var(--text); }
.feature p strong { color: var(--text); }

/* ---- mock animation ---- */
.mock .stage, .mock .badge, .mock .scard, .mock .dot, .mock .tile-dot, .mock-tiles b { transition: background-color .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease; }
@keyframes mock-flash { 0% { box-shadow: 0 0 0 0 rgba(67,223,160,.55); } 100% { box-shadow: 0 0 0 10px rgba(67,223,160,0); } }
@keyframes mock-flash-fail { 0% { box-shadow: 0 0 0 0 rgba(255,107,122,.55); } 100% { box-shadow: 0 0 0 10px rgba(255,107,122,0); } }
@keyframes mock-flash-drift { 0% { box-shadow: 0 0 0 0 rgba(180,140,255,.55); } 100% { box-shadow: 0 0 0 10px rgba(180,140,255,0); } }
@keyframes mock-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.mock .flash { animation: mock-flash .9s ease-out; }
.mock .flash-fail { animation: mock-flash-fail .9s ease-out; }
.mock .flash-drift { animation: mock-flash-drift .9s ease-out; }
.mock .stage.run, .mock .badge-run { animation: mock-pulse 1.4s ease-in-out infinite; }
.mock .tile-dot.ok { background: var(--ok); box-shadow: 0 0 0 4px var(--accent-dim); }
@media (prefers-reduced-motion: reduce) {
  .mock *, .mock .stage.run, .mock .badge-run { animation: none !important; transition: none !important; }
}

/* ---- visual-forward sections ---- */
.section { padding: 5.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head .lede { margin-bottom: 0; }
.vcards { display: grid; gap: 1.1rem; }
.vcards.three { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.vcard { display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem; background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius); transition: transform .2s ease, border-color .2s ease; }
.vcard:hover { transform: translateY(-2px); border-color: var(--accent); }
.vcard h3 { margin: .2rem 0 0; font-size: 1.1rem; }
.vcard p { margin: 0; color: var(--muted); line-height: 1.5; }
.vcard p strong { color: var(--text); }
.vicon { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--accent-dim); color: var(--accent); }
.vicon.fail { background: rgba(255,107,122,.12); color: var(--fail); }
.vicon.drift { background: rgba(180,140,255,.14); color: var(--drift); }
.vicon.muted { background: var(--bg-raise); color: var(--muted); }
.icon { width: 1.35rem; height: 1.35rem; }
.mini { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .8rem; }
.mini code { font-size: .8rem; color: var(--accent); background: none; border: 0; padding: 0; }
.mini-text { color: var(--faint); }
.mini-env { font-weight: 700; }
.mini .pill, .mini .badge-drift { font-size: .72rem; }

.steps-visual li { padding: 1.5rem; text-align: left; }
.steps-visual li::before { display: none; }
.steps-visual li .vicon { margin-bottom: .9rem; }
.steps-visual li strong { display: block; font-size: 1.1rem; margin-bottom: .2rem; }
.works-with { list-style: none; padding: 0; margin: 2rem 0 .5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.works-with li { padding: .4rem .8rem; border: 1px solid var(--panel-edge); border-radius: 999px; color: var(--muted); font-size: .85rem; background: var(--bg-raise); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; max-width: 52rem; }
.compare-col { padding: 1.2rem 1.4rem; border: 1px solid var(--panel-edge); border-radius: var(--radius); background: var(--bg-raise); }
.compare-us { border-color: var(--accent); background: var(--panel); box-shadow: 0 0 0 4px var(--accent-dim); }
.compare-label { margin: 0 0 .8rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.compare-us .compare-label { color: var(--accent); }
.compare-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.compare-row .pill { font-size: .72rem; }
.mini-spinner { width: 1rem; height: 1rem; border: 2px solid var(--line); border-top-color: var(--muted); border-radius: 50%; animation: mock-spin 1s linear infinite; }
@keyframes mock-spin { to { transform: rotate(360deg); } }
#honesty .quote-line { margin-top: 2rem; }

.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.term { border: 1px solid var(--panel-edge); border-radius: var(--radius); background: #0a0e18; color: var(--text); overflow: hidden; font-size: .82rem; }
@media (prefers-color-scheme: light) { .term { --faint: #9aa8bf; background: #131b2b; color: #e9eef7; } }
.term-bar { display: flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-bottom: 1px solid var(--panel-edge); color: var(--faint); font-size: .72rem; }
.term-bar i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--panel-edge); }
.term-bar span { margin-left: .4rem; }
.term pre { margin: 0; padding: 1rem 1.1rem; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; line-height: 1.55; }

.faq { max-width: 46rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); }

.cta-card { padding: 3rem 1.5rem; border: 1px solid var(--panel-edge); border-radius: var(--radius); background: radial-gradient(60% 80% at 50% 0%, var(--accent-dim), transparent), var(--panel); }
.cta-card h2 { margin-top: 0; }

@media (max-width: 760px) {
  .section { padding: 4rem 0; }
  .compare, .split-2 { grid-template-columns: minmax(0, 1fr); }
}

/* ---- multi-repo standout band ---- */
.repos-band { background: linear-gradient(180deg, var(--bg-raise), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.repos-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.repos-copy .lede { margin-bottom: 1.25rem; }
.repos-copy .lede strong { color: var(--text); }
.repos-points { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .6rem; }
.repos-points li { padding-left: 1.6rem; position: relative; color: var(--muted); }
.repos-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: .9rem; height: .9rem; border-radius: 50%; background: var(--accent-dim); border: 2px solid var(--accent); }
.repos-points strong { color: var(--text); }
.repos-visual { display: grid; grid-template-columns: auto 5rem 1fr; align-items: center; gap: 0; }
.repo-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.repo-chips li { display: flex; align-items: center; gap: .5rem; padding: .35rem .7rem; font-size: .8rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); background: var(--panel); border: 1px solid var(--panel-edge); border-radius: 999px; white-space: nowrap; }
.repo-chips li.more { font-family: inherit; color: var(--faint); background: none; border-style: dashed; }
.repo-chips .dot, .one-board .dot { width: .5rem; height: .5rem; border-radius: 50%; display: inline-block; background: var(--ok); flex: 0 0 auto; }
.repos-visual .dot-ok { background: var(--ok); } .repos-visual .dot-fail { background: var(--fail); } .repos-visual .dot-run { background: var(--run); } .repos-visual .dot-none { background: var(--neutral); }
.repo-flow { width: 5rem; height: 100%; min-height: 14rem; }
.repo-flow path { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: .55; stroke-dasharray: 4 4; animation: repo-flow 1.6s linear infinite; }
@keyframes repo-flow { to { stroke-dashoffset: -16; } }
.one-board { padding: .9rem; background: var(--bg); border: 1px solid var(--accent); border-radius: var(--radius); box-shadow: 0 0 0 6px var(--accent-dim), 0 20px 50px rgba(0,0,0,.3); font-size: .78rem; }
.one-board-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-weight: 700; }
.one-board-top span { display: flex; align-items: center; gap: .4rem; }
.one-board .chip { padding: .1rem .45rem; border: 1px solid var(--accent); border-radius: 6px; color: var(--accent); font-weight: 600; font-size: .68rem; }
.one-board-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin: .7rem 0; }
.one-board-tiles div { padding: .45rem .5rem; background: var(--panel); border: 1px solid var(--panel-edge); border-radius: 6px; }
.one-board-tiles b { display: block; font-size: 1.15rem; line-height: 1.1; }
.one-board-tiles small { color: var(--muted); }
.one-board .c-fail { color: var(--fail); } .one-board .c-drift { color: var(--drift); }
.one-board-rows { display: grid; gap: .3rem; }
.one-board-rows span { display: flex; align-items: center; gap: .45rem; padding: .35rem .5rem; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; font-weight: 600; }
.one-board-rows em { margin-left: auto; font-style: normal; font-weight: 400; color: var(--muted); }
.one-board-label { margin: .7rem 0 0; color: var(--faint); font-size: .7rem; text-align: center; }
@media (max-width: 900px) {
  .repos-grid { grid-template-columns: 1fr; gap: 2rem; }
  .repos-visual { grid-template-columns: 1fr; gap: .75rem; }
  .repo-chips { grid-template-columns: repeat(2, 1fr); }
  .repo-flow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .repo-flow path { animation: none; } }

/* ---- drift band ---- */
.drift-band { border-bottom: 1px solid var(--line); }
.drift-visual { padding: 1.4rem; background: var(--bg-raise); border: 1px solid var(--panel-edge); border-radius: var(--radius); display: grid; gap: .6rem; font-size: .8rem; }
.lane { display: grid; grid-template-columns: 5.5rem 1fr; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; }
.lane-name { grid-row: 1 / span 2; font-weight: 700; color: var(--text); }
.lane-track { display: flex; align-items: center; gap: .55rem; position: relative; padding: .35rem 0; }
.lane-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); z-index: 0; }
.lane-track i { position: relative; z-index: 1; width: .9rem; height: .9rem; border-radius: 50%; background: var(--panel); border: 2px solid var(--accent); }
.lane-track i.head { width: 1.15rem; height: 1.15rem; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-dim); animation: drift-pulse 2s ease-in-out infinite; }
.lane-track i.deployed { width: 1.15rem; height: 1.15rem; background: var(--drift); border-color: var(--drift); box-shadow: 0 0 0 5px rgba(180,140,255,.18); }
.lane-track i.ghost { border-style: dashed; border-color: var(--panel-edge); background: transparent; }
.lane-meta { grid-column: 2; color: var(--muted); }
.lane-meta code { background: none; border: 0; padding: 0; color: var(--accent); }
.gap { display: grid; grid-template-columns: 5.5rem 1fr; column-gap: .8rem; align-items: center; }
.gap-bracket { grid-column: 2; height: .9rem; margin-left: 1.9rem; border: 2px solid var(--drift); border-top: 0; border-radius: 0 0 8px 8px; opacity: .8; }
.gap .badge-drift { grid-column: 2; justify-self: center; margin-top: .3rem; }
.paths { list-style: none; margin: .6rem 0 0; padding: .8rem 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: .4rem; }
.paths li { padding: .25rem .55rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; color: var(--text); background: var(--panel); border: 1px solid var(--panel-edge); border-radius: 6px; }
.paths li.ignored { color: var(--faint); border-style: dashed; text-decoration: line-through; }
@keyframes drift-pulse { 0%,100% { box-shadow: 0 0 0 5px var(--accent-dim); } 50% { box-shadow: 0 0 0 9px transparent; } }
.repos-copy .btn-ghost { display: inline-block; }

/* ---- alerts card: runs timeline ---- */
.mini-runs { flex-direction: column; align-items: flex-start; gap: .4rem; }
.runs { display: flex; gap: .28rem; align-items: center; width: 100%; }
.runs i { flex: 1 1 0; height: .45rem; border-radius: 2px; background: var(--line); }
.runs i.hit { height: 1rem; border-radius: 3px; }
.runs i.hit.fail { background: var(--fail); } .runs i.hit.ok { background: var(--ok); } .runs i.hit.drift { background: var(--drift); }
.mini-runs .mini-text strong { color: var(--text); }
@media (max-width: 900px) {
  .drift-band .repos-grid { grid-template-columns: 1fr; }
  .drift-visual { order: 2; }
  .lane { grid-template-columns: 4rem 1fr; }
  .gap { grid-template-columns: 4rem 1fr; }
}
@media (prefers-reduced-motion: reduce) { .lane-track i.head { animation: none; } }

/* Phone layouts keep the illustrations readable within the page gutters. */
@media (max-width: 640px) {
  .repos-copy .btn { max-width: 100%; white-space: normal; }
  .signup-row { flex-direction: column; }
  .signup input[type=email] { flex: auto; width: 100%; }
  .signup button { width: 100%; white-space: normal; }
  .mock-top { flex-wrap: wrap; justify-content: space-between; }
  .mock-headline { font-size: 1.05rem; padding: .75rem; gap: .6rem; }
  .mock-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mock-tiles div { min-width: 0; padding: .5rem .25rem; text-align: center; }
  .mock-tiles small { font-size: .6rem; }
  .mock-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; width: 100%; }
  .stage-col { width: auto; min-width: 0; }
  .mock .link { display: none; }
  .repo-chips { display: flex; flex-wrap: wrap; }
  .drift-visual { padding: 1rem; }
  .lane, .gap { grid-template-columns: 3rem minmax(0, 1fr); column-gap: .5rem; }
  .lane-track { gap: .3rem; }
  .compare-col { padding: 1rem; }
  .compare-row { gap: .5rem; }
  .compare-row .pill, .mini-spinner { flex-shrink: 0; }
  .vcards.three, .steps { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- live demo band ---------- */
.demo-band { padding: 2.5rem 0 3.5rem; }
.demo-card { position: relative; overflow: hidden; text-align: center; padding: 3rem 1.5rem 2.75rem; border: 1px solid var(--line); border-radius: 20px;
  background: radial-gradient(120% 140% at 50% 0%, var(--accent-dim), transparent 60%), var(--bg-raise); }
.demo-card .kicker { margin-bottom: .75rem; }
.demo-card h2 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 1rem; }
.demo-card .lede { max-width: 40rem; margin: 0 auto 1.75rem; }
.demo-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; align-items: center; }
.btn-xl { padding: 1rem 2rem; font-size: 1.2rem; font-weight: 700; }
.demo-fine { margin: 1.5rem 0 0; color: var(--muted); font-size: .9rem; }
.demo-fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .demo-card { padding: 2.25rem 1rem 2rem; border-radius: 14px; } .demo-actions .btn { width: 100%; } }
