:root {
  --bg: #f8fafc; --surface: #fff; --text: #0f172a; --text-2: #334155; --muted: #64748b; --line: #e2e8f0; --line-2: #f1f5f9;
  --primary: #2563eb; --primary-dark: #1d4ed8; --primary-soft: #eff6ff; --primary-line: #bfdbfe;
  --ok: #15803d; --ok-soft: #dcfce7; --err: #b91c1c; --err-soft: #fee2e2; --warn: #9a3412; --warn-soft: #fff7ed;
  --radius: 10px; --shadow-sm: 0 1px 2px rgba(15,23,42,.05); --shadow: 0 1px 3px rgba(15,23,42,.06), 0 12px 32px -12px rgba(15,23,42,.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }
input, select, button { font: inherit; }
input:not([type=checkbox]):not([type=radio]), select {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); font-size: 14px;
}
input:focus, select:focus { outline: 3px solid var(--primary-soft); border-color: var(--primary); }
input[type=checkbox], input[type=radio] { accent-color: var(--primary); width: 15px; height: 15px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
.inline { display: inline; }
.mt { margin-top: 36px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(37,99,235,.6); }
.btn-lg { padding: 13px 22px; font-size: 15px; border-radius: 12px; }
.btn .i { width: 16px; height: 16px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--primary-line); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: #eff6ff; }
.btn-sm { padding: 7px 12px; font-size: 13px; } .btn-xs { padding: 4px 9px; font-size: 12px; }
.btn-block { width: 100%; margin-top: 16px; }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; }
button.link { background: none; border: 0; color: var(--primary); cursor: pointer; padding: 0; font-weight: 500; }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 max(24px, calc((100vw - 1180px) / 2 + 20px)); background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--text); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.topnav { display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 14px; }
.topnav a:not(.btn) { color: var(--text-2); }
.topnav a:not(.btn):hover { color: var(--text); text-decoration: none; }
.credits-pill { background: var(--primary-soft); color: var(--primary) !important; padding: 5px 11px; border-radius: 999px; font-weight: 600; border: 1px solid var(--primary-line); }

.flashes { max-width: 1120px; margin: 16px auto 0; padding: 0 16px; }
.flash { padding: 11px 14px; border-radius: 8px; margin-bottom: 8px; font-size: 14px; }
.flash-success { background: var(--ok-soft); color: #14532d; }
.flash-error { background: var(--err-soft); color: #7f1d1d; }

/* Landing */
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.accent { color: var(--primary); }
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #eef4ff 0%, #f5f8ff 50%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -200px; top: -260px; background: radial-gradient(circle, rgba(37,99,235,.14), transparent 65%); pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--primary-line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--primary-dark); box-shadow: 0 1px 2px rgba(37,99,235,.08); }
.pill .i { width: 15px; height: 15px; }
.hero-search > .i { color: var(--muted); }
.hero-search input { border: 0 !important; outline: 0 !important; font-size: 16px !important; padding-left: 4px !important; background: transparent !important; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--text-2); transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--primary-line); color: var(--primary); text-decoration: none; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks .i { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--primary); color: #fff; stroke-width: 3; }

.preview-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.preview-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; flex: none; }
.preview-bar > span:nth-child(1) { background: #fca5a5; } .preview-bar > span:nth-child(2) { background: #fcd34d; } .preview-bar > span:nth-child(3) { background: #86efac; }
.preview-url { margin-left: 10px; color: var(--muted); font-size: 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; flex: 1; }
.avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.preview-row:nth-child(odd) .avatar { background: var(--primary-soft); color: var(--primary); }
.pr-main { min-width: 0; }
.pr-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.star { color: #f59e0b; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: 0 16px 36px -14px rgba(15,23,42,.3); font-size: 12px; }
.float > .i { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
.float b { display: block; font-size: 13px; }
.float span { color: var(--muted); }
.float-bottom > .i { background: var(--ok-soft); color: var(--ok); }
.hero-inner { position: relative; max-width: 920px; margin: 0 auto; padding: 88px 20px 56px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: 76px; font-weight: 900; letter-spacing: -.05em; line-height: 1; margin: 26px 0 24px; }
.lead { font-size: 19px; line-height: 1.65; color: var(--text-2); max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-search { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 620px; margin: 34px 0 18px; background: #fff; padding: 8px 8px 8px 18px; border-radius: 16px; box-shadow: 0 2px 4px rgba(15,23,42,.04), 0 22px 48px -18px rgba(37,99,235,.4); border: 1px solid var(--primary-line); text-align: left; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; padding: 0; margin: 22px 0 0; font-size: 14px; font-weight: 500; color: var(--text-2); }

/* Hero product mockup */
.stage { position: relative; max-width: 1100px; margin: 0 auto 96px; padding: 30px; border-radius: 32px; background: linear-gradient(160deg, rgba(255,255,255,.9), #eef3ff 55%, #e3ebff); border: 1px solid #dbe6fb; box-shadow: 0 40px 80px -40px rgba(30,64,175,.35); }
.stage-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.sstat { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-sm); min-width: 0; }
.sstat > .i { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.sstat b { display: block; font-size: 25px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sstat span { color: var(--muted); font-size: 13.5px; }
.stage-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 18px; align-items: start; text-align: left; }
.preview { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 48px -28px rgba(30,64,175,.4); overflow: hidden; font-size: 14px; min-width: 0; }
.preview-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.fchip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); background: #fff; }
.fchip .i { width: 13px; height: 13px; }
.fchip.on { background: var(--primary-soft); border-color: var(--primary-line); color: var(--primary); }
.preview-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.preview-row:last-child { border-bottom: 0; }
.preview-row .avatar { width: 38px; height: 38px; }
.pr-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--primary); border: 1px solid var(--primary-line); background: #fff; padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.pr-btn.done { color: var(--ok); border-color: #bbf7d0; background: var(--ok-soft); }
.pr-btn .i { width: 13px; height: 13px; stroke-width: 3; }
.side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 18px 40px -28px rgba(30,64,175,.35); }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-head > .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); }
.panel-head b { display: block; font-size: 14px; }
.panel-head span { font-size: 12.5px; color: var(--muted); }
.cols, .tools { display: flex; flex-wrap: wrap; gap: 6px; }
.cols span { font-size: 12px; padding: 3px 9px; border-radius: 6px; background: #f8fafc; border: 1px solid var(--line-2); color: var(--text-2); }
.tools { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.tools span { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.panel-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin-bottom: 10px; }
.bar-row { position: relative; z-index: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 6px 0 12px; }
.bar-row b { font-variant-numeric: tabular-nums; color: var(--primary); }
.bar-row i { position: absolute; left: 0; bottom: 3px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.bar-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 4px; border-radius: 4px; background: var(--line-2); z-index: -1; }
.float-top { top: -22px; right: -26px; }
.float-bottom { bottom: -22px; left: -26px; }

/* Sections */
.section h2 { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1.08; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.sub-lead { font-size: 18px; line-height: 1.65; color: var(--text-2); margin: 8px auto 0; max-width: 680px; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.kicker .i { width: 15px; height: 15px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.card p, .usecase p { color: var(--text-2); font-size: 15.5px; line-height: 1.65; }
.tile { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 10px 20px -10px rgba(37,99,235,.8); }
.tile .i { width: 22px; height: 22px; }
.pct { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; }
.pct b { display: block; font-size: 42px; font-weight: 900; letter-spacing: -.04em; color: var(--primary); line-height: 1.05; margin-bottom: 10px; }
.pct span { color: var(--text-2); font-size: 15px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feat { display: flex; flex-direction: column; }
.feat:hover { border-color: #93c5fd; box-shadow: 0 22px 48px -24px rgba(37,99,235,.35); }
.feat-top { display: flex; justify-content: space-between; align-items: flex-start; }
.badge-soft { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: 999px; padding: 4px 11px; }
.feat p { flex: 1; }
.mock { background: #f8fafc; border: 1px solid var(--line-2); border-radius: 16px; padding: 12px; margin: 4px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.mock-row { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 14px; }
.mock-row > .i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
.mock-row > div { flex: 1; min-width: 0; }
.mock-row b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row b.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.02em; }
.mock-row span { font-size: 12.5px; color: var(--muted); }
.mock-row em { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--primary); border-radius: 8px; padding: 5px 11px; white-space: nowrap; }
.mock-row em.ok { background: var(--ok-soft); color: var(--ok); padding: 4px 6px; display: grid; }
.mock-row em.ok .i { width: 14px; height: 14px; stroke-width: 3; }
.mock-row em.zero { background: var(--ok-soft); color: var(--ok); }
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 2px; }
.mock-chips span { font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text-2); }
.mock-chips span.on { background: var(--primary-soft); border-color: var(--primary-line); color: var(--primary); }

.section { max-width: 1180px; margin: 0 auto; padding: 88px 20px 0; }
.section.narrow { max-width: 820px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid3 .card:hover, .usecase:hover { border-color: #93c5fd; box-shadow: 0 18px 40px -20px rgba(37,99,235,.35); }
.step-n { display: block; font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.band { background: linear-gradient(180deg, #fff, #f3f7ff); margin-top: 88px; padding-bottom: 88px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.band .section { padding-top: 88px; }
.usecase { display: flex; flex-direction: column; color: var(--text); padding: 24px; }
.usecase:hover { text-decoration: none; transform: translateY(-2px); }
.usecase p { flex: 1; }
.mini { background: #f8fafc; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.mini b { color: var(--primary); font-size: 15px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--primary); }
.more .i { width: 16px; height: 16px; transition: transform .15s; }
.usecase:hover .more .i { transform: translateX(3px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rank-card h3 { margin-bottom: 8px; }
.rank { list-style: none; padding: 0; margin: 0; }
.rank li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.rank li:last-child { border-bottom: 0; }
.rank a { color: var(--text); font-weight: 500; }
.rank a:hover { color: var(--primary); }
.rank span { color: var(--primary); font-weight: 600; font-variant-numeric: tabular-nums; background: var(--primary-soft); border-radius: 999px; padding: 1px 10px; font-size: 13px; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq-wrap h2 { margin-bottom: 12px; }
.cta { padding: 96px 20px; }
.cta-inner { position: relative; overflow: hidden; max-width: 1180px; margin: 0 auto; background: radial-gradient(circle at 85% 0%, rgba(59,130,246,.45), transparent 50%), linear-gradient(135deg, #0b1220, #172554); color: #fff; border-radius: 28px; padding: 64px 40px; text-align: center; }
.cta-inner h2 { font-size: 42px; font-weight: 900; letter-spacing: -.04em; margin-bottom: 10px; }
.cta-inner p { color: #bfdbfe; margin: 0 0 28px; font-size: 17px; }
.kicker-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #bfdbfe; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.page-hero { text-align: center; padding: 72px 20px 56px; background: linear-gradient(180deg, #eef4ff, #fff); }
.page-hero h1 { font-size: 48px; font-weight: 900; letter-spacing: -.04em; line-height: 1.05; margin: 0 0 14px; }
.page-hero .lead { margin: 0 auto; }
.pricing-note { margin-top: 18px; }

/* Search app */
.search-layout { display: grid; grid-template-columns: 272px 1fr; min-height: calc(100vh - 60px); }
.filters { background: #fff; border-right: 1px solid var(--line); padding: 18px; }
.filters { position: sticky; top: 64px; align-self: start; max-height: calc(100vh - 64px); overflow-y: auto; overscroll-behavior: contain; }
.filter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.flabel { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin: 16px 0 6px; }
.flabel .count { background: var(--primary); color: #fff; border-radius: 999px; padding: 0 6px; margin-left: 4px; font-size: 11px; }
.check { display: flex; align-items: center; gap: 8px; padding: 3px 0; cursor: pointer; font-size: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 7px 4px; font-size: 13px; cursor: pointer; }
.seg label + label span { border-left: 1px solid var(--line); }
.seg input:checked + span { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: -2px; }
.msel { border: 1px solid var(--line); border-radius: 8px; }
.msel summary { padding: 9px 11px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.msel-list { max-height: 280px; overflow: auto; padding: 4px 11px 10px; border-top: 1px solid var(--line); }
.msel-group { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 12px 0 2px; }
.results { padding: 22px 24px; min-width: 0; }
.results-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.results-title { font-size: 22px; margin: 0; font-variant-numeric: tabular-nums; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
#toggle-filters { display: none; }
.banner { background: var(--primary-soft); border: 1px solid var(--primary-line); color: #1e3a8a; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow-sm); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfc; white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl tbody tr:hover { background: #fafcff; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .cb { width: 34px; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl .name { font-weight: 600; }
.tbl .sub, .sub { font-size: 12px; color: var(--muted); }
.c-phone, .c-email { white-space: nowrap; }
.masked { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: -.02em; }
.none { color: #cbd5e1; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; margin: 1px 2px 1px 0; white-space: nowrap; }
.tag-on { background: var(--primary-soft); color: var(--primary); }
.tag-off { background: var(--warn-soft); color: var(--warn); }
.tag-ok { background: var(--ok-soft); color: var(--ok); }
.pos { color: var(--ok); font-weight: 600; } .neg { color: var(--muted); }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 18px; font-size: 14px; }
.empty { text-align: center; padding: 60px 16px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.dlg { border: 0; border-radius: 14px; padding: 24px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 24px 64px rgba(15,23,42,.25); }
.dlg::backdrop { background: rgba(15,23,42,.45); }
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1120px; margin: 0 auto; padding: 0 16px 16px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.plan-pop { border: 2px solid var(--primary); box-shadow: 0 24px 48px -24px rgba(37,99,235,.5); }
.plan .badge { position: absolute; top: -11px; left: 22px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.plan .price { font-size: 44px; font-weight: 900; letter-spacing: -.04em; letter-spacing: -.02em; }
.plan .per { color: var(--muted); font-size: 13px; }
.plan ul { padding-left: 18px; flex: 1; font-size: 14px; color: var(--text-2); }
.plan form { margin: 0; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; transition: border-color .15s; }
.faq[open] { border-color: var(--primary-line); box-shadow: 0 10px 24px -16px rgba(37,99,235,.4); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-weight: 700; font-size: 18px; line-height: 1; }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 10px 0 0; color: var(--text-2); }

/* Auth / account / misc */
.auth { display: grid; place-items: center; padding: 56px 16px; }
.auth-card { width: min(420px, 100%); padding: 28px; box-shadow: var(--shadow); }
.big { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.email { font-weight: 600; word-break: break-all; }
.form-row { display: flex; gap: 8px; margin: 16px 0; }
.optout-item { display: grid; grid-template-columns: 1fr 220px auto; gap: 10px; align-items: center; margin-bottom: 8px; }
.prose h2 { font-size: 20px; margin-top: 28px; }
.prose p { color: var(--text-2); }
.footer { background: #0b1220; color: #94a3b8; font-size: 14px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 56px 20px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.brand-light { color: #fff; }
.footer-brand p { margin: 12px 0 0; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col b { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col a { color: #cbd5e1; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding: 18px 20px 28px; border-top: 1px solid #1e293b; font-size: 13px; }

@media (max-width: 960px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr 1fr; }
  .search-layout { grid-template-columns: 1fr; }
  .filters { display: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .filters.open { display: block; }
  .filters { position: static; max-height: none; overflow: visible; }
  #toggle-filters { display: inline-flex; }
}
@media (max-width: 640px) {
  .topbar { padding: 0 16px; }
  .topnav { gap: 12px; }
  .nav-secondary { display: none; }
  .section h2, .page-hero h1 { font-size: 30px; }
  .page-hero { padding: 48px 16px 40px; }
  .cta-inner h2 { font-size: 30px; }
  .cta-inner { padding: 44px 22px; }
  .cta { padding: 64px 16px; }
  .band { margin-top: 64px; padding-bottom: 64px; }
  .band .section { padding-top: 64px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .lead { font-size: 16px; }
  .hero-search { flex-wrap: wrap; padding: 6px; }
  .hero-search > .i { display: none; }
  .hero-search input { flex: 1 1 100%; padding: 8px !important; }
  .hero-search .btn { width: 100%; }
  .pr-contact { display: none; }
  .grid3, .grid4, .grid2, .two-col, .pricing { grid-template-columns: 1fr; }
  .section { padding: 64px 16px 0; }
  .results { padding: 16px; }
  .form-row, .optout-item { display: grid; grid-template-columns: 1fr; }
  /* Table -> stacked cards on mobile */
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .tbl td { border: 0; padding: 2px 0; }
  .tbl .num { text-align: left; }
  .c-phone, .c-email { white-space: normal; word-break: break-all; }
  .c-act { padding-top: 8px !important; }
}

/* Additions */
textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; resize: vertical; }
textarea:focus { outline: 3px solid var(--primary-soft); border-color: var(--primary); }
.mt-sm { margin-top: 24px; }
.preview-note { background: var(--warn-soft); color: var(--warn); text-align: center; font-size: 13px; padding: 6px 16px; border-bottom: 1px solid #fed7aa; }
.prose ul { color: var(--text-2); padding-left: 20px; }
.tbl-plain td { vertical-align: middle; }
@media (max-width: 640px) {
  .tbl-plain tr { display: flex !important; justify-content: space-between; gap: 12px; }
  .tbl-plain td { width: auto !important; }
  .tbl-plain .num { text-align: right; }
}
.c-loc .sub { white-space: nowrap; }
@media (max-width: 640px) {
  .tbl tr { display: grid !important; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; }
  .tbl td { grid-column: 1 / -1; }
  .tbl td.cb { display: none; }
  .tbl td.c-name { grid-column: 1; grid-row: 1; }
  .tbl td.c-rating { grid-column: 2; grid-row: 1; text-align: right; }
  .c-loc .cell-address, .c-loc .sub { display: inline; }
  .c-loc .cell-address::after { content: " · "; color: var(--muted); }
  .actions #unlock-selected { display: none; }
}

main > .section:last-child, main > .auth:last-child { padding-bottom: 88px; }
.auth { background: linear-gradient(180deg, #eef4ff, var(--bg)); }
.auth-card .small { margin: 16px 0 0; }
.auth-card h1 { font-weight: 800; letter-spacing: -.03em; }

/* Landing responsive */
@media (max-width: 1180px) {
  .float-top { right: 12px; } .float-bottom { left: 12px; }
}
@media (max-width: 960px) {
  .hero h1 { font-size: 58px; }
  .section h2 { font-size: 40px; }
  .stage { margin: 0 20px 80px; padding: 20px; }
  .stage-stats { grid-template-columns: 1fr 1fr; }
  .stage-grid { grid-template-columns: 1fr; }
  .side { display: grid; grid-template-columns: 1fr 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .grid4.pct-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-inner { padding: 48px 16px 40px; }
  .hero h1 { font-size: 42px; margin: 20px 0 18px; }
  .section h2 { font-size: 32px; }
  .sub-lead { font-size: 16px; }
  .stage { margin: 0 12px 64px; padding: 12px; border-radius: 22px; }
  .stage-stats { gap: 8px; margin-bottom: 12px; }
  .sstat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .sstat > .i { width: 34px; height: 34px; padding: 8px; }
  .sstat b { font-size: 20px; }
  .side { display: none; }
  .preview-row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .preview-row .avatar { width: 34px; height: 34px; }
  .preview-filters .fchip:nth-child(n+4) { display: none; }
  .float { display: none; }
  .float span { display: none; }
  .card { padding: 22px; }
  .pct b { font-size: 32px; }
  .grid4.pct-grid { gap: 10px; }
  .pct { padding: 18px 16px; }
  .pct span { font-size: 13.5px; }
  .mock-chips span:nth-child(n+4) { display: none; }
}

/* Pricing polish */
.section.narrow h2 { font-size: 32px; margin-bottom: 20px; }
.page-hero { padding-bottom: 72px; }
.plan h3 { font-size: 17px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.plan li { position: relative; padding: 4px 0 4px 26px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 17px; height: 17px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan:hover { border-color: #93c5fd; }
@media (max-width: 640px) { .section.narrow h2 { font-size: 26px; } }

/* ===== v4: search-first hero (2026-10-09) ===== */
.hero h1 { font-size: 68px; }
.hero-search { max-width: 760px; padding: 8px; gap: 8px; align-items: stretch; }
.hs-field { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; border-radius: 10px; text-align: left; transition: background .15s; }
.hs-field:hover, .hs-field:focus-within { background: #f5f8ff; }
.hs-field + .hs-field { border-left: 1px solid var(--line); border-radius: 0 10px 10px 0; }
.hs-field span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hs-field select, .hs-field input { border: 0 !important; outline: 0 !important; padding: 2px 0 !important; background: transparent !important; font-size: 16px !important; font-weight: 600; color: var(--text); }
.hero-search .btn { flex: none; }
.ticks .i { width: 16px; height: 16px; }

.stage { max-width: 1060px; padding: 0; margin: 0 auto 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(30,64,175,.35), 0 2px 6px rgba(15,23,42,.04); overflow: hidden; text-align: left; }
.ex-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 26px; border-bottom: 1px solid var(--line-2); background: linear-gradient(180deg, #fafcff, #fff); }
.ex-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ex-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 0; }
.ex-facets { display: flex; gap: 8px; flex-wrap: wrap; }
.ex-facets span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); background: #f8fafc; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.ex-facets .i { width: 15px; height: 15px; color: var(--primary); }
.ex-row { display: grid; grid-template-columns: minmax(0, 2.2fr) 1.1fr 1.4fr 90px 40px; gap: 16px; align-items: center; padding: 12px 26px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.ex-th { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding-top: 10px; padding-bottom: 10px; background: #fafbfc; }
.ex-biz { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ex-biz > span { min-width: 0; display: flex; flex-direction: column; }
.ex-biz b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-biz small { color: var(--muted); font-size: 12.5px; }
.ex-biz .avatar { font-style: normal; flex: none; }
.ex-row .masked { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-ch { display: flex; gap: 6px; }
.ex-ch i { font-style: normal; }
.ex-act { color: #94a3b8; display: grid; place-items: center; }
.ex-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 26px; background: #f8fafc; font-size: 14px; color: var(--text-2); }
.hero-stats { max-width: 1060px; margin: 28px auto 0; padding: 0 20px 72px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center; }
.hero-stats b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13.5px; color: var(--muted); }
.steps-sec { padding-top: 56px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stp { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.stp-n { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.stp b { display: block; font-size: 16px; }
.stp span { font-size: 14px; color: var(--muted); }

/* Shared: avatars and channel icons */
.avatar { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.av-0 { background: #dbeafe; color: #1d4ed8; } .av-1 { background: #2563eb; color: #fff; } .av-2 { background: #eff6ff; color: #2563eb; } .av-3 { background: #1e3a8a; color: #fff; }
.ch { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #f1f5f9; color: #cbd5e1; }
.ch .i { width: 15px; height: 15px; }
.ch.on { background: var(--primary-soft); color: var(--primary); }
a.ch.on:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* ===== Search page ===== */
.sbar-wrap { background: linear-gradient(180deg, #eef4ff, #f5f8ff); border-bottom: 1px solid var(--line); padding: 18px max(20px, calc((100vw - 1400px) / 2)); }
.sbar { display: flex; gap: 0; align-items: stretch; background: #fff; border: 1px solid var(--primary-line); border-radius: 14px; padding: 6px; box-shadow: 0 14px 32px -20px rgba(37,99,235,.45); max-width: 1100px; }
.sfield { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 4px 14px; border-radius: 9px; }
.sfield + .sfield { border-left: 1px solid var(--line); }
.sfield:focus-within { background: #f5f8ff; }
.sfield span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sfield span i { font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; color: #94a3b8; }
.sfield select, .sfield input { border: 0 !important; outline: 0 !important; padding: 2px 0 !important; background: transparent !important; font-size: 15px !important; font-weight: 600; color: var(--text); }
.sbtn { margin-left: 6px; padding: 0 22px; border-radius: 10px; }
.search-layout { grid-template-columns: 264px 1fr; min-height: calc(100vh - 150px); }
/* the filter column is sticky (shorter than the page): paint its white band and border on the grid */
.search-layout { background: linear-gradient(90deg, #fff 0 263px, var(--line) 263px 264px, transparent 264px); }
.filters { padding: 20px 18px; background: #fff; }
.filters .filter-head { margin-bottom: 8px; }
.filter-head b { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.filter-head .i { width: 17px; height: 17px; color: var(--primary); }
.fsec { padding: 14px 0; border-top: 1px solid var(--line-2); }
.fsec-title { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin-bottom: 10px; }
.toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.tgl { position: relative; cursor: pointer; }
.tgl input { position: absolute; opacity: 0; pointer-events: none; }
.tgl span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text-2); background: #fff; transition: all .15s; }
.tgl .i { width: 15px; height: 15px; }
.tgl input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.tgl input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.filters .btn-block { margin-top: 8px; }
.results { padding: 24px 28px; background: var(--bg); }
.results-head { align-items: center; margin-bottom: 12px; }
.results-title { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.crumb { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--primary-dark); background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: 999px; padding: 3px 11px; }
.crumb .i { width: 13px; height: 13px; }
.actions .btn .i { width: 15px; height: 15px; }
.facets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.facet { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-2); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; }
.facet .i { width: 15px; height: 15px; color: var(--primary); }
.facet b { color: var(--text); font-variant-numeric: tabular-nums; }
.table-wrap { border-radius: 16px; box-shadow: 0 1px 3px rgba(15,23,42,.05); }
.tbl th { padding: 12px 14px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; }
.tbl td { padding: 14px; vertical-align: middle; }
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr.is-unlocked { background: #f6fbf7; }
.biz { display: flex; align-items: center; gap: 12px; min-width: 0; }
.biz-main { min-width: 0; }
.tbl .name { font-weight: 700; font-size: 14.5px; }
.rating { color: #b45309; font-weight: 700; }
.c-loc { min-width: 120px; }
.ct { display: flex; align-items: center; gap: 7px; font-size: 13.5px; white-space: nowrap; line-height: 1.9; }
.ct > .i { width: 14px; height: 14px; color: #94a3b8; }
.ct .none { color: #94a3b8; font-size: 12.5px; }
.is-unlocked .ct > .i { color: var(--ok); }
.c-web { white-space: nowrap; }
.c-web .ch + .ch { margin-left: 4px; }
.c-act { text-align: right; white-space: nowrap; }
.btn-unlock { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-soft); color: var(--primary); border: 1px solid var(--primary-line); border-radius: 9px; padding: 7px 12px; font-size: 13px; }
.btn-unlock:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-unlock .i, .tag-ok .i { width: 14px; height: 14px; }
.tag-ok { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; padding: 5px 10px; border-radius: 8px; }
.pager { gap: 14px; }
.empty .i { width: 34px; height: 34px; color: var(--primary); padding: 7px; background: var(--primary-soft); border-radius: 12px; }
.empty h3 { margin-top: 14px; }

/* Logged-out gate */
.gate { position: relative; margin-top: -1px; }
.gate-rows { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; overflow: hidden; filter: blur(3px); opacity: .7; }
.ghost { display: grid; grid-template-columns: 38px 1.6fr 1fr 1.2fr 70px; gap: 14px; align-items: center; padding: 16px 14px; border-bottom: 1px solid var(--line-2); }
.ghost i { width: 38px; height: 38px; border-radius: 11px; background: #dbeafe; }
.ghost b, .ghost span, .ghost em { height: 10px; border-radius: 6px; background: #e2e8f0; }
.ghost b { width: 70%; } .ghost span { width: 80%; } .ghost em { width: 100%; height: 26px; border-radius: 8px; background: var(--primary-soft); }
.gate-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100% - 24px)); background: #fff; border: 1px solid var(--primary-line); border-radius: 20px; padding: 28px; text-align: center; box-shadow: 0 30px 60px -24px rgba(30,64,175,.45); }
.gate-icon { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.gate-icon .i { width: 22px; height: 22px; }
.gate-card h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.gate-card p { color: var(--text-2); font-size: 15px; }
.gate-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero h1 { font-size: 52px; }
  .ex-row { grid-template-columns: minmax(0, 2fr) 1.2fr 70px; }
  .ex-row > :nth-child(3), .ex-row > :nth-child(5) { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .stage { margin: 0 20px; }
  .steps { grid-template-columns: 1fr; }
  .sbar { flex-wrap: wrap; }
  .sfield { flex: 1 1 45%; }
  .sfield:nth-child(3) { display: none; }
  .search-layout { grid-template-columns: 1fr; }
  .filters { border-right: 0; }
  .search-layout { background: none; }
  .filters { position: static; max-height: none; overflow: visible; }
  .filters.open { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .filters.open .filter-head, .filters.open .btn-block { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 38px; }
  .hero-search { flex-direction: column; padding: 8px; }
  .hs-field { padding: 8px 10px; }
  .hs-field + .hs-field { border-left: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .hero-search .btn { width: 100%; }
  .stage { margin: 0 12px; border-radius: 18px; }
  .ex-head, .ex-foot { padding: 16px; }
  .ex-title { font-size: 18px; }
  .ex-row { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 16px; }
  .ex-row > :nth-child(4) { display: none; }
  .ex-th { display: none; }
  .ex-foot .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding-bottom: 48px; }
  .hero-stats > div:last-child { grid-column: 1 / -1; }
  .hero-stats b { font-size: 22px; }
  .steps-sec { padding-top: 40px; }
  .sbar-wrap { padding: 12px; }
  .sbar { flex-direction: column; }
  .sfield { flex: 1 1 auto; padding: 8px 10px; }
  .sfield + .sfield { border-left: 0; border-top: 1px solid var(--line); }
  .sbtn { margin: 6px 0 0; padding: 12px; }
  .filters.open { grid-template-columns: 1fr; }
  .results { padding: 16px 12px; }
  .results-title { font-size: 22px; }
  .facet { font-size: 12.5px; padding: 6px 10px; }
  .tbl tr { grid-template-columns: 1fr auto !important; padding: 14px !important; row-gap: 6px !important; }
  .tbl td.c-name { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .tbl td.c-loc { grid-column: 1 / -1; font-size: 13px; color: var(--text-2); }
  .tbl td.c-contact { grid-column: 1; }
  .tbl td.c-web { grid-column: 2; grid-row: auto; text-align: right; align-self: center; }
  .tbl td.c-act { grid-column: 1 / -1; text-align: left; }
  .c-act .btn-unlock { width: 100%; justify-content: center; padding: 10px; }
  .ct { white-space: normal; }
  .ghost { grid-template-columns: 38px 1fr 60px; }
  .ghost span { display: none; }
  .gate-card { padding: 22px 18px; }
  .gate-card h2 { font-size: 19px; }
  .gate-actions .btn { width: 100%; }
}
@media (max-width: 640px) {
  .gate-card { position: relative; left: auto; top: auto; transform: none; width: auto; margin: -150px 0 0; }
}
.stp .stp-n { color: #fff; font-size: 15px; }
@media (max-width: 640px) {
  .tbl td { padding: 3px 0 !important; }
  .tbl td.c-loc { padding-bottom: 6px !important; }
  .tbl td.c-act { padding-top: 8px !important; }
}

/* ===== v5: header, FAQ, landing pages, browse (2026-10-09) ===== */
.topbar { display: block; height: auto; padding: 0 20px; }
.topbar-inner { max-width: 1240px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 36px; }
.mainnav { display: flex; align-items: center; gap: 4px; flex: 1; }
.mainnav a, .nav-link { color: var(--text-2); font-weight: 500; font-size: 14.5px; padding: 7px 12px; border-radius: 8px; }
.mainnav a:hover, .nav-link:hover { color: var(--text); background: #f1f5f9; text-decoration: none; }
.mainnav a.on { color: var(--primary); background: var(--primary-soft); }
.topactions { display: flex; align-items: center; gap: 8px; }
.topactions form { margin: 0; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { width: 16px; height: 2px; border-radius: 2px; background: var(--text); }
.mnav-panel { position: absolute; right: 0; top: 48px; width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -16px rgba(15,23,42,.3); padding: 8px; display: flex; flex-direction: column; z-index: 30; }
.mnav-panel a { padding: 10px 12px; border-radius: 8px; color: var(--text); font-weight: 500; }
.mnav-panel a.on, .mnav-panel a:hover { background: var(--primary-soft); color: var(--primary); text-decoration: none; }
@media (max-width: 860px) {
  .mainnav { display: none; }
  .topbar-inner { justify-content: space-between; gap: 12px; }
  .mnav { display: block; }
  .hide-sm { display: none; }
}
@media (max-width: 640px) { .topbar { padding: 0 14px; } .topactions { gap: 6px; } .topactions .nav-link { padding: 7px 8px; } }

/* Text helpers */
.sub-lead.left { margin-left: 0; text-align: left; }
.cta-actions.left { justify-content: flex-start; }

/* Record anatomy */
.anatomy { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.anatomy h2 { margin-bottom: 8px; }
.anat-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.anat-list li { display: flex; gap: 14px; align-items: flex-start; }
.anat-list li > .i { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
.anat-list b { display: block; font-size: 15.5px; }
.anat-list span { color: var(--muted); font-size: 14px; }
.record { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 36px 70px -36px rgba(30,64,175,.4); overflow: hidden; }
.record-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line-2); }
.record-head > div { flex: 1; min-width: 0; }
.record-head b { display: block; font-size: 16px; }
.record-head span { font-size: 13px; color: var(--muted); }
.record-head .avatar { font-style: normal; }
.record dl { margin: 0; padding: 8px 22px; }
.record dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.record dl > div:last-child { border-bottom: 0; }
.record dt { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.record dt .i { width: 15px; height: 15px; }
.record dd { margin: 0; font-weight: 600; text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.record dd.none { color: #94a3b8; font-family: inherit; font-weight: 500; }
.record-foot { display: flex; align-items: center; gap: 8px; padding: 14px 22px; background: #f6fbf7; color: var(--ok); font-weight: 600; font-size: 13.5px; }
.record-foot .i { width: 16px; height: 16px; }

/* Link clouds (browse) */
.browse { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.browse > div { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.browse h3 { font-size: 16px; margin-bottom: 14px; }
.cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.cloud a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--text-2); background: #f8fafc; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.cloud a span { color: var(--primary); font-weight: 600; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cloud a:hover { border-color: var(--primary-line); color: var(--primary); background: var(--primary-soft); text-decoration: none; }
.cloud a.more-link { background: var(--primary-soft); border-color: var(--primary-line); color: var(--primary); font-weight: 600; }
.cloud a.more-link .i { width: 14px; height: 14px; }

/* FAQ page */
.faq-page { display: grid; grid-template-columns: 220px 1fr; gap: 48px; max-width: 1080px; align-items: start; }
.faq-nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; }
.faq-nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-weight: 500; font-size: 14.5px; }
.faq-nav a:hover { background: var(--primary-soft); color: var(--primary); text-decoration: none; }
.faq-sec { margin-bottom: 36px; scroll-margin-top: 88px; }
.faq-sec h2 { font-size: 24px !important; margin-bottom: 14px; }

/* Leads hub + landing pages */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hub-card h2 { font-size: 18px !important; letter-spacing: -.01em !important; margin-bottom: 10px; }
.hub-card ul { list-style: none; padding: 0; margin: 0; }
.hub-card li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.hub-card li:last-child { border-bottom: 0; }
.hub-card li a { color: var(--text); font-weight: 500; }
.hub-card li a:hover { color: var(--primary); }
.hub-card li span { color: var(--primary); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.crumbtrail { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbtrail a { color: var(--text-2); }
.crumbtrail b { color: var(--text); font-weight: 600; }
.leads-hero .cta-actions { margin-top: 26px; }
.lp-stats { padding-top: 0; margin-top: -24px; }
.lp-stats .pct b { font-size: 34px; }
.lp-stage { margin: 0 auto; }
.lp-links { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lp-links h2 { font-size: 22px !important; margin-bottom: 14px; }

/* Footer link cloud */
.footer-links { max-width: 1180px; margin: 0 auto; padding: 0 20px 28px; }
.footer-links b { display: block; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer-links div { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: #94a3b8; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }

@media (max-width: 960px) {
  .anatomy { grid-template-columns: 1fr; gap: 32px; }
  .browse { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr 1fr; }
  .faq-page { grid-template-columns: 1fr; gap: 16px; }
  .faq-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .faq-nav a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; }
  .lp-links { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hub-grid { grid-template-columns: 1fr; }
  .record dl { padding: 4px 16px; }
  .record-head, .record-foot { padding: 14px 16px; }
  .record dd { font-size: 12px; }
  .browse > div { padding: 18px; }
  .lp-stats { margin-top: -8px; }
  .lp-stats .pct b { font-size: 26px; }
  .faq-sec h2 { font-size: 20px !important; }
}
.stage .ex-title { font-size: 22px; letter-spacing: -.02em; line-height: 1.25; margin: 2px 0 0; }
@media (max-width: 640px) { .stage .ex-title { font-size: 18px; } }

/* ===== v6 (2026-10-09): centered nav, in-column search bar, text channels, footer, browse lists ===== */
.topbar-inner { max-width: 1180px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
.topbar-inner .brand { justify-self: start; }
.topbar-inner .topactions { justify-self: end; }
.mainnav { flex: none; justify-content: center; }
@media (max-width: 860px) { .topbar-inner { display: flex; } }

.results > .sbar { max-width: none; margin-bottom: 12px; box-shadow: 0 10px 28px -20px rgba(37,99,235,.5); }
.sfield-q { flex: 2.2; }
.sfield span .i { width: 13px; height: 13px; color: var(--primary); vertical-align: -2px; }
.sfield + .sfield { border-left: 1px solid var(--line); }
.understood { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -2px 0 14px; }
.u-label { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-right: 4px; }
.u-label .i { width: 14px; height: 14px; }
.u-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; background: #fff; border: 1px dashed var(--primary-line); color: var(--primary-dark); border-radius: 999px; padding: 3px 11px; }
.u-chip .i { width: 13px; height: 13px; }
.u-kw { color: var(--text-2); }
.results-head { margin-top: 6px; }

.c-web { white-space: nowrap; }
.chan { display: flex; align-items: center; gap: 6px; width: max-content; font-size: 12.5px; font-weight: 600; color: #94a3b8; padding: 2px 9px 2px 7px; border-radius: 7px; margin: 2px 0; }
.chan .i { width: 14px; height: 14px; }
.chan.on { color: var(--primary); background: var(--primary-soft); }
a.chan.on:hover { background: var(--primary); color: #fff; text-decoration: none; }

.footer-inner { grid-template-columns: 1.5fr repeat(5, 1fr); padding-top: 64px; gap: 32px; }
.footer-brand p { color: #94a3b8; margin: 14px 0 18px; max-width: 320px; line-height: 1.6; }
.footer-col { gap: 11px; font-size: 14.5px; }
.footer-col b { margin-bottom: 4px; color: #e2e8f0; font-size: 12.5px; }
.footer-links { border-top: 1px solid #1e293b; padding-top: 28px; }
.footer-links b { color: #e2e8f0; font-size: 12.5px; }
.footer-links div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; }
.footer-links a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #64748b; }

.browse > div { display: flex; flex-direction: column; }
.browse h3 { display: flex; align-items: center; gap: 8px; }
.browse h3 .i { width: 18px; height: 18px; color: var(--primary); }
.blist { list-style: none; padding: 0; margin: 0 0 14px; flex: 1; }
.blist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.blist li:last-child { border-bottom: 0; }
.blist a { color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blist a:hover { color: var(--primary); }
.blist span { color: var(--primary); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; background: var(--primary-soft); border-radius: 999px; padding: 1px 9px; }

@media (max-width: 960px) {
  .results > .sbar { flex-wrap: wrap; }
  .sfield, .sfield:nth-child(3) { display: flex; }
  .sfield-q { flex: 1 1 100%; border-bottom: 1px solid var(--line); }
  .sfield-q + .sfield { border-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links div { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .results > .sbar { flex-direction: column; }
  .sfield-q { border-bottom: 0; }
  .sbtn span { display: inline; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-links div { grid-template-columns: 1fr; }
  .tbl td.c-web { display: flex; flex-direction: column; align-items: flex-end; }
}

/* ===== v7 (2026-10-09): header spacing, client area, enrichment, API ===== */
.topbar-inner { max-width: 1240px; }
.mainnav { gap: 2px; }
.mainnav a { font-size: 14.5px; padding: 7px 11px; }
@media (max-width: 1120px) { .mainnav { display: none; } .topbar-inner { display: flex; justify-content: space-between; } .mnav { display: block; } }
@media (min-width: 1121px) { .mnav { display: none !important; } }

.acc { max-width: 1240px; }
.section.acc { padding-top: 40px; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.acc-head h1 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.acc-head p { margin: 4px 0 0; }
.credits-card { display: flex; flex-direction: column; align-items: flex-end; background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: 14px; padding: 10px 16px; }
.credits-card b { font-size: 24px; font-weight: 800; color: var(--primary-dark); line-height: 1.1; }
.credits-card span { font-size: 12.5px; color: var(--primary); font-weight: 600; }
.credits-card:hover { text-decoration: none; border-color: var(--primary); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 14px; color: var(--text-2); font-weight: 600; font-size: 14.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a .i { width: 16px; height: 16px; }
.tabs a:hover { color: var(--primary); text-decoration: none; }
.tabs a.on { color: var(--primary); border-bottom-color: var(--primary); }
.stat-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; }
.stat-card .big { font-size: 34px; }
.qa { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; padding: 4px 0; }
.qa .i { width: 16px; height: 16px; }
.acc-h2 { font-size: 20px; margin: 32px 0 12px; }
.ml-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ml-bar form { margin: 0; }
.ml-filter { display: flex; gap: 8px; flex: 1; max-width: 640px; }
.ml-filter input { flex: 2; } .ml-filter select { flex: 1; }
.enrich-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.enrich-form { display: flex; flex-direction: column; gap: 14px; }
.enrich-form .btn-block { margin-top: 0; }
.enrich-form p { margin: 0; text-align: center; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; border: 2px dashed var(--primary-line); border-radius: 16px; padding: 28px 16px; background: #f8fbff; cursor: pointer; }
.drop > .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.drop span { font-size: 13.5px; color: var(--muted); }
.drop input { margin-top: 8px; font-size: 14px; max-width: 100%; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.enrich-help .anat-list { margin-top: 10px; }
.enrich-grid p.small { font-size: 13px; color: var(--muted); line-height: 1.5; }
.enrich-help p.small { margin: 12px 0 0; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; padding: 6px 12px; margin-right: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); cursor: pointer; }
.enrich-result { display: flex; flex-direction: column; gap: 14px; }
.er-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.er-stats > div { background: #f8fafc; border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; }
.er-stats b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.er-stats span { font-size: 13.5px; color: var(--muted); }
.er-sample { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.er-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.er-actions form { margin: 0; }
.api-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.api-card form { margin: 0; }
.api-key { display: block; width: 100%; padding: 14px 16px; background: #0b1220; color: #a5f3fc; border-radius: 12px; font-size: 14px; word-break: break-all; }
.api-docs h2 { font-size: 22px !important; margin-top: 32px; }
.api-docs pre { background: #0b1220; color: #e2e8f0; border-radius: 12px; padding: 16px; overflow-x: auto; font-size: 13px; line-height: 1.6; }
.api-docs code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.api-docs p code { background: var(--primary-soft); color: var(--primary-dark); padding: 1px 6px; border-radius: 5px; font-size: 13px; }
@media (max-width: 960px) {
  .enrich-grid { grid-template-columns: 1fr; }
  .er-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .acc-head h1 { font-size: 26px; }
  .ml-filter { flex-direction: column; max-width: none; }
  .ml-bar > form, .ml-bar .btn { width: 100%; }
  .er-actions { flex-direction: column; } .er-actions .btn { width: 100%; }
}
.api-card .btn { white-space: normal; text-align: left; }
button.link.nav-link { color: var(--text-2); font-weight: 500; }
button.link.nav-link:hover { color: var(--text); }

/* ===== v8 (2026-10-10): score, sorting, pipeline, AI writer ===== */
.score { display: inline-grid; place-items: center; min-width: 30px; height: 20px; padding: 0 6px; border-radius: 6px; font-size: 11.5px; font-weight: 800; vertical-align: 1px; margin-left: 4px; font-variant-numeric: tabular-nums; }
.score.hot { background: #dcfce7; color: #15803d; } .score.warm { background: #eff6ff; color: #1d4ed8; } .score.cold { background: #f1f5f9; color: #64748b; }
.status-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: -6px 0 16px; }
.status-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.status-tabs a span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.status-tabs a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.status-tabs a.on span { color: #dbeafe; }
.status-tabs a:hover { text-decoration: none; border-color: var(--primary-line); }
.c-pipe { min-width: 190px; }
.st-select { font-size: 13px !important; font-weight: 600; padding: 6px 9px !important; border-radius: 8px !important; margin-bottom: 6px; }
.st-new { background: #f8fafc !important; } .st-contacted { background: #eff6ff !important; color: #1d4ed8 !important; }
.st-interested { background: #fef9c3 !important; color: #854d0e !important; } .st-won { background: #dcfce7 !important; color: #15803d !important; }
.st-lost { background: #f1f5f9 !important; color: #64748b !important; }
.note-input { font-size: 13px !important; padding: 6px 9px !important; }
.note-input.saved { border-color: #86efac !important; }
.ai-dlg { width: min(620px, calc(100vw - 24px)); }
.ai-form { display: flex; flex-direction: column; gap: 8px; }
.ai-form .flabel { margin: 6px 0 2px; }
.ai-head { display: flex; gap: 12px; align-items: center; }
.ai-head .tile { margin: 0; width: 42px; height: 42px; }
.ai-head h3 { margin: 0; }
.ai-head p { margin: 2px 0 0; }
.ai-channel { margin-top: 8px; }
.ai-channel span { display: flex !important; align-items: center; justify-content: center; gap: 6px; }
.ai-channel .i { width: 14px; height: 14px; }
#ai-out { font-size: 14px; line-height: 1.55; background: #f8fafc; }
@media (max-width: 640px) {
  .ml-tbl td.c-pipe { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px; }
  .st-select { margin: 0; }
  .ai-channel span { font-size: 12px; }
}

/* ===== v9 (2026-10-10): features dropdown + features page ===== */
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); font-weight: 500; font-size: 14.5px; padding: 7px 11px; border-radius: 8px; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary:hover, .dd[open] summary { background: #f1f5f9; color: var(--text); }
.dd summary.on { color: var(--primary); background: var(--primary-soft); }
.dd .caret { width: 14px; height: 14px; transition: transform .15s; }
.dd[open] .caret { transform: rotate(180deg); }
.dd-panel { position: absolute; left: 50%; transform: translateX(-50%); top: 44px; width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -18px rgba(15,23,42,.3); padding: 8px; z-index: 40; display: flex; flex-direction: column; }
.dd-panel a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.dd-panel a:hover { background: #f5f8ff; text-decoration: none; }
.dd-panel a > .i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
.dd-panel b { display: block; font-size: 14px; }
.dd-panel small { color: var(--muted); font-size: 12.5px; }
.dd-panel .dd-all { justify-content: center; color: var(--primary); font-weight: 600; font-size: 13.5px; border-top: 1px solid var(--line-2); border-radius: 0 0 10px 10px; margin-top: 4px; }
.fx { padding-top: 72px; }
.anatomy.rev > :first-child { order: 0; }
.fx-visual { display: flex; justify-content: center; }
.fx-box { width: 100%; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: 0 36px 70px -36px rgba(30,64,175,.4); display: flex; flex-direction: column; gap: 10px; }
.fx-input { display: flex; align-items: center; gap: 8px; border: 1px solid var(--primary-line); border-radius: 12px; padding: 12px 14px; font-weight: 600; color: var(--text); background: #f8fbff; }
.fx-input .i { width: 16px; height: 16px; color: var(--primary); }
.fx-box .understood { margin: 0; }
.fx-msg b { font-size: 15px; }
.fx-msg p { margin: 0; color: var(--text-2); line-height: 1.65; }
.feat-steps { padding-top: 0; margin-top: -24px; }
@media (max-width: 960px) { .anatomy.rev > .fx-visual { order: 2; } }

/* Saved searches */
.saved-list { display: flex; flex-direction: column; gap: 8px; }
.saved { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.saved-main { flex: 1; min-width: 0; color: var(--text); }
.saved-main:hover { text-decoration: none; }
.saved-main b { display: block; }
.saved-main span { font-size: 13.5px; color: var(--muted); }
.saved-main em { font-style: normal; color: var(--ok); font-weight: 700; }
.saved form { margin: 0; }
.actions form.inline { display: inline-flex; margin: 0; }
.acc .acc-h2 { font-size: 22px !important; letter-spacing: -.02em !important; margin: 32px 0 12px; }
.prose h1 { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.section.prose h2 { font-size: 22px !important; letter-spacing: -.015em !important; margin: 28px 0 8px; }
@media (max-width: 640px) { .prose h1 { font-size: 30px; } .section.prose h2 { font-size: 19px !important; } }

/* Buttons under a hero lead always get breathing room */
.page-hero .cta-actions, .hero-inner .cta-actions { margin-top: 28px; }
.page-hero .lead + .cta-actions { margin-top: 28px; }

/* Language switch */
.lang-dd summary { gap: 6px; padding: 6px 9px; }
.flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(15,23,42,.12); flex: none; }
.lang-code { font-size: 13px; font-weight: 700; color: var(--text-2); }
.lang-panel { width: 190px; left: auto; right: 0; transform: none; }
.lang-panel a { align-items: center; }
.lang-panel a.on { background: var(--primary-soft); }
@media (max-width: 640px) { .lang-code { display: none; } .lang-dd summary { padding: 6px; } }
/* Phones: the header keeps logo, flag, credits/CTA and menu; log in/out move into the menu */
.credits-pill { white-space: nowrap; }
.show-xs { display: none !important; }
@media (max-width: 480px) {
  .hide-xs { display: none !important; }
  .mnav-panel .show-xs { display: block !important; }
  .mnav-panel form.show-xs button { width: 100%; text-align: left; padding: 10px 12px; font: inherit; color: var(--text); }
  .topactions .btn-sm { padding: 8px 12px; white-space: nowrap; }
}
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: minmax(0, 1fr); } .grid2 > *, .grid3 > *, .grid4 > * { min-width: 0; } }
@media (max-width: 380px) {
  .topbar { padding: 0 10px; }
  .topactions { gap: 4px; }
  .topbar .brand { font-size: 17px; gap: 6px; }
  .topbar .brand svg { width: 26px; height: 26px; }
  .topactions .btn-sm { padding: 7px 10px; font-size: 13px; }
  .credits-pill { padding: 4px 8px; font-size: 13px; }
}
@media (max-width: 960px) { .browse { grid-template-columns: minmax(0, 1fr); } .browse > div { min-width: 0; } }
.blist li a { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 960px) { .anatomy { grid-template-columns: minmax(0, 1fr); } .anatomy > * { min-width: 0; } }
@media (max-width: 480px) {
  .page-hero .cta-actions .btn-lg { white-space: normal; text-align: center; max-width: 100%; }
  .fx-box { padding: 14px; }
  .mock-row { min-width: 0; }
  .mock-row > div { min-width: 0; }
}
/* verified email badge, "only new businesses" option */
.ok-badge { display: inline-flex; margin-left: 4px; color: #16a34a; vertical-align: middle; }
.ok-badge .i { width: 13px; height: 13px; }
.tgl-wide { width: 100%; }
.fsec-help { font-size: 12.5px; color: var(--text-3, #64748b); margin: 6px 0 0; line-height: 1.4; }
/* phones: comfortable tap target for the language flag, account tabs wrap instead of hiding off-screen */
@media (max-width: 640px) {
  .lang-dd summary { min-width: 40px; min-height: 40px; justify-content: center; }
  .tabs { flex-wrap: wrap; overflow: visible; gap: 2px 4px; }
  .tabs a { padding: 9px 10px; font-size: 13.5px; }
}
@media (max-width: 640px) {
  /* My contacts card: contact on its own line, channels below it, never clipped */
  .ml-tbl td.c-contact { grid-column: 1 / -1; min-width: 0; }
  .ml-tbl td.c-contact a { overflow-wrap: anywhere; }
  .ml-tbl td.c-web { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 6px; text-align: left; }
  /* AI writer: channel choice as three tidy tiles, icon above the label */
  .ai-channel span { flex-direction: column; gap: 3px; padding: 8px 4px; line-height: 1.2; text-align: center; }
}
.forgot-link { margin: -6px 0 14px; text-align: right; }

/* ===== v10 (2026-10-13): team workspace + light CRM ===== */
.tabs .badge { position: static; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 11.5px; font-weight: 700; }
.st-proposal { background: #ede9fe !important; color: #5b21b6 !important; }
.status-tabs .due-tab { margin-left: auto; }
.status-tabs .due-tab .i { width: 14px; height: 14px; }
.status-tabs .due-tab span { color: #dc2626; font-weight: 700; }
.status-tabs .due-tab.on span { color: #fff; }
.ml-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ml-actions form { margin: 0; }
.ml-filter select[name=who] { flex: 1; }
.lead-link { color: var(--text); font-weight: 700; }
.lead-link:hover { color: var(--primary); }
.deal { color: var(--ok); font-weight: 700; font-variant-numeric: tabular-nums; }
.c-who { min-width: 150px; }
.as-select { font-size: 13px !important; padding: 6px 9px !important; border-radius: 8px !important; }
.c-next { min-width: 170px; }
.next-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; background: #f1f5f9; color: var(--text-2); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next-chip .i { width: 14px; height: 14px; flex: none; }
.next-chip:hover { text-decoration: none; filter: brightness(.97); }
.next-chip.today { background: #dcfce7; color: #15803d; }
.next-chip.late { background: #fee2e2; color: #b91c1c; }
.next-chip.none { background: none; border: 1px dashed var(--line); color: var(--muted); font-weight: 500; }
.back-link { display: inline-block; margin-bottom: 10px; color: var(--muted); }
.page-h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; }
.card-h2 { font-size: 18px; margin: 0 0 6px; }
.contact-form { display: flex; flex-direction: column; gap: 2px; }
.contact-form .flabel { margin-top: 10px; }
.contact-form .btn-block { margin-top: 14px; }
.danger { color: #b91c1c !important; }

/* lead page */
.lead-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.lead-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 0; overflow-wrap: anywhere; }
.lead-head p { margin: 4px 0 0; }
.avatar.lg { width: 52px; height: 52px; font-size: 22px; border-radius: 14px; flex: none; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.lead-side { grid-column: 2; grid-row: 1; position: sticky; top: 80px; }
.lead-main { grid-column: 1; grid-row: 1; min-width: 0; }
.side-card { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.side-card .fsec-title { margin: 10px 0 6px; display: flex; align-items: center; gap: 6px; }
.side-card .fsec-title .i { width: 14px; height: 14px; }
.side-card > .fsec-title:first-child { margin-top: 0; }
.side-card select, .side-card input { width: 100%; }
.money { position: relative; }
.money span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.next-box { margin-top: 12px; padding: 12px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; }
.next-box .fsec-title { margin: 0 !important; }
.next-box.late { background: #fef2f2; border-color: #fecaca; }
.quick-dates { display: flex; gap: 6px; flex-wrap: wrap; }
.quick-dates .chip { cursor: pointer; font-size: 12.5px; }
.save-state { min-height: 18px; margin: 8px 0 0; }
.side-meta { padding: 10px 4px; }
.side-meta p { margin: 0 0 6px; }
.contact-card { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.contact-card .ct { display: flex; align-items: center; gap: 8px; font-size: 15px; min-width: 0; }
.contact-card .ct a { overflow-wrap: anywhere; }
.contact-card .ct .i { width: 16px; height: 16px; color: var(--primary); flex: none; }
.contact-card .btn { align-self: flex-start; margin-top: 4px; }
.composer { padding: 16px; }
.act-form { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.act-kinds { max-width: 420px; }
.act-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 6px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 16px 18px; }
.tl-dot { position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; border: 2px solid #fff; }
.tl-call .tl-dot, .tl-email .tl-dot, .tl-meeting .tl-dot { background: var(--primary); }
.tl-status .tl-dot { background: #7c3aed; } .tl-task .tl-dot { background: #f59e0b; } .tl-value .tl-dot { background: var(--ok); }
.tl-meta { font-size: 12.5px; color: var(--muted); }
.tl-meta b { color: var(--text-2); }
.tl-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; margin-top: 2px; }
.tl-note .tl-text, .tl-call .tl-text, .tl-email .tl-text, .tl-meeting .tl-text { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; }

/* pipeline (kanban) */
.acc-wide { max-width: 1480px; }
.kb-help { margin: 0; }
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: start; }
.kb-col { background: #f1f5f9 !important; color: inherit !important; border-radius: 14px; padding: 10px; min-height: 160px; border: 2px solid transparent; transition: border-color .15s; }
.kb-col.over { border-color: var(--primary); }
.kb-head { display: flex; align-items: center; gap: 8px; padding: 4px 4px 10px; font-size: 14px; }
.kb-head b { flex: 1; }
.kb-head b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: #94a3b8; vertical-align: 1px; }
.kb-col.st-contacted .kb-head b::before { background: #2563eb; } .kb-col.st-interested .kb-head b::before { background: #eab308; }
.kb-col.st-proposal .kb-head b::before { background: #7c3aed; } .kb-col.st-won .kb-head b::before { background: #16a34a; }
.kb-n { background: #fff; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.kb-sum { font-size: 12px; font-weight: 700; color: var(--ok); }
.kb-cards { display: flex; flex-direction: column; gap: 8px; min-height: 40px; }
.kb-card { display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text); cursor: grab; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.kb-card:hover { border-color: var(--primary-line); text-decoration: none; box-shadow: 0 6px 16px -10px rgba(37,99,235,.5); }
.kb-card.dragging { opacity: .45; }
.kb-card b { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.kb-sub { font-size: 12.5px; color: var(--muted); }
.kb-foot { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; }
.kb-next { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); }
.kb-next .i { width: 12px; height: 12px; }
.kb-next.late { color: #b91c1c; font-weight: 700; }
.kb-next.none { color: #cbd5e1; }
.kb-more { text-align: center; padding: 6px; }
.who { margin-left: auto; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dbeafe; color: #1d4ed8; font-size: 10.5px; font-weight: 800; flex: none; }
.who.lg { width: 36px; height: 36px; font-size: 13px; margin: 0; }
.who.ghost { background: #f1f5f9; color: var(--muted); }

/* team */
.team-intro { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; margin-bottom: 8px; }
.team-intro .tile { margin: 0; flex: none; }
.team-intro h2 { font-size: 19px; margin: 0 0 8px; }
.team-intro .anat-list { margin: 0; }
.team-tbl .biz { gap: 10px; align-items: center; }
.team-tbl tr.pending { color: var(--muted); }
.invite-form { display: grid; grid-template-columns: 1fr 160px auto; gap: 10px; padding: 16px; align-items: center; }
.invite-form p { grid-column: 1 / -1; margin: 0; }
.invite-link { padding: 16px 18px; margin: 16px 0; border-color: var(--primary-line); background: var(--primary-soft); }
.invite-link p { margin: 0 0 8px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; font-size: 13px; }
.join-card .tile { margin: 0 0 12px; }
.join-card .btn-block { margin-top: 10px; }
.join-card .anat-list { margin: 14px 0; }
.join-move { background: #f8fafc; border-radius: 10px; padding: 10px 12px; }

@media (max-width: 960px) {
  .lead-grid { grid-template-columns: 1fr; }
  .lead-side { grid-column: 1; grid-row: 1; position: static; }
  .lead-main { grid-column: 1; grid-row: 2; }
  .status-tabs .due-tab { margin-left: 0; }
}
@media (max-width: 640px) {
  .lead-head h1, .page-h1 { font-size: 24px; }
  .ml-tbl td.c-pipe, .ml-tbl td.c-who { grid-column: 1 / -1; display: block; }
  .ml-tbl td.c-who select, .ml-tbl td.c-pipe select { width: 100%; }
  .ml-tbl td.c-next { grid-column: 1 / -1; }
  .ml-actions { width: 100%; } .ml-actions > * { flex: 1; } .ml-actions .btn { width: 100%; justify-content: center; }
  .kanban { grid-auto-columns: 82%; scroll-snap-type: x mandatory; }
  .kb-col { scroll-snap-align: start; }
  .invite-form { grid-template-columns: 1fr; }
  .team-tbl td.num { text-align: left; }
  .act-foot .btn { width: 100%; }
}
.pinned-note { display: flex; gap: 8px; align-items: flex-start; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 8px 12px; font-size: 14px; } .pinned-note .i { width: 16px; height: 16px; color: #b45309; flex: none; margin-top: 2px; }

.kb-help-touch { display: none; }
.kb-lost { margin: 4px 0 0; }
@media (hover: none) { .kb-help-desk { display: none; } .kb-help-touch { display: inline; } .kb-card { cursor: pointer; } }
@media (max-width: 640px) {
  .tabs { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { padding: 10px 11px; font-size: 14px; }
}
.invite-form p.small, .team-intro .anat-list { font-size: 13.5px; } .team-intro .anat-list li { padding: 3px 0; }

@media (max-width: 640px) {
  .status-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px 2px; }
  .status-tabs::-webkit-scrollbar { display: none; }
  .status-tabs a { flex: none; }
  .ml-filter > .btn { display: none; }
  .ml-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ml-filter input[name=q] { grid-column: 1 / -1; }
  .ml-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ml-actions .btn { padding-left: 8px; padding-right: 8px; font-size: 14px; }
}
@media (max-width: 640px) { .ml-actions > form, .ml-actions > a { min-width: 0; } .ml-actions .btn { width: 100%; white-space: normal; line-height: 1.2; } }

/* v11: call logging, do not contact, team stats, credit limits */
.quick-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.contact-card .quick-acts .btn { margin-top: 0; align-self: auto; }
.dnc-banner { display: flex; gap: 8px; align-items: flex-start; background: var(--err-soft); color: #7f1d1d; border-radius: 10px; padding: 9px 12px; font-size: 14px; }
.dnc-banner .i { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.tag-dnc { background: var(--err-soft); color: #b91c1c; }
tr.is-dnc .name { color: var(--muted); }
.dnc-switch { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text-2); cursor: pointer; }
.outcome-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; background: #fff; color: var(--text-2); }
.pick input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.pick input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 1px; }
.oc { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 8px; background: #f1f5f9; color: var(--text-2); }
.oc-reached, .oc-replied { background: var(--ok-soft); color: var(--ok); }
.oc-wrong_number { background: var(--err-soft); color: #b91c1c; }
.stop-link summary { cursor: pointer; color: var(--text-2); }
.stop-link p { margin: 6px 0 8px; }
.log-dlg h3 { margin: 0 0 2px; font-size: 18px; }
.log-dlg #log-target { margin: 0 0 14px; }
.log-dlg .outcome-seg { flex-wrap: wrap; margin-bottom: 12px; }
.log-dlg .outcome-seg label { flex: 1 1 45%; }
.log-dlg .outcome-seg span { padding: 10px 6px; font-size: 14px; }
.log-dlg .outcome-seg label:nth-child(3) span { border-left: 0; }
.log-dlg .outcome-seg label:nth-child(n+3) span { border-top: 1px solid var(--line); }
.log-dlg textarea { width: 100%; }
.stats-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.period-seg { margin-top: 22px; }
.period-seg a { padding: 6px 12px; font-size: 13px; color: var(--text-2); }
.period-seg a + a { border-left: 1px solid var(--line); }
.period-seg a.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.period-seg a:hover { text-decoration: none; }
.stats-tbl .biz { display: flex; gap: 8px; align-items: center; }
.stats-tbl .who { margin: 0; }
.stats-tbl td.late a { color: #b91c1c; font-weight: 700; }
.stats-tbl tfoot td { font-weight: 700; border-top: 2px solid var(--line); }
.cap-form { display: flex; gap: 6px; align-items: center; }
.cap-form input { width: 110px; padding: 6px 8px; }
.cap-cell .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.team-offer { margin: 8px 0 0; }
.team-offer h2 { font-size: 20px; }
.stop-card form { margin: 16px 0; }
@media (max-width: 640px) {
  .stats-tbl thead, .stats-tbl tfoot { display: none; }
  .stats-tbl tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .stats-tbl td { border: 0; padding: 0; text-align: left; }
  .stats-tbl td:first-child { grid-column: 1 / -1; }
  .stats-tbl td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; }
  .stats-tbl td .muted.small { display: block; }
  .period-seg { margin-top: 0; width: 100%; } .period-seg a { flex: 1; text-align: center; }
  .quick-acts .btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
  .cap-form input { width: 100%; }
}
[hidden] { display: none !important; }
.side-card .dnc-switch { display: flex; justify-content: flex-start; text-transform: none; letter-spacing: 0; font-weight: 500; }
.side-card .dnc-switch input { width: auto; margin: 0; flex: none; }
@media (max-width: 640px) { .act-kinds span { font-size: 12.5px; padding: 7px 2px; } }
.cap-form input { flex: 0 0 110px; width: 110px; }
.team-tbl select { width: auto; }
.act-kinds { max-width: 540px; }
@media (max-width: 640px) { .cap-form input { flex: 1 1 auto; width: auto; } }
@media (max-width: 640px) {
  .stats-tbl tbody tr { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
  .stats-tbl tbody td, .stats-tbl tbody td.num { display: block !important; text-align: left !important; padding: 0 !important; }
  .stats-tbl tbody td:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tbl.stats-tbl tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; row-gap: 8px !important; }
  .tbl.stats-tbl tbody td { grid-column: auto !important; grid-row: auto !important; }
  .tbl.stats-tbl tbody td:first-child { grid-column: 1 / -1 !important; }
}

/* v16: FAQ block (questions left, contact card right, as on Presence) */
.faq-block { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.faq-side-wrap { position: sticky; top: 96px; order: 2; }
.faq-side-wrap h2 { margin: 0; }
.faq-side { margin-top: 24px; background: #f5f8ff; border: 1px solid var(--primary-line); border-radius: 18px; padding: 22px; }
.tile-dark { background: #0f172a; box-shadow: none; margin-bottom: 0; }
.faq-side-q { font-weight: 800; font-size: 17px; margin: 14px 0 6px; }
.faq-side .muted { margin: 0; font-size: 14.5px; line-height: 1.55; }
.faq-side-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; }
.faq-side-actions .btn .i { width: 16px; height: 16px; }
.faq { padding: 0; border: 1.5px solid #dbe2ea; border-radius: 18px; transition: border-color .15s, box-shadow .15s; }
.faq[open] { border-color: #93c5fd; box-shadow: 0 12px 28px -18px rgba(37,99,235,.45); }
.faq summary { padding: 17px 20px; align-items: center; font-weight: 700; }
.faq summary::after { content: "+"; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 999px; border: 1.5px solid var(--line); display: inline-grid; place-items: center; font-size: 17px; font-weight: 600; transition: transform .2s, background .2s; }
.faq[open] summary::after { content: "+"; transform: rotate(45deg); background: var(--primary-soft); border-color: var(--primary-line); }
.faq p { margin: 0; padding: 0 20px 18px; line-height: 1.6; }
@media (max-width: 960px) {
  .faq-block { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-side-wrap { display: contents; }
  .faq-head { order: -1; }
  .faq-side { margin-top: 0; }
}

/* v16: "?" in the header + help window */
.help-btn { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; border: 1.5px solid #cbd5e1; background: #fff; color: #64748b; display: inline-grid; place-items: center; cursor: pointer; padding: 0; transition: border-color .15s, color .15s; }
.help-btn:hover, .help-btn:focus-visible { border-color: #64748b; color: #0f172a; }
.help-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.help-dlg { width: min(640px, calc(100vw - 24px)); max-height: 84vh; padding: 0; overflow: hidden; }
.help-dlg[open] { display: flex; flex-direction: column; }
.help-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.help-head h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.help-ic .i { width: 20px; height: 20px; color: var(--primary); }
.help-x { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; width: 36px; height: 36px; border-radius: 8px; }
.help-x:hover, .help-x:focus-visible { background: #f1f5f9; color: var(--text); }
.help-x:focus { outline: none; }
.help-sub { margin: 14px 20px 10px; }
.help-list { padding: 0 20px; overflow-y: auto; flex: 1 1 auto; min-height: 0; }
.help-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
.help-item[open] { border-color: var(--primary-line); }
.help-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; }
.help-item summary::-webkit-details-marker { display: none; }
.help-qi .i { width: 20px; height: 20px; color: var(--primary); display: block; }
.help-item p { margin: 10px 0 0 30px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.help-item p a { font-weight: 600; white-space: nowrap; }
.help-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); background: #fafbfc; }
@media (max-width: 480px) { .help-item p { margin-left: 0; } .help-dlg { max-height: 88vh; } }
@media (max-width: 380px) { .help-btn { width: 32px; height: 32px; flex-basis: 32px; } }
@media (max-width: 359px) { .topbar .brand { font-size: 0; gap: 0; } }

/* v19: blog & guides */
.post-hero { padding-bottom: 40px; }
.post-hero h1 { max-width: 860px; margin: 6px auto 12px; font-size: 42px; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.post-meta { color: var(--muted); font-size: 14px; margin: 0; }
.post-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: start; max-width: 1120px; }
.post-body { font-size: 16.5px; line-height: 1.75; color: var(--text-2); min-width: 0; }
.post-body > p:first-of-type { font-size: 18.5px; color: var(--text); }
.post-body h2 { font-size: 26px; line-height: 1.25; color: var(--text); margin: 44px 0 14px; letter-spacing: -.02em; scroll-margin-top: 90px; }
.post-body h3 { font-size: 19px; color: var(--text); margin: 28px 0 8px; scroll-margin-top: 90px; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 16px; }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body li { margin-bottom: 6px; }
.post-body a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-color: var(--primary-line); text-underline-offset: 3px; }
.post-body a:hover { text-decoration-color: var(--primary); }
.post-body strong { color: var(--text); }
.post-body blockquote { margin: 22px 0; padding: 16px 20px; background: var(--primary-soft); border-left: 4px solid var(--primary); border-radius: 0 12px 12px 0; color: var(--text); }
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body code { background: #f1f5f9; border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.post-tbl { margin: 20px 0 24px; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.post-tbl table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.post-tbl th { background: #f8fafc; color: var(--text); text-align: left; font-weight: 700; }
.post-tbl th, .post-tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-tbl tr:last-child td { border-bottom: 0; }
.post-body h2#faq + h3 { margin-top: 12px; }
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 28px 0; padding: 20px 22px; border: 1.5px solid var(--primary-line); border-radius: 18px; background: linear-gradient(135deg, #f5f8ff, #fff); }
.post-cta-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.post-cta-k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.post-cta b { color: var(--text); font-size: 18px; line-height: 1.3; }
.post-cta-txt > span:last-child { font-size: 14px; color: var(--muted); line-height: 1.5; }
.post-body .post-cta a.btn { color: #fff; text-decoration: none; }
.post-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
.post-toc { border-left: 2px solid var(--line); padding: 2px 0 2px 16px; }
.post-toc b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.post-toc ol, .post-toc-mob ol { list-style: none; margin: 0; padding: 0; }
.post-toc li { margin: 0 0 8px; font-size: 14px; line-height: 1.4; }
.post-toc a { color: var(--text-2); }
.post-toc a:hover, .post-toc a.on { color: var(--primary); text-decoration: none; }
.post-side-cta { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: #fff; box-shadow: 0 14px 30px -22px rgba(15,23,42,.35); }
.post-side-cta .tile { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; }
.post-side-cta b { display: block; color: var(--text); font-size: 16px; line-height: 1.35; }
.post-side-cta p { font-size: 14px; color: var(--muted); margin: 8px 0 14px; }
.post-toc-mob { display: none; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 24px; background: #fff; }
.post-toc-mob summary { cursor: pointer; font-weight: 700; color: var(--text); }
.post-toc-mob ol { margin-top: 10px; }
.post-toc-mob li { margin: 0 0 8px; font-size: 15px; }
.post-trades h2, .post-rel-h { font-size: 24px; margin: 0 0 16px; letter-spacing: -.02em; }
.post-trades .mock-chips a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--primary-line); background: #fff; color: var(--primary-dark); font-weight: 600; font-size: 14px; margin: 0 6px 8px 0; }
.post-cards { align-items: stretch; }
.post-card { display: flex; flex-direction: column; padding: 24px; color: var(--text); }
.post-card:hover { text-decoration: none; border-color: var(--primary-line); box-shadow: 0 18px 36px -24px rgba(37,99,235,.45); }
.post-card-k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.post-card h2, .post-card h3 { font-size: 18.5px; line-height: 1.3; margin: 10px 0 8px; letter-spacing: -.01em; }
.post-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0 0 14px; flex: 1; }
.blog-seg { display: inline-flex; margin-top: 22px; }
.blog-seg a { padding: 8px 18px; }
.guide-trades { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 28px; }
.guide-trades h2 { margin: 0 0 4px; font-size: 22px; }
.guide-trades p { margin: 0; }
@media (max-width: 960px) {
  .post-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .post-side { position: static; }
  .post-toc { display: none; }
  .post-toc-mob { display: block; }
  .post-hero h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .post-hero h1 { font-size: 28px; }
  .post-body { font-size: 16px; }
  .post-body > p:first-of-type { font-size: 17px; }
  .post-body h2 { font-size: 22px; margin-top: 36px; }
  .post-cta .btn { width: 100%; justify-content: center; }
  .post-tbl table { font-size: 14px; }
  .post-tbl th, .post-tbl td { padding: 8px 10px; }
}
.blog-seg { background: #fff; border-radius: 10px; }
.blog-seg a { color: var(--text-2); font-weight: 600; font-size: 14px; }
.blog-seg a + a { border-left: 1px solid var(--line); }
.blog-seg a.on { background: var(--primary-soft); color: var(--primary); }
.blog-seg a:hover { text-decoration: none; }
@media (min-width: 641px) and (max-width: 960px) { .post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v20: lighter header (Voxtya-like): 4 links, "?", one-click flag, one button; account menu when logged in */
.lang-toggle { display: inline-grid; place-items: center; width: 40px; height: 36px; border-radius: 8px; }
.lang-toggle:hover { background: #f1f5f9; }
.lang-toggle .flag { width: 26px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(15,23,42,.12); display: block; }
.acct-dd { position: relative; }
.acct-dd summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 3px 4px 3px 3px; border-radius: 999px; border: 1px solid var(--line); }
.acct-dd summary::-webkit-details-marker { display: none; }
.acct-av { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.acct-panel { left: auto; right: 0; transform: none; width: 240px; }
.acct-panel a { align-items: center; padding: 9px 12px; }
.acct-panel a > .i { width: 30px; height: 30px; padding: 6px; border-radius: 8px; }
.acct-mail { display: block; padding: 8px 12px 10px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-panel form { margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 4px; }
.acct-out { width: 100%; text-align: left; background: none; border: 0; padding: 9px 12px; border-radius: 10px; font: inherit; color: var(--text-2); cursor: pointer; }
.acct-out:hover { background: #fef2f2; color: #b91c1c; }
.mnav-h { display: block; padding: 10px 12px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mnav-sep { display: block; border-top: 1px solid var(--line); margin: 6px 0; }
.mnav-panel a.mnav-cta { background: var(--primary); color: #fff; text-align: center; margin-top: 4px; }
.mnav-panel a.mnav-cta:hover { background: var(--primary-dark); color: #fff; }
.mnav-panel form button { width: 100%; text-align: left; padding: 10px 12px; font: inherit; color: var(--text); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f1f5f9; border-radius: 10px; padding: 4px; margin-bottom: 20px; }
.auth-tabs a { text-align: center; padding: 8px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--text-2); }
.auth-tabs a:hover { text-decoration: none; color: var(--text); }
.auth-tabs a.on { background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
/* v22: bigger flag, mail button next to "?" (hidden on phones: Contact is in the menu) */
.lang-toggle { width: 44px; height: 38px; }
.lang-toggle .flag { width: 32px; height: 22px; }
.mail-btn svg { stroke-width: 2; }
.mail-btn:hover { text-decoration: none; }
@media (max-width: 480px) { .mail-btn { display: none; } .lang-toggle { width: 38px; } .lang-toggle .flag { width: 28px; height: 19px; } }
/* v23: Log in as a text link next to the button (as Apollo, Lusha, Kaspr, Pharow) */
.login-link { font-weight: 600; color: var(--text-2); padding: 7px 10px; border-radius: 8px; white-space: nowrap; }
.login-link:hover, .login-link.on { color: var(--text); background: #f1f5f9; text-decoration: none; }
@media (max-width: 480px) { .login-link { display: none; } }

/* v24: contact & demo page (Voxtya-like) */
.ct-hero { padding-bottom: 36px; }
.ct-hero h1 { max-width: 760px; margin: 14px auto 12px; }
.ct-hero .ticks { justify-content: center; }
.ct-wrap { max-width: 1120px; padding-top: 8px; }
.ct-demo { display: flex; flex-direction: column; gap: 18px; padding: 22px; margin-bottom: 28px; background: linear-gradient(180deg, #eef4ff, #f8fbff); border: 1.5px solid var(--primary-line); border-radius: 20px; box-shadow: 0 14px 30px -22px rgba(37,99,235,.45); }
.ct-demo-main { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.ct-demo-main .tile { flex: 0 0 48px; margin: 0; }
.ct-demo .kicker { margin-bottom: 4px; }
.ct-demo h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.ct-demo p { margin: 6px 0 0; color: var(--text-2); max-width: 620px; line-height: 1.55; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ct-chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--primary-dark); background: #fff; border: 1px solid #dbeafe; border-radius: 999px; padding: 4px 10px; }
.ct-chips .i { width: 14px; height: 14px; }
@media (min-width: 860px) { .ct-demo { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; padding: 24px 28px; } .ct-demo .btn { flex: none; } }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 1024px) { .ct-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; } }
.ct-form { padding: 26px; scroll-margin-top: 90px; border: 1.5px solid rgba(15,23,42,.14); }
.ct-form input, .ct-form select, .ct-form textarea { width: 100%; }
.ct-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
@media (max-width: 640px) { .ct-row { grid-template-columns: minmax(0, 1fr); } .ct-form { padding: 20px; } .ct-form input, .ct-form select, .ct-form textarea { font-size: 16px; } }
.ct-form .req { color: #dc2626; }
.ct-form .btn-lg { margin-top: 18px; }
.ct-form .btn .i { width: 18px; height: 18px; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-demo-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--primary-soft); border: 1px solid var(--primary-line); color: var(--primary-dark); font-size: 14px; line-height: 1.5; }
.ct-demo-note .i { flex: none; margin-top: 2px; }
.ct-side { display: flex; flex-direction: column; gap: 14px; }
.ct-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; color: var(--text); transition: border-color .15s, box-shadow .15s; }
a.ct-card:hover { text-decoration: none; border-color: var(--primary-line); box-shadow: 0 14px 30px -22px rgba(37,99,235,.45); }
.ct-k { display: block; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ct-card b { display: block; font-size: 15.5px; margin-top: 4px; }
.ct-card p { margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.ct-fast { background: #0f172a; border-color: #0f172a; color: #fff; }
.ct-fast .ct-k { color: #93c5fd; }
.ct-fast p { color: #cbd5e1; }
.ct-done { padding: 80px 20px; }
.ct-ok { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: inline-grid; place-items: center; margin-bottom: 12px; }
.ct-ok .i { width: 30px; height: 30px; stroke-width: 2.6; }
.demo-btn .lbl-short { display: none; }
@media (max-width: 400px) { .demo-btn .lbl-full { display: none; } .demo-btn .lbl-short { display: inline; } }
.ct-form .btn-lg + p { margin: 12px 0 0; }

/* v27: audience pages (/solutions) */
.sol-hero .crumbtrail { margin-bottom: 14px; }
.sol-hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.sol-hero .cta-actions { justify-content: center; margin-top: 26px; }
.sol-hero .btn .i { width: 18px; height: 18px; }
.sol-body { max-width: 1000px; font-size: 16.5px; line-height: 1.7; color: var(--text-2); }
.sol-body h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; color: var(--text); margin: 64px 0 16px; text-wrap: balance; }
.sol-body h2:first-child { margin-top: 0; }
.sol-body h3 { font-size: 19px; color: var(--text); margin: 24px 0 8px; }
.sol-body p, .sol-body ul, .sol-body ol:not(.sol-steps) { margin: 0 0 14px; max-width: 760px; }
.sol-body ul { padding-left: 22px; }
.sol-body a { color: var(--primary); font-weight: 600; }
.sol-body strong { color: var(--text); }
.sol-body .post-tbl { max-width: 760px; }
.sol-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 8px; }
.sol-feat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.sol-feat .tile { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px; }
.sol-feat b { display: block; color: var(--text); font-size: 16px; line-height: 1.35; }
.sol-feat p { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.sol-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 22px 0; }
.sol-stats > div { background: linear-gradient(135deg, #f5f8ff, #fff); border: 1.5px solid var(--primary-line); border-radius: 18px; padding: 18px 20px; }
.sol-stats b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -.03em; color: var(--primary); line-height: 1.1; }
.sol-stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.sol-steps { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sol-steps li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.sol-steps b { display: block; color: var(--text); font-size: 16px; }
.sol-steps p { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.sol-example { margin: 22px 0; padding: 22px 24px; border-radius: 18px; background: #0f172a; color: #e2e8f0; max-width: 860px; }
.sol-ex-k { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #93c5fd; }
.sol-example b { display: block; color: #fff; font-size: 18px; margin: 6px 0 8px; }
.sol-example p { margin: 0; color: #cbd5e1; line-height: 1.65; max-width: none; }
.sol-searches { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.sol-searches a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--primary-line); background: #fff; color: var(--primary-dark); font-weight: 600; font-size: 14px; text-decoration: none; }
.sol-searches a:hover { background: var(--primary-soft); text-decoration: none; }
.sol-searches .i { width: 15px; height: 15px; }
.sol-others { display: flex; flex-wrap: wrap; gap: 10px; }
.sol-others a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--text); font-weight: 600; }
.sol-others a:hover { border-color: var(--primary-line); text-decoration: none; }
.sol-others .i { color: var(--primary); }
.sol-cards .tile { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
.sol-box { display: flex; align-items: center; gap: 18px; padding: 22px 24px; color: var(--text); border: 1.5px solid var(--primary-line); background: linear-gradient(135deg, #f5f8ff, #fff); }
.sol-box:hover { text-decoration: none; }
.sol-box .tile { flex: 0 0 48px; margin: 0; }
.sol-box > div { flex: 1; min-width: 0; }
.sol-box b { display: block; font-size: 18px; margin: 4px 0; }
.sol-box p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 960px) { .sol-feats, .sol-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sol-feats, .sol-steps { grid-template-columns: minmax(0, 1fr); }
  .sol-body h2 { font-size: 24px; margin-top: 44px; }
  .sol-stats b { font-size: 26px; }
  .sol-box { flex-wrap: wrap; }
  .sol-hero .cta-actions { width: 100%; }
  .sol-hero .cta-actions .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}
.footer-inner { grid-template-columns: 1.5fr repeat(5, 1fr); gap: 28px; } @media (max-width: 1180px) { .footer-inner { grid-template-columns: repeat(5, 1fr); } .footer-brand { grid-column: 1 / -1; } } @media (max-width: 960px) { .footer-inner { grid-template-columns: 1fr 1fr 1fr; } } @media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

/* v28: trade texts on /leads pages */
.lp-text { max-width: 860px; font-size: 16.5px; line-height: 1.7; color: var(--text-2); }
.lp-text h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.02em; color: var(--text); margin: 40px 0 12px; }
.lp-text h2:first-child { margin-top: 0; }
.lp-text p, .lp-text ul { margin: 0 0 14px; }
.lp-text ul { padding-left: 22px; }
.lp-text li { margin-bottom: 6px; }
.lp-text a { color: var(--primary); font-weight: 600; }
.lp-text strong { color: var(--text); }
@media (max-width: 640px) { .lp-text h2 { font-size: 22px; } .lp-text { font-size: 16px; } }

/* ===== v29 (2026-10-18): nav centred between the logo and the actions, actions get the room they need ===== */
@media (min-width: 1121px) {
  .topbar-inner { grid-template-columns: auto 1fr auto; gap: 28px; }
  .mainnav { justify-content: center; }
  .topactions { flex-wrap: nowrap; white-space: nowrap; }
}

/* ===== v31 (2026-10-20): clickable counts, score legend, filters fit a laptop screen ===== */
button.facet { font: inherit; font-size: 13.5px; cursor: pointer; transition: border-color .15s, background .15s; }
button.facet:hover { border-color: var(--primary); color: var(--text); }
button.facet.on { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
button.facet.on b { color: var(--primary); }
.score-help { margin: -6px 0 14px; font-size: 13.5px; color: var(--text-2); }
.score-help summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary); list-style: none; }
.score-help summary::-webkit-details-marker { display: none; }
.score-help[open] { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.score-help p { margin: 8px 0 4px; }
.score-help ul { margin: 0 0 4px; padding-left: 18px; line-height: 1.7; }
.score-scale { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
@media (min-width: 861px) {
  .filters { padding: 10px 16px 12px; }
  .filters .filter-head { margin-bottom: 4px; }
  .fsec { padding: 7px 0; }
  .fsec-title { margin-bottom: 6px; font-size: 11.5px; }
  .tgl span { padding: 5px 10px; font-size: 13px; }
  .toggles { gap: 5px; }
  .filters select, .filters .row2 input { padding-top: 7px; padding-bottom: 7px; }
  .filters .seg span { padding-top: 6px; padding-bottom: 6px; }
  .filters .btn-block { position: sticky; bottom: 0; margin-top: 6px; box-shadow: 0 -10px 14px -6px #fff; }
}
a.u-x { text-decoration: none; border-style: solid; background: var(--primary-soft); cursor: pointer; }
a.u-x span { font-size: 15px; line-height: 1; opacity: .6; margin-left: 2px; }
a.u-x:hover { border-color: var(--primary); text-decoration: none; }
a.u-x:hover span { opacity: 1; }
.u-clear { font-size: 13px; font-weight: 600; margin-left: 4px; }

/* ===== v33 (2026-10-20): email campaigns ===== */
.btn-quiet { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-quiet:hover { background: #f1f5f9; color: var(--text); }
.mail-domains { display: grid; gap: 14px; }
.mdom { border-bottom: 1px solid var(--line-2); padding-bottom: 12px; }
.mdom-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mdom-head h2 { margin: 0; font-size: 20px; }
.mdom-head .grow { flex: 1; }
.dns-tbl code { font-size: 12px; word-break: break-all; }
.mail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.mail-compose { display: grid; gap: 12px; }
.mail-compose .fl, .mail-side .fl { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.mail-compose textarea { width: 100%; font: inherit; font-size: 14.5px; line-height: 1.5; }
.from-row { display: flex; align-items: center; gap: 6px; }
.from-row input { flex: 1; min-width: 0; }
.mail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mail-side { position: sticky; top: 80px; display: grid; gap: 8px; }
.mail-side h3 { margin: 4px 0 0; font-size: 14px; }
.cost-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.cost-list li { display: flex; justify-content: space-between; gap: 8px; }
.cost-total { border-top: 1px solid var(--line); padding-top: 6px; font-weight: 700; }
.consent { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.consent input { margin-top: 3px; }
.mail-preview .mail-body { white-space: pre-wrap; line-height: 1.55; }
.mail-footer { margin-top: 18px; font-size: 12.5px; color: var(--text-2); white-space: pre-wrap; }
.mail-progress .bar { height: 10px; border-radius: 99px; background: var(--line-2); overflow: hidden; margin: 12px 0; }
.mail-progress .bar span { display: block; height: 100%; background: var(--primary); transition: width .4s; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .mail-grid { grid-template-columns: minmax(0, 1fr); } .mail-side { position: static; } }
@media (max-width: 640px) { .mail-compose .row2 { grid-template-columns: minmax(0, 1fr); } .copy-row { flex-wrap: wrap; } }
/* pricing: every card lines up (the popular one keeps a 1px border, its outline is a shadow; price notes take 2 lines) */
.plan-pop { border: 1px solid var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 24px 48px -24px rgba(37,99,235,.5); }
.plan .per { min-height: calc(2 * 1.5em); line-height: 1.5; }
.faq-side .tile { background: var(--primary); color: #fff; }
.mail-title h2 { margin: 0 0 4px; font-size: 22px; }
.mail-title { margin-bottom: 14px; }
.mail-steps { display: grid; gap: 16px; min-width: 0; }
.mail-step { display: grid; gap: 12px; }
.mail-step h3, .mail-preview h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; flex: none; }
.mail-help { display: grid; gap: 10px; background: #f8fafc; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; }
.mail-help .fsec-title { margin: 0; }
.tpl, .var { font: inherit; font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text-2); cursor: pointer; }
.tpl:hover, .var:hover { border-color: var(--primary); color: var(--primary); }
.var { padding: 3px 9px; font-size: 12.5px; }
.var-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: -4px; }
.ai-box summary { cursor: pointer; font-weight: 600; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; }
.ai-box summary .i { width: 15px; height: 15px; }
.ai-box[open] { display: grid; gap: 10px; }
.ai-box .btn { justify-self: start; }
.mail-tips { margin: 0; padding-left: 18px; color: #b45309; line-height: 1.6; }
.mail-tips:empty { display: none; }
.mail-tips li.ok { color: var(--ok); }
.mail-side { display: grid; gap: 16px; position: sticky; top: 80px; align-self: start; min-width: 0; }
.mail-preview { display: grid; gap: 6px; }
.pv-subject { font-weight: 700; margin: 4px 0 0; }
.mail-preview .mail-body { font-size: 14px; max-height: 340px; overflow: auto; }
.mail-send { display: grid; gap: 10px; }
.mail-send .mail-actions { justify-content: space-between; }
.rcpt { margin-top: 18px; }
.rcpt summary { cursor: pointer; }
.own-local[hidden] { display: none; }
.tpl-msg { margin: 0; color: #b45309; }
.tpl-msg:empty { display: none; }

/* signed in, phone width: logo mark only and the credit count without the word, so the header fits 320-430 px */
@media (max-width: 480px) {
  .topbar:has(.acct-dd) .brand { font-size: 0; gap: 0; }
  .topbar:has(.acct-dd) .cr-lbl { display: none; }
  .topbar:has(.acct-dd) .topactions { gap: 4px; }
}
@media (max-width: 359px) { .topbar:has(.acct-dd) .help-btn { display: none; } }
.team-intro > div { min-width: 0; overflow-wrap: anywhere; }
.flash-info { background: var(--primary-soft); color: var(--primary-dark); border: 1px solid var(--primary-line); }
.flash-error { border: 1px solid #fecaca; }
.mail-send p.small, .mail-send .consent { font-size: 13px; line-height: 1.45; margin: 0; }

/* ===== v37 (2026-10-20): sign-up / log-in window (visitors), like AutoApplyMax ===== */
.auth-dlg { border: 0; padding: 0; border-radius: 20px; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  box-shadow: 0 30px 80px -20px rgba(15,23,42,.45); overflow: auto; }
.auth-dlg::backdrop { background: rgba(15,23,42,.45); backdrop-filter: blur(4px); }
.auth-dlg-in { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: 440px; }
.auth-dlg-side { background: linear-gradient(160deg, #2563eb, #1d4ed8 60%, #1e3a8a); color: #fff; padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.auth-dlg-side h2 { color: #fff; font-size: 22px; line-height: 1.25; margin: 0; }
.auth-dlg-logo { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.16); }
.auth-dlg-logo .i { width: 22px; height: 22px; }
.auth-dlg-kicker { margin: 4px 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #bfdbfe; }
.auth-dlg-side ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.auth-dlg-side li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.auth-dlg-side li .i { width: 16px; height: 16px; flex: none; margin-top: 2px; color: #bfdbfe; }
.auth-dlg-main { position: relative; padding: 26px 28px 22px; display: grid; align-content: start; gap: 6px; }
.auth-dlg-main .auth-tabs { margin-bottom: 8px; }
.auth-dlg-main .auth-tabs button { font: inherit; background: none; border: 0; cursor: pointer; }
.auth-dlg-form { display: grid; gap: 6px; }
.auth-dlg-form[hidden] { display: none; }
.auth-dlg-form h3 { margin: 4px 0 0; font-size: 20px; }
.auth-dlg-form .btn-block { margin-top: 6px; }
.auth-dlg-form p { margin: 0; }
.auth-dlg-err { color: #b91c1c; font-size: 13.5px; min-height: 0; }
.auth-dlg-err:empty { display: none; }
.auth-dlg-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; cursor: pointer; color: var(--text-2); }
.auth-dlg-x:hover { background: #f1f5f9; }
@media (max-width: 680px) {
  .auth-dlg-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .auth-dlg-side { padding: 18px 20px; gap: 6px; }
  .auth-dlg-side h2 { font-size: 17px; }
  .auth-dlg-side ul, .auth-dlg-logo { display: none; }
  .auth-dlg-main { padding: 18px 18px 16px; }
}
.auth-tabs button { text-align: center; padding: 8px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--text-2); }
.auth-tabs button:hover { color: var(--text); }
.auth-tabs button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.auth-dlg-main .auth-tabs { margin-right: 40px; }
@media (max-width: 680px) {
  .auth-dlg-x { top: 10px; right: 10px; background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); color: #fff; }
  .auth-dlg-main .auth-tabs { margin-right: 0; }
  .auth-dlg-in { position: relative; }
  .auth-dlg-main { position: static; }
}

/* Emails page: 3 steps + one main button */
.mail-start { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-bottom: 8px; }
.mail-start h2 { margin: 0 0 12px; font-size: 21px; }
.mail-how { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.mail-how li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.mail-how b { color: var(--text); }
.mail-start-cta { display: grid; gap: 10px; justify-items: stretch; min-width: 260px; }
.mail-start-cta .btn-primary { justify-content: center; }
.mail-leads-form { display: grid; gap: 6px; }
details.mail-domains { margin-top: 26px; }
details.mail-domains > summary { cursor: pointer; line-height: 1.5; }
details.mail-domains[open] > summary { margin-bottom: 14px; }
@media (max-width: 760px) { .mail-start { grid-template-columns: minmax(0, 1fr); } .mail-start-cta { min-width: 0; } }

/* ===== v40 (2026-10-20): UX pass — mobile account header, lead page order, after-sending card ===== */
.mail-next { margin-top: 16px; display: grid; gap: 10px; }
.mail-next h3 { margin: 0; font-size: 17px; }
@media (max-width: 860px) {
  /* phone: call / email / contact details first, then the stage and next action, then notes and history */
  .lead-main { display: contents; }
  .lead-side, .lead-main > * { grid-row: auto; grid-column: 1; min-width: 0; }
  .lead-main > .contact-card { order: 1; }
  .lead-side { order: 2; }
  .lead-main > :not(.contact-card) { order: 3; }
}
@media (max-width: 640px) {
  .section.acc { padding-top: 22px; }
  .acc-head { align-items: center; margin-bottom: 10px; flex-wrap: nowrap; }
  .acc-head h1 { font-size: 23px; }
  .acc-head p { font-size: 13px; overflow-wrap: anywhere; }
  .acc-head .credits-card { padding: 6px 10px; flex: none; }
  .acc-head .credits-card b { font-size: 18px; }
  .acc-head .credits-card span { font-size: 11px; }
}
.tag-mob { background: #ecfdf5; color: #047857; font-size: 10.5px; padding: 1px 6px; vertical-align: 1px; }

/* ===== v43 (2026-10-20): sign-up window after AutoApplyMax (switch, title, Google, "or", fields, eye) ===== */
.auth-dlg { width: min(820px, calc(100vw - 32px)); }
.auth-dlg-in { grid-template-columns: 300px minmax(0, 1fr); min-height: 520px; }
.auth-dlg-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; color: #fff; }
.auth-dlg-brand svg { width: 30px; height: 30px; }
.auth-dlg-main { padding: 26px 32px 22px; gap: 0; align-content: start; }
.auth-seg { display: grid; grid-template-columns: 1fr 1fr; background: #f1f5f9; border-radius: 12px; padding: 4px; margin: 0 40px 18px 0; }
.auth-seg button { font: inherit; font-size: 14px; font-weight: 700; padding: 9px; border: 0; border-radius: 9px; background: none; color: var(--text-2); cursor: pointer; }
.auth-seg button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(15,23,42,.14); }
.auth-dlg-form { gap: 0; }
.auth-dlg-form h3 { margin: 0; font-size: 23px; letter-spacing: -.02em; }
.auth-sub { margin: 4px 0 16px !important; color: var(--muted); font-size: 14px; }
.auth-google { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.auth-google:hover { background: #f8fafc; border-color: #94a3b8; text-decoration: none; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-dlg-form .flabel { margin: 8px 0 5px; }
.auth-dlg-form input[type=email], .auth-pw input { width: 100%; min-height: 44px; }
.auth-pw { position: relative; }
.auth-pw input { padding-right: 44px; }
.auth-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; border-radius: 8px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.auth-eye:hover { background: #f1f5f9; color: var(--text); }
.auth-eye svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.auth-eye[aria-pressed="true"] { color: var(--primary); }
.auth-hint { color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.auth-row-end { text-align: right; margin: 8px 0 0 !important; font-size: 13.5px; }
.auth-dlg-err { margin: 10px 0 0 !important; padding: 8px 10px; border-radius: 8px; background: #fef2f2; border: 1px solid #fecaca; }
.auth-dlg-form .btn-block { margin-top: 14px; min-height: 46px; font-size: 15px; }
.auth-terms { margin: 10px 0 0 !important; text-align: center; color: var(--muted); font-size: 12.5px; }
.auth-switch { margin: 16px 0 0 !important; padding: 10px 12px; text-align: center; background: #f8fafc; border-radius: 10px; font-size: 14px; color: var(--text-2); }
.auth-link { font: inherit; font-weight: 700; color: var(--primary); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(37,99,235,.35); }
.auth-dlg-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.auth-dlg-x { display: grid; place-items: center; }
@media (max-width: 680px) {
  .auth-dlg-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .auth-dlg-brand { font-size: 16px; } .auth-dlg-brand svg { width: 26px; height: 26px; }
  .auth-dlg-main { padding: 16px 18px 18px; }
  .auth-seg { margin-right: 0; }
  .auth-dlg-form h3 { font-size: 20px; }
}

/* signed-in menu: CRM follow-up count */
.mainnav summary .badge, .dd-panel .badge, .mnav-panel .badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.auto-fu { display: grid; gap: 6px; padding: 10px 12px; background: #f8fafc; border: 1px solid var(--line-2); border-radius: 10px; }
.auto-fu select { display: inline-block; width: auto; min-width: 0; padding: 2px 6px; margin: 0 2px; }
.auto-fu textarea { width: 100%; margin-top: 6px; font: inherit; font-size: 13.5px; }
.auto-fu summary { cursor: pointer; color: var(--primary); font-weight: 600; }
/* ===== 2026-10-24: contrast (WCAG AA, axe) ===== */
.chan { color: #64748b; }
.none, .ct .none, .record dd.none, .kb-next.none { color: #64748b; }
.footer-bottom { color: #94a3b8; }
.score.cold, .st-lost { color: #475569 !important; }
.faq-side .muted { color: var(--text-2); }
.record-head > .badge-soft { color: #1d4ed8; }
.center > a:not(.btn), .fsec-help a { text-decoration: underline; text-underline-offset: 2px; }

