/* The existing Leads visual system. These styles apply only to the root home. */
:root {
  color-scheme: light;
  --ink: #10110f;
  --muted: #666a65;
  --paper: #fafaf7;
  --blue: #119fdc;
  --blue-dark: #087cac;
  --line: #dedfd8;
  --accent: #dcf0fb;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 4px; }
.site-header { max-width: 1440px; margin: auto; padding: 30px 48px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; }
.brand img { display: block; width: 145px; height: auto; }
.sign-in { font-size: 14px; font-weight: 500; padding: 10px 0 10px 16px; }
.sign-in:hover, .back-link:hover { color: var(--blue-dark); }
.search-home { padding: clamp(90px, 16vh, 165px) 24px 64px; text-align: center; }
h1 { margin: 0; font-size: clamp(34px, 4.3vw, 62px); line-height: 1.12; font-weight: 700; letter-spacing: -.045em; }
#home-title > span { display: block; color: var(--blue); margin-top: 5px; }
.search-form { display: flex; max-width: 720px; margin: 38px auto 0; min-height: 58px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 9px; gap: 8px; }
.search-form:focus-within { border-color: var(--blue); }
.search-form input { flex: 1; min-width: 0; width: 100%; padding: 10px 15px; border: 0; border-radius: 4px; color: var(--ink); background: transparent; font-size: 17px; }
.search-form input::placeholder { color: #80837e; opacity: 1; }
.search-form input:focus-visible { outline: none; }
.search-form button, .signup-action { border: 0; border-radius: 5px; background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; padding: 12px 24px; white-space: nowrap; cursor: pointer; }
.search-form button:hover, .signup-action:hover { background: var(--blue-dark); }
.featured-searches { display: flex; justify-content: center; gap: 7px; margin: 18px auto 0; max-width: 1100px; flex-wrap: wrap; }
.featured-searches a { display: inline-flex; align-items: center; padding: 7px 10px; background: #fff; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; line-height: 1.25; }
.featured-searches a:hover { color: var(--blue-dark); border-color: var(--blue); background: var(--accent); }
.supporting-line { margin: 23px auto 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; top: 10px; left: 10px; padding: 12px; background: #fff; z-index: 1; }
.signup-view { max-width: 720px; margin: 0 auto; padding: 92px 24px 64px; text-align: center; }
.back-link { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.signup-view h1 { font-size: clamp(34px, 4.3vw, 48px); }
.signup-copy { color: var(--muted); font-size: 17px; line-height: 1.5; margin: 16px 0; }
.original-query { max-width: 480px; margin: 24px auto 30px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.signup-action { display: inline-block; }
@media (max-width: 640px) {
  .site-header { padding: 22px 22px; }
  .brand img { width: 128px; }
  .search-home { padding: 90px 20px 48px; }
  h1 { font-size: clamp(34px, 7vw, 44px); }
  .search-form { margin-top: 30px; gap: 3px; }
  .search-form input { font-size: 16px; padding: 10px 8px; }
  .search-form button { padding: 12px 13px; font-size: 14px; }
  .featured-searches { margin-top: 16px; gap: 7px; }
  .supporting-line { max-width: 340px; margin-top: 22px; font-size: 12px; }
  .signup-view { padding-top: 70px; }
}

.confirmation { margin: 10px auto 0; max-width: 640px; padding: 12px 18px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: 14px; line-height: 1.5; }

/* Public results and profiles retain the same minimal header. */
.header-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.header-links a:hover { color: var(--blue-dark); }
.header-links .sign-in { padding-left: 0; }
.discovery-view { max-width: 1100px; margin: 0 auto; padding: 16px 28px 64px; }
.results-search { max-width: none; margin: 0; }
.results-chips { justify-content: flex-start; margin: 12px 0 22px; }
.lead-results { border: 1px solid var(--line); background: #f1f5f7; border-radius: 10px; padding: 24px; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.result-count { font-size: 36px; letter-spacing: -.035em; }
.result-actions, .profile-pager, .profile-controls { display: flex; align-items: center; gap: 8px; }
.quiet-button { border: 1px solid var(--line); border-radius: 5px; padding: 8px 12px; font-size: 12px; color: var(--ink); background: #fff; cursor: pointer; }
.quiet-button:hover:not(:disabled) { border-color: var(--blue-dark); color: var(--blue-dark); }
.quiet-button:disabled { opacity: .45; cursor: default; }
.lead-list { display: grid; gap: 10px; }
.lead-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 17px 20px; border: 1px solid var(--line); background: #fff; border-radius: 7px; }
.lead-card:hover { border-color: var(--blue); }
.lead-identity { min-width: 0; display: grid; gap: 5px; }
.lead-name { font-size: 17px; line-height: 1.3; }
.lead-role { font-size: 13px; line-height: 1.4; color: var(--muted); }
.lead-email { font-size: 13px; color: var(--blue-dark); overflow-wrap: anywhere; }
.profile-badge { border: 1px solid #b7d4e0; padding: 2px 5px; color: var(--blue-dark); background: #f0f8fb; border-radius: 3px; font-size: 10px; }
.discovery-status { border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 28px; color: var(--muted); line-height: 1.5; }
.discovery-status .back-link { display: block; margin: 20px 0 0; }
.profile-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 18px; }
.profile-navigation .back-link { margin: 0; }
.profile-pager { color: var(--muted); font-size: 12px; }
.lead-profile { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px 32px 36px; }
.profile-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; margin: 0 0 16px; }
.profile-top .eyebrow { margin: 0; }
.live-record { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #286347; }
.live-record::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: middle; }
.profile-identity { display: flex; align-items: center; gap: 20px; margin: 30px 0 34px; }
.initials-avatar { display: grid; place-items: center; flex-shrink: 0; width: 66px; height: 66px; border: 1px solid #bcd9e6; border-radius: 10px; background: #edf7fc; color: var(--blue-dark); font-size: 23px; font-weight: 700; }
.profile-name { font-size: clamp(27px, 3.1vw, 40px); letter-spacing: -.04em; overflow-wrap: anywhere; }
.profile-subtitle { margin: 5px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.profile-columns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 38px; }
.profile-contact { border-left: 1px solid var(--line); padding-left: 30px; }
.profile-summary { margin: 0; font-size: 17px; line-height: 1.75; white-space: pre-line; }
.context-title { margin-top: 32px; }
dl, dd { margin: 0; }
.profile-field { margin: 0 0 16px; min-width: 0; }
.profile-field dt { font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.profile-field dd { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
a.profile-value, .profile-field:first-child .profile-value { color: var(--blue-dark); }
a.profile-value:hover { text-decoration: underline; }
.provenance { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; margin-top: 22px; }
.provenance .eyebrow { margin-bottom: 6px; }
.provenance p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; }
.record-facts { padding: 26px 0; }
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 26px; }
.empty-results { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 640px) {
  .header-links { gap: 16px; font-size: 13px; }
  .discovery-view { padding: 12px 16px 40px; }
  .lead-results { padding: 16px 12px; }
  .results-heading { flex-wrap: wrap; gap: 12px; }
  .result-count { font-size: 30px; }
  .lead-card { padding: 14px; }
  .lead-name { font-size: 16px; }
  .profile-navigation { align-items: flex-start; flex-wrap: wrap; }
  .lead-profile { padding: 22px 18px; }
  .profile-top { align-items: flex-start; flex-wrap: wrap; }
  .profile-identity { align-items: flex-start; gap: 14px; }
  .initials-avatar { width: 48px; height: 48px; font-size: 18px; }
  .profile-name { font-size: 28px; }
  .profile-columns { grid-template-columns: 1fr; gap: 24px; }
  .profile-contact { border-left: 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
  .profile-summary { font-size: 16px; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
}

.header-links { margin-left: auto; margin-right: 28px; }
.header-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .site-header { flex-wrap: wrap; gap: 14px; }
  .header-links { order: 3; width: 100%; justify-content: center; margin: 0; gap: 24px; }
}

.mcp-guide { max-width: 900px; margin: 0 auto; padding: 60px 28px 80px; }
.mcp-guide > h1 { font-size: clamp(34px, 4vw, 52px); max-width: 750px; }
.guide-intro { font-size: 18px; color: var(--muted); line-height: 1.7; margin: 20px 0 36px; }
.mcp-guide h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.025em; margin: 0 0 16px; }
.mcp-guide p, .mcp-guide li { font-size: 15px; line-height: 1.8; }
.mcp-guide a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.connection-setup { border: 1px solid var(--line); background: #fff; padding: 26px 28px; border-radius: 7px; }
.connection-setup dl > div { margin-bottom: 18px; }
.connection-setup dt { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.connection-setup dd { font-size: 15px; overflow-wrap: anywhere; }
.connection-setup code { font-size: 14px; overflow-wrap: anywhere; }
.availability-note, .guide-reference { color: var(--muted); }
.client-guide { padding: 30px 0; border-bottom: 1px solid var(--line); }
.client-guide ol { padding-left: 22px; }
.client-guide li { padding-left: 5px; margin-bottom: 7px; }
@media (max-width: 640px) {
  .mcp-guide { padding: 45px 22px 50px; }
  .guide-intro { font-size: 16px; }
  .connection-setup { padding: 22px 18px; }
}

button.lead-card { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.signup-dialog { width: min(440px, calc(100% - 40px)); border: 1px solid var(--line); border-radius: 10px; padding: 28px; color: var(--ink); }
.signup-dialog::backdrop { background: rgb(16 24 40 / 45%); }
.signup-dialog h2 { margin: 0 0 16px; font-size: 26px; }
.signup-dialog-query { margin: 0 0 24px; overflow-wrap: anywhere; color: var(--muted); }
.signup-dialog .quiet-button { margin-left: 12px; }
@media (max-width: 375px) { .signup-dialog .quiet-button { margin: 16px 0 0; } }

/* Programmatic heading focus must not draw a box around text. */
h1[tabindex="-1"]:focus { outline: none; }

.result-count.result-status { font-size: 20px; line-height: 1.4; letter-spacing: -.02em; }
