/* Runbook: hand-written CSS. Light and dark themes via custom properties. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --border: #e3e6eb;
  --border-strong: #cfd4dc;
  --text: #141a24;
  --muted: #5d6675;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef0ff;
  --accent-text: #ffffff;
  --ok: #15803d;
  --ok-soft: #e7f6ec;
  --ok-strong: #16a34a;
  --danger: #b91c1c;
  --danger-soft: #fdecec;
  --warn-soft: #fff7e0;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .12), 0 2px 6px rgba(16, 24, 40, .06);
  --radius: 12px;
  --radius-sm: 8px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1017;
    --surface: #141a23;
    --surface-2: #1b222d;
    --border: #262f3c;
    --border-strong: #354152;
    --text: #e7ecf3;
    --muted: #97a1b1;
    --accent: #818cf8;
    --accent-hover: #a5b4fc;
    --accent-soft: #1f2347;
    --accent-text: #0c1017;
    --ok: #4ade80;
    --ok-soft: #12291c;
    --ok-strong: #22c55e;
    --danger: #f87171;
    --danger-soft: #2d1416;
    --warn-soft: #2b2410;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0c1017;
  --surface: #141a23;
  --surface-2: #1b222d;
  --border: #262f3c;
  --border-strong: #354152;
  --text: #e7ecf3;
  --muted: #97a1b1;
  --accent: #818cf8;
  --accent-hover: #a5b4fc;
  --accent-soft: #1f2347;
  --accent-text: #0c1017;
  --ok: #4ade80;
  --ok-soft: #12291c;
  --ok-strong: #22c55e;
  --danger: #f87171;
  --danger-soft: #2d1416;
  --warn-soft: #2b2410;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; width: 100%; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: 1.75rem; font-weight: 700; }
h2 { font-size: 1.15rem; font-weight: 650; }
h3, .h3 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 .75em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--border); padding: .05em .35em; border-radius: 5px; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.page { padding-top: 28px; padding-bottom: 88px; }
.narrow { max-width: 560px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.stack > label + input, .stack > label + textarea, .stack > label + select { margin-top: 4px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: absolute; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.js .nojs-only { display: none; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo { width: 28px; height: 28px; }
.logo-bg { fill: var(--accent); }
.logo-check { fill: none; stroke: var(--accent-text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mainnav { display: flex; gap: 4px; }
.mainnav a { color: var(--muted); padding: 6px 10px; border-radius: 8px; font-weight: 500; }
.mainnav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.mainnav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px; border: 1px solid transparent;
  background: transparent; color: var(--muted); cursor: pointer; font-size: 15px; padding: 0;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn:disabled { opacity: .35; cursor: default; background: transparent; }
.icon-btn.sm { width: 30px; height: 30px; font-size: 14px; border-radius: 7px; }
.icon-btn.danger:hover { color: var(--danger); background: var(--danger-soft); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-moon { display: none !important; }
:root[data-theme="dark"] .i-sun { display: none !important; }
:root[data-theme="dark"] .i-moon { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none !important; }
  :root:not([data-theme="light"]) .i-moon { display: block !important; }
}

/* Account menu */
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-btn { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--border); cursor: pointer; background: var(--surface); }
.menu-btn:hover { border-color: var(--border-strong); }
.menu-org { font-weight: 550; font-size: .9rem; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-pop {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.menu-email { font-size: .85rem; color: var(--muted); padding: 6px 10px; margin: 0; border-bottom: 1px solid var(--border); margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; }
.menu-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 4px 10px 2px; margin: 0; }
.menu-item { display: block; width: 100%; text-align: left; padding: 7px 10px; border-radius: 7px; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; }
.menu-item:hover { background: var(--surface-2); text-decoration: none; }
.menu-item.active { font-weight: 650; color: var(--accent); }

.avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .8rem;
}
.avatar.sm { width: 24px; height: 24px; font-size: .72rem; }
.muted-avatar { background: var(--surface-2); color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 16px; border-radius: 9px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; white-space: nowrap;
  transition: background .12s, border-color .12s, transform .05s;
}
.btn:hover { text-decoration: none; background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-success { background: var(--ok-strong); border-color: var(--ok-strong); color: #fff; }
.btn-success:hover { filter: brightness(1.05); background: var(--ok-strong); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 32px; padding: 0 12px; font-size: .85rem; border-radius: 8px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 1rem; border-radius: 11px; }
.btn-block { width: 100%; }

/* Forms */
input:not([type="checkbox"]):not([type="hidden"]), textarea, select {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 9px; padding: 8px 12px; min-height: 38px;
  transition: border-color .12s, box-shadow .12s;
}
.row > input:not([type="checkbox"]), .row > select { width: auto; flex: 1; min-width: 140px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
input[readonly] { background: var(--surface-2); }
textarea { resize: vertical; }
textarea.mono, .mono { font-family: var(--mono); font-size: .88rem; }
label { font-weight: 600; font-size: .9rem; display: block; }
.check-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }
input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }
select { padding-right: 28px; }

/* Cards, alerts, badges */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.alert { border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 16px; border: 1px solid; }
.alert-error { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 35%, transparent); color: var(--danger); }
.alert-ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 35%, transparent); color: var(--text); }
.badge {
  display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); white-space: nowrap; vertical-align: middle;
}
.badge-ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge-danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge-accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge-muted { background: var(--surface-2); color: var(--muted); border-color: var(--border-strong); }
.chip { margin-right: 4px; }
.empty { border: 1.5px dashed var(--border-strong); border-radius: var(--radius); padding: 28px; text-align: center; background: color-mix(in srgb, var(--surface) 50%, transparent); }
.empty p { margin-bottom: .4em; }
.empty .btn { margin-top: 8px; }
.crumbs { color: var(--muted); font-size: .85rem; margin-bottom: 4px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { margin-bottom: 2px; }
.page-head p { margin: 0; }

/* Layout grids */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.run-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.span-2 { grid-column: 1 / -1; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 16px; }
.list { display: flex; flex-direction: column; gap: 8px; }

/* Run rows */
.runrow {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text);
  box-shadow: var(--shadow); transition: border-color .12s, transform .12s;
}
.runrow:hover { text-decoration: none; border-color: var(--border-strong); transform: translateY(-1px); }
.runrow-main { flex: 1; min-width: 0; }
.runrow-title { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.runrow-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .82rem; margin-top: 3px; }
.runrow .progress-wrap { width: 150px; flex: none; }

.tplrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.tplrow-name { display: flex; flex-direction: column; color: var(--text); font-weight: 600; min-width: 0; }
.tplrow-name span { font-weight: 400; }
.tplcard h2 { font-size: 1.05rem; }
.tplcard h2 a { color: var(--text); }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Progress */
.progress-wrap { display: flex; align-items: center; gap: 10px; }
.progress { flex: 1; appearance: none; -webkit-appearance: none; width: 100%; height: 8px; border: 0; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress::-webkit-progress-bar { background: var(--surface-2); border-radius: 999px; }
.progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; transition: width .3s; }
.progress::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
.progress.done::-webkit-progress-value { background: var(--ok-strong); }
.progress.done::-moz-progress-bar { background: var(--ok-strong); }
.progress-text { font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--muted); font-weight: 600; min-width: 36px; text-align: right; }

/* Usage */
.usage-head { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 8px; }
.usage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.usage-grid div { background: var(--surface-2); border-radius: var(--radius-sm); padding: 8px 10px; }
.usage-grid dt { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.usage-grid dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Sections and items */
.section-card { padding: 16px 18px; }
.section-card > h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.section-head h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0; }
.editor .section-card + .section-card, .editor .add-section, .run .section-card + .section-card { margin-top: 14px; }
.items { list-style: none; margin: 0; padding: 0; }
.item { border-top: 1px solid var(--border); }
.item:first-child { border-top: 0; }
.item-main { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; }
.item-text { flex: 1; min-width: 0; padding-top: 3px; overflow-wrap: anywhere; }
.notes { white-space: pre-line; color: var(--muted); font-size: .86rem; margin: 3px 0 0; }
.checked-by { color: var(--ok); font-size: .8rem; margin: 3px 0 0; }
.bullet { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); margin: 9px 4px 0; flex: none; }
.tools { display: flex; align-items: center; gap: 2px; flex: none; }
.tools form { margin: 0; }
.empty-items { padding: 8px 0; }
.vars-line { margin: 0 0 14px; }

.check {
  flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--border-strong);
  background: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0;
  transition: background .12s, border-color .12s, transform .08s;
}
.check svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .12s, transform .12s; }
button.check:hover { border-color: var(--ok-strong); }
button.check:active { transform: scale(.92); }
.check.on { background: var(--ok-strong); border-color: var(--ok-strong); }
.check.on svg { opacity: 1; transform: none; }
.check:disabled { cursor: default; }
.is-checked .item-label { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.assign { margin: 0; display: flex; gap: 6px; }
.assign select { width: 190px; min-height: 32px; padding: 4px 26px 4px 8px; font-size: .82rem; color: var(--muted); }
.run-progress { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.run-progress .progress-wrap { flex: 1; min-width: 200px; }
.run-progress form { margin: 0; }
.assignee-note { color: var(--muted); font-size: .82rem; white-space: nowrap; padding-top: 4px; }
.done-note { color: var(--ok); font-weight: 600; font-size: .9rem; }
.cancel-note { color: var(--muted); font-weight: 600; font-size: .9rem; }
.cancel-card summary { color: var(--muted); }
.run-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .85rem; margin-top: 4px !important; }

/* Template editor */
.details-card { padding: 0; margin-bottom: 14px; }
.details-card > summary { padding: 14px 18px; cursor: pointer; font-weight: 600; color: var(--muted); }
.details-card[open] > summary { border-bottom: 1px solid var(--border); }
.details-card > form, .details-card > p { margin: 14px 18px; }
.danger-zone { padding-top: 12px; border-top: 1px solid var(--border); }
.inline-edit { position: relative; }
.inline-edit > summary { list-style: none; }
.inline-edit > summary::-webkit-details-marker { display: none; }
.popform {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; width: min(360px, 80vw);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.popform.stack { display: block; }
.popform > input { flex: 1; }
.add-item { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--border); }
.add-item input:not([type="checkbox"]) { flex: 1; min-height: 34px; }
.add-section { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-style: dashed; box-shadow: none; background: transparent; }
.add-section input { flex: 1; }
details.help { font-size: .88rem; color: var(--muted); }
details.help summary { cursor: pointer; }
details.help ul { margin: 8px 0 0; padding-left: 20px; }
.form-wide { max-width: 760px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; max-height: 460px; overflow: auto; }
.timeline li { position: relative; padding: 0 0 12px 18px; font-size: .84rem; border-left: 2px solid var(--border); margin-left: 4px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.timeline li:last-child { border-left-color: transparent; }
.tl-who { font-weight: 600; overflow-wrap: anywhere; }
.tl-detail { color: var(--muted); overflow-wrap: anywhere; }
.timeline time { display: block; color: var(--muted); font-size: .76rem; }
.copy-row { display: flex; gap: 6px; }
.copy-row input { flex: 1; font-family: var(--mono); font-size: .8rem; }

/* Tabs and tables */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.tabs a { padding: 8px 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.table-wrap { overflow-x: auto; padding: 0; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.table form { margin: 0; }
.member-list { list-style: none; padding: 0; margin: 0; }
.member-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.member-list li:first-child { border-top: 0; }
.member-list form { margin: 0; }
.invite-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.invite-form input { flex: 2; min-width: 180px; }
.invite-form select { width: auto; flex: none; }
.feedback-item .fb-msg { white-space: pre-wrap; margin-bottom: 6px; }

/* Auth */
.auth-card { margin-top: 24px; padding: 32px; }
.auth-card h1 { font-size: 1.5rem; }
.big-icon { font-size: 2.5rem; margin-bottom: 8px; }
.big-code { font-size: 3rem; font-weight: 800; color: var(--accent); margin: 0; line-height: 1; }
.made-with { color: var(--muted); font-size: .85rem; margin-top: 24px; }

/* Landing */
.landing { padding: 0; }
.hero { padding: 64px 0 40px; background: radial-gradient(1200px 500px at 85% -10%, var(--accent-soft), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1; letter-spacing: -.025em; margin-bottom: 18px; }
.hl { background: linear-gradient(90deg, var(--accent), #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.lead.center { margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 12px; margin: 26px 0 12px; flex-wrap: wrap; }
.demo-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-lg); transform: rotate(1.2deg); }
.demo-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.demo-title { font-weight: 700; font-size: 1.05rem; }
.demo-section { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 6px; font-weight: 650; }
.demo-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); font-size: .92rem; }
.demo-item .check { width: 22px; height: 22px; border-radius: 7px; cursor: default; }
.demo-item .check svg { width: 13px; height: 13px; }
.demo-item.done span:nth-child(2) { color: var(--muted); text-decoration: line-through; }
.demo-item .avatar { margin-left: auto; }
.section { padding: 56px 20px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); text-align: center; margin-bottom: 14px; letter-spacing: -.02em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature h3 { font-size: 1.02rem; }
.feature p { color: var(--muted); margin: 0; }
.api-section { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.api-section .section-title { text-align: left; }
.code { white-space: pre-wrap; overflow-wrap: anywhere; background: #0f1420; color: #d7def0; border-radius: var(--radius); padding: 20px; overflow-x: auto; font-size: .84rem; line-height: 1.6; border: 1px solid #222a3a; margin: 0; }
.code code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 32px 0 14px; align-items: stretch; }
.pricing.compact { grid-template-columns: 1fr 1fr; margin: 16px 0 0; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-text); font-size: .74rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.price { margin: 6px 0 16px; }
.price .cur { color: var(--muted); font-weight: 600; }
.price .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.price .per { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.ticks li { padding: 5px 0 5px 26px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok-strong); font-weight: 800; }
.cta-final { text-align: center; padding-bottom: 80px; }
.cta-final h2 { font-size: 1.6rem; margin-bottom: 18px; }

/* Footer */
.footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; }
@media (min-width: 721px) { .footer-inner { padding-right: 160px; } } /* keep clear of the feedback button */
.footer-links a { color: var(--muted); }

/* Feedback widget */
.fb-btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px 0 13px;
  border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; box-shadow: var(--shadow-lg);
}
.fb-btn:hover { border-color: var(--accent); color: var(--accent); }
.fb-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fb-pop {
  position: fixed; inset: auto 18px 70px auto; margin: 0; width: min(360px, calc(100vw - 36px));
  border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg);
}
.fb-head { display: flex; justify-content: space-between; align-items: center; }
.fb-form p { margin: 0; }
.fb-result { margin: 0; font-size: .88rem; font-weight: 600; }
.fb-result.ok { color: var(--ok); }
.fb-result.error { color: var(--danger); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; }
.toast-msg { background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .9rem; }
.toast-msg.error { background: var(--danger); color: #fff; }

/* htmx in-flight feedback */
.htmx-request button[type="submit"], button.htmx-request { opacity: .6; }

/* Responsive */
@media (max-width: 960px) {
  .grid-2, .run-grid { grid-template-columns: 1fr; }
  .hero-inner, .api-section { grid-template-columns: 1fr; }
  .hero-demo { max-width: 480px; }
  .features { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 720px) {
  /* backdrop-filter would make the header the containing block of the fixed bottom nav. */
  .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .topbar-inner { gap: 12px; }
  .mainnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; justify-content: space-around; background: var(--surface); border-top: 1px solid var(--border); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mainnav a { font-size: .82rem; padding: 6px 8px; }
  body { padding-bottom: 54px; }
  .fb-btn { bottom: 68px; right: 12px; padding: 0 12px; }
  .fb-btn span { display: none; }
  .fb-pop { inset: auto 12px 120px auto; }
  .menu-org { display: none; }
  .menu-btn { padding: 3px; }
  .hide-xs { display: none; }
  .settings-grid, .features, .pricing.compact { grid-template-columns: 1fr; }
  .runrow { flex-direction: column; align-items: stretch; gap: 10px; }
  .runrow .progress-wrap { width: auto; }
  .item-main { flex-wrap: wrap; }
  .assign { width: 100%; padding-left: 38px; }
  .assign select { width: 100%; }
  .usage-grid { grid-template-columns: 1fr 1fr 1fr; }
  .add-item { flex-wrap: wrap; }
  h1 { font-size: 1.45rem; }
  .hero { padding-top: 36px; }
  .card { padding: 16px; }
  .auth-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* --- Slice 2: banner, schedules, billing, account, legal --- */
.banner { border-bottom: 1px solid var(--border); font-size: .9rem; }
.banner-warn { background: var(--warn-soft); }
.banner-info { background: var(--accent-soft); }
.banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.ok-text { color: var(--ok); font-weight: 600; }
.danger-text { color: var(--danger); }
.nowrap { white-space: nowrap; }
.nowrap form { display: inline-block; }
.wrap-row { flex-wrap: wrap; }
.url-cell { word-break: break-all; }
.label { font-weight: 600; font-size: .9rem; display: block; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; font-size: 1.02rem; margin-bottom: 10px; padding: 0; }
fieldset.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.schedrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.schedrow.is-paused { opacity: .72; }
.schedrow-main { min-width: 0; flex: 1; }
.schedrow-title { font-weight: 700; color: var(--text); }
.schedrow-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 4px; font-size: .88rem; }
.schedrow p { margin: 6px 0 0; }
.schedrow form { margin: 0; }
.upsell { margin-bottom: 18px; border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }

.seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 10px; padding: 3px; gap: 2px; background: var(--surface-2); flex-wrap: wrap; }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .seg-links a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 7px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.seg input:checked + span, .seg-links a[aria-current] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg-links a:hover { text-decoration: none; color: var(--text); }
.weekdays { display: flex; flex-wrap: wrap; gap: 6px; }
.day { margin: 0; cursor: pointer; }
.day input { position: absolute; opacity: 0; pointer-events: none; }
.day span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 36px; border: 1px solid var(--border-strong); border-radius: 9px; font-weight: 600; font-size: .88rem; }
.day input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.day input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Show only the fields of the selected repeat kind (no JavaScript needed). */
.sched-form .kind-weekly, .sched-form .kind-monthly, .sched-form .kind-cron { display: none; }
.sched-form:has(input[name="kind"][value="weekly"]:checked) .kind-weekly,
.sched-form:has(input[name="kind"][value="monthly"]:checked) .kind-monthly,
.sched-form:has(input[name="kind"][value="cron"]:checked) .kind-cron { display: block; }
.sched-form:has(input[name="kind"][value="cron"]:checked) .kind-time { display: none; }
.sched-form fieldset + fieldset { border-top: 1px solid var(--border); padding-top: 16px; }
.preview { background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 14px; }
.preview ul { margin: 6px 0 0; padding-left: 18px; }

.trial-card, .status-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.trial-card { border: 2px solid var(--accent); background: linear-gradient(135deg, var(--accent-soft), var(--surface) 70%); }
.trial-card h2 { margin-bottom: 4px; }
.trial-card p { margin: 0; max-width: 620px; }
.status-card p { margin: 4px 0 0; flex-basis: 100%; }
.pricing-head { margin-top: 8px; }
.pricing-head h2 { margin: 0; }
.price-card.current { border: 2px solid var(--ok-strong); }
.ribbon-muted { background: var(--ok-strong); color: #fff; }
.price-card form { margin-top: auto; }

.radio-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.radio-row input { margin-top: 4px; accent-color: var(--accent); }
.radio-row:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.danger-box { border: 1px solid color-mix(in srgb, var(--danger) 40%, var(--border)); border-radius: var(--radius-sm); padding: 10px 14px; }
.danger-box > summary { cursor: pointer; color: var(--danger); font-weight: 600; }
.danger-box[open] > summary { margin-bottom: 12px; }

.legal h1 { margin-bottom: 2px; }
.legal address { font-style: normal; line-height: 1.7; }
.legal-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.legal-dl dt { color: var(--muted); }
.legal-dl dd { margin: 0; }
.prose { line-height: 1.65; }
.prose h2 { font-size: 1.12rem; margin-top: 28px; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }

@media (max-width: 720px) {
  .legal-dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-dl dd { margin-bottom: 8px; }
  .footer-links { flex-wrap: wrap; gap: 10px 16px; }
  .banner-inner { padding-top: 8px; padding-bottom: 8px; }
}

/* Slice 2 review fixes */
.ticks li.no { color: var(--muted); }
.ticks li.no::before { content: "–"; color: var(--muted); }
.footnote { max-width: 760px; margin-left: auto; margin-right: auto; }
.radio-row input[type="radio"] { width: auto; min-height: 0; flex: none; padding: 0; }
.sched-form legend { float: left; width: 100%; }
.sched-form legend + * { clear: both; }
.list + .card, .list + .empty, .upsell + .list { margin-top: 20px; }
.url-cell { word-break: normal; overflow-wrap: anywhere; }
.usage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.schedrow-main { flex: 1 1 280px; }
@media (max-width: 720px) {
  .footer-links { padding-right: 56px; } /* keep clear of the round feedback button */
}

/* Public template gallery and comparison pages (slice 3) */
.gallery .crumbs { margin-bottom: 14px; }
.g-hero { max-width: 760px; margin-bottom: 28px; }
.g-hero h1, .g-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
.g-search { display: flex; gap: 8px; margin: 18px 0 14px; max-width: 560px; }
.g-search input { flex: 1; min-width: 0; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 10px; }
.g-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: .86rem; text-decoration: none; }
.g-chip:hover { border-color: var(--accent); color: var(--accent); }
.g-chip[aria-current="page"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.g-chip-n { color: var(--muted); font-size: .78rem; }
.g-cat { margin: 34px 0; }
.g-cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.g-cat-head h2 { font-size: 1.25rem; margin: 0; }
.g-cat-head h2 a { color: var(--text); text-decoration: none; }
.g-cat-head h2 a:hover { color: var(--accent); }
.g-cat > .muted { margin: 4px 0 14px; }
.g-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.g-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; transition: border-color .12s, transform .12s; }
.g-card:hover { border-color: var(--accent); }
.g-card-link { color: var(--text); text-decoration: none; font-weight: 650; line-height: 1.3; }
.g-card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* whole card clickable */
.g-card-link:focus-visible { outline: none; }
.g-card:has(.g-card-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.g-card-desc { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-list-full .g-card-desc { -webkit-line-clamp: 4; }
.g-card-meta { margin: auto 0 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .78rem; }
.g-card[hidden], .g-cat[hidden] { display: none; }
.g-results h2 { font-size: 1.1rem; }
.g-head { max-width: 820px; margin-bottom: 26px; }
.g-facts { list-style: none; padding: 0; margin: 14px 0 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; }
.g-facts .label { display: block; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
code.var { background: var(--accent-soft); color: var(--accent); border-radius: 5px; padding: 1px 5px; font-size: .85em; font-family: var(--mono); white-space: nowrap; }
.g-use { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 10px; }
.g-use form { margin: 0; }
.g-use-compact { display: block; margin: 12px 0 0; }
.g-use-compact .btn { width: 100%; }
.g-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.g-main { min-width: 0; }
.g-intro { max-width: 720px; margin-bottom: 26px; }
.g-intro h3 { font-size: 1.05rem; margin-top: 22px; }
.g-checklist { margin-bottom: 28px; }
.g-checklist h2 { font-size: 1.15rem; margin-top: 0; }
.g-name { color: var(--muted); font-weight: 500; }
.g-checklist h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 22px 0 8px; }
.g-items { list-style: none; padding: 0; margin: 0; }
.g-item { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); align-items: flex-start; }
.g-item:first-child { border-top: 0; }
.g-item .check { width: 20px; height: 20px; border-radius: 6px; cursor: default; margin-top: 1px; }
.g-item-text { line-height: 1.45; }
.g-md { margin-top: 20px; }
.g-md summary { cursor: pointer; color: var(--accent); font-size: .9rem; }
.g-md textarea { width: 100%; margin: 10px 0 8px; font-family: var(--mono); min-height: 220px; resize: vertical; }
.g-ci { margin-bottom: 28px; }
.g-ci h2 { font-size: 1.1rem; margin-top: 0; }
.g-ci .code { margin: 10px 0; }
.g-faq h2 { font-size: 1.25rem; }
.g-faq-item { border-top: 1px solid var(--border); padding: 14px 0 4px; }
.g-faq-item h3 { font-size: 1rem; margin: 0 0 6px; }
.g-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 8px; }
.g-side-title { font-weight: 650; margin: 0 0 4px; }
.g-side-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 18px 0 2px; }
.g-rel { list-style: none; padding: 0; margin: 0; }
.g-rel li { padding: 7px 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1px; }
.g-rel li:first-child { border-top: 0; }
.g-rel-inline { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.g-rel-inline li { border: 0; padding: 2px 0; }
.g-cta { margin-top: 48px; padding: 36px 16px 56px; border-top: 1px solid var(--border); }
.g-cta p { max-width: 560px; margin: 0 auto 18px; }
.table-scroll { overflow-x: auto; margin: 14px 0 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.compare-body table { border-collapse: collapse; width: 100%; font-size: .88rem; }
.compare-body th, .compare-body td { text-align: left; vertical-align: top; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.compare-body thead th { background: var(--surface-2); }
.compare-body tr:last-child td { border-bottom: 0; }
.compare-body td:first-child { font-weight: 600; white-space: nowrap; }
.compare-body blockquote { margin: 16px 0; padding: 10px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .9rem; }
.compare-body blockquote p { margin: 0; }
.compare-body h2 { font-size: 1.3rem; margin-top: 34px; }
.compare-body h3 { font-size: 1.05rem; margin-top: 22px; }
.compare-body ol li { overflow-wrap: anywhere; }
.landing-templates { margin: 22px 0 22px; }
@media (max-width: 960px) {
  .g-layout { grid-template-columns: 1fr; }
  .g-side { position: static; }
}
@media (max-width: 720px) {
  .hide-sm { display: none; }
  .g-search { flex-direction: column; }
  .g-list { grid-template-columns: 1fr; }
  .compare-body td:first-child { white-space: normal; }
}
.cancel-reason input { margin-top: 4px; }

/* --- Slice 5: demo sandbox, onboarding, landing --- */
.banner-demo { background: var(--accent-soft); border-bottom-color: var(--accent); }
.banner-demo strong { color: var(--accent); }
.hero-cta form { display: contents; }
.demo-tour { border-left: 4px solid var(--accent); margin-bottom: 16px; }
.demo-tour p { margin: 0 0 6px; }
.tour-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; font-size: .95rem; }
.demo-start { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 24px 0 40px; }
.demo-start h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.demo-start-form { display: flex; gap: 12px; flex-wrap: wrap; }
.demo-start-list .ticks { margin: 0; }
.onboarding { margin-bottom: 22px; border-left: 4px solid var(--accent); }
.onboarding h2 { margin: 0; }
.gs-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.gs-steps li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; }
.gs-steps li > div { display: flex; flex-direction: column; gap: 2px; }
.gs-dot { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--muted); }
.gs-steps li.done .gs-dot { background: var(--ok-strong); border-color: var(--ok-strong); color: #fff; }
.gs-steps li.done strong { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--border-strong); }
.starter { margin-bottom: 24px; }
.starter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.starter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.starter-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.starter-list li > span { display: flex; flex-direction: column; }
.code-sm { font-size: .78rem; padding: 14px 16px; line-height: 1.55; white-space: pre; overflow-wrap: normal; }
.code-label { font-size: .85rem; font-weight: 600; margin: 4px 0 -6px; }
.api-section { align-items: start; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 84px; }
.shot-img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  background: var(--surface) url("/static/shot-run-light.webp") top left / cover no-repeat; }
:root[data-theme="dark"] .shot-img { background-image: url("/static/shot-run-dark.webp"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shot-img { background-image: url("/static/shot-run-dark.webp"); } }
.pricing-more { margin-top: 10px; }
@media (max-width: 960px) {
  .demo-start, .starter-grid { grid-template-columns: 1fr; }
  .shot { position: static; }
}
@media (max-width: 720px) {
  .gs-steps li { grid-template-columns: 30px 1fr; }
  .gs-steps li > .btn { grid-column: 2; justify-self: start; }
  .banner-demo .banner-inner { font-size: .85rem; }
}
.api-section > * { min-width: 0; }
.cta-final .hero-cta { justify-content: center; }
.code-label { margin: 6px 0 -4px; }
