:root { --max: 980px; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; line-height: 1.5; }
.container { max-width: var(--max); margin: 0 auto; padding: 16px; }
.site-header { border-bottom: 1px solid #e6e6e6; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 700; text-decoration: none; color: inherit; }
.top-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.top-nav a { text-decoration: none; color: inherit; padding: 6px 8px; border-radius: 8px; }
.top-nav a:hover { background: #f3f3f3; }
.market-nav { border-bottom: 1px solid #eee; margin: 0; padding: 8px 16px; list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.market-nav a { text-decoration: none; }
.hero { padding: 24px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.card { border: 1px solid #eee; border-radius: 16px; padding: 14px; }
.badge { display: inline-block; font-size: 12px; padding: 2px 8px; border: 1px solid #ddd; border-radius: 999px; }
.footer-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; }
.listings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.listing-card, .sponsor-card { border: 1px solid #eee; border-radius: 16px; padding: 12px; }
.badges { display: flex; gap: 8px; margin-bottom: 8px; }
.badge-verified { }
.badge-sponsored { }
.notice { padding: 12px; border: 1px solid #eee; border-radius: 16px; background: #fafafa; }

/* --- Enterprise polish (safe additions) --- */
h1, h2, h3 { line-height: 1.2; margin: 0.4em 0 0.2em; }
p { margin: 0.6em 0; }
a { color: inherit; }
a.button, .button { display: inline-block; padding: 10px 14px; border: 1px solid #ddd; border-radius: 12px; text-decoration: none; }
a.button:hover, .button:hover { background: #f3f3f3; }
.kicker { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.section { padding: 14px 0; }
.hr { height: 1px; background: #eee; margin: 16px 0; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border: 1px solid #eee; padding: 10px; vertical-align: top; text-align: left; }
.table th { background: #fafafa; font-weight: 600; }
.sponsor-stack { margin: 12px 0; }
.sponsor-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.price-card { border: 1px solid #eee; border-radius: 16px; padding: 14px; }
.price { font-size: 22px; font-weight: 700; margin-top: 6px; }
.muted { opacity: .75; }

/* Markets list: multi-column to avoid endless scroll */
.markets-status-list { columns: 2; column-gap: 24px; padding-left: 18px; }
@media (min-width: 900px) { .markets-status-list { columns: 3; } }
.markets-status-list li { break-inside: avoid; padding: 2px 0; }

/* FAQ accordion (closed by default) */
.faq-accordion { display: grid; gap: 10px; }
.faq-item { border: 1px solid #eee; border-radius: 16px; padding: 0; overflow: hidden; background: #fff; }
.faq-item > summary { cursor: pointer; padding: 12px 14px; list-style: none; font-weight: 650; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item[open] > summary { border-bottom: 1px solid #eee; background: #fafafa; }
.faq-answer { padding: 10px 14px 14px; }

/* ===== Footer (locked markup: <footer> + .footer-meta + .footer-nav) ===== */
footer{
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  background: #0b1f3a;          /* dark blue */
  color: rgba(255,255,255,0.88);
  font-size: 0.85rem;           /* global footer shrink */
  line-height: 1.35;
}

footer p{
  margin: 0.35rem 0;            /* tighten vertical space */
  font-size: 0.82rem;           /* make disclaimer paragraphs smaller */
  color: rgba(255,255,255,0.82);
}

footer .footer-meta{
  margin-top: 0.75rem;
  font-size: 0.78rem;           /* smaller copyright line */
  color: rgba(255,255,255,0.75);
}

footer .footer-nav{
  margin-top: 0.5rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

footer .footer-nav a{
  color: rgba(255,255,255,0.92);
  text-decoration: underline;   /* make them look like links */
  text-underline-offset: 3px;
  font-weight: 600;
  font-size: 0.82rem;
}

footer .footer-nav a:hover{
  color: #ffffff;
}

/* ===== One-line hero micro-note ("If you only read one thing") ===== */
.callout{
  margin: 0.5rem 0 0.75rem;
  padding: 0;
  border: none;
  background: transparent;
}

.callout strong{
  font-weight: 400;          /* remove headline emphasis */
  font-style: italic;
}

.callout p{
  display: inline;           /* force single line */
  font-size: 0.78rem;        /* match “independent educational publisher” */
  font-style: italic;
  color: #6b7280;            /* soft neutral gray */
  line-height: 1.25;
  white-space: nowrap;       /* prevent wrapping */
}

/* ===== Ad block micro styling (very low visual priority) ===== */
.ad-block,
.advertising,
.ad,
[class*="ad-"]{
  font-size: 0.68rem;          /* ultra subtle */
  line-height: 1.25;
}

.ad-block *,
.advertising *,
.ad *,
[class*="ad-"] *{
  font-weight: 400;            /* remove bold */
  color: #9ca3af;              /* soft gray */
}

/* De-emphasize "Advertise here" */
.ad-block strong,
.advertising strong,
.ad strong{
  font-weight: 400;
  text-transform: none;
}

/* Extra subtle disclosure line */
.ad-block .disclosure,
.ad-block .ad-sub,
.advertising .disclosure{
  font-size: 0.68rem;
  opacity: 0.65;
}
