:root {
  --bg: #f6f8fa; --surface: #fff; --ink: #0f1b2d; --muted: #5d6b7e; --line: #e2e7ee;
  --brand: #0a7cff; --brand-ink: #fff; --brand-soft: #e6f1ff; --accent: #12b886; --danger: #d6336c;
  --radius: 14px; --shadow: 0 1px 2px rgba(15,27,45,.06), 0 8px 24px rgba(15,27,45,.06);
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.pad { padding-top: 32px; padding-bottom: 48px; }
.center { text-align: center; }
.muted { color: var(--muted); } .small { font-size: 13px; }
h1 { font-size: clamp(30px, 4.5vw, 48px); line-height: 1.1; letter-spacing: -.02em; margin: .2em 0 .4em; }
h1 em { font-style: normal; color: var(--brand); }
h2 { font-size: 22px; margin: 1.6em 0 .6em; } h3 { margin: .2em 0; }

.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; display: flex; gap: 6px; align-items: center; }
.drop { color: var(--brand); font-size: 14px; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; } .top nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.foot { padding: 28px 0; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); margin-top: 40px; }

.hero { background: linear-gradient(180deg, var(--brand-soft), var(--bg)); padding: 40px 0 24px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--brand); margin: 0; }
.lead { font-size: 18px; color: var(--muted); }
.ticks { list-style: none; padding: 0; } .ticks li { padding-left: 28px; position: relative; margin: 6px 0; font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.disclaimer { margin-top: 12px; }

.ba { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; background: #ccc; user-select: none; }
.ba > img, .ba-after img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 8px rgba(0,0,0,.4); }
.tag { position: absolute; top: 12px; background: rgba(15,27,45,.75); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; pointer-events: none; }
.tl { left: 12px; } .tr { right: 12px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.form { display: grid; gap: 14px; margin: 24px 0; }
.form h2, .form h3 { margin: 0; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input, select, textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
.check { grid-template-columns: 20px 1fr; align-items: start; font-weight: 400; } .check input { width: 18px; height: 18px; margin-top: 3px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .grid2.top { align-items: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 10px; padding: 11px 18px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.05); } .btn[disabled] { opacity: .5; cursor: default; }
.btn.big { padding: 15px 22px; font-size: 17px; }
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.link { background: none; border: 0; color: var(--brand); cursor: pointer; font: inherit; padding: 0; }
.err { color: var(--danger); font-weight: 600; }
.flash { background: var(--brand-soft); border-radius: 10px; padding: 12px 16px; font-weight: 600; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.how b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; }
.big-tick { font-size: 56px; color: var(--accent); }
.prose p { color: #26344a; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.tile .num { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 14px; margin-top: 16px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: #fafbfc; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tbl tr.dim { opacity: .55; }
.thumb { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #eef1f5; color: var(--muted); white-space: nowrap; }
.b-rendered, .b-ready, .b-available, .b-approved { background: #e3f8ef; color: #0b7a55; }
.b-processing, .b-imaged, .b-scored { background: var(--brand-soft); color: var(--brand); }
.b-rejected, .b-error, .b-unmatched, .b-suppressed { background: #fde8ef; color: var(--danger); }
.b-sold, .b-mailed { background: #efe9ff; color: #6741d9; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.inline { display: flex; gap: 10px; flex-wrap: wrap; } .inline input { flex: 1 1 150px; width: auto; }
.leads { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.lead { padding: 0; overflow: hidden; } .lead-body { padding: 16px; } .lead h3 { text-transform: capitalize; }
.pair { display: grid; grid-template-columns: 1fr 1fr; } .pair img { aspect-ratio: 1; object-fit: cover; }

@media (max-width: 800px) {
  .hero-in, .grid2, .how { grid-template-columns: 1fr; }
  .tbl { display: block; overflow-x: auto; }
  .top nav { gap: 12px; } .top nav a { font-size: 14px; }
}
fieldset.trades { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: grid; gap: 8px; }
fieldset.trades legend { font-weight: 600; font-size: 14px; padding: 0 4px; }
.vtabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; } .vtabs a { padding: 6px 12px; border-radius: 99px; background: #eef1f5; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; } .vtabs a.on { background: var(--brand); color: #fff; }
.good { color: #0b7a55; font-weight: 700; } .bad { color: var(--danger); font-weight: 700; }

/* ---- brokerage: customer account, installer jobs ---- */
.job { margin: 20px 0; padding: 22px; }
.job-head { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.job-img { width: 100%; border-radius: 10px; }
@media (max-width: 640px) { .job-head { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 16px; }
.steps li { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: #eef1f5; color: #667; }
.steps li.done { background: #dff3e6; color: #17603a; }
.steps li.now { background: #0a7cff; color: #fff; font-weight: 600; }
.inline-actions { display: inline-flex; gap: 8px; align-items: center; margin: 4px 8px 4px 0; flex-wrap: wrap; }
.inline-actions input { padding: 7px 9px; border: 1px solid #cfd5dd; border-radius: 8px; font: inherit; }
.btn.small { padding: 7px 12px; font-size: 14px; }
.btn.ghost { background: transparent; color: #0a7cff; border: 1.5px solid #0a7cff; }
details summary.btn { display: inline-block; cursor: pointer; list-style: none; }
form.inline { display: inline; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #e8f1ff; color: #0a7cff; vertical-align: middle; }
.pill.g { background: #e6f6ec; color: #17803d; } .pill.a { background: #fff4dd; color: #9a6200; }
.steps-form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; }
.steps-form legend { font-weight: 700; padding: 0 6px; }
.bands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.code { font-family: ui-monospace, Menlo, monospace; background: #f4f7fb; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; word-break: break-all; }
