/* openroles.fyi landing — Light Vercel/Geist theme.
   All rules scoped to body.landing so they can't bleed into the dark
   product pages (browse.html, resume.html) which use styles.css. */

body.landing {
  margin: 0;
  background: #ffffff;
  color: #0a0a0a;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.landing * { box-sizing: border-box; }
body.landing a { color: inherit; text-decoration: none; }
body.landing ul { list-style: none; padding: 0; margin: 0; }
body.landing .muted { color: #666; }
body.landing .accent { color: #19A974; }

body.landing main { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────────── */
body.landing .lnav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #eaeaea;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 32px;
}
body.landing .logo { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
body.landing .logo .dot { color: #19A974; }
body.landing .lnav-links { display: flex; gap: 24px; margin-left: 32px; flex: 1; }
body.landing .lnav-links a { font-size: 14px; color: #444; }
body.landing .lnav-links a:hover { color: #0a0a0a; }
body.landing .lnav-links a.active { color: #0a0a0a; font-weight: 600; }

/* Auth widget sits on the right, just before the primary CTA. lnav-links has
   flex:1 so it expands and pushes this + the CTA to the right edge. */
body.landing .auth-slot {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 20px; margin-right: 16px;
}
body.landing .auth-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 14px; color: #444;
}
body.landing .auth-btn:hover { color: #0a0a0a; }
body.landing .auth-name { font-size: 14px; color: #0a0a0a; font-weight: 500; }

/* User menu (signed-in): name trigger → dropdown with plan + account actions. */
body.landing .user-menu { position: relative; }
body.landing .user-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid #eaeaea; border-radius: 999px;
  padding: 4px 10px 4px 5px; cursor: pointer; font-family: inherit; color: #333;
  transition: border-color .12s;
}
body.landing .user-trigger:hover { border-color: #cfcfcf; }
body.landing .user-avatar {
  width: 24px; height: 24px; border-radius: 50%; background: #0a0a0a; color: #fff;
  font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center;
}
body.landing .user-name { font-size: 14px; }
body.landing .user-caret { font-size: 10px; color: #999; }
body.landing .user-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 224px;
  background: #fff; border: 1px solid #ececec; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10); padding: 6px; z-index: 200;
}
body.landing .user-dropdown[hidden] { display: none; }
body.landing .ud-head { padding: 8px 10px 4px; }
body.landing .ud-name { font-size: 14px; font-weight: 600; color: #0a0a0a; }
body.landing .ud-email { font-size: 12px; color: #999; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.landing .ud-plan {
  margin: 4px 10px 8px; font-size: 11px; color: #138c5d; letter-spacing: .02em;
  background: rgba(25,169,116,.10); border-radius: 6px; padding: 4px 8px; display: inline-block;
}
body.landing .ud-item {
  display: block; width: 100%; box-sizing: border-box; text-align: left;
  background: none; border: none; border-radius: 8px; cursor: pointer;
  font-family: inherit; font-size: 14px; color: #333; padding: 8px 10px; text-decoration: none;
}
body.landing .ud-item:hover { background: #f5f5f5; color: #0a0a0a; }

/* /sign-in.html interstitial — visited when an unauth user hits a gated route */
body.landing .signin-card {
  max-width: 420px; margin: 96px auto; padding: 40px;
  border: 1px solid #eaeaea; border-radius: 12px; text-align: center;
}
body.landing .signin-card h1 {
  font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px;
}
body.landing .signin-card .muted { font-size: 14px; margin: 0 0 28px; }
body.landing .signin-card .cta { width: 100%; padding: 12px 18px; }
body.landing .signin-err {
  color: #b91c1c; font-size: 13px; margin: 16px 0 0;
}
body.landing .signin-back { margin: 24px 0 0; font-size: 13px; }

/* ── CTAs ────────────────────────────────────────────── */
body.landing .cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  padding: 10px 18px; border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  white-space: nowrap; cursor: pointer;
}
body.landing .cta-primary { background: #0a0a0a; color: #ffffff; border-color: #0a0a0a; }
body.landing .cta-primary:hover { background: #2a2a2a; border-color: #2a2a2a; }
body.landing .cta-ghost { background: #ffffff; color: #0a0a0a; border-color: #eaeaea; }
body.landing .cta-ghost:hover { border-color: #0a0a0a; }
body.landing .cta.block { display: flex; width: 100%; }

/* ── Hero ────────────────────────────────────────────── */
body.landing .hero { padding: 96px 0 64px; }
body.landing .hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 24px;
}
body.landing .hero-sub {
  font-size: 19px; color: #555; max-width: 600px; margin: 0 0 36px; line-height: 1.5;
}
body.landing .hero-ctas { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }

body.landing .counter {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; color: #444; letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1px solid #eaeaea; border-radius: 999px; padding: 8px 16px;
  background: #fafafa;
}
body.landing .counter .sep { color: #ccc; }

body.landing .dot-live {
  display: inline-block; width: 8px; height: 8px;
  background: #19A974; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(25, 169, 116, 0.55);
  animation: livepulse 1.8s infinite;
}
@keyframes livepulse {
  0%   { box-shadow: 0 0 0 0 rgba(25, 169, 116, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(25, 169, 116, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 169, 116, 0); }
}

/* ── Section heads ───────────────────────────────────── */
body.landing .section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 20px; gap: 16px;
}
body.landing .section-head.center {
  flex-direction: column; align-items: center; gap: 10px; text-align: center;
  margin-bottom: 40px;
}
body.landing .eyebrow {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; color: #666; letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
body.landing .section-head h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.025em;
  margin: 0; line-height: 1.15;
}
body.landing .link {
  color: #0a0a0a; font-size: 14px; font-weight: 500;
  border-bottom: 1px solid transparent;
}
body.landing .link:hover { border-bottom-color: #0a0a0a; }

/* ── Live now ────────────────────────────────────────── */
body.landing .live-section { padding: 16px 0 80px; }
body.landing .live-list {
  border: 1px solid #eaeaea; border-radius: 12px; overflow: hidden;
  background: #ffffff;
}
/* Live now rows reuse the browse page's .result-card / .rc-* styles (defined
   further down) so the two lists look identical. Only the .live-list container
   chrome lives here. */

/* Light-theme variant of .company-logo: no white chip — backgrounds clash
   with the white landing page. Brand-color logos sit directly on the page. */
body.landing .company-logo {
  width: 20px; height: 20px; flex-shrink: 0; object-fit: contain;
  background: transparent; padding: 0; border-radius: 0;
}
body.landing .live-loading { padding: 24px; text-align: center; color: #888; font-size: 14px; }

/* ── Value props (4-up grid with hairline dividers) ──── */
body.landing .values {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: #eaeaea;
  border: 1px solid #eaeaea; border-radius: 12px; overflow: hidden;
  margin-bottom: 96px;
}
body.landing .value-card {
  background: #ffffff; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
body.landing .value-eyebrow {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; color: #999;
}
body.landing .value-card h3 {
  font-size: 17px; font-weight: 600; margin: 0; letter-spacing: -0.01em;
}
body.landing .value-card p { font-size: 14px; color: #555; margin: 0; line-height: 1.55; }
@media (max-width: 900px) { body.landing .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { body.landing .values { grid-template-columns: 1fr; } }

/* ── Roles we cover (mono-labeled discipline grid) ───── */
body.landing .roles { padding: 0 0 96px; }
body.landing .roles-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: #eaeaea;
  border: 1px solid #eaeaea; border-radius: 12px; overflow: hidden;
  margin-bottom: 16px;
}
body.landing .role-row {
  background: #ffffff; padding: 18px 22px;
  display: flex; align-items: baseline; gap: 16px;
}
body.landing .role-label {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: 0.12em; color: #0a0a0a;
  font-weight: 600; min-width: 88px;
}
body.landing .role-subs { font-size: 14px; color: #555; }
body.landing .roles-foot {
  font-size: 13px; color: #888; text-align: center; margin: 0;
}
@media (max-width: 640px) { body.landing .roles-grid { grid-template-columns: 1fr; } }

/* ── Feature deep-dives ──────────────────────────────── */
body.landing .features { display: flex; flex-direction: column; gap: 96px; margin-bottom: 96px; }
body.landing .feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
body.landing .feature.reverse .feature-text { order: 2; }
body.landing .feature-text h2 {
  font-size: clamp(26px, 3.5vw, 36px); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.15; margin: 12px 0 16px;
}
body.landing .feature-text p { font-size: 16px; color: #555; margin: 0 0 16px; }
body.landing .mock {
  background: #fafafa; border: 1px solid #eaeaea; border-radius: 10px;
  padding: 20px; margin: 0;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px; color: #333; line-height: 1.6;
  overflow-x: auto; white-space: pre;
}
body.landing .chip-soon {
  display: inline-block;
  font-size: 10px; padding: 2px 6px; border-radius: 4px;
  background: #f4f4f4; color: #666; margin-right: 6px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
}

/* Feature mock cards — styled "result list" preview (replaces ASCII <pre>). */
body.landing .mock-card {
  background: #fff; border: 1px solid #ececec; border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04); overflow: hidden;
}
body.landing .mock-row { display: flex; align-items: center; gap: 11px; padding: 11px 14px; }
body.landing .mock-row:not(:last-child) { border-bottom: 1px solid #f4f4f4; }
body.landing .mock-logo { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; flex: 0 0 auto; background: #fafafa; }
body.landing .mock-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
body.landing .mock-title { font-size: 13px; font-weight: 600; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.landing .mock-co { font-size: 12px; color: #999; }
body.landing .mock-grow { flex: 1; font-size: 13px; color: #333; }
body.landing .mock-count { font-size: 12px; color: #999; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
body.landing .mock-badge { font-size: 12px; font-weight: 700; color: #19A974; background: #e9f8f1; border-radius: 6px; padding: 3px 8px; flex: 0 0 auto; }
body.landing .mock-status { font-size: 11px; font-weight: 600; padding: 3px 9px 3px 8px; border-radius: 999px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; }
body.landing .mock-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
body.landing .mock-status.is-open { color: #178a5f; background: #e9f8f1; }
body.landing .mock-status.is-open::before { background: #19A974; }
body.landing .mock-status.is-closed { color: #999; background: #f3f3f3; }
body.landing .mock-status.is-closed::before { background: #c4c4c4; }

@media (max-width: 760px) {
  body.landing .feature { grid-template-columns: 1fr; gap: 24px; }
  body.landing .feature.reverse .feature-text { order: 0; }
}

/* ── Pricing ─────────────────────────────────────────── */
body.landing .pricing { padding: 64px 0 96px; }
body.landing .price-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 760px; margin: 0 auto;
}
body.landing .price-card {
  border: 1px solid #eaeaea; border-radius: 12px;
  padding: 32px 28px;
  background: #fff;
}
body.landing .price-card.featured { border-color: #0a0a0a; box-shadow: 0 0 0 1px #0a0a0a inset; }
body.landing .price-name {
  font-size: 14px; color: #555; font-weight: 500; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
body.landing .save-chip {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; padding: 2px 8px; border-radius: 999px;
  background: rgba(25, 169, 116, 0.1); color: #138c5d;
  letter-spacing: 0.04em;
}
body.landing .price-amount {
  font-size: 44px; font-weight: 600; letter-spacing: -0.025em;
  margin-bottom: 24px;
}
body.landing .price-amount .per { font-size: 16px; color: #888; font-weight: 400; margin-left: 4px; }
body.landing .price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
body.landing .price-features li {
  font-size: 14px; color: #444; padding-left: 22px; position: relative;
}
body.landing .price-features li::before {
  content: "✓"; position: absolute; left: 0; color: #19A974; font-weight: 600;
}
@media (max-width: 640px) { body.landing .price-grid { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────── */
body.landing .faq { padding: 32px 0 96px; }
body.landing .faq-list { max-width: 720px; margin: 0 auto; border-top: 1px solid #eaeaea; }
body.landing .faq-list details { border-bottom: 1px solid #eaeaea; padding: 18px 4px; }
body.landing .faq-list summary {
  cursor: pointer; font-weight: 500; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
body.landing .faq-list summary::-webkit-details-marker { display: none; }
body.landing .faq-list summary::after { content: "+"; color: #888; font-size: 20px; font-weight: 400; }
body.landing .faq-list details[open] summary::after { content: "−"; }
body.landing .faq-list p { font-size: 15px; color: #555; margin: 12px 0 0; line-height: 1.6; }

/* ── /resume.html hero + drag-drop upload zone ──────── */
body.landing .resume-hero { padding: 48px 0 24px; }
body.landing .resume-hero h1 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 600;
  letter-spacing: -0.025em; margin: 0 0 12px;
}
body.landing .resume-hero p {
  font-size: 16px; color: #555; margin: 0; max-width: 640px;
}

body.landing .upload-zone {
  border: 2px dashed #eaeaea; border-radius: 12px;
  padding: 56px 32px; text-align: center;
  background: #fafafa; cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
  margin-bottom: 12px; position: relative;
}
body.landing .upload-zone:hover { border-color: #888; background: #f5f5f5; }
body.landing .upload-zone.drag-over {
  border-color: #19A974; background: rgba(25, 169, 116, 0.06);
}

body.landing .upload-icon {
  font-size: 32px; color: #888; margin-bottom: 14px; line-height: 1;
}
body.landing .upload-idle p { margin: 6px 0; color: #555; font-size: 14px; }
body.landing .upload-idle strong { color: #0a0a0a; font-weight: 600; }
body.landing .upload-idle .upload-pick {
  background: none; border: none; padding: 0; cursor: pointer;
  color: #0a0a0a; font-weight: 500; font-size: 14px; font-family: inherit;
  border-bottom: 1px solid #0a0a0a;
}
body.landing .upload-hint {
  font-size: 12px !important; color: #888 !important;
  margin-top: 14px !important;
}

body.landing .upload-selected {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; text-align: left;
}
body.landing .file-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
body.landing .file-name {
  font-weight: 500; color: #0a0a0a; font-size: 15px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
body.landing .file-size {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; color: #888;
}
body.landing .upload-remove {
  background: none; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: #999;
  width: 32px; height: 32px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
body.landing .upload-remove:hover { color: #b91c1c; background: rgba(185, 28, 28, 0.06); }

body.landing .spinner {
  width: 24px; height: 24px;
  border: 2px solid #eaeaea; border-top-color: #0a0a0a;
  border-radius: 50%; margin: 0 auto 12px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
body.landing .upload-processing p { margin: 0; color: #555; font-size: 14px; }

body.landing .upload-err {
  margin: 8px 0 28px; color: #b91c1c; font-size: 13px;
  text-align: center;
}
body.landing .upload-err[hidden] { display: none; }

/* ── Compact state: once a resume is loaded, the hero collapses and the
   drop zone becomes a single-line bar so the match results take the top
   of the page. Toggled by resume.js via body.has-resume. */
body.landing.has-resume .resume-hero { display: none; }
body.landing.has-resume .upload-zone {
  padding: 12px 16px;
  border-style: solid; border-color: #eaeaea;
  background: #ffffff; cursor: default;
  margin-top: 32px; margin-bottom: 8px;
}
body.landing.has-resume .upload-zone:hover {
  border-color: #eaeaea; background: #ffffff;
}
body.landing.has-resume .upload-selected { padding: 0; }
body.landing.has-resume .file-name { font-size: 14px; }
body.landing.has-resume .file-size { font-size: 11px; }

/* ── /browse search hero (working-page, smaller than marketing hero) ─ */
body.landing .search-hero { padding: 48px 0 16px; }
body.landing .search-hero h1 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 600;
  letter-spacing: -0.025em; margin: 0 0 24px;
}
body.landing .search-bar { margin-bottom: 14px; }
body.landing .search-bar input {
  width: 100%; padding: 14px 18px;
  font-size: 16px; font-family: inherit; line-height: 1.4;
  border: 1px solid #eaeaea; border-radius: 10px;
  background: #fafafa; color: #0a0a0a;
  outline: none; transition: border-color 0.12s, background 0.12s;
}
body.landing .search-bar input:focus { border-color: #0a0a0a; background: #fff; }

body.landing .search-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px;
}
body.landing .search-filters input,
body.landing .search-filters select {
  font-size: 13px; padding: 8px 12px;
  border: 1px solid #eaeaea; border-radius: 8px;
  background: #ffffff; color: #0a0a0a; font-family: inherit;
  outline: none; cursor: pointer;
}
body.landing .search-filters input:focus,
body.landing .search-filters select:focus { border-color: #0a0a0a; }
body.landing .search-filters input[type="search"] { min-width: 140px; cursor: text; }
body.landing .filter-clear {
  background: none; border: none; color: #666; cursor: pointer;
  font-size: 13px; padding: 8px 12px; font-family: inherit;
}
body.landing .filter-clear:hover { color: #0a0a0a; }

body.landing .suggestions {
  display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px;
}
body.landing .suggestions button {
  background: #fafafa; border: 1px solid #eaeaea; color: #444;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 13px;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
body.landing .suggestions button:hover {
  background: #ffffff; border-color: #0a0a0a; color: #0a0a0a;
}

/* ── /browse results list ────────────────────────────── */
body.landing .search-results { padding: 0 0 64px; }
body.landing .results-header {
  display: flex; align-items: baseline; gap: 12px;
  margin: 24px 0 12px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #666;
}
body.landing .result-count { color: #0a0a0a; font-weight: 600; }
body.landing .result-status { color: #888; }
body.landing .result-list {
  border: 1px solid #eaeaea; border-radius: 12px; overflow: hidden;
  background: #ffffff;
}
body.landing .result-card { padding: 16px 20px; border-bottom: 1px solid #f4f4f4; }
body.landing .result-card:last-child { border-bottom: none; }
body.landing .result-card:hover { background: #fafafa; }
body.landing .rc-row { display: flex; align-items: baseline; gap: 12px; }
body.landing .rc-match {
  background: #f0f0f0; color: #0a0a0a; font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; padding: 3px 8px; border-radius: 4px;
  min-width: 42px; text-align: center; flex-shrink: 0;
}
body.landing .rc-title {
  font-size: 16px; font-weight: 500; color: #0a0a0a; text-decoration: none;
}
body.landing .rc-title:hover { color: #19A974; }
body.landing .rc-meta {
  display: flex; align-items: center; flex-wrap: wrap;
  margin-top: 6px; gap: 0 6px;
  font-size: 13px; color: #666;
}
body.landing .rc-co {
  display: inline-flex; align-items: center; gap: 6px;
  color: #0a0a0a; font-weight: 500;
}
body.landing .rc-level {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; border: 1px solid #eaeaea; padding: 1px 6px; border-radius: 4px;
  color: #555;
}
body.landing .rc-sep { color: #ccc; margin: 0 4px; }

/* "NEW" pill for jobs first observed in the past 7 days. Same shape as the
   stats counter's live-dot — green-tinted, monospace, small. */
body.landing .rc-new {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  background: rgba(25, 169, 116, 0.12); color: #138c5d;
  padding: 2px 7px; border-radius: 999px;
  flex-shrink: 0; margin-left: 4px;
}
body.landing .empty { text-align: center; color: #888; padding: 64px 0; font-size: 14px; }
body.landing .loadmore-wrap { display: flex; justify-content: center; padding: 24px 0 0; }
body.landing .loadmore-wrap .cta { padding: 10px 22px; }

/* Paywall placeholder banner — currently inert (server-side flag off). */
body.landing .plan-banner {
  margin-bottom: 16px; padding: 14px 18px;
  background: rgba(25, 169, 116, 0.08);
  border: 1px solid rgba(25, 169, 116, 0.25);
  border-radius: 10px;
  color: #0a0a0a; font-size: 14px;
}
body.landing .plan-banner strong { font-weight: 600; }
body.landing .plan-banner .link {
  color: #19A974; font-weight: 500;
  border-bottom: 1px solid transparent; margin-left: 8px;
}
body.landing .plan-banner .link:hover { border-bottom-color: #19A974; }

/* ── /presence hero + stats strip ────────────────────── */
body.landing .presence-hero { padding: 48px 0 24px; }
body.landing .presence-hero h1 {
  font-size: clamp(32px, 5vw, 48px); font-weight: 600;
  letter-spacing: -0.025em; margin: 0 0 12px;
}
body.landing .presence-hero p {
  font-size: 17px; color: #555; margin: 0 0 24px; max-width: 640px;
}
body.landing .presence-stats {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; color: #444; letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1px solid #eaeaea; border-radius: 999px; padding: 8px 16px;
  background: #fafafa;
}
body.landing .presence-stats .sep { color: #ccc; }

/* ── World map: SVG container, country paths, hover, tooltip ─────── */
body.landing .world-map-section { padding: 16px 0 40px; }
body.landing .world-map {
  width: 100%; aspect-ratio: 2 / 1;
  border: 1px solid #eaeaea; border-radius: 12px; overflow: hidden;
  background: #fafafa;
  display: flex; align-items: center; justify-content: center;
}
body.landing .world-map svg { width: 100%; height: 100%; display: block; }
body.landing .world-map .ocean { fill: #ffffff; }
body.landing .world-map .country {
  fill: #ececec; stroke: #ffffff; stroke-width: 0.5; vector-effect: non-scaling-stroke;
  transition: filter 0.12s ease;
}
body.landing .world-map .country.country-unmapped { fill: #f4f4f4; }
body.landing .world-map .country.has-data { cursor: pointer; }
body.landing .world-map .country.has-data:hover {
  filter: brightness(0.85);
  stroke: #0a0a0a; stroke-width: 1;
}
body.landing .world-loading { color: #888; font-size: 14px; padding: 32px; }

body.landing .map-tooltip {
  position: fixed; z-index: 100; pointer-events: none;
  background: #0a0a0a; color: #ffffff;
  border-radius: 10px; padding: 12px 14px;
  font-size: 13px; min-width: 200px; max-width: 320px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
body.landing .mt-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
body.landing .mt-count {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; color: #19A974; margin-bottom: 8px;
}
body.landing .mt-companies {
  font-size: 12px; color: #ccc; display: flex; align-items: center;
  gap: 4px; flex-wrap: wrap;
}
body.landing .mt-companies .company-logo {
  background: #ffffff; padding: 1px; border-radius: 3px;
}
body.landing .mt-sep { color: #555; margin: 0 4px; }

/* ── Company pills (paid filter) ─────────────────────── */
body.landing .pills-section { padding: 24px 0 64px; }
body.landing .pills-section .section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
body.landing .paid-tag {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px; color: #138c5d; letter-spacing: 0.08em;
  background: rgba(25, 169, 116, 0.10); padding: 4px 8px; border-radius: 999px;
}
/* Paid subscribers/admins: hide the "Paid feature" chrome entirely (set by auth.js). */
body.is-paid .paid-tag { display: none; }
body.is-paid .paid-banner { display: none !important; }
body.landing .paid-banner {
  margin-bottom: 14px; padding: 12px 16px;
  background: rgba(25, 169, 116, 0.08);
  border: 1px solid rgba(25, 169, 116, 0.25);
  border-radius: 10px; color: #0a0a0a; font-size: 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
body.landing .paid-banner .link {
  color: #19A974; font-weight: 500; border-bottom: 1px solid transparent;
}
body.landing .paid-banner .link:hover { border-bottom-color: #19A974; }

/* `.company-pills` / `.company-pill` are the shared classes used by /presence,
   /browse, and /resume.html. `.presence-pills` is kept as a synonym for
   backwards compat with any existing markup. */
body.landing .company-pills,
body.landing .presence-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
body.landing .company-pill,
body.landing .presence-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ffffff; border: 1px solid #eaeaea;
  padding: 6px 12px; border-radius: 999px;
  font-family: inherit; font-size: 13px; color: #444;
  cursor: pointer; transition: background 0.12s, border-color 0.12s, color 0.12s;
}
body.landing .company-pill:hover,
body.landing .presence-pill:hover { background: #fafafa; border-color: #0a0a0a; color: #0a0a0a; }
body.landing .company-pill.selected,
body.landing .presence-pill.selected {
  background: #0a0a0a; color: #ffffff; border-color: #0a0a0a;
}
body.landing .company-pill.selected:hover,
body.landing .presence-pill.selected:hover { background: #2a2a2a; }
body.landing .pill-count {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; color: #999;
}
body.landing .company-pill.selected .pill-count,
body.landing .presence-pill.selected .pill-count { color: #aaa; }
/* "+ Add a company…" dropdown after the pills — pick any of the full list. */
body.landing .company-add {
  margin-top: 10px; display: block;
  padding: 7px 12px; border: 1px solid #eaeaea; border-radius: 999px;
  font-family: inherit; font-size: 13px; color: #555; background: #fff;
  cursor: pointer; max-width: 260px;
}
body.landing .company-add:hover { border-color: #0a0a0a; }
body.landing .company-add:focus { border-color: #0a0a0a; outline: none; }

/* Wrapper used on /browse + /resume.html (separate from /presence's
   .pills-section which also has its own padding context). */
body.landing .company-pills-row { margin: 16px 0 8px; }
body.landing .company-pills-row .section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px;
}
body.landing .company-pills-row .paid-tag {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px; color: #138c5d; letter-spacing: 0.08em;
  background: rgba(25, 169, 116, 0.10); padding: 4px 8px; border-radius: 999px;
}

/* ── Footer ──────────────────────────────────────────── */
body.landing .lfooter { border-top: 1px solid #eaeaea; padding: 32px 0; background: #fafafa; }
body.landing .footer-row {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
body.landing .footer-row .muted { font-size: 13px; flex: 1; }
body.landing .footer-links { display: flex; gap: 18px; }
body.landing .footer-links a { font-size: 13px; color: #666; }
body.landing .footer-links a:hover { color: #0a0a0a; }

/* ── Upgrade modal (shared paywall CTA, see upgrade-modal.js) ───────── */
body.landing .upgrade-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 10, 10, 0.45);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity .15s ease;
}
body.landing .upgrade-overlay.open { opacity: 1; }
body.landing .upgrade-modal {
  background: #fff; border-radius: 16px; max-width: 420px; width: 100%;
  padding: 28px 26px 22px; position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(8px) scale(.98); transition: transform .15s ease;
}
body.landing .upgrade-overlay.open .upgrade-modal { transform: none; }
body.landing .upgrade-close {
  position: absolute; top: 12px; right: 14px; border: none; background: none;
  font-size: 22px; line-height: 1; color: #999; cursor: pointer;
}
body.landing .upgrade-close:hover { color: #0a0a0a; }
body.landing .upgrade-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #19A974; font-weight: 600;
}
body.landing .upgrade-h { font-size: 22px; margin: 6px 0 6px; }
body.landing .upgrade-sub { color: #555; font-size: 14px; margin: 0 0 14px; line-height: 1.5; }
body.landing .upgrade-feats { list-style: none; padding: 0; margin: 0 0 18px; }
body.landing .upgrade-feats li {
  font-size: 13px; color: #333; padding: 4px 0 4px 22px; position: relative;
}
body.landing .upgrade-feats li::before {
  content: "✓"; position: absolute; left: 0; color: #19A974; font-weight: 700;
}
body.landing .upgrade-actions { display: flex; flex-direction: column; gap: 8px; }
body.landing .upgrade-actions .cta { width: 100%; text-align: center; }
body.landing .upgrade-err { color: #b42318; font-size: 12px; min-height: 16px; margin-top: 6px; }
body.landing .upgrade-later {
  display: block; margin: 8px auto 0; border: none; background: none;
  color: #999; font-size: 13px; cursor: pointer;
}
body.landing .upgrade-later:hover { color: #555; }

/* ── New-matches nav badge (lib/resume-match.js → nav-badge.js) ─────── */
body.landing .nav-badge {
  display: inline-block; margin-left: 5px; min-width: 17px; height: 16px;
  padding: 0 4px; border-radius: 8px; background: #19A974; color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
  vertical-align: 1px;
}
