:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  /* The ink and hairlines of a white box. The dark page swaps --border/--text-2/--muted for pale ones (see body.app-page)
     and every white box puts these back. */
  --box-border: #e4e7ec;
  --box-border-strong: #cfd4dc;
  --box-text-2: #3f4650;
  --box-muted: #5f6b7a;
  --border: var(--box-border);
  --border-strong: var(--box-border-strong);
  --text: #16191f;
  --heading: var(--text);   /* headings and bold figures: white on the dark page, --text in a box */
  --text-2: var(--box-text-2);
  --muted: var(--box-muted);   /* 4.9:1 on a light background (WCAG AA) */
  --accent: #0f766e;
  --accent-2: #14b8a6;
  --accent-ink: #0b5f59;
  --accent-soft: #e6f4f2;
  --amber: #b45309; --amber-soft: #fff4e0;
  --red: #b91c1c; --red-soft: #fee2e2;
  --green: #15803d; --green-soft: #dcfce7;
  --blue: #1d4ed8; --blue-soft: #e0e9ff;
  --ink: #0f172a;
  /* The brand (the landing page, the loader, the agent): dark navy, a teal glow, one green "go" colour. */
  --brand-navy: #0b1220;
  --brand-navy-2: #0f172a;
  --brand-teal: #5eead4;
  --brand-teal-soft: rgba(94, 234, 212, .14);
  --brand-green: #22c55e;
  --brand-green-hover: #4ade80;
  --brand-green-ink: #052e16;
  --brand-purple: #a78bfa;
  --brand-on-dark: #cbd5e1;   /* body text on navy */
  --brand-dim-on-dark: #94a3b8;   /* labels and small print on navy */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .04);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .05);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body { font: 15px/1.55 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 26px; margin: 0 0 4px; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: 17px; margin: 0; font-weight: 650; letter-spacing: -.01em; }
h3 { font-size: 12.5px; margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
p { margin: 0 0 8px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.text-red { color: var(--red); }
.inline { display: inline; }
.hint { font-weight: 400; color: var(--muted); font-size: 13px; }

/* top bar */
/* The landing page's dark bar on every screen: pale links, the one you're on is a teal pill. */
.topbar { background: rgba(9, 14, 26, .82); -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); position: sticky; top: 0; z-index: 5; }
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 60px; white-space: nowrap; overflow-x: auto; }
.viewas { background: #312e81; color: #e0e7ff; border-bottom: 1px solid #4338ca; position: sticky; top: 60px; z-index: 5; font-size: 14px; }
.viewas b { color: #fff; }
.viewas-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.viewas .btn { background: #fff; color: #312e81; border-color: #fff; }
.viewas .pill { vertical-align: middle; }
/* In client view the purple bar sticks where the account tabs would, so the tabs (and a campaign's section strip)
   stop sticking rather than slide under it. On a phone the bar is ~150px tall, so it scrolls away with the page. */
body:has(.viewas) .acct-tabs, body:has(.viewas) .hub-jump { position: static; }
@media (max-width: 640px) { .viewas { position: static; } }
@media (max-width: 640px) { .topbar-inner { gap: 14px; } .brand { font-size: 15px; } .topbar-right { gap: 10px; } .topbar-right .btn { display: none; } }
.brand { font-weight: 750; color: #fff; display: flex; align-items: center; gap: 10px; font-size: 16px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; display: inline-flex; flex: none; }
.brand-mark .agent { display: block; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--brand-on-dark); font-weight: 500; padding: 7px 11px; border-radius: 8px; font-size: 14px; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.nav a.active { color: var(--brand-teal); background: var(--brand-teal-soft); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.mode { font-size: 12px; font-weight: 650; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.mode-demo { background: rgba(96,165,250,.16); color: #93c5fd; }
.mode-dry_run { background: rgba(251,191,36,.16); color: #fcd34d; }
.mode-live { background: rgba(34,197,94,.16); color: #86efac; }
.topbar-right .muted { color: var(--brand-on-dark); }
.topbar-right a.muted:hover { color: #fff; }

/* layout */
main { padding: 28px 0 48px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head > div > .muted { max-width: 720px; }
/* Every screen's title sits on the dark page (body.app-page, or the sign-in pages), so it reads white on navy. */
.page-head { color: var(--brand-on-dark); }
.page-head h1 { color: #fff; }
.page-head .muted, .page-head .hint { color: var(--brand-on-dark); }
.page-head a:not(.btn), .page-head .linkish { color: var(--brand-teal); }
.page-head strong, .page-head b { color: #fff; }
.page-head .btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.page-head .btn-ghost:hover { background: rgba(255,255,255,.08); }
/* What sits above the heading is on the dark page too. */
.crumbs:has(~ .page-head), .data-age:has(~ .page-head) { color: var(--brand-on-dark); }
.crumbs:has(~ .page-head) a, .data-age:has(~ .page-head) .linkish { color: var(--brand-teal); }
.data-age { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin: -6px 0 8px; font-size: 13px; color: var(--muted, #6b7280); }
.data-age .linkish { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; }
.data-age .linkish:hover { text-decoration: underline; }
.back-btn { display: inline-flex; margin: 0 0 12px; padding: 10px 18px; font-size: 16px; font-weight: 650; border-radius: 10px; }
.page-head > div > .back-btn { display: flex; width: max-content; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

/* One strip per account: flick between its screens without going back. Sticks under the top bar. */
.acct-tabs { position: sticky; top: 61px; z-index: 4; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
             background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 8px 10px;
             margin: 0 0 18px; box-shadow: 0 6px 18px rgba(15, 23, 42, .05); }
.acct-tabs-who { font-weight: 800; font-size: 13.5px; padding: 0 4px; white-space: nowrap; }
.acct-tabs-row { display: flex; gap: 4px; flex-wrap: wrap; }
.acct-tab { font-size: 13px; font-weight: 650; color: var(--text-2); text-decoration: none; padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.acct-tab:hover { background: var(--surface-2); color: var(--text); }
.acct-tab.on { background: var(--text); color: var(--surface); }
@media (max-width: 700px) {
  .acct-tabs { position: static; }
  .acct-tabs-who { display: none; }
  .acct-tabs-row { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .acct-tabs-row::-webkit-scrollbar { display: none; }
}

/* File pickers: a real button, not the browser's grey slab. Wrap an input in <label class="filepick"> and
   the input itself stays there for the form, hidden. */
.filepick { display: inline-flex; align-items: center; gap: 8px; border: 1px dashed var(--border); background: var(--surface-2);
            color: var(--text); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; font-weight: 700; cursor: pointer;
            max-width: 100%; }
.filepick:hover { border-color: var(--accent); color: var(--accent); }
.filepick input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.filepick .filepick-name { font-weight: 500; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filepick.has-file { border-style: solid; border-color: var(--green, #16a34a); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 0 12px; gap: 12px; }
.count { display: inline-block; background: var(--amber-soft); color: var(--amber); font-size: 12.5px; padding: 1px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; font-weight: 650; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
/* Landing pages screen: the pages as small squares, with the look directly below instead of beside. */
.pages-stack { display: grid; gap: 16px; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pg-card { border: 1px solid var(--border); border-radius: 14px; padding: 12px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.pg-top { display: flex; gap: 5px; flex-wrap: wrap; }
.pg-name { font-size: 15px; line-height: 1.3; }
.pg-nums { margin-bottom: 2px; }
.pg-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.pg-more summary { cursor: pointer; font-weight: 650; }
.pg-build { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 12px; }
.pg-build > summary { cursor: pointer; font-size: 15px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
/* A hidden block stays hidden even when its own class sets display (a .grid-2 row, say). */
[hidden] { display: none !important; }
.footer { padding: 22px 22px 34px; font-size: 13px; }
@media (max-width: 820px) { .two-col, .grid-2 { grid-template-columns: 1fr; } }
/* A grid column is as wide as the widest unbreakable thing inside it unless you say otherwise: without
   this one long saved value (a client ID, a URL) pushes a whole card off the side of a phone. */
.two-col > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
.card input, .card select, .card textarea { max-width: 100%; }
.hint { overflow-wrap: anywhere; }

/* cards & tiles */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: 12px; }
.narrative { margin-bottom: 18px; border-left: 4px solid var(--accent); }
.lede { font-size: 15.5px; line-height: 1.65; margin: 0; color: var(--text-2); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 10px; }
@media (max-width: 820px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tiles > * { min-width: 0; }
/* The stat tiles are the loader's dark cards; everything else (tables, cards, forms) stays white to work in. */
.tile { background: radial-gradient(120% 90% at 50% 0%, #123241 0%, var(--brand-navy) 62%); border: 1px solid rgba(94,234,212,.18); border-radius: 22px; padding: 16px 18px; color: #fff; box-shadow: 0 10px 26px rgba(2,6,23,.16); }
.tile .muted, .tile .tile-sub { color: var(--brand-dim-on-dark); }
.tile a { color: var(--brand-teal); }
.tile-accent .tile-value { color: var(--brand-teal); }
.tile-label { font-size: 12px; color: var(--brand-dim-on-dark); text-transform: uppercase; letter-spacing: .06em; font-weight: 650; }
.tile-value { font-size: 30px; font-weight: 750; margin-top: 4px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.tile-sub { font-size: 12.5px; color: var(--brand-dim-on-dark); margin-top: 2px; }
/* The number sizes itself to its tile, so "$4,680.00" stays on one line and inside the box at every width
   (it used to wrap onto two lines on a phone, which made that tile and the one beside it far taller than needed). */
.tiles > .tile { container-type: inline-size; }
.tiles > .tile .tile-value { font-size: clamp(18px, 16cqi, 30px); overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .tile { padding: 14px; border-radius: 18px; }
  .tile-label { font-size: 11px; letter-spacing: .03em; }
  .tile-sub { font-size: 11.5px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); border-radius: 9px; padding: 8px 14px; font: inherit; font-weight: 550; cursor: pointer; line-height: 1.2; box-shadow: 0 1px 2px rgba(16,24,40,.06); transition: background .12s, box-shadow .15s, transform .15s, border-color .12s; }
.btn:hover { background: #f1f3f5; border-color: #b8bfca; box-shadow: 0 3px 8px rgba(16,24,40,.10); transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(16,24,40,.08); transition-duration: .05s; }
/* One green "go" colour on the whole site, the landing page's. */
.btn-primary, .btn-yes { background: var(--brand-green); border-color: var(--brand-green); color: var(--brand-green-ink); font-weight: 700; box-shadow: 0 2px 8px rgba(34,197,94,.30), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover, .btn-yes:hover { background: var(--brand-green-hover); border-color: var(--brand-green-hover); color: var(--brand-green-ink); box-shadow: 0 6px 18px rgba(34,197,94,.38), inset 0 1px 0 rgba(255,255,255,.25); }
/* The shine: a soft band of light sweeps across the coloured buttons on hover, and the big
   call-to-action buttons catch the light by themselves every few seconds so they read as clickable. */
.btn-primary, .btn-hero, .btn-yt, .btn-yes { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-hero::after, .btn-yt::after, .btn-yes::after { content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45) 50%, transparent); transform: skewX(-20deg); }
.btn-hero::after, .btn-primary.btn-large::after, .btn-primary.btn-big::after { animation: btn-shine-idle 6s ease-in-out 1.2s infinite; }
.btn-primary:hover::after, .btn-hero:hover::after, .btn-yt:hover::after, .btn-yes:hover::after { animation: btn-shine .7s ease-out; }
@keyframes btn-shine { 0% { left: -75%; } 100% { left: 130%; } }
@keyframes btn-shine-idle { 0% { left: -75%; } 16%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transform: none; }
  .btn-primary::after, .btn-hero::after, .btn-yt::after, .btn-yes::after { animation: none !important; }
}
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { box-shadow: none; transform: none; }
.btn-small { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn-large { padding: 13px 24px; font-size: 16px; border-radius: 11px; }
.form-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* tables */
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); font-weight: 650; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fbfcfd; }
.table.compact th, .table.compact td { padding: 9px 12px; font-size: 14px; }
.row-muted td { opacity: .55; }
.row-muted td.check-col { opacity: 1; }
.check-col { width: 70px; text-align: center; }
.check-col input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--accent); }
.table td form { display: inline; margin-left: 4px; }
.scroll-x { overflow-x: auto; }
.mini { border-collapse: collapse; font-size: 12.5px; margin: 4px 0; }
.mini th, .mini td { padding: 4px 8px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.mini th { color: var(--muted); font-weight: 600; }

/* pills */
.pill { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 999px; line-height: 1.5; vertical-align: middle; letter-spacing: .01em; }
.pill-gray { background: #eef0f3; color: #4b5563; }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-red { background: var(--red-soft); color: var(--red); }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-blue { background: var(--blue-soft); color: var(--blue); }
.pill-risk-low { background: var(--green-soft); color: var(--green); }
.pill-risk-medium { background: var(--amber-soft); color: var(--amber); }
.pill-risk-high { background: var(--red-soft); color: var(--red); }
.pill-risk-info { background: var(--blue-soft); color: var(--blue); }
.pill-status-applied, .pill-status-auto_applied { background: var(--green-soft); color: var(--green); }
.pill-status-rejected, .pill-status-failed { background: var(--red-soft); color: var(--red); }
.pill-status-dismissed, .pill-status-expired, .pill-status-pending, .pill-status-approved { background: #eef0f3; color: #4b5563; }

/* proposals */
.group-title { margin-top: 20px; }
.proposals { display: flex; flex-direction: column; gap: 10px; }
.proposal { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-left-width: 4px; border-radius: var(--radius); padding: 15px 18px; box-shadow: var(--shadow); }
.proposal.risk-low { border-left-color: #22c55e; }
.proposal.risk-medium { border-left-color: #f59e0b; }
.proposal.risk-high { border-left-color: #ef4444; }
.proposal.risk-info { border-left-color: #3b82f6; }
.proposal-main { flex: 1; min-width: 0; }
.proposal-title { font-weight: 640; font-size: 15px; letter-spacing: -.005em; }
.proposal-meta { display: flex; gap: 8px; align-items: center; margin: 5px 0 7px; flex-wrap: wrap; }
.rationale { color: var(--text-2); margin: 0; font-size: 14px; line-height: 1.55; }
.proposal-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 120px; }
.proposal-actions .btn { justify-content: center; }
@media (max-width: 640px) { .proposal { flex-direction: column; } .proposal-actions { flex-direction: row; } }

/* evidence */
.evidence { display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; margin: 10px 0 0; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; }
.evidence dt { color: var(--muted); text-transform: capitalize; }
.evidence dd { margin: 0; min-width: 0; }
.kv { display: inline-block; margin-right: 12px; }
.kv .k { color: var(--muted); }

/* lists */
.list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.list li:last-child { border-bottom: 0; }
.list-main { min-width: 0; line-height: 1.6; }
.list-main .pill { margin-right: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: middle; }
.dot-ok { background: #22c55e; } .dot-bad { background: #ef4444; }

/* forms */
label { display: block; font-weight: 550; margin: 12px 0 0; font-size: 14px; }
label input[type=text], label input[type=number], label input[type=email], label input[type=password], label input[type=search], label textarea, label select {
  display: block; width: 100%; margin-top: 6px; padding: 9px 11px; border: 1px solid var(--border-strong); border-radius: 9px; font: inherit; background: #fff; transition: border-color .12s, box-shadow .12s;
}
label input:focus, label textarea:focus, label select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15,118,110,.15); }
label textarea { resize: vertical; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 8px 0 0; }
label.check input { margin: 0; accent-color: var(--accent); flex-shrink: 0; }
label.check a { text-decoration: underline; }
/* A checkbox with a title, a line of explanation and its own settings underneath (campaign builder: follow-up ads). */
.toggle-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 14px 16px; margin-top: 8px; }
.toggle-card:has(input[type=checkbox]:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.toggle-card-head { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-weight: 400; cursor: pointer; }
.toggle-card-head input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.toggle-card-head b { display: block; font-weight: 650; }
.toggle-card-head .hint { display: block; margin-top: 2px; line-height: 1.45; }
.toggle-card-body { margin: 12px 0 0 30px; padding-top: 12px; border-top: 1px solid var(--border); }
.settings-form .card h2 { margin-bottom: 6px; }
.login-box { max-width: 400px; margin: 56px auto; }
.login-box h1 { margin-bottom: 10px; }

/* setup steps */
.steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--muted); }
.step .n { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; align-items: center; justify-content: center; background: #eef0f3; font-weight: 700; font-size: 12px; }
.step.done { color: var(--green); border-color: #a7e3bd; background: var(--green-soft); }
.step.done .n { background: var(--green); color: #fff; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: #eef0f3; padding: 1px 5px; border-radius: 4px; }

/* flashes & empties */
.flashes { margin-bottom: 16px; }
.flash { padding: 11px 14px; border-radius: 9px; font-size: 14px; margin-bottom: 8px; border: 1px solid transparent; }
.flash-ok { background: var(--green-soft); color: var(--green); border-color: #bde5c8; }
.flash-error { background: var(--red-soft); color: var(--red); border-color: #f5c2c2; }
.empty { background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); }
.small-empty { padding: 16px; font-size: 14px; }
/* Empty screens show the agent, bobbing gently, above the words: quiet, not broken. */
.empty > .agent, .home-empty > .agent { display: block; margin: 0 auto 14px; }
.home-quiet { display: flex; align-items: center; gap: 12px; margin: 6px 0 12px; }
.home-quiet p { margin: 0; }

/* ask the agent */
.ask { margin-top: 22px; }
.ask textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 9px; font: inherit; resize: vertical; }
.checkin-due { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--border-strong); border-radius: 999px; cursor: pointer; font-size: 14px; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--surface-2); font-weight: 550; }
/* chat with the account agent */
.chat-examples { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.chat-example { font: inherit; font-size: 13px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.chat-example:hover { border-color: var(--accent); color: var(--text); }
.chat-log { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.chat-msg { display: flex; flex-direction: column; max-width: 86%; }
.chat-me { align-self: flex-end; align-items: flex-end; }
.chat-agent { align-self: flex-start; }
.chat-bubble { padding: 9px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.chat-me .chat-bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.chat-agent .chat-bubble { background: var(--bg); color: var(--text); border-bottom-left-radius: 4px; }
.chat-meta { font-size: 12px; color: var(--text-3, var(--text-2)); margin-top: 3px; }
.chat-card { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin-top: 8px; background: var(--surface, #fff); }
.chat-card-pending { border-left: 3px solid #d97706; }
.chat-card-applied, .chat-card-auto_applied { border-left: 3px solid var(--green); }
.chat-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 6px; flex-wrap: wrap; }
.chat-row { display: flex; gap: 8px; align-items: baseline; margin: 4px 0; }
.chat-row-label { font-size: 12px; font-weight: 650; color: var(--text-2); width: 40px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { font-size: 12.5px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.chip-in { background: var(--green-soft); color: var(--green); border-color: transparent; font-weight: 600; }
.chip-out { background: var(--red-soft); color: var(--red); border-color: transparent; text-decoration: line-through; }
/* "Jobs you don't do": one short thing at a time, each a tag you can take off (_not_offered.html) */
.nf [hidden] { display: none !important; }
.nf-row { display: flex; gap: 8px; margin-top: 6px; }
.nf-in, .nf-raw { display: block; width: 100%; padding: 9px 11px; border: 1px solid var(--border-strong); border-radius: 9px; font: inherit; background: #fff; }
.nf-raw { margin-top: 6px; resize: vertical; }
.nf-in:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15,118,110,.15); }
.nf-row .btn { flex: none; }
.nf-chips { margin-top: 8px; gap: 6px; }
.nf-chip { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; padding: 3px 4px 3px 11px; }
.nf-x { border: 0; background: none; font: inherit; font-size: 17px; line-height: 1; padding: 2px 7px; border-radius: 999px; color: var(--text-2); cursor: pointer; }
.nf-x:hover, .nf-x:focus-visible { background: var(--red-soft); color: var(--red); }
.nf-note { margin: 8px 0 0; color: var(--text-2); }
.nf-note div + div { margin-top: 3px; }
.nf-old { margin-top: 8px; padding: 11px 14px; background: var(--amber-soft); border: 1px solid #f3d9a4; border-radius: 9px; font-size: 14px; }
.nf-old p { margin: 0 0 8px; overflow-wrap: anywhere; }
.chat-change { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; margin: 2px 0 4px; }
.chat-before { color: var(--text-2); text-decoration: line-through; }
.chat-arrow { color: var(--text-2); }
.chat-after { font-weight: 600; }
.chat-card .actions { margin-top: 8px; }
.chat-approve-all { margin-top: 8px; }
.chat-form { border-top: 1px solid var(--border); padding-top: 12px; }
.chat-form .actions { margin-top: 8px; justify-content: space-between; }
.chat-previous { margin-top: 10px; }
.chat-previous summary { cursor: pointer; }
.chat-previous ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }
.chat-previous li { margin: 3px 0; }
.chat-attach input { display: block; margin-top: 2px; max-width: 220px; }
@media (max-width: 600px) { .chat-msg { max-width: 100%; } }

.convo { border-top: 1px solid var(--border); margin-top: 14px; padding-top: 12px; }
.convo-q { font-weight: 550; margin-bottom: 6px; }
.convo-a { color: var(--text-2); background: var(--surface-2); border-left: 3px solid var(--accent); padding: 8px 12px; border-radius: 6px; font-size: 14.5px; line-height: 1.55; }

/* legal */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { margin: 18px 0 6px; font-size: 16px; }
.legal p { color: var(--text-2); }

/* ------------------------------------------------------------------ shared bits */
.row-form { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.row-form .list-main { flex: 1; min-width: 0; }
.row-form .btn { white-space: nowrap; }
.btn-block { width: 100%; justify-content: center; }
.stack-form input:not([type=checkbox]) { display: block; width: 100%; }
.signup-box { max-width: 440px; }
.signup-box .lp-eyebrow { margin-bottom: 8px; }
.signup-box h1 { font-size: 30px; letter-spacing: -.03em; }
.signup-box .form-actions { margin-top: 22px; }
.signup-box .small { margin-top: 16px; }

/* plan picker (signup) */
.plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.plan-opt { position: relative; border: 2px solid var(--border); border-radius: 12px; padding: 12px 14px; cursor: pointer; margin: 0; font-weight: 400; }
.plan-opt.on, .plan-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15,118,110,.15); }
.plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.plan-opt b { display: block; font-size: 15px; }
.plan-opt span { display: block; font-weight: 700; color: var(--accent-ink); font-size: 14px; }
.plan-opt em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.35; }

/* template picker */
.tpl-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.tpl-opt { position: relative; border: 2px solid var(--border); border-radius: 12px; padding: 8px; cursor: pointer; margin: 0; font-weight: 400; background: var(--surface); transition: border-color .12s, box-shadow .12s; }
.tpl-opt:hover { border-color: var(--border-strong); }
.tpl-opt.on, .tpl-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15,118,110,.15); }
.tpl-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tpl-opt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--border); background: #eef1f4; display: block; margin-bottom: 8px; }
.tpl-opt b { display: block; font-size: 13.5px; color: var(--ink); }
.tpl-opt span { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
@media (max-width: 700px) { .grid-3 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ landing page */
.lp-page { background: #f6f7f9; }
.lp-page .topbar { background: rgba(9, 14, 26, .82); border-bottom-color: rgba(255,255,255,.08); }
.lp-page .brand, .lp-page .topbar-right .muted { color: #fff; }
.lp-page .topbar-right .muted:hover { text-decoration: none; opacity: .85; }
.lp-page .btn-primary { background: #22c55e; border-color: #22c55e; color: #052e16; font-weight: 700; }
.lp-page .btn-primary:hover { background: #4ade80; border-color: #4ade80; }
.lp-page main.wrap { max-width: none; padding: 0; }
.lp-page .footer { max-width: 1140px; }
.lp { --lp-ink: #0b1220; --lp-navy: #0f172a; --lp-green: #22c55e; --lp-green-ink: #052e16; --lp-lime: #a3e635; }
.lp .wrap, .lp-section, .lp-strip, .lp-hero-inner, .lp-hero-mock, .lp-agency-inner, .lp-pages-inner, .lp-final-inner { max-width: 1140px; margin-left: auto; margin-right: auto; padding-left: 22px; padding-right: 22px; }
.lp-eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #15803d; margin-bottom: 12px; }
.lp-eyebrow-light { color: var(--lp-lime); }
.lp-arrow { display: inline-block; transition: transform .15s; margin-left: 2px; }
.btn-hero:hover .lp-arrow { transform: translateX(4px); }

/* hero */
.lp-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 20% -10%, #14532d 0%, rgba(20,83,45,0) 60%), radial-gradient(900px 500px at 90% 10%, #0f766e 0%, rgba(15,118,110,0) 55%), linear-gradient(180deg, #0b1220 0%, #0f172a 100%); color: #fff; margin-top: -1px; padding: 84px 0 0; }
.lp-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); pointer-events: none; }
.lp-hero-glow { position: absolute; left: 50%; top: 40%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(34,197,94,.22) 0%, rgba(34,197,94,0) 60%); filter: blur(20px); pointer-events: none; }
.lp-hero-inner { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.lp-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: 13px; font-weight: 650; letter-spacing: .01em; color: #e2e8f0; backdrop-filter: blur(6px); }
.lp-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-green); box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
.lp-title { font-size: 76px; line-height: 1; letter-spacing: -.045em; margin: 22px 0 20px; font-weight: 800; color: #fff; }
.lp-title .lp-hl { color: var(--lp-green); }
.lp-sub { font-size: 20px; line-height: 1.55; color: #cbd5e1; margin: 0 auto 30px; max-width: 720px; }
.lp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-hero { background: var(--brand-green); border-color: var(--brand-green); color: var(--brand-green-ink); font-weight: 800; padding: 16px 30px; font-size: 18px; border-radius: 14px; box-shadow: 0 10px 30px rgba(34,197,94,.35), inset 0 1px 0 rgba(255,255,255,.25); letter-spacing: -.01em; }
.btn-hero:hover { background: var(--brand-green-hover); border-color: var(--brand-green-hover); color: var(--brand-green-ink); box-shadow: 0 14px 36px rgba(34,197,94,.45); text-decoration: none; }
.btn-hero-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; font-weight: 650; padding: 16px 24px; font-size: 17px; border-radius: 14px; }
.btn-hero-ghost:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.lp-fineprint { color: #94a3b8; font-size: 13.5px; margin-top: 16px; }
.lp-section .lp-fineprint { color: #5f6b7a; }
.lp-section .lp-fineprint a, .lp-refer a { text-decoration: underline; }
.lp-fineprint-light { color: #94a3b8; }
.lp-hero-mock { position: relative; z-index: 1; margin-top: 54px; padding-bottom: 0; }
.lp-mock { background: #111a2e; border: 1px solid rgba(255,255,255,.1); border-bottom: 0; border-radius: 18px 18px 0 0; padding: 12px 12px 0; box-shadow: 0 -20px 80px rgba(34,197,94,.12), 0 30px 60px rgba(0,0,0,.4); max-width: 900px; margin: 0 auto; }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 12px; }
.lp-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.lp-mock-bar em { margin-left: auto; font-style: normal; font-size: 12px; color: #64748b; font-weight: 600; letter-spacing: .02em; }
.lp-mock-body { background: #fff; border-radius: 12px 12px 0 0; padding: 8px; color: var(--text-2); }
.lp-mock-row { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.5; }
.lp-mock-row:last-child { border-bottom: 0; }
.lp-mock-row .pill { margin-right: 8px; }
.lp-mock-row b { color: var(--ink); font-weight: 650; }

/* strip */
.lp-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -1px; padding-top: 28px; padding-bottom: 8px; position: relative; }
.lp-strip::before { content: ""; position: absolute; top: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); height: 1px; background: var(--border); }
.lp-strip div { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.lp-strip strong { display: block; font-size: 22px; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
.lp-strip span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

/* sections */
.lp-section { padding-top: 72px; padding-bottom: 16px; }
.lp-alt { position: relative; padding-bottom: 56px; }
.lp-alt::before { content: ""; position: absolute; top: 36px; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: #eceff3; z-index: -1; }
.lp-h2 { font-size: 40px; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 12px; font-weight: 800; color: var(--ink); max-width: 820px; }
.lp-h2-light { color: #fff; }
.lp-lead { font-size: 18px; color: var(--text-2); margin: 0 0 30px; max-width: 640px; }
.lp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.lp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.lp-feature-hot { border-color: #86efac; background: linear-gradient(180deg, #f0fdf4, #fff 70%); }
.lp-feature { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.lp-feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.lp-icon { width: 44px; height: 44px; border-radius: 12px; background: #ecfdf5; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.lp-feature h3, .lp-step h3, .lp-mode-card h3 { font-size: 19px; text-transform: none; letter-spacing: -.02em; color: var(--ink); margin: 0 0 6px; font-weight: 750; }
.lp-feature p, .lp-step p, .lp-mode-card p { color: var(--text-2); margin: 0; font-size: 15px; line-height: 1.6; }

/* landing pages section */
.lp-pages { margin-top: 72px; background: linear-gradient(160deg, #052e16 0%, #0f172a 55%, #0b1220 100%); color: #cbd5e1; padding: 72px 0; position: relative; overflow: hidden; }
.lp-pages::before { content: ""; position: absolute; left: -200px; bottom: -300px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(34,197,94,.22), transparent 60%); pointer-events: none; }
.lp-pages-inner { position: relative; }
.lp-pages-lead { font-size: 18px; color: #cbd5e1; margin: 0 0 30px; max-width: 640px; }
.lp-pages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-pages-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 24px; backdrop-filter: blur(6px); }
.lp-pages-n { width: 36px; height: 36px; border-radius: 10px; background: var(--lp-green); color: var(--lp-green-ink); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.lp-pages-card h3 { color: #fff; font-size: 19px; margin: 0 0 8px; text-transform: none; letter-spacing: -.02em; font-weight: 750; }
.lp-pages-card p { margin: 0; font-size: 15px; line-height: 1.6; color: #cbd5e1; }
.lp-pages-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.lp-pages-cta .lp-fineprint { margin: 0; }

/* agency */
.lp-pages + .lp-agency { margin-top: 0; border-top: 1px solid rgba(255,255,255,.08); }
.lp-agency { position: relative; margin-top: 72px; background: linear-gradient(135deg, #0b1220 0%, #0f172a 60%, #14532d 140%); color: #cbd5e1; padding: 72px 0; }
.lp-agency::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 100% 0%, rgba(34,197,94,.18), transparent 60%); pointer-events: none; }
.lp-agency-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.lp-agency-text p { font-size: 17px; line-height: 1.65; margin: 0 0 24px; }
.lp-agency-text strong { color: #fff; }
.btn-yt { background: #ff0000; border-color: #ff0000; color: #fff; font-weight: 700; padding: 13px 20px; font-size: 15.5px; border-radius: 12px; box-shadow: 0 8px 24px rgba(255,0,0,.3); }
.btn-yt:hover { background: #e60000; border-color: #e60000; color: #fff; text-decoration: none; }
.lp-agency-cards { display: grid; gap: 12px; }
.lp-agency-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 18px 20px; backdrop-filter: blur(6px); }
.lp-agency-card b { display: block; color: #fff; font-size: 16.5px; letter-spacing: -.01em; margin-bottom: 4px; }
.lp-agency-card span { display: block; font-size: 14.5px; line-height: 1.55; color: #cbd5e1; }
.lp-agency-card em { color: var(--lp-lime); font-style: normal; font-weight: 700; }

/* steps */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; counter-reset: step; }
.lp-step { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); position: relative; }
.lp-step-n { width: 40px; height: 40px; border-radius: 12px; background: var(--lp-navy); color: var(--lp-lime); display: grid; place-items: center; font-weight: 800; font-size: 17px; margin-bottom: 16px; }

/* modes */
.lp-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.lp-mode-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.lp-mode-card-hot { border-color: #86efac; background: linear-gradient(180deg, #f0fdf4, #fff 70%); }
.lp-mode-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.lp-mode-head h3 { margin: 0; }

/* comparison */
.lp-compare-wrap { overflow-x: auto; margin-top: 6px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.lp-compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.lp-compare th, .lp-compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.lp-compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f8fafc; }
.lp-compare tbody td:first-child { font-weight: 700; color: var(--ink); width: 22%; }
.lp-compare td:not(:first-child):not(.us) { color: var(--text-2); }
.lp-compare .us { background: #f0fdf4; color: #14532d; font-weight: 700; }
.lp-compare thead th.us { background: #14532d; color: #fff; }
.lp-compare tbody tr:last-child td { border-bottom: 0; }

/* pricing */
.lp-plans { display: flex; justify-content: center; gap: 18px; align-items: stretch; flex-wrap: wrap; }
.lp-plans-2 .lp-price-main { max-width: 500px; }
.lp-price-growth { border-color: #86efac; box-shadow: 0 24px 60px rgba(34,197,94,.18); }
.lp-price-growth .lp-price-top { background: linear-gradient(135deg, #14532d, #0f172a); }
.lp-refer { text-align: center; margin-top: 26px; color: var(--text-2); font-size: 15px; }
.lp-agency-plan { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 26px auto 0; max-width: 1020px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px 28px; box-shadow: var(--shadow); }
.lp-agency-plan h3 { font-size: 22px; margin: 0 0 6px; text-transform: none; letter-spacing: -.02em; color: var(--ink); font-weight: 750; }
.lp-agency-plan p { margin: 0; color: var(--text-2); font-size: 15px; max-width: 640px; }
.lp-price { display: flex; justify-content: center; }
.lp-price-main { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 0 0 34px; max-width: 580px; width: 100%; box-shadow: 0 24px 60px rgba(15,23,42,.12); overflow: hidden; }
.lp-price-top { background: var(--lp-navy); color: #fff; padding: 32px 38px 28px; margin-bottom: 22px; position: relative; overflow: hidden; }
.lp-price-top::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(34,197,94,.35), transparent 65%); }
.lp-price-top .lp-eyebrow { color: var(--lp-lime); }
.lp-price-big { font-size: 64px; font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1; position: relative; }
.lp-price-big span { font-size: 20px; font-weight: 600; color: #cbd5e1; letter-spacing: 0; margin-left: 4px; }
.lp-price-then { font-size: 16px; color: #cbd5e1; margin-top: 10px; position: relative; }
.lp-aud { display: inline-block; margin-left: 6px; font-size: 13px; color: #94a3b8; }
.lp-checks { list-style: none; padding: 0 38px; margin: 0 0 24px; }
.lp-checks li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 15.5px; }
.lp-checks li:last-child { border-bottom: 0; }
.lp-checks li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: #15803d; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.lp-price-main .btn-hero { margin: 0 38px; width: calc(100% - 76px); }
.lp-price-main .lp-fineprint { text-align: center; color: var(--muted); }

/* faq */
.lp-faq details { max-width: 820px; }
.lp-faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 8px; }
.lp-faq summary { cursor: pointer; font-weight: 650; font-size: 16px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--muted); font-size: 20px; flex-shrink: 0; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { margin: 10px 0 2px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* final */
.lp-final { margin-top: 72px; background: linear-gradient(180deg, #0f172a, #0b1220); color: #fff; padding: 80px 0 72px; text-align: center; position: relative; overflow: hidden; }
.lp-final::before { content: ""; position: absolute; left: 50%; bottom: -300px; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(34,197,94,.25), transparent 60%); pointer-events: none; }
.lp-final-inner { position: relative; }
.lp-final h2 { font-size: 40px; letter-spacing: -.035em; margin: 0 auto 26px; font-weight: 800; color: #fff; max-width: 720px; line-height: 1.1; }
.lp-page .footer { color: #5f6b7a; }
.footer a { text-decoration: underline; }

@media (max-width: 900px) {
  .lp-title { font-size: 54px; }
  .lp-h2, .lp-final h2 { font-size: 32px; }
  .lp-strip, .lp-steps, .lp-grid, .lp-grid-3, .lp-grid-4, .lp-modes, .lp-pages-grid { grid-template-columns: 1fr 1fr; }
  .lp-agency-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .lp-hero { padding-top: 56px; }
  .lp-title { font-size: 40px; }
  .lp-sub { font-size: 17px; }
  .lp-h2, .lp-final h2 { font-size: 28px; }
  .lp-steps, .lp-grid, .lp-grid-3, .lp-grid-4, .lp-modes, .lp-pages-grid { grid-template-columns: 1fr; }
  .lp-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lp-strip div { padding: 14px 16px; }
  .lp-strip strong { font-size: 18px; }
  .lp-price-top { padding: 26px 22px; }
  .lp-checks { padding: 0 22px; }
  .lp-price-main .btn-hero { margin: 0 22px; width: calc(100% - 44px); }
  .btn-hero, .btn-hero-ghost { width: 100%; justify-content: center; }
  .lp-mock-row { font-size: 14px; }
}

/* ---------------------------------------------------------------- accessibility + legal pages */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -5000px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 8px; outline: 3px solid var(--accent-2); }
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
label input:focus-visible, label textarea:focus-visible, label select:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.plan-opt:has(input:focus-visible), .tpl-opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
fieldset.plan-pick { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
fieldset.tpl-pick { border: 0; padding: 0; min-width: 0; }
fieldset.pal-pick { border: 0; padding: 0; min-width: 0; margin: 0 0 14px; }
fieldset.pal-pick legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 8px; }
.pal-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pal-opt { position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; border: 2px solid var(--border); border-radius: 10px; padding: 8px 10px; cursor: pointer; margin: 0; font-weight: 400; background: var(--surface); transition: border-color .12s, box-shadow .12s; }
.pal-opt:hover { border-color: var(--border-strong); }
.pal-opt.on, .pal-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15,118,110,.15); }
.pal-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pal-opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.pal-sw { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--p) 0 62%, var(--a) 62% 100%); border: 1px solid rgba(0,0,0,.12); }
.pal-opt b { font-size: 13px; color: var(--ink); line-height: 1.2; }
.pal-opt > span:last-child { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.renewal-note { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.5; color: var(--text-2); margin-top: 12px; }
.footer-links { margin-bottom: 8px; }
.footer-legal { font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 900px; }
/* Signed in, the footer sits on the dark page: pale small print. */
.footer-app { color: var(--brand-dim-on-dark); }
.footer-app a { color: var(--brand-on-dark); }
.footer-app .footer-legal { color: var(--brand-dim-on-dark); }
/* The brand background behind the whole page, top to bottom: log in, sign up, password and onboarding, and every
   signed-in screen (body.app-page, set in base.html). Navy, a green glow top-left, a teal one top-right, the faint
   grid fading out over the first 900px; fixed, so it stays put while the page scrolls. */
body.auth-page, body.app-page { background: radial-gradient(1200px 600px at 20% -10%, #14532d 0%, rgba(20,83,45,0) 60%),
  radial-gradient(900px 500px at 90% 10%, #0f766e 0%, rgba(15,118,110,0) 55%),
  linear-gradient(180deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%) var(--brand-navy-2); background-attachment: fixed; }
body.auth-page::before, body.app-page::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 900px; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); }
body.auth-page main { color: var(--brand-on-dark); }
body.auth-page main .card { color: var(--text); }
body.auth-page .footer { color: var(--brand-dim-on-dark); }
body.auth-page .footer a, body.auth-page .footer-seo-hub { color: var(--brand-on-dark); }
body.auth-page .footer-legal { color: var(--brand-dim-on-dark); }
body.auth-page .footer-seo { border-bottom-color: rgba(255,255,255,.1); }
/* On the dark page, words that sit straight on it read pale: headings white, text --brand-on-dark, small print
   --brand-dim-on-dark, links teal. It's done with the tokens, so every rule that says --muted or --text-2 gets the
   pale one on the page and the dark one inside a white box, which puts the box ink back (never --muted on navy).
   The page's --border goes faint too: a white box on the page loses its grey hairline, and whatever is inside
   the box gets the grey back. Zero specificity (:where) so a component's own colours still win. */
body.app-page main { color: var(--brand-on-dark); --muted: var(--brand-dim-on-dark); --text-2: var(--brand-on-dark);
  --border: rgba(255,255,255,.1); --border-strong: rgba(255,255,255,.22); --heading: #fff; --page-link: var(--brand-teal); }
:where(body.app-page main :is(.card, .table, .table-wrap, .empty, .acct-tabs, .hub-jump, .home-campaigns, .hub-page, .pg-card, .flash, .list, .proposal, .home-waiting, .hub-off, .not-live, .toggle-card, .step, .kw-tab, .kw-card, .kw-stats > div, .opt-tile, .tpl-opt, .pal-opt, .filepick,
  .renewal-note, .nf-old, .ws-note, .build-all, .ba-admin-row, .spot-full, .spot-empty, .evidence, .convo-a, .su-card, .chip, .btn, code)) { color: var(--text);
  --muted: var(--box-muted); --text-2: var(--box-text-2); --heading: var(--text); --page-link: var(--accent); }
:where(body.app-page main :is(.card, .table, .table-wrap, .empty, .acct-tabs, .hub-jump, .home-campaigns, .hub-page, .pg-card, .flash, .list, .proposal, .home-waiting, .hub-off, .not-live, .toggle-card, .step, .kw-tab, .kw-card, .kw-stats > div, .opt-tile, .tpl-opt, .pal-opt, .filepick,
  .renewal-note, .nf-old, .ws-note, .build-all, .ba-admin-row, .spot-full, .spot-empty, .evidence, .convo-a, .su-card, .chip, .btn, code)) > * { --border: var(--box-border); --border-strong: var(--box-border-strong); }
:where(body.app-page main) :where(h1, h2, h4) { color: var(--heading); }
:where(body.app-page main) a { color: var(--page-link); }
:where(body.app-page main) .btn-ghost { color: #fff; }
:where(body.app-page main) .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
:where(body.app-page main :is(.card, .table, .table-wrap, .empty, .acct-tabs, .hub-jump, .home-campaigns, .hub-page, .pg-card, .flash, .list, .proposal, .home-waiting, .hub-off, .not-live, .toggle-card, .step, .kw-tab, .kw-card, .kw-stats > div, .opt-tile, .tpl-opt, .pal-opt, .filepick,
  .renewal-note, .nf-old, .ws-note, .build-all, .ba-admin-row, .spot-full, .spot-empty, .evidence, .convo-a, .su-card, .chip, .btn, code)) .btn-ghost { color: var(--text); }
:where(body.app-page main :is(.card, .table, .table-wrap, .empty, .acct-tabs, .hub-jump, .home-campaigns, .hub-page, .pg-card, .flash, .list, .proposal, .home-waiting, .hub-off, .not-live, .toggle-card, .step, .kw-tab, .kw-card, .kw-stats > div, .opt-tile, .tpl-opt, .pal-opt, .filepick,
  .renewal-note, .nf-old, .ws-note, .build-all, .ba-admin-row, .spot-full, .spot-empty, .evidence, .convo-a, .su-card, .chip, .btn, code)) .btn-ghost:hover { background: #f1f3f5; border-color: #b8bfca; }
/* The white boxes float: a deeper shadow on the ones sitting on the page (not boxes inside boxes). */
:where(body.app-page main) :is(.card, .table, .table-wrap, .empty, .acct-tabs, .hub-jump, .home-campaigns, .hub-page, .pg-card, .flash, .list, .proposal, .home-waiting, .hub-off):not(:is(.card, .table, .table-wrap, .empty, .acct-tabs, .hub-jump, .home-campaigns, .hub-page, .pg-card, .flash, .list, .proposal, .home-waiting, .hub-off) *) { box-shadow: 0 10px 30px rgba(2,6,23,.35); }
:where(body.app-page main) .table-wrap:not(:is(.card, .table, .table-wrap, .empty, .acct-tabs, .hub-jump, .home-campaigns, .hub-page, .pg-card, .flash, .list, .proposal, .home-waiting, .hub-off) *) { border-radius: var(--radius); }
:where(body.app-page main) .table-wrap:not(:is(.card, .table, .table-wrap, .empty, .acct-tabs, .hub-jump, .home-campaigns, .hub-page, .pg-card, .flash, .list, .proposal, .home-waiting, .hub-off) *) > .table { border-color: transparent; }
.legal { max-width: 860px; margin: 18px auto 30px; padding: 26px 28px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-2); line-height: 1.65; margin-bottom: 10px; }
.legal a { text-decoration: underline; }
.legal-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; }
.legal-nav a { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; text-decoration: none; color: var(--text-2); }
.legal-nav a[aria-current="page"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.legal-who { margin-bottom: 18px; }
.table-wrap { overflow-x: auto; margin: 8px 0 14px; }
.legal .table td, .legal .table th { vertical-align: top; }
.btn-danger { border-color: var(--red); color: var(--red); background: var(--surface); }
.btn-danger:hover { background: var(--red-soft); }
.linklike { border: 0; background: none; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
/* Links inside running text are underlined so they don't rely on colour alone (WCAG 1.4.1). */
main p a, main li a, main td a, main dd a, .flash a, .empty a, .lede a, .rationale a { text-decoration: underline; }
.flash a { color: inherit; font-weight: 600; }

/* before/after admin list */
.ba-admin { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; }
.ba-admin-row { display: grid; grid-template-columns: 96px 96px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.ba-admin-row img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }
.ba-admin-meta { display: flex; flex-direction: column; min-width: 0; }
@media (max-width: 560px) { .ba-admin-row { grid-template-columns: 1fr 1fr; } .ba-admin-row img { width: 100%; height: auto; aspect-ratio: 4 / 3; } }

/* ---------------------------------------------------------------- talk to us: book a call + ask */
.lp-talk { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.lp-talk-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.lp-talk-card h3 { font-size: 20px; text-transform: none; letter-spacing: -.02em; color: var(--ink); margin: 0 0 6px; font-weight: 750; }
.lp-talk-card > p { color: var(--text-2); margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.lp-talk-form label { margin-top: 10px; }
.lp-talk-form input, .lp-talk-form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 10px; font: inherit; }
.lp-talk-form .btn-hero { margin-top: 16px; font-size: 16px; padding: 14px 22px; }
.lp-talk-form .hp { position: absolute; left: -5000px; }
.lp-chat-log { background: #f6f7f9; border: 1px solid var(--border); border-radius: 14px; padding: 12px; height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.lp-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.lp-msg-bot { background: #fff; border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--text); }
.lp-msg-me { background: var(--lp-navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.lp-chat-form { display: flex; gap: 8px; margin-top: 10px; }
.lp-chat-form input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 12px; font: inherit; font-size: 15px; }
.lp-chat-form .btn-hero { padding: 12px 20px; font-size: 16px; }
@media (max-width: 820px) { .lp-talk { grid-template-columns: 1fr; } }

/* ---------- campaigns & keywords dashboard */
.kw-layout { display: grid; grid-template-columns: 340px 1fr; gap: 18px; align-items: start; }
.kw-tree { padding: 12px; max-height: calc(100vh - 200px); overflow: auto; position: sticky; top: 76px; }
.kw-tree-head input { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font: inherit; margin-bottom: 10px; }
.kw-camp { margin-bottom: 14px; }
.kw-camp-head { padding: 6px 4px 8px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.kw-camp-head b { font-size: 14px; }
.kw-group { margin: 6px 0 10px; }
.kw-group-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 4px 4px; }
.kw-row { display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; width: 100%; text-align: left; border: 1px solid transparent; background: transparent; border-radius: 8px; padding: 6px 6px; font: inherit; cursor: pointer; color: var(--ink); }
.kw-row:hover { background: var(--surface-2); }
.kw-row.on { border-color: var(--accent); background: rgba(15,118,110,.06); }
.kw-row .kw-qs { grid-row: 1 / span 2; }
.kw-text { font-weight: 600; font-size: 13.5px; }
.kw-mini { grid-column: 2; }
.kw-qs { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; }
.kw-qs-good { background: #15803d; } .kw-qs-mid { background: #d97706; } .kw-qs-bad { background: #b91c1c; } .kw-qs-none { background: #9ca3af; }
.kw-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; min-height: 34px; }
.kw-tab { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 6px 8px 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.kw-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.kw-tab-x { border: 0; background: transparent; color: inherit; font-size: 16px; line-height: 1; cursor: pointer; padding: 0 4px; opacity: .7; }
.kw-tab-x:hover { opacity: 1; }
.kw-panel { padding: 18px; }
.kw-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.kw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kw-card { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: var(--surface); }
.kw-card-wide { grid-column: 1 / -1; }
.kw-card-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.kw-big { font-size: 44px; font-weight: 800; line-height: 1; display: inline-block; padding: 6px 14px; border-radius: 12px; color: #fff; margin-bottom: 10px; }
.kw-big span { font-size: 18px; font-weight: 600; opacity: .8; margin-left: 2px; }
.kw-parts > div { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.kw-parts > div > span:first-child { color: var(--muted); }
.kw-grade { font-weight: 700; padding: 2px 8px; border-radius: 999px; font-size: 12.5px; }
.kw-grade.good { background: #dcfce7; color: #166534; } .kw-grade.mid { background: #fef3c7; color: #92400e; } .kw-grade.bad { background: #fee2e2; color: #991b1b; }
.kw-bars > div { display: grid; grid-template-columns: 150px 1fr 48px; gap: 10px; align-items: center; font-size: 13.5px; padding: 5px 0; }
.kw-bars span { color: var(--muted); }
.kw-bar { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.kw-bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.kw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kw-stats > div { text-align: center; padding: 8px 4px; background: var(--surface-2); border-radius: 10px; }
.kw-stats b { display: block; font-size: 17px; }
.kw-stats span { font-size: 12px; color: var(--muted); }
.kw-spark { width: 100%; height: auto; display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .kw-layout { grid-template-columns: 1fr; } .kw-tree { position: static; max-height: 360px; } .kw-grid { grid-template-columns: 1fr; } .kw-stats { grid-template-columns: repeat(2, 1fr); } }

/* New-lead bell and toasts */
.bell { position: relative; margin: 0 10px 0 4px; display: inline-flex; align-items: center; text-decoration: none; font-size: 18px; line-height: 1; }
.bell:hover { text-decoration: none; }
.bell-n[hidden] { display: none; }
.bell-n { position: absolute; top: -7px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; max-width: min(360px, calc(100vw - 32px)); }
.toast { display: flex; flex-direction: column; gap: 2px; background: #111827; color: #fff; padding: 14px 16px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25); text-decoration: none; animation: toast-in .25s ease-out; }
.toast:hover { text-decoration: none; background: #1f2937; }
.toast span { color: #86efac; font-weight: 650; }
.toast small { color: #cbd5e1; }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
tr.lead-new td { background: #eff6ff; }

/* Keyword optimisation centre */
.opt-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.opt-tile { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 2px solid var(--border); color: var(--text); text-decoration: none; transition: border-color .12s, box-shadow .12s; }
.opt-tile:hover { text-decoration: none; border-color: var(--border-strong); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.opt-tile .opt-n { font-size: 34px; font-weight: 800; line-height: 1; color: var(--red); }
.opt-tile.zero .opt-n { color: var(--green); }
.opt-tile .opt-l { font-weight: 650; }
.opt-tile.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.opt-card { margin-bottom: 8px; }
.table-scroll { overflow-x: auto; margin-top: 10px; }
.opt-table td { vertical-align: middle; }
.opt-act { text-align: right; white-space: nowrap; }
.opt-act form { margin: 0; }
@media (max-width: 720px) { .opt-tiles { grid-template-columns: 1fr; } .opt-tile { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; } .opt-tile .opt-n { font-size: 26px; } }

/* Retargeting: picture spots and the ad preview */
.pic-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 12px 0; }
.pic-slot { display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.pic-slot input[type=file] { font-size: 12px; }
.pic-box { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; justify-content: center; min-height: 92px; padding: 6px; border: 2px dashed var(--border-strong); border-radius: 12px; background: var(--surface); }
.pic-box img { max-height: 76px; max-width: 100%; border-radius: 6px; }
.pic-plus { font-size: 26px; color: var(--muted); }
.pic-slot:hover .pic-box { border-color: var(--accent); }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.ad-shapes { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; margin-top: 10px; }
.ad-shape { margin: 0; }
.ad-banner, .ad-square, .ad-phone { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.ad-banner { width: min(380px, 100%); }
.ad-square { width: 220px; }
.ad-phone { width: 190px; }
.ad-shapes img { display: block; width: 100%; }
.ad-copy { padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; color: #111827; }
.ad-logo { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border); flex: 0 0 auto; }
.pic-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pic-strip img { height: 90px; border-radius: 8px; border: 1px solid var(--border); }

/* Photo library */
/* The campaign workspace: one campaign at a time, with the last 7 / 14 / 30 days across the top. */
.ws-bar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 10px 0 14px; }
.ws-days { display: flex; gap: 4px; }
.ws-day { font-size: 13px; font-weight: 650; color: var(--text-2); text-decoration: none; padding: 7px 12px;
  border: 1px solid var(--border); border-radius: 999px; }
.ws-day.on { background: var(--text); color: var(--surface); border-color: var(--text); }
.ws-nums { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.ws-nums b { font-size: 17px; color: var(--heading); }
.ws-do { border-color: var(--accent); }
.ws-note { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 10px 0 0; }
.ws-note p { margin: 0 0 8px; font-size: 13.5px; color: var(--text-2); }
.ws-note p:last-child { margin-bottom: 0; }
.btn-big { font-size: 15px; padding: 12px 18px; }
.table .num { text-align: right; white-space: nowrap; }

/* "Is any of this actually running?" — said before the numbers, so a dead account can't look busy. */
.not-live { border: 1px solid var(--red); border-left-width: 4px; border-radius: 12px;
  background: var(--red-soft); padding: 12px 14px; margin: 0 0 14px; }
.not-live h2 { margin: 0 0 6px; font-size: 16px; color: var(--red); }
.not-live ul { margin: 0; padding-left: 18px; }
.not-live li { font-size: 14px; margin-bottom: 4px; }
.not-live p { margin: 8px 0 0; }
.not-live.part-live { border-color: var(--amber); background: var(--amber-soft); }
.not-live.part-live h2 { color: var(--amber); }
.is-live { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); margin: 0 0 14px; }
.is-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }

/* One group of searches: its own block on the campaign screen, its own screen when you open it. */
.ag-block { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 14px 0 0; }
.ag-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; margin-bottom: 8px; }
.ag-head h3 { margin: 0; font-size: 16px; }
.ag-head p { margin: 4px 0 0; }
.ag-url { font-size: 15px; margin: 6px 0 0; word-break: break-all; }
.ag-own { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); }
.ag-own label { display: block; font-weight: 650; font-size: 14px; margin-bottom: 6px; }
.ag-own-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ag-own-row input { flex: 1 1 320px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.folder-add .drop { text-align: center; line-height: 1.3; }

/* The ad group's photos, laid out as the spots the page has: one at the top, one for the team, and a row of
   job photos, three across like the page, where each spot is a photo or a before & after. */
.spot-singles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.spot-single h3, .work-head h3 { margin: 0; font-size: 14px; }
.spot-single p, .work-head p { margin: 2px 0 8px; }
.spot { position: relative; margin: 0; border-radius: 10px; aspect-ratio: 4 / 3; overflow: hidden; }
.spot-full { border: 1px solid var(--border); background: var(--surface-2); }
.spot-full > img, .spot-ba img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 100%; }
.spot-tag { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px); background: rgba(15, 23, 42, .78);
  color: #fff; font-size: 11.5px; font-weight: 650; padding: 3px 7px; border-radius: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spot-tag-off { top: 6px; bottom: auto; background: var(--amber); }
.spot-off > img, .spot-off .spot-ba { opacity: .45; }
.spot-x { position: absolute; top: 6px; right: 6px; margin: 0; }
.spot-x button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(15, 23, 42, .72); color: #fff;
  font-size: 16px; line-height: 1; cursor: pointer; }
.spot-x button:hover { background: var(--red); }
.spot-change { position: absolute; right: 6px; bottom: 6px; margin: 0; }
.spot-change-btn { display: inline-block; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 12.5px;
  font-weight: 700; padding: 5px 10px; border-radius: 7px; cursor: pointer; box-shadow: var(--shadow); }
.spot-change-btn:hover { color: var(--accent); }
.spot-empty { border: 2px dashed var(--border-strong); background: var(--surface-2); color: var(--muted); }
.spot-empty:hover { border-color: var(--accent); color: var(--accent); }
.spot-add, .spot-open > summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 100%; font-size: 13px; font-weight: 650; cursor: pointer; list-style: none; text-align: center; }
.spot-open > summary::-webkit-details-marker { display: none; }
.spot-plus { font-size: 24px; font-weight: 400; line-height: 1; }
.spot-add input[type=file], .spot-change-btn input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.work-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  margin: 20px 0 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.spot-count { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.spot-count .ws-day { cursor: pointer; min-width: 38px; font-family: inherit; }
.spot-count .ws-day:not(.on) { background: var(--surface); }
.spot-count .ws-day:not(.on):hover { border-color: var(--accent); color: var(--accent); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.spot-open[open] { grid-column: 1 / -1; aspect-ratio: auto; border-style: solid; border-color: var(--accent); color: var(--text); }
.spot-open[open] > summary { height: auto; flex-direction: row; justify-content: flex-start; padding: 10px 12px 0; color: var(--muted); }
.spot-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 12px 12px; }
.spot-choice { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; border: 1px solid var(--border);
  border-radius: 10px; padding: 12px; background: var(--surface); }
.spot-choice input[type=text] { width: 100%; padding: 7px 9px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; }
@media (max-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } .spot-menu { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .ag-block { padding: 10px; } .ag-head { gap: 8px; } }
/* A row that's just been approved or dropped: struck off on the spot, no page reload. */
.done-row { opacity: .55; transition: opacity .3s ease; }
.done-say { font-size: 13px; font-weight: 700; color: var(--green, #15803d); margin-top: 6px; }
.done-bad { font-size: 13px; color: var(--red, #b91c1c); margin: 6px 0 0; }
.wait-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.build-all { border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin: 10px 0 14px; background: var(--surface-2); }
/* Photo sets: your main photos, and a set per campaign that wants its own pictures. */
.set-tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 12px 0 8px; }
.set-tab { font-size: 13px; font-weight: 650; color: var(--text-2); text-decoration: none; padding: 7px 11px;
  border-radius: 999px; border: 1px solid var(--border); white-space: nowrap; }
.set-tab:hover { background: var(--surface-2); color: var(--text); }
.set-tab.on { background: var(--text); color: var(--surface); border-color: var(--text); }
.set-n { font-size: 11.5px; opacity: .7; margin-left: 4px; }
/* Campaigns screen: paused campaigns sit in a folder after the live ones. */
.camp-off[open] { flex-basis: 100%; }
.camp-off > summary { display: inline-block; list-style: none; cursor: pointer; }
.camp-off > summary::-webkit-details-marker { display: none; }
.camp-off-list { margin: 8px 0 0; padding: 8px; border: 1px dashed var(--border); border-radius: 12px; }
.set-add { display: flex; gap: 6px; align-items: center; }
.set-add select { padding: 6px 8px; font-size: 13px; border: 1px solid var(--border); border-radius: 8px; max-width: 220px; }
.set-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 10px; }
.spot-pick { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.ph-inline { display: inline-flex; gap: 5px; align-items: center; }
.folders { display: grid; gap: 14px; margin-top: 12px; }
.folder { border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.folder-head { margin-bottom: 8px; }
.folder-pics { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.lib-pic { margin: 0; width: 140px; display: flex; flex-direction: column; gap: 4px; }
.lib-pic img { width: 140px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.lib-pic input[type=text] { width: 100%; padding: 4px 6px; font-size: 12px; border: 1px solid var(--border); border-radius: 6px; }
.lib-actions { display: flex; gap: 6px; align-items: center; }
.lib-actions select { font-size: 12px; padding: 3px 4px; border: 1px solid var(--border); border-radius: 6px; max-width: 86px; }
.folder-add .drop { display: flex; align-items: center; justify-content: center; width: 140px; height: 96px; border: 2px dashed var(--border-strong); border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--muted); text-align: center; padding: 6px; }
.folder-add .drop:hover { border-color: var(--accent); color: var(--accent); }
.folder-add input[type=file] { display: none; }
.pair-matches { display: flex; gap: 14px; flex-wrap: wrap; }
.pair-match { display: flex; gap: 6px; align-items: center; }
.pair-match img { width: 92px; height: 68px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }

/* Lead outcomes */
.lead-marks { display: flex; gap: 4px; flex-wrap: wrap; margin: 0; }
.lead-marks .mark { border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.lead-marks .mark:hover { background: #f1f3f5; }
.lead-marks .mark.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.lead-marks .mark-won.on { background: var(--green); border-color: var(--green); }
.lead-outcome { white-space: nowrap; }

/* ---------------------------------------------------------------- "Your ads"
   What you're advertising, the groups of searches under it, and the ads drawn
   roughly the way a customer sees them in Google. */
.ad-sum { font-size: 17px; margin: 0; }
.ad-trouble { border-color: var(--amber, #d97706); }
.ad-group { border-top: 1px solid var(--border); margin-top: 14px; padding-top: 14px; }
.ad-group-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ad-searches { margin: 6px 0 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ad-chip { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; font-size: 12.5px; }
.ad-chip-pick { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; margin: 0 4px 6px 0; padding: 4px 12px 4px 8px;
                user-select: none; }
.ad-chip-pick input { margin: 0; accent-color: var(--accent); }
.ad-chip-pick.ad-chip-off { color: var(--muted); text-decoration: line-through; background: transparent; border-style: dashed; }
.pick-note:empty { display: none; }
.ad-none { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font-size: 14px; display: flex;
           gap: 10px; align-items: center; flex-wrap: wrap; }
.ad-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start;
           border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-top: 10px; }
.ad-card-off { background: var(--surface-2); }
.ad-shot { font-family: arial, sans-serif; min-width: 0; }
.ad-shot-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ad-badge { font-size: 12px; font-weight: 700; color: #202124; border: 1px solid #70757a; border-radius: 4px; padding: 0 5px; }
.ad-shot-url { font-size: 13px; color: #202124; overflow-wrap: anywhere; }
.ad-shot-title { color: #1a0dab; font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.ad-shot-desc { color: #4d5156; font-size: 14px; line-height: 1.45; margin-top: 3px; overflow-wrap: anywhere; }
.ad-side { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ad-lines summary { cursor: pointer; }
.ad-lines ul { margin: 4px 0 10px; padding-left: 20px; }
@media (max-width: 720px) { .ad-card { grid-template-columns: 1fr; } }
.ad-shot-plain { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- the client's account screen + campaign hub */
.home-waiting { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 14px; padding: 14px 18px;
  background: var(--amber-soft); border: 1px solid #f3d9a4; border-radius: var(--radius); color: var(--text); text-decoration: none; }
.home-waiting span { color: var(--text-2); font-size: 14px; }
.home-empty { text-align: center; padding: 44px 22px; }
.home-empty p { max-width: 520px; margin: 8px auto 20px; color: var(--text-2); }
.home-campaigns { list-style: none; margin: 12px 0 16px; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.home-campaigns li + li { border-top: 1px solid var(--border); }
.home-campaigns a { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 16px 18px; color: var(--text); text-decoration: none; }
.home-campaigns a:hover { background: var(--surface-2); }
.home-c-name { font-weight: 750; font-size: 16.5px; flex: 1 1 200px; }
.home-c-nums { flex: 0 1 auto; }
.home-c-go { font-size: 22px; color: var(--muted); line-height: 1; }
.home-more { margin-top: 18px; text-align: center; }

.hub-jump { position: sticky; top: 61px; z-index: 4; display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 14px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow); }
.hub-jump a { font-size: 13px; font-weight: 650; color: var(--text-2); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.hub-jump a:hover { background: var(--surface-2); color: var(--text); }
.hub-card { margin-bottom: 14px; scroll-margin-top: 132px; }
.hub-remove { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.hub-remove > summary { list-style: none; display: inline-block; cursor: pointer; }
.hub-remove > summary::-webkit-details-marker { display: none; }
.hub-remove[open] > summary { display: none; }
.hub-remove-box { border: 1px solid var(--red); background: var(--red-soft); border-radius: 12px; padding: 12px 16px; }
.hub-remove-box ul { margin: 6px 0 10px; padding-left: 20px; }
.hub-remove-box li { margin: 3px 0; }
.hub-tiles { margin: 12px 0 0; }
.hub-ask { font-size: 18px; font-weight: 750; margin: 6px 0 14px; }
.hub-now { margin: 4px 0 12px; color: var(--text-2); }
.hub-choice { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.hub-option { border: 2px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.hub-option h3 { font-size: 17px; text-transform: none; letter-spacing: 0; color: var(--text); margin: 0 0 6px; font-weight: 800; }
.hub-option p { color: var(--text-2); margin: 0 0 14px; }
.hub-option form { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.hub-option label { font-weight: 650; font-size: 13.5px; }
.hub-option input[type=text] { width: 100%; padding: 12px 13px; font: inherit; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); }
.hub-or { align-self: center; font-weight: 750; color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.hub-step { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px;
  margin: 0 0 14px; border-radius: var(--radius); background: #ecfdf3; border: 1px solid #bbf7d0; }
.hub-step p { margin: 0; }
.hub-page { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 18px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.hub-page-kind { font-weight: 750; }
.hub-page-name { font-size: 17px; color: var(--accent-ink); word-break: break-all; }
.hub-foot { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.hub-checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.hub-checks li { display: flex; gap: 10px; align-items: flex-start; }
.hub-checks p { margin: 2px 0 6px; }
.hub-tick { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.hub-checks .ok .hub-tick { background: var(--green-soft); color: var(--green); }
.hub-checks .bad .hub-tick { background: var(--amber-soft); color: var(--amber); }
.hub-kw, .hub-searches { list-style: none; margin: 12px 0 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.hub-kw li + li, .hub-searches li + li { border-top: 1px solid var(--border); }
.hub-kw summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 13px 16px; cursor: pointer; list-style: none; }
.hub-kw summary::-webkit-details-marker { display: none; }
.hub-kw summary:hover { background: var(--surface-2); }
.hub-kw-text { font-weight: 650; }
.hub-kw-body { padding: 2px 16px 16px; }
.hub-kw-body p { margin: 0 0 8px; }
.hub-searches li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; transition: opacity .15s; }
.hub-searches li.going { opacity: .35; pointer-events: none; }
.hub-search-text { font-weight: 650; flex: 1 1 220px; }
.hub-yn { display: flex; gap: 8px; }
.btn-yes, .btn-no { min-width: 74px; min-height: 42px; font-weight: 750; }

.btn-no { background: var(--red-soft); border-color: #f5c2c2; color: var(--red); }
@media (max-width: 720px) {
  .hub-choice { grid-template-columns: 1fr; }
  .hub-or { justify-self: center; }
  .hub-jump { border-radius: var(--radius); overflow-x: auto; flex-wrap: nowrap; }
}
.home-biz { margin-bottom: 14px; }
.home-biz-head { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.home-biz-head h2 { margin: 0; flex: 1; }
.home-group { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 13px; }
.home-group .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-on { background: var(--green); } .dot-off { background: var(--border-strong); }
.home-none { margin: 8px 0 4px; }
.hub-off { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
  padding: 18px 20px; background: var(--amber-soft); border: 1px solid #f3d9a4; border-radius: var(--radius); }
.hub-off h2 { margin: 0 0 4px; } .hub-off p { margin: 0; color: var(--text-2); max-width: 560px; }
.hub-wait { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 380px; }
/* A client's home: the five first steps, the waiting cards, last night's line (account_home.html, _waiting.html) */
.home-steps, .home-ok, .home-night { margin-bottom: 14px; }
.st-list { list-style: none; margin: 10px 0 8px; padding: 0; }
.st { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; }
.st + .st { border-top: 1px solid var(--border); }
.st-mark { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.st-done .st-mark { background: var(--green-soft); color: var(--green); border-color: transparent; }
.st-done .st-label { color: var(--muted); }
.st-now .st-mark { background: var(--green); color: #fff; border-color: transparent; }
.st-body { flex: 1; min-width: 0; padding-top: 4px; }
.st-label { font-weight: 650; }
.st-go { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.st-go p { margin: 0; flex: 1 1 100%; color: var(--text-2); }
.st-go .btn { text-decoration: none; }
.st-foot { margin: 6px 0 0; }
.ok-cards { list-style: none; margin: 0; padding: 0; }
.ok-card { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 12px 0; }
.ok-card + .ok-card { border-top: 1px solid var(--border); }
.ok-say { flex: 1 1 300px; min-width: 0; overflow-wrap: anywhere; }
.ok-why { color: var(--text-2); }
.ok-details { margin-top: 8px; }
.ok-do { display: flex; gap: 8px; flex-wrap: wrap; }
.ok-do form { margin: 0; }
.home-night h2 { margin-bottom: 6px; } .home-night p { margin: 0; }
.home-c-line { display: block; font-size: 13px; font-weight: 500; margin-top: 2px; }
.home-c-on { color: var(--green); } .home-c-stop { color: var(--red); } .home-c-off { color: var(--muted); }

/* ------------------------------------------------------------ SEO pages (/for/, /alternatives/): lp-* plus these */
.seo-preview-bar { background: #fef3c7; color: #78350f; border-bottom: 1px solid #fcd34d; padding: 10px 22px; font-size: 14px; text-align: center; }
.seo-hero { padding: 64px 0 64px; }
.seo-hero-inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.seo-crumb { display: inline-block; color: var(--lp-lime); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.seo-crumb:hover { color: #fff; text-decoration: none; }
.seo-title { font-size: 54px; line-height: 1.02; letter-spacing: -.04em; margin: 0 0 18px; font-weight: 800; color: #fff; }
.seo-intro p { font-size: 19px; line-height: 1.55; color: #cbd5e1; margin: 0 0 12px; }
.seo-intro a { color: #fff; text-decoration: underline; }
.seo-cta { justify-content: flex-start; margin-top: 22px; }
.seo-hero-shot { margin: 0; }
.seo-hero-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 6px rgba(255,255,255,.04); background: #fff; }
.seo-body { max-width: 820px; }
.seo-body h2 { font-size: 32px; letter-spacing: -.03em; line-height: 1.1; margin: 48px 0 12px; font-weight: 800; color: var(--ink); }
.seo-body h2:first-child { margin-top: 0; }
.seo-body h3 { font-size: 19px; text-transform: none; letter-spacing: -.02em; color: var(--ink); margin: 24px 0 6px; font-weight: 750; }
.seo-body p { font-size: 17px; line-height: 1.65; color: var(--text-2); margin: 0 0 14px; }
.seo-body ul { list-style: none; padding: 0; margin: 0 0 18px; }
.seo-body li { padding: 8px 0 8px 32px; position: relative; font-size: 16.5px; line-height: 1.55; color: var(--text-2); border-bottom: 1px solid var(--border); }
.seo-body li:last-child { border-bottom: 0; }
.seo-body li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: #15803d; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.seo-body a { text-decoration: underline; }
.seo-shot { margin: 18px 0 8px; }
.seo-shot img { display: block; width: auto; max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: #fff; }
.seo-faq { padding-top: 40px; max-width: 820px; }
.seo-hub-hero { padding-bottom: 72px; }
.seo-hub-title { font-size: 64px; }
.seo-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.seo-hub-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow); }
.seo-hub-card h2 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #15803d; margin: 0 0 10px; }
.seo-hub-card ul { list-style: none; padding: 0; margin: 0; }
.seo-hub-card li { border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.seo-hub-card li:first-child { border-top: 0; }
.seo-hub-card li a { flex: 1; display: flex; text-decoration: none; justify-content: space-between; padding: 11px 0; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.seo-hub-card li a:hover { color: #15803d; text-decoration: none; }
.seo-hub-card li a:hover .lp-arrow { transform: translateX(4px); }
.footer-seo { display: flex; flex-wrap: wrap; gap: 10px 48px; padding: 4px 0 16px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.footer-seo-col { display: flex; flex-direction: column; gap: 4px; }
.footer .footer-seo a { text-decoration: none; }
.footer .footer-seo a:hover { text-decoration: underline; }
.footer-seo-hub { font-weight: 700; color: var(--ink); }
@media (max-width: 900px) {
  .seo-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .seo-title { font-size: 44px; }
  .seo-hub-title { font-size: 48px; }
  .seo-hub-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .seo-hero { padding: 44px 0 44px; }
  .seo-title { font-size: 36px; }
  .seo-intro p { font-size: 17px; }
  .seo-cta .btn-hero { width: 100%; text-align: center; }
  .seo-body h2 { font-size: 26px; }
  .seo-hub-title { font-size: 38px; }
  .seo-hub-grid { grid-template-columns: 1fr; }
}
/* Landing pages → Tracking & integrations: what we add to every live page ourselves */
.auto-tags { background: var(--surface-2, #f6f7f9); border: 1px solid var(--border, #e5e7eb); border-radius: 10px; padding: 10px 12px; margin: 10px 0 14px; }
.auto-tags summary { cursor: pointer; }
.auto-code { white-space: pre-wrap; word-break: break-all; margin: 6px 0 0; padding: 8px 10px; background: var(--surface, #fff); border-radius: 8px; font-size: 12px; }

/* sign-in code page: "send a new code" is a button that looks like a link */
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand, #166534); text-decoration: underline; cursor: pointer; }

/* The staging copy of the site: a stripe nobody can miss. */
.staging-bar { background: #b45309; color: #fff; text-align: center; font-weight: 700; font-size: 13px; letter-spacing: .02em; padding: 6px 12px; }
