/* Exit Signal - Seller C. System fonts only, no external font or image calls. */

:root {
  --text: #1a1f2b;
  --muted: #4a5262;
  --accent: #0b4f8a;
  --accent-text-on: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --border: #b7c3d3;
  --focus: #7a3e00;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2 { line-height: 1.25; margin: 0 0 1rem; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3.5vw, 1.75rem); }

p { margin: 0 0 1rem; }

a { color: var(--accent); overflow-wrap: anywhere; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  background: var(--bg);
  color: var(--text);
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--text);
  z-index: 10;
}
.skip-link:focus { top: 0.5rem; }

.site-header { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.brand { margin: 0; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }

section { padding: 2.5rem 0; }
section + section { border-top: 1px solid var(--border); }

.hero { padding: 2.5rem 0; background: var(--bg-alt); }
.hero .lead { font-size: 1.2rem; color: var(--text); }
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero .cta { margin-bottom: 0.75rem; }
.trust-line { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* Alternating section background (hero and .alt sections). */
.alt { background: var(--bg-alt); }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text-on);
  padding: 0.85rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  min-height: 2.75rem;
}
.button:hover { text-decoration: underline; }

.buyer-points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.buyer-points li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.9rem 1rem;
}
.buyer-points strong { display: block; margin-bottom: 0.2rem; }
@media (min-width: 40rem) {
  .buyer-points { grid-template-columns: 1fr 1fr; }
}

.valuation:focus { outline: none; }

.valuation-disclosure {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}
.valuation-disclosure p { margin: 0 0 0.35rem; }
.valuation-disclosure p:last-child { margin-bottom: 0; }
.notice-disclosure { font-weight: 500; color: var(--text); }

.noscript-note { padding: 1rem; border: 2px solid var(--text); background: var(--bg); }

#ef-vt-embed { max-width: 100%; overflow-x: auto; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  font-size: 0.95rem;
  color: var(--text);
}
.footer-links { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

.legal h1 { margin-top: 1.5rem; }
.legal h2 { margin-top: 2rem; }
.legal section { padding: 0; border: 0; }
.legal ul { padding-left: 1.25rem; }
.back-link { display: inline-block; margin-top: 1rem; }


/* ==========================================================================
   COMPLETE V1 SITE SHELL — shared components (appended; rules above unchanged)
   System fonts only. No external calls. No animation beyond existing smooth scroll.
   ========================================================================== */

.wrap-wide { max-width: 72rem; }

/* ---------- Global header ---------- */
.site-header { position: relative; background: var(--bg); }
.header-inner { display: flex; align-items: center; gap: 1rem; }
a.brand { color: var(--text); text-decoration: none; margin-right: auto; }
a.brand:hover { text-decoration: underline; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }
.primary-nav a,
.mobile-menu a { color: var(--text); text-decoration: none; font-weight: 600; }
.primary-nav a:hover,
.mobile-menu a:hover { text-decoration: underline; }
.primary-nav a[aria-current="page"],
.mobile-menu a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 0.3em; }

.header-cta { padding: 0.55rem 0.9rem; font-size: 0.9rem; min-height: 2.75rem; display: inline-flex; align-items: center; }

.mobile-menu { display: none; }
.mobile-menu > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  border: 2px solid var(--text);
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu > summary::after { content: " +"; white-space: pre; }
.mobile-menu[open] > summary::after { content: " \2212"; }
.mobile-menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.25rem;
}
.mobile-menu-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu-panel li a { display: block; padding: 0.6rem 0; min-height: 2.75rem; }
.mobile-menu-panel .menu-secondary { border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 0.5rem; }
.mobile-menu-panel .menu-secondary a { font-weight: 400; }
.mobile-menu-panel .button { color: var(--accent-text-on); margin-bottom: 0.75rem; }

@media (max-width: 63.99rem) {
  .primary-nav, .header-cta { display: none; }
  .mobile-menu { display: block; }
}

/* ---------- Global footer ---------- */
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.footer-title { font-weight: 700; font-size: 1.1rem; margin: 0 0 0.35rem; }
.footer-heading { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 0.4rem; color: var(--muted); }
.footer-grid .footer-links { flex-direction: column; gap: 0.35rem; margin: 0; }
.footer-disclosure { border-top: 1px solid var(--border); padding-top: 1rem; }
@media (min-width: 40rem) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ---------- Generic content blocks ---------- */
.page-intro { background: var(--bg-alt); }
.page-intro .lead { font-size: 1.2rem; }
.content h3, .card h3 { font-size: 1.15rem; line-height: 1.3; margin: 1.5rem 0 0.5rem; }
.card h3 { margin-top: 0; }
.content ul, .content ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.content li { margin-bottom: 0.35rem; }
.button-secondary-link { background: var(--bg); color: var(--accent); border: 2px solid var(--accent); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0 0; }
.small-print { color: var(--muted); font-size: 0.9rem; }

.card-grid {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.9rem 1rem;
}
.card p:last-child { margin-bottom: 0; }
.card-label { display: block; font-weight: 700; margin-bottom: 0.2rem; }
@media (min-width: 40rem) {
  .card-grid.two-up { grid-template-columns: 1fr 1fr; }
}
ol.card-grid { counter-reset: step; }
ol.card-grid > li { counter-increment: step; }
ol.card-grid > li .card-label::before { content: counter(step) ". "; }

.empty-state {
  border: 2px dashed var(--border);
  border-radius: 6px;
  padding: 1rem;
  background: var(--bg);
}
.empty-state p:last-child { margin-bottom: 0; }

.jump-nav ul { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.jump-nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding: 0.4rem 0.8rem; border: 1px solid var(--border); border-radius: 6px;
  background: var(--bg); text-decoration: none; font-weight: 600;
}
.jump-nav a:hover { text-decoration: underline; }

.topic-section { scroll-margin-top: 1rem; }
.topic-section:focus { outline: none; }
.meta-list { list-style: none; padding: 0; margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }
.meta-list li { display: inline; }
.meta-list li + li::before { content: " \00B7 "; }

/* Content card (blog index / related content). One markup contract for automation. */
.content-card .content-card-topic { font-size: 0.85rem; font-weight: 700; color: var(--accent); margin: 0 0 0.25rem; }
.content-card h3 { margin: 0 0 0.35rem; }
.content-card .content-card-meta { font-size: 0.9rem; color: var(--muted); margin: 0.5rem 0 0; }

/* Newsletter shell (no form). */
.signup-shell { border: 1px solid var(--border); border-radius: 6px; padding: 1.25rem; background: var(--bg); }
.signup-shell h2 { margin-bottom: 0.5rem; }

/* ---------- Article template ---------- */
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.95rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--muted); }
.article-body { max-width: 40rem; }
.direct-answer { border-left: 4px solid var(--accent); padding: 0.5rem 0 0.5rem 1rem; font-size: 1.1rem; }
.callout { border: 2px solid var(--text); border-radius: 6px; padding: 0.75rem 1rem; margin: 0 0 1rem; }
.callout-label { font-weight: 700; display: block; margin-bottom: 0.25rem; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { padding-left: 1.75rem; position: relative; }
.checklist li::before { content: "\2610"; position: absolute; left: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 0 0 1rem; border: 1px solid var(--border); border-radius: 6px; }
.table-scroll:focus-visible { outline: 3px solid var(--focus); }
.content table { border-collapse: collapse; width: 100%; min-width: 28rem; font-size: 0.95rem; }
.content th, .content td { text-align: left; padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.content thead th { background: var(--bg-alt); }
.placeholder { background: #fff4d6; outline: 1px dashed var(--focus); padding: 0 0.2em; }
.button-placeholder { cursor: default; opacity: 1; }

/* Contextual compensation disclosure (reusable; always placed inside its monetized component). */
.contextual-disclosure { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 0.6rem; margin: 1rem 0 0; }

/* Optional recommendation module (fully removable). */
.recommendation { border: 2px solid var(--accent); border-radius: 6px; padding: 1rem 1.1rem; margin: 1.5rem 0; background: var(--bg); }
.recommendation-kicker { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.5rem; }
.recommendation dl { margin: 0 0 1rem; }
.recommendation dt { font-weight: 700; margin-top: 0.6rem; }
.recommendation dd { margin: 0.1rem 0 0; }

/* Inactive future-component slot (buyer marketplace / partner disclosure). Renders nothing visible. */
.future-slot[hidden] { display: none !important; }

/* ---------- 404 ---------- */
.not-found { padding: 4rem 0; }

/* Screen-reader-only text (same definition quiz.html already uses locally). */
.visually-hidden-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
