/* ==========================================================================
   Lead Outreach Agent — site design system
   Loaded after style.css on the app, content and error pages so every page
   shares the homepage's look: warm paper, ink, one deep green, one ink
   action colour, Instrument Serif headings, Inter body, no pills or badges,
   buttons as rectangles with 10px corners. Light only.
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens (the old stylesheet reads these; light in every mode) ---------- */
:root, html[data-theme], html[data-resolved-theme] {
  --paper: #F5F0E6;
  --paper-2: #FAF7F1;
  --ink: #171511;
  --ink-2: #3B372F;
  --soft: #5F5A4F;
  --faint: #8C8577;
  --line: rgba(23, 21, 17, .10);
  --line-2: rgba(23, 21, 17, .18);
  --pine: #173B30;
  --pine-2: #22503F;
  --mint: #DCEBDD;
  --action: #DDD0B9;
  --action-2: #D1C2A7;
  --action-line: #C6B596;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: var(--paper);
  --bg-accent: var(--paper);
  --surface: #FFFFFF;
  --surface-2: var(--paper-2);
  --surface-3: #F2EDE3;
  --border: var(--line);
  --border-strong: var(--line-2);
  --text: var(--ink);
  --text-muted: var(--soft);
  --text-faint: var(--faint);
  --primary: var(--ink);
  --primary-strong: var(--ink-2);
  --primary-soft: #ECE7DC;
  --accent: var(--pine);
  --accent-strong: var(--pine);
  --danger: #B3261E;
  --shadow: 0 1px 2px rgba(23, 21, 17, .04), 0 14px 32px -20px rgba(23, 21, 17, .18);
  --shadow-lg: 0 1px 2px rgba(23, 21, 17, .05), 0 30px 60px -30px rgba(23, 21, 17, .28);
  --radius: 16px;
  --radius-sm: 10px;
  --focus-ring: 0 0 0 3px rgba(23, 21, 17, .12);
  --topbar-control-bg: transparent;
  --topbar-control-bg-hover: rgba(23, 21, 17, .05);
  --topbar-control-border: var(--line);
  --topbar-control-color: var(--ink-2);
  --data-font: var(--sans);
  color-scheme: only light;
}

/* ---------- Base ---------- */
html body {
  background: var(--paper) !important;
  background-image: none !important;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
html body::before, html body::after { background-image: none !important; }
.bg-orbs, .orb, .scroll-progress, .to-top { display: none !important; }
::selection { background: var(--pine); color: var(--paper); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink) !important; outline-offset: 3px; }

html body h1, html body h2,
html body .section-title, html body .landing-hero h1, html body .tool-head h1,
html body .tool-head h2, html body [role="heading"][aria-level="1"] {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink);
  text-wrap: balance;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}
html body h1, html body [role="heading"][aria-level="1"] { font-size: clamp(40px, 5.2vw, 72px) !important; line-height: 1.02 !important; }
html body h2, html body .section-title { font-size: clamp(30px, 3.4vw, 46px) !important; line-height: 1.06 !important; }
html body h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
html body p, html body li { color: inherit; }
html body .muted, html body .tool-sub, html body .section-sub, html body .hero-sub, html body .subhead { color: var(--soft) !important; }

/* Every little label that used to be a pill, chip, kicker or badge becomes plain text. */
html body .tool-kicker, html body .settings-panel-kicker, html body .support-contact-kicker,
html body .search-assist-kicker, html body .hero-preview-tag, html body .preview-pill,
html body .pill, html body .step-badge, html body .price-flag, html body .price-mult,
html body .cmp-best-tag, html body .account-plan-pill, html body .credits-plan,
html body .optional, html body .settings-preview-label, html body .how-num,
html body .how-process-num, html body .usecase-icon, html body .settings-panel-icon,
html body .seo-study-meta span, html body .founder-note-mark, html body .menu-shortcut {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--soft) !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
}
html body .usecase-icon, html body .settings-panel-icon, html body .credits-dot,
html body .founder-note-mark, html body .phone-nav-mark { display: none !important; }
html body .step-badge, html body .how-num, html body .how-process-num { font-variant-numeric: tabular-nums; color: var(--faint) !important; }
html body .price-flag { color: var(--pine) !important; }

/* ---------- Buttons ---------- */
html body .cta, html body button.cta, html body a.cta, html body .topbar-cta,
html body .primary, html body button.primary, html body .auth-form button[type="submit"],
html body .price-pick, html body .search-actions button[type="submit"], html body .buy-credits button {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px !important;
  background: var(--action) !important; background-image: none !important;
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
  border: 1px solid var(--action-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-family: var(--sans) !important; font-size: 15px !important; font-weight: 600 !important;
  letter-spacing: 0 !important; text-transform: none !important;
  transform: none !important;
  transition: background-color .2s ease, border-color .2s ease;
}
html body .cta:hover, html body .topbar-cta:hover, html body .primary:hover, html body .price-pick:hover { background: var(--action-2) !important; border-color: var(--action-line) !important; }
html body .cta:disabled, html body .price-pick:disabled, html body .price-pick[disabled] { background: var(--surface-3) !important; border-color: var(--line) !important; color: var(--soft) !important; -webkit-text-fill-color: var(--soft) !important; }
html body .topbar-cta { min-height: 30px; padding: 0 12px !important; font-size: 12.5px !important; border-radius: 7px !important; }
html body .secondary-cta, html body .secondary, html body button.secondary, html body .ghost-back,
html body .linklike.button, html body .history-clear, html body .raw-toggle, html body .google-login,
html body .facebook-login, html body .settings-mini-actions button, html body .email-actions button,
html body .settings-actions button:not(.cta), html body .review-form-actions button:not(.cta) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px !important;
  background: transparent !important; background-image: none !important;
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
  border: 1px solid var(--line-2) !important; border-radius: 10px !important;
  box-shadow: none !important; transform: none !important;
  font-family: var(--sans) !important; font-size: 14.5px !important; font-weight: 550 !important; letter-spacing: 0 !important; text-transform: none !important;
}
html body .secondary-cta:hover, html body .secondary:hover, html body .ghost-back:hover { border-color: var(--ink) !important; }
html body .ghost-back { min-height: 36px; border-color: transparent !important; padding: 0 !important; color: var(--soft) !important; -webkit-text-fill-color: var(--soft) !important; }
html body .ghost-back:hover { color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; }
html body .linklike { color: var(--ink) !important; text-decoration: underline; text-underline-offset: 4px; background: none !important; border: 0 !important; box-shadow: none !important; }

/* ---------- Forms ---------- */
html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html body select, html body textarea {
  background: #fff !important; background-image: none !important;
  border: 1px solid var(--line-2) !important; border-radius: 10px !important;
  box-shadow: none !important; color: var(--ink) !important;
  font-family: var(--sans) !important; font-size: 15px !important;
}
html body select { appearance: none; -webkit-appearance: none; padding-right: 34px !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235F5A4F' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center !important; }
html body input:focus, html body select:focus, html body textarea:focus { border-color: var(--ink) !important; box-shadow: var(--focus-ring) !important; outline: none !important; }
html body input::placeholder, html body textarea::placeholder { color: var(--faint) !important; }
html body label, html body .field-label { color: var(--ink-2); font-weight: 550; letter-spacing: 0; text-transform: none; }
html body input[type="checkbox"], html body input[type="radio"] { accent-color: var(--pine); }

/* ---------- Surfaces ---------- */
html body .glass, html body .card, html body .price-card, html body .settings-panel,
html body .policy-card, html body .audience-block, html body .buy-credits, html body .support-card,
html body .support-contact-card, html body .review-submit, html body .reviews-hero,
html body .how-guide-hero, html body .how-process-card, html body .expectation-card,
html body .about-hero, html body .about-origin-story, html body .about-note-band,
html body .landing-hero, html body .landing-cta, html body .use-case-playbook,
html body .cmp-best-card, html body .cmp-cta-band, html body .comparison-table-wrap,
html body .how-final-cta, html body .history-panel, html body .legal-callout,
html body .search-assist-panel, html body .usecase-card, html body .auth-box,
html body .pair-modal-panel, html body .terms-consent-panel, html body .email-campaign-bar,
html body .settings-account-card, html body .seo-hero, html body .seo-content section,
html body .seo-study-card, html body .seo-tool-panel, html body .seo-related a,
html body .seo-card-grid > *, html body .seo-proof-grid > *, html body .seo-metrics > *,
html body .seo-benchmark-grid > *, html body .seo-demo-grid > *, html body .seo-faq {
  background: #fff !important; background-image: none !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html body .glass::before, html body .glass::after, html body .card::before, html body .card::after,
html body .price-card::after, html body .price-card::before, html body .seo-related a::after,
html body .seo-card-grid > *::after, html body .audience-block::after { display: none !important; }
html body .landing-hero, html body .how-guide-hero, html body .about-hero, html body .reviews-hero,
html body .seo-hero, html body .tool-head { background: transparent !important; border: 0 !important; }

/* ---------- Top bar (same shape as the homepage nav) ---------- */
html body .topbar, html body .seo-topbar {
  background: rgba(250, 247, 241, .86) !important;
  -webkit-backdrop-filter: saturate(150%) blur(16px) !important; backdrop-filter: saturate(150%) blur(16px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  min-height: 0 !important; padding-top: 3px !important; padding-bottom: 3px !important;
}
html body .brand-name { font-family: var(--serif) !important; font-weight: 400 !important; font-size: 17px !important; letter-spacing: -0.01em !important; color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; background: none !important; }
html body .brand-mark { background: var(--pine) !important; background-image: none !important; box-shadow: none !important; border-radius: 50% !important; }
html body .navlink, html body .topnav a, html body .seo-topnav a {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  border-radius: 8px !important; color: var(--ink-2) !important; font-weight: 500 !important;
  font-size: 12.5px !important; letter-spacing: 0 !important; text-transform: none !important;
}
html body .navlink:hover, html body .topnav a:hover, html body .seo-topnav a:hover { color: var(--ink) !important; background: rgba(23, 21, 17, .04) !important; }
html body .topnav a.topbar-cta, html body .seo-topnav a.topbar-cta { background: var(--action) !important; color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; }
html body .theme-toggle { display: none !important; }
html body .credits-badge {
  background: transparent !important; border: 1px solid var(--line) !important; border-radius: 10px !important;
  box-shadow: none !important; color: var(--ink-2) !important; font-weight: 550 !important;
}
html body .account-menu-btn { background: transparent !important; border: 1px solid var(--line) !important; border-radius: 10px !important; box-shadow: none !important; }
html body .account-avatar, html body .account-menu-mini-avatar, html body .settings-avatar-mini, html body .settings-avatar-large, html body .about-founder-avatar {
  background: var(--pine) !important; background-image: none !important; color: var(--paper) !important; box-shadow: none !important;
}
html body .account-menu, html body .mobile-menu {
  background: #fff !important; border: 1px solid var(--line) !important; border-radius: 14px !important;
  box-shadow: var(--shadow-lg) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html body .account-menu-item { border-radius: 8px !important; color: var(--ink-2) !important; }
html body .account-menu-item:hover { background: var(--paper-2) !important; color: var(--ink) !important; }
html body .mobile-menu-toggle { background: transparent !important; border: 1px solid var(--line) !important; border-radius: 10px !important; box-shadow: none !important; }
html body .mobile-menu-toggle span { background: var(--ink) !important; }
html body .phone-nav {
  background: rgba(250, 247, 241, .94) !important; border: 1px solid var(--line) !important;
  border-radius: 14px !important; box-shadow: var(--shadow) !important;
  -webkit-backdrop-filter: blur(16px) !important; backdrop-filter: blur(16px) !important;
}
html body .phone-nav a { color: var(--soft) !important; }
html body .phone-nav a.active, html body .phone-nav a[aria-current="page"] { color: var(--ink) !important; }

/* ---------- Tables ---------- */
html body table { border-collapse: collapse; }
html body th { background: transparent !important; color: var(--soft) !important; font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; border-bottom: 1px solid var(--line-2) !important; }
html body td { border-color: var(--line) !important; }
html body .table-wrap, html body .seo-table-scroll { border: 1px solid var(--line) !important; border-radius: 14px !important; background: #fff !important; box-shadow: none !important; }
html body .cmp-yes, html body .cmp-no, html body .cmp-partial, html body .cmp-mark { background: none !important; border: 0 !important; box-shadow: none !important; }
html body .cmp-yes { color: var(--pine) !important; }
html body .cmp-no { color: var(--faint) !important; }
html body .cmp-partial { color: var(--soft) !important; }

/* ---------- Pricing ---------- */
html body .price-card.featured { border-color: var(--ink) !important; }
html body .price-amount, html body .price-amount * { font-family: var(--serif) !important; font-weight: 400 !important; color: var(--ink) !important; }
html body .price-tier { color: var(--ink) !important; font-family: var(--sans) !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; font-size: 15px !important; }
html body .price-credits strong { color: var(--pine) !important; }
html body .price-feats li::before, html body .clean-list li::before { color: var(--pine) !important; background: none !important; }

/* ---------- Progress, status, alerts ---------- */
html body .progress-track { background: var(--line) !important; border-radius: 2px !important; box-shadow: none !important; }
html body .progress-fill { background: var(--pine) !important; background-image: none !important; box-shadow: none !important; border-radius: 2px !important; }
html body .risk-warning, html body .email-notice, html body .legal-callout { background: var(--paper-2) !important; border: 1px solid var(--line) !important; border-radius: 12px !important; color: var(--ink-2) !important; }
html body .auth-backdrop, html body .mobile-menu-backdrop { background: rgba(23, 21, 17, .32) !important; -webkit-backdrop-filter: blur(2px) !important; backdrop-filter: blur(2px) !important; }
html body .auth-tab { border-radius: 8px !important; }
html body .auth-tab.active { background: #fff !important; color: var(--ink) !important; box-shadow: 0 1px 2px rgba(23, 21, 17, .10) !important; }
html body .auth-tabs { background: rgba(23, 21, 17, .05) !important; border-radius: 10px !important; border: 0 !important; }

/* ---------- Footer (ink, like the homepage) ---------- */
html body .site-footer {
  margin-top: clamp(64px, 8vw, 110px) !important;
  background: var(--ink) !important; background-image: none !important;
  color: rgba(245, 240, 230, .7) !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  padding: 56px clamp(16px, 4vw, 48px) 32px !important;
}
html body .site-footer a { color: rgba(245, 240, 230, .72) !important; text-decoration: none !important; }
html body .site-footer a:hover { color: var(--paper) !important; }
html body .site-footer h3 { color: rgba(245, 240, 230, .45) !important; font-family: var(--sans) !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; }
html body .footer-legal { border-top: 1px solid rgba(245, 240, 230, .12) !important; }

/* ---------- Content pages ---------- */
html body .seo-breadcrumbs, html body .seo-breadcrumbs a { color: var(--soft) !important; }
html body .seo-source-link, html body .seo-content a:not(.cta):not(.secondary-cta) { color: var(--ink) !important; text-decoration: underline; text-underline-offset: 4px; }
html body .seo-hero-proof { background: var(--paper-2) !important; background-image: none !important; border: 1px solid var(--line) !important; border-radius: 16px !important; }
html body .seo-signal-board, html body .seo-demo-assets { background: var(--paper-2) !important; background-image: none !important; }
html body details.faq, html body .seo-faq details { border-color: var(--line) !important; background: #fff !important; border-radius: 12px !important; }

/* The site is light only, so the old theme picker in Settings is hidden. */
html body label:has(> #settings-theme-mode) { display: none !important; }

/* ---------- Clean-up of the old decorative layers ---------- */
html body .tool-head::before, html body .tool-head::after,
html body .search-card::before, html body .search-card::after,
html body .landing-hero::before, html body .landing-hero::after,
html body .seo-hero::before, html body .seo-hero::after,
html body .hero-preview::before, html body .cta-band::before, html body .cta-band::after { display: none !important; }
html body .search-section, html body .search-section-primary, html body .search-section-detail { background: none !important; }
html body .results-bar { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html body .results-bar a.secondary, html body .results-bar button.secondary {
  min-height: 32px; padding: 0 !important; border: 0 !important; color: var(--soft) !important; -webkit-text-fill-color: var(--soft) !important;
}
html body .results-bar a.secondary:hover { color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; }
html body .assist-scan-visual { background: var(--paper-2) !important; background-image: none !important; border: 1px solid var(--line) !important; border-radius: 12px !important; }
html body .assist-node { background: var(--pine) !important; box-shadow: none !important; }
html body .assist-steps > *, html body .assist-steps span { background: none !important; box-shadow: none !important; }
html body .combo-control { background: #fff !important; background-image: none !important; border: 1px solid var(--line-2) !important; border-radius: 10px !important; box-shadow: none !important; }
html body .combo-list, html body .combo-menu, html body .combo-panel { background: #fff !important; border: 1px solid var(--line) !important; border-radius: 12px !important; box-shadow: var(--shadow-lg) !important; }
html body .usd-input { background: #fff !important; border: 1px solid var(--line-2) !important; border-radius: 10px !important; box-shadow: none !important; }
html body .usd-input input { border: 0 !important; box-shadow: none !important; background: transparent !important; }

/* The footer runs edge to edge whatever container it sits in. */
html body .site-footer { width: 100vw !important; max-width: none !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
html body .site-footer > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
html, body { overflow-x: clip; }

/* Data labels used to be small uppercase monospace chips. */
html body .seo-benchmark-grid article > span, html body .seo-metrics article > span,
html body .seo-proof-grid article > span, html body .seo-study-meta > span {
  background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important;
  font-family: var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important;
  font-size: 13px !important; font-weight: 500 !important; color: var(--soft) !important;
}

/* ---------- Phone ---------- */
html body .tool-head, html body .how-guide-hero, html body .reviews-hero, html body .about-hero { box-shadow: none !important; }
html[data-device-mode="phone"] body .brand { flex: 0 0 auto !important; min-width: 0; }
html[data-device-mode="phone"] body .brand-name { font-size: 20px !important; white-space: nowrap; }
html[data-device-mode="phone"] body .topbar-cta { display: none !important; }
html[data-device-mode="phone"] body .phone-nav :is(a, button),
html[data-device-mode="phone"] body .phone-nav :is(a, button).active {
  background: none !important; box-shadow: none !important; border: 0 !important;
}
html[data-device-mode="phone"] body .phone-nav :is(a, button).active { color: var(--ink) !important; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
html[data-device-mode="phone"] body .topbar .topnav > a.navlink { display: none !important; }

/* ---------- Top bar: short, with the page links in a Menu dropdown ---------- */
html:not([data-device-mode="phone"]) body .topbar {
  width: fit-content !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important;
  justify-content: center !important; gap: 18px !important; padding: 7px 8px 7px 16px !important;
}
html:not([data-device-mode="phone"]) body .topnav { flex-wrap: nowrap !important; column-gap: 10px !important; }
.topmenu { position: relative; display: inline-flex; }
html body .topmenu-btn {
  display: inline-flex !important; align-items: center; gap: 8px; height: 36px; padding: 0 12px !important;
  border: 1px solid var(--line) !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important;
  font: 500 14px var(--sans) !important; color: var(--ink-2) !important; cursor: pointer;
}
html body .topmenu-btn:hover, html body .topmenu-btn[aria-expanded="true"] { border-color: var(--line-2) !important; color: var(--ink) !important; }
.topmenu-btn svg { transition: transform .25s ease; }
.topmenu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.topmenu-panel {
  position: absolute; left: 50%; top: calc(100% + 14px); z-index: 60; width: 270px; transform: translateX(-50%);
  display: grid; padding: 8px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg, 0 18px 40px -20px rgba(23, 21, 17, .22));
}
.topmenu-panel[hidden] { display: none !important; }
html body .topmenu-panel a.navlink { display: block !important; text-decoration: none !important; padding: 10px 12px !important; border-radius: 8px !important; font-size: 15px !important; color: var(--ink-2) !important; text-align: left !important; }
html body .topmenu-panel a.navlink:hover, html body .topmenu-panel a.navlink[aria-current="page"] { background: rgba(23, 21, 17, .05) !important; color: var(--ink) !important; }
.topmenu-lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 12px 12px 6px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }
html[data-device-mode="phone"] body .topbar:not(.seo-topbar) .topmenu { display: none !important; }
html[data-device-mode="phone"] body .topmenu-panel { left: auto; right: 0; transform: none; width: min(270px, calc(100vw - 32px)); }
@media (max-width: 760px) {
  html:not([data-device-mode="phone"]) body .topbar.seo-topbar {
    width: 100% !important; display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
    align-items: center !important; justify-content: space-between !important; gap: 10px !important;
    overflow: visible !important; padding: 8px 8px 8px 14px !important;
  }
  html body .topbar.seo-topbar .topnav { display: flex !important; position: static !important; flex: 0 0 auto !important; flex-wrap: nowrap !important; width: auto !important; margin: 0 !important; overflow: visible !important; }
  html body .topbar.seo-topbar .brand { min-width: 0 !important; flex: 0 1 auto !important; }
  html body .topbar.seo-topbar .brand-name { font-size: 18px !important; white-space: nowrap; }
  html body .topmenu-btn { white-space: nowrap !important; }
  html body .topbar.seo-topbar .topmenu { position: static; }
  html body .seo-topbar .topbar-cta { display: none !important; }
  html body .seo-topbar .brand-mark { width: 30px !important; height: 30px !important; }
  html body .seo-topbar .topmenu-panel { left: auto; right: 8px; top: calc(100% + 8px); transform: none; width: min(270px, calc(100vw - 48px)); }
  html body .topbar.seo-topbar { position: sticky; }
}

/* ---------- Fixes from the full-site screenshot pass ---------- */
/* Paper all the way down, so short pages don't show white under the footer. */
html { background: var(--paper) !important; }
/* Content-page hero: a wider headline, and the side card sits at the top instead of stretching. */
html body .seo-hero h1 { max-width: 17ch !important; }
html body .seo-signal-board {
  align-self: start !important; align-content: start !important; min-height: 0 !important;
  border: 1px solid var(--line) !important; border-radius: 14px !important; padding: 22px !important;
}
html body .seo-hero-proof { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; margin-top: 14px !important; font-size: 13.5px !important; color: var(--soft) !important; }
/* Reviews: serif empty-state heading like every other title. */
html body .reviews-score strong { font-family: var(--serif) !important; font-weight: 400 !important; letter-spacing: -0.015em !important; }
html body .reviews-score-label { font-size: 13px !important; color: var(--soft) !important; }
/* Tool pages: the question box, result headline and pass/fix labels in the site style. */
html body .seo-tool-question { background: var(--paper-2) !important; border: 1px solid var(--line) !important; border-left: 2px solid var(--pine) !important; border-radius: 10px !important; }
html body .seo-tool-question span, html body .seo-result-label, html body .seo-result-next-label { font-size: 12.5px !important; color: var(--soft) !important; }
html body .seo-result-headline { font-family: var(--serif) !important; font-weight: 400 !important; font-size: clamp(28px, 3vw, 36px) !important; letter-spacing: -0.012em !important; }
html body .seo-result-item-status { min-width: 44px; background: none !important; border: 0 !important; padding: 0 !important; font-size: 12.5px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; }
html body .is-pass .seo-result-item-status { color: var(--pine) !important; }
html body .is-fix .seo-result-item-status { color: #9A3B2E !important; }
/* Top bar credits / sign-in chip: same height as the other controls. */
html body .topbar .credits-badge { height: 36px !important; padding: 0 12px !important; border-radius: 8px !important; white-space: nowrap !important; }
/* Support contact cards: one clean layout at every size (legacy rules stacked bars, bold text and offsets). */
html body .support-contact-card, html body .support-contact-card.primary {
  display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 6px !important;
  padding: 22px 24px !important; text-align: left !important; min-height: 0 !important; height: auto !important;
  background: #fff !important; background-image: none !important; border: 1px solid var(--line) !important; border-radius: 14px !important;
  box-shadow: none !important; text-decoration: none !important; color: var(--ink) !important; transform: none !important;
}
html body .support-contact-card::before, html body .support-contact-card::after { display: none !important; content: none !important; }
html body .support-contact-card:hover { border-color: var(--line-2) !important; }
html body .support-contact-kicker { display: block !important; margin: 0 !important; padding: 0 !important; background: transparent !important; background-color: transparent !important; font-size: 13px !important; font-weight: 500 !important; color: var(--soft) !important; text-align: left !important; }
html body .support-contact-card strong { display: block !important; margin: 0 !important; font-family: var(--serif) !important; font-weight: 400 !important; font-size: 26px !important; line-height: 1.15 !important; color: var(--ink) !important; text-align: left !important; overflow-wrap: anywhere; }
html body .support-contact-card small { display: block !important; margin: 4px 0 0 !important; padding: 0 !important; max-width: none !important; font-size: 14.5px !important; font-weight: 400 !important; line-height: 1.55 !important; color: var(--ink-2) !important; text-align: left !important; }
html[data-resolved-theme] body .support-contact-card .support-contact-kicker, html body .support-contact-card .support-contact-kicker { background: transparent !important; background-color: transparent !important; border: 0 !important; }
/* Use-case feature cards: no decorative gradient bar, no indented copy. */
html body .landing-grid article::after, html body .landing-grid article::before { display: none !important; content: none !important; }
html body .landing-grid article p { margin-left: 0 !important; margin-right: 0 !important; padding: 0 !important; }
/* Email campaign list: name, then step count as a quieter note. */
html body .email-campaign-item strong + small { margin-left: 8px; color: var(--soft); }

/* Email workspace: essentials first, the rest folded */
.email-more { margin-top: 12px; border-top: 1px solid var(--line, rgba(23,21,17,.10)); padding-top: 10px; }
.email-more > summary { cursor: pointer; color: var(--muted, #5F5A4F); font-size: 14px; }
.email-more[open] > summary { margin-bottom: 12px; }
.email-new-campaign { margin-top: 22px; }
.email-new-campaign .email-campaigns-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#email-mailbox-password-field { max-width: 420px; }
.email-actions .hidden, .email-mailbox-setup .hidden { display: none !important; }

/* Dotted sphere on product pages */
.seo-signal-board .signal-sphere { display: block; width: 100%; height: 230px; margin: -6px 0 8px; cursor: crosshair; touch-action: pan-y; }
@media (max-width: 760px) { .seo-signal-board .signal-sphere { height: 190px; } }

/* Pricing: cents and text-only price */
.price-cents { font-size: .5em; vertical-align: .75em; margin-left: 1px; }
.price-amount.price-amount-text { font-family: var(--serif, "Instrument Serif", Georgia, serif); font-size: 34px; line-height: 1.15; }
.price-card a.price-pick { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; }

/* Keep "(optional)" hints on the label's line so fields in a row stay aligned. */
html body label:has(> .optional) { display: block; }
html body label:has(> .optional) > :is(input, select, textarea, .combo-mount) { display: block; width: 100%; margin-top: 0.35rem; }
html body .field-label > .optional, html body label > .optional { display: inline; }
html body .deep-search-label { flex-direction: row; align-items: flex-start; margin-bottom: 0; }
html body .email-mailbox-setup > p.muted:first-of-type { margin: 0 0 14px; }
html body .email-mailbox-setup > #email-mailbox-password-field { max-width: 420px; }

/* Comparison cells wrap inside their column instead of running into the next one. */
html body .cmp-matrix td { white-space: normal; }
html body .cmp-matrix td .cmp-mark { float: left; margin: 0.05rem 0.45rem 0.2rem 0; }

/* Signed-in Menu: the same three groups as the JARVIS sidebar. */
[data-signed-in-only][hidden], [data-signed-out-only][hidden] { display: none !important; }
html body .topmenu-panel.is-app { width: min(600px, calc(100vw - 32px)); }
.topmenu-app { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; }
.topmenu-group { display: grid; align-content: start; }
.topmenu-group > span { padding: 8px 12px 4px; font-size: 12px; color: var(--soft); }
html body .topmenu-group a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
html body .topmenu-group a:hover, html body .topmenu-group a[aria-current="page"] { background: rgba(23, 21, 17, .05); color: var(--ink); }
@media (max-width: 760px) { .topmenu-app { grid-template-columns: 1fr 1fr; } }

/* Settings: automatic sending switch per campaign. */
.email-auto-control { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.email-auto-state { font-size: 13px; color: var(--soft); }
.email-auto-state.is-on { color: #1f6e43; font-weight: 600; }
html body .email-campaign-item strong + small { margin-left: 0; }

/* Leads table: every button stays inside its own cell (C-01). */
html:not([data-device-mode="phone"]) body #leads-table .outreach-actions { flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 6px !important; }
html:not([data-device-mode="phone"]) body #leads-table td :is(.generate-btn, .skip-btn, .report-lead-btn, .phone-send-btn) { width: 100% !important; max-width: 100% !important; min-width: 0 !important; white-space: normal !important; }
html body #leads-table td { overflow-wrap: anywhere; }
html body #leads-table td.col-campaign, html body #leads-table th.col-campaign { text-align: center; padding-left: 6px; padding-right: 6px; }
html body #leads-table td :is(button, .phone-number) { overflow-wrap: normal !important; word-break: normal !important; hyphens: none; }
html:not([data-device-mode="phone"]) body #leads-table td :is(.generate-btn, .skip-btn, .report-lead-btn, .phone-send-btn) { padding: 6px 8px !important; font-size: 13px !important; line-height: 1.25 !important; }
html:not([data-device-mode="phone"]) body #leads-table :is(th, td):nth-child(4),
html:not([data-device-mode="phone"]) body #leads-table :is(th, td):nth-child(5) { width: 12% !important; min-width: 0 !important; }
html:not([data-device-mode="phone"]) body #leads-table :is(th, td):nth-child(8) { width: 10% !important; }
html:not([data-device-mode="phone"]) body #leads-table :is(th, td):nth-child(10) { width: 9% !important; }
html body .settings-connections-link { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin: 0 0 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2, #fff); color: var(--ink); text-decoration: none; }
html body .settings-connections-link span { color: var(--soft); font-size: 14px; }
html body .settings-connections-link:hover { border-color: var(--line-2, #bbb); }
html body .field-error { display: block; margin-top: 6px; color: #b3261e; font-size: 13px; }
html body input[aria-invalid="true"] { border-color: #b3261e !important; }
html body .result-stat-chip.is-hint { background: rgba(23, 21, 17, .05); color: var(--ink-2); }

/* H-07: Ready checklist reflects real state. Ready = filled green dot,
   not ready = hollow grey dot plus a link to fix it. */
.settings-health-list span { align-items: flex-start; }
.settings-health-list span strong { margin-top: 0.4em; }
.settings-health-list span small { flex: 1 1 auto; min-width: 0; }
.settings-health-list span.ready strong {
  background: #1f7a4d;
  box-shadow: 0 0 0 5px rgba(31, 122, 77, 0.14);
}
.settings-health-list span.pending strong,
.settings-health-list span:not(.ready):not(.pending) strong {
  background: transparent;
  border: 2px solid #98a2b3;
  box-shadow: none;
}
.settings-health-list span.pending { color: var(--text-muted); font-weight: 600; }
.settings-health-list span a {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* H-09/H-10: saved drafts and draft notes on Lead Finder results. */
.draft-open-btn {
  background: #e6f4ec;
  color: #1f7a4d;
  border: 1px solid rgba(31, 122, 77, 0.35);
}
.outreach-note { margin: 8px 0 0; font-size: 0.85rem; color: var(--text-muted); }
.outreach-note.warn { color: #a75a00; font-weight: 600; }
.outreach-note .linklike { font-size: inherit; }

/* M-04: Settings tabs. */
.settings-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; border-bottom: 1px solid var(--line, rgba(0,0,0,.12)); }
.settings-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 10px 14px; font: inherit; font-weight: 650; color: var(--text-muted); cursor: pointer; box-shadow: none; }
.settings-tabs button[aria-selected="true"] { color: var(--text, inherit); border-bottom-color: var(--primary); }
.settings-tabs button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
#settings-view [data-settings-tab][hidden] { display: none !important; }
html body .settings-tabs button, html body .settings-tabs button[aria-selected="true"] { background: transparent !important; box-shadow: none !important; }
html body .settings-tabs button[aria-selected="true"] { color: var(--text, #171511) !important; border-bottom: 2px solid var(--primary) !important; }

/* M-09: past searches rows breathe; Delete is a real (quiet, red) button. */
.history-item { padding: 16px 18px; gap: 16px; }
.history-item-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.history-item-actions .history-delete { color: #b42318; border-color: rgba(180, 35, 24, 0.35); }

/* M-10: signed in, the app has a small footer; the marketing footer is for visitors. */
.app-footer { display: none; }
body.is-signed-in .site-footer { display: none !important; }
body.is-signed-in .app-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: 1180px; margin: 48px auto 24px; padding: 16px 20px; border-top: 1px solid rgba(0,0,0,.1); font-size: 13px; color: var(--text-muted); }
body.is-signed-in .app-footer nav { display: flex; gap: 16px; }
body.is-signed-in .app-footer a { color: inherit; }
/* The floating top bar never covers the field you're scrolling to. */
html { scroll-padding-top: 104px; }
input, select, textarea, [id] { scroll-margin-top: 104px; }
html body .settings-panel small { font-size: max(12px, 1em); }

/* P-03: "Send via Gmail" is one link (no button nested inside it), styled as a button. */
.send-link.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 10px; background: #171511; color: #fff !important; font-weight: 650; text-decoration: none !important; }
.send-link.button-link:hover { opacity: .9; }
.send-link.button-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.combo-option.active { background: rgba(15, 111, 104, 0.12); outline: 2px solid var(--primary); outline-offset: -2px; }
