/* ============================================================
   HomeHistory.org — Shared Styles
   Design reference: utilitarian trust-first aesthetic
   ============================================================ */

:root {
  --blue: #1a6fc4;
  --blue-dark: #1459a0;
  --blue-light: #e8f0fb;
  --green: #006f2e;
  --green-dark: #00561f;
  --green-light: #e6f4ec;
  --red: #c0392b;
  --red-light: #fdf0ee;
  --amber: #b45309;
  --amber-light: #fef3c7;
  --text: #1a1a1a;
  --text-mid: #444;
  --text-light: #666;
  --border: #d4d4d4;
  --bg-gray: #f4f4f4;
  --bg-white: #ffffff;
  --max-w: 1080px;
  --radius: 5px;
  --shadow: 0 2px 8px rgba(0,0,0,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.5;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ── Layout helpers ───────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 64px 0; }
.section--gray { background: var(--bg-gray); }
.section--blue { background: var(--blue); color: #fff; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  background: var(--blue);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 24px;
}
.header-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
  white-space: nowrap;
}
.header-logo span { opacity: .75; font-weight: 400; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav a {
  color: rgba(255,255,255,.9);
  font-size: .88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background .15s;
}
.header-nav a:hover { background: rgba(255,255,255,.15); text-decoration: none; }
.header-nav a.active { background: rgba(255,255,255,.2); }
.header-cta {
  background: #fff;
  color: var(--blue) !important;
  font-weight: 700 !important;
  border-radius: var(--radius);
  padding: 7px 16px !important;
  white-space: nowrap;
}
.header-cta:hover { background: #edf2fb !important; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: filter .15s, transform .1s;
  line-height: 1.3;
  white-space: nowrap;
}
.btn:hover { filter: brightness(.93); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-blue  { background: var(--blue);  color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-light); filter: none; }
.btn-lg  { padding: 14px 30px; font-size: 1.05rem; }
.btn-sm  { padding: 8px 16px; font-size: .85rem; }
.btn-full { display: block; width: 100%; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--bg-white);
  padding: 72px 0 64px;
  text-align: center;
}
.hero-kicker {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto 18px;
  letter-spacing: -.5px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-proof {
  margin-top: 32px;
  font-size: .85rem;
  color: var(--text-light);
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.hero-proof strong { color: var(--text-mid); }

/* ── Report card mock ─────────────────────────────────────── */
.report-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 540px;
  width: 100%;
}
.report-card-header {
  background: var(--blue);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.report-card-header .report-logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.2px;
}
.report-card-header .report-address {
  font-size: .82rem;
  opacity: .85;
  font-weight: 400;
}
.report-score-badge {
  margin-left: auto;
  background: rgba(255,255,255,.15);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: .8rem;
  font-weight: 700;
}
.report-card-body { padding: 16px 20px; }
.report-section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
  margin-top: 18px;
}
.report-section-label:first-child { margin-top: 0; }
.report-rows { display: flex; flex-direction: column; gap: 7px; }
.report-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--bg-gray);
}
.report-row.flag-red    { background: var(--red-light); }
.report-row.flag-amber  { background: var(--amber-light); }
.report-row.flag-green  { background: var(--green-light); }
.report-row .icon { font-size: 1rem; flex-shrink: 0; width: 22px; text-align: center; }
.report-row .label { flex: 1; font-weight: 500; }
.report-row .value { font-size: .8rem; color: var(--text-light); }
.report-row .badge {
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.badge-red    { background: var(--red);   color: #fff; }
.badge-amber  { background: var(--amber); color: #fff; }
.badge-green  { background: var(--green); color: #fff; }
.badge-blue   { background: var(--blue);  color: #fff; }
.badge-gray   { background: #888; color: #fff; }

.report-card-footer {
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: var(--text-light);
}
.report-card-footer strong { color: var(--text-mid); }

/* ── Two-column section ───────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse { direction: ltr; }
}
.split-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.4px;
  margin-bottom: 16px;
}
.split-text p {
  color: var(--text-mid);
  font-size: .97rem;
  margin-bottom: 20px;
  line-height: 1.65;
}
.split-text .stat-inline {
  display: inline-block;
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  padding: 8px 14px;
  border-radius: 0 4px 4px 0;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 24px;
}

/* ── Agency logo strip ────────────────────────────────────── */
.agency-strip {
  padding: 24px 0;
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.agency-strip-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 16px;
}
.agency-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: center;
  align-items: center;
}
.agency-logos img {
  height: 30px;
  width: auto;
  filter: grayscale(100%) opacity(0.45);
  transition: filter .2s;
}
.agency-logos img:hover {
  filter: grayscale(0%) opacity(1);
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 820px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}
.pricing-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .2s;
}
.pricing-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-name { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 6px;
}
.pricing-price sup { font-size: 1rem; font-weight: 600; vertical-align: super; }
.pricing-price sub { font-size: .9rem; font-weight: 400; color: var(--text-light); }
.pricing-desc { font-size: .85rem; color: var(--text-mid); margin-bottom: 20px; }
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-features li {
  font-size: .87rem;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.pricing-features li::before {
  /* replaced by inline <i data-lucide="check" class="pricing-check"> */
  display: none;
}
.pricing-note {
  font-size: .78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
}
.early-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.1;
  background: var(--amber-light);
  color: var(--amber);
  border: 1px solid #f6d860;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .04em;
  margin-bottom: 12px;
}

/* ── CTA section ──────────────────────────────────────────── */
.cta-section {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.cta-section p {
  font-size: 1rem;
  opacity: .85;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .btn {
  background: #fff;
  color: var(--blue);
  font-weight: 800;
}
.cta-section .btn:hover { background: #edf2fb; }

/* ── Registration form ────────────────────────────────────── */
.form-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 36px 40px;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
@media (max-width: 680px) {
  .form-card { padding: 24px 20px; }
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: .87rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-row .required { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-white);
  transition: border-color .15s;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,111,196,.12);
}
.form-control.error { border-color: var(--red); }
.form-row .hint { font-size: .78rem; color: var(--text-light); margin-top: 5px; }
.form-row .field-error { font-size: .78rem; color: var(--red); margin-top: 4px; display: none; }
.form-row .field-error.visible { display: block; }
.form-submit { margin-top: 28px; }
.form-submit .btn { font-size: 1rem; }
.form-status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 7px;
  font-size: .92rem;
  display: none;
}
.form-status.success {
  display: block;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid #a7d7b2;
}
.form-status.error-state {
  display: block;
  background: var(--red-light);
  color: var(--red);
  border: 1px solid #f5c6c2;
}

/* ── Page hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--blue);
  color: #fff;
  padding: 52px 0 48px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.4px;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1rem;
  opacity: .85;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #111;
  color: rgba(255,255,255,.65);
  padding: 40px 0 28px;
  font-size: .82rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-brand .footer-logo {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.footer-brand p { max-width: 260px; line-height: 1.55; }
.footer-col h4 { color: rgba(255,255,255,.9); font-size: .82rem; font-weight: 700; margin-bottom: 12px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-col ul a { color: rgba(255,255,255,.6); }
.footer-col ul a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .77rem;
}
.footer-made-with {
  color: rgba(255,255,255,.4);
  font-style: italic;
}

/* ── Lucide icons ─────────────────────────────────────────── */
/* Lucide replaces <i data-lucide="…"> with <svg>. Size via class. */
.icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  vertical-align: middle;
  flex-shrink: 0;
}
/* report-row .icon wraps the svg in a fixed-width cell */
.report-row .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.source-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  flex-shrink: 0;
}
/* Colour the icon to match its parent row's meaning */
.flag-red    .icon svg { stroke: var(--red); }
.flag-amber  .icon svg { stroke: var(--amber); }
.flag-green  .icon svg { stroke: var(--green); }
.source-icon svg { stroke: var(--blue); }

/* success-icon used on register.html success state */
.success-icon svg {
  width: 52px;
  height: 52px;
  stroke: var(--green);
  stroke-width: 1.5;
}

/* Lucide check icons inside pricing feature lists */
.pricing-check svg {
  width: 15px;
  height: 15px;
  stroke: var(--green);
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Lucide icon inside the pricing status badge */
.badge-zap {
  display: inline-flex;
  align-items: center;
}
.badge-zap svg {
  width: 11px;
  height: 11px;
  stroke: var(--amber);
  stroke-width: 2.2;
  display: block;
}

/* comparison strip inline icons */
.strip-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
  flex-shrink: 0;
}
.strip-icon--gray svg { stroke: var(--text-mid); }
.strip-icon--green svg { stroke: var(--green); }

/* ── Hero inline email form ───────────────────────────────── */
.hero-form { max-width: 460px; margin: 0 auto; }
.hero-form-row {
  display: flex;
  gap: 8px;
}
.hero-email-input {
  flex: 1;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-family: inherit;
  min-width: 0;
  transition: border-color .15s;
}
.hero-email-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,111,196,.12);
}
.hero-form-note {
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 10px;
  text-align: center;
}
.hero-form .form-status { margin-top: 12px; }
.hero-form .form-status.success {
  display: block;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid #a7d7b2;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: .9rem;
  text-align: center;
}
.hero-form .form-status.error-state {
  display: block;
  background: var(--red-light);
  color: var(--red);
  border: 1px solid #f5c6c2;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: .9rem;
}
@media (max-width: 480px) {
  .hero-form-row { flex-direction: column; }
}

/* ── Role selector buttons ────────────────────────────────── */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}
@media (max-width: 500px) {
  .role-grid { grid-template-columns: repeat(2, 1fr); }
}
.role-btn {
  padding: 12px 8px;
  border: 2px solid var(--border);
  border-radius: 7px;
  background: var(--bg-white);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  color: var(--text-mid);
  font-family: inherit;
  text-align: center;
  line-height: 1.3;
}
.role-btn:hover { border-color: var(--blue); color: var(--blue); }
.role-btn.selected {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* ── Misc ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-sub {
  font-size: .97rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.6;
}
.divider { height: 1px; background: var(--border); margin: 0; }
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .04em;
}
.tag-blue  { background: var(--blue-light); color: var(--blue-dark); }
.tag-green { background: var(--green-light); color: var(--green); }

/* ── Blog layout ──────────────────────────────────────────── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
}
.article-body h2 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.3px;
  margin: 40px 0 12px;
  line-height: 1.25;
  color: var(--text);
}
.article-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--text);
}
.article-body p {
  font-size: .97rem;
  line-height: 1.72;
  color: var(--text-mid);
  margin-bottom: 18px;
}
.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
.article-body li {
  font-size: .96rem;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.article-body strong { color: var(--text); }
.article-body a { color: var(--blue); }

/* short answer box */
.answer-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 24px 0 32px;
  font-size: .97rem;
  line-height: 1.68;
  color: var(--blue-dark);
}
.answer-box strong { color: var(--blue-dark); }

/* callout boxes */
.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 28px 0;
  font-size: .92rem;
  line-height: 1.62;
}
.callout--warn {
  background: var(--amber-light);
  border-left: 4px solid var(--amber);
  color: #7a3f00;
}
.callout--risk {
  background: var(--red-light);
  border-left: 4px solid var(--red);
  color: #7a1a12;
}
.callout--tip {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  color: #004d1a;
}
.callout-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.callout-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  flex-shrink: 0;
}
.callout--warn  .callout-icon svg { stroke: var(--amber); }
.callout--risk  .callout-icon svg { stroke: var(--red); }
.callout--tip   .callout-icon svg { stroke: var(--green); }
.callout strong { font-weight: 700; display: block; margin-bottom: 4px; }

/* key takeaways */
.takeaways {
  background: var(--bg-gray);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0;
}
.takeaways-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-light);
  margin-bottom: 12px;
}
.takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.takeaways ul li {
  font-size: .92rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  margin: 0;
  line-height: 1.55;
}
.takeaways ul li::before {
  content: "→";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  padding-left: 22px;
  font-size: .94rem;
  line-height: 1.58;
  color: var(--text-mid);
  margin: 0;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--green);
  font-weight: 700;
  font-size: .9rem;
  line-height: 1;
}

/* sources list */
.sources-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.sources-list li {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 14px;
  font-size: .87rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.45;
}
.sources-list li strong {
  display: block;
  color: var(--text);
  font-size: .88rem;
  margin-bottom: 2px;
}

/* inline CTA strip */
.inline-cta {
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  padding: 24px 28px;
  margin: 36px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.inline-cta p {
  font-size: .97rem;
  color: rgba(255,255,255,.9) !important;
  margin: 0 !important;
  line-height: 1.45;
  font-weight: 600;
}
.inline-cta .btn {
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  flex-shrink: 0;
}
.inline-cta .btn:hover { background: #edf2fb; }

/* breadcrumb */
.breadcrumb {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 20px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--blue); text-decoration: none; }
.breadcrumb-sep { color: var(--border); }

/* article meta */
.article-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.article-meta .meta-tag {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: .74rem;
}

/* article H1 */
.article-h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.4px;
  margin-bottom: 8px;
  color: var(--text);
}

/* blog index grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.blog-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); text-decoration: none; }
.blog-card-tag {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue-dark);
  background: var(--blue-light);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  width: fit-content;
}
.blog-card h3 {
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.38;
  margin: 0;
  color: var(--text);
}
.blog-card p {
  font-size: .86rem;
  color: var(--text-mid);
  line-height: 1.62;
  margin: 0;
  flex: 1;
}
.blog-card-footer {
  font-size: .78rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 4px;
}
.blog-card-read { font-size: .8rem; font-weight: 600; color: var(--blue); }

/* related posts */
.related-posts {
  background: var(--bg-gray);
  border-radius: 10px;
  padding: 24px;
  margin: 40px 0;
}
.related-posts h3 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  margin: 0 0 16px;
}
.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-list li a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.45;
}
.related-list li a:hover { text-decoration: underline; }

/* legal disclaimer */
.legal-note {
  font-size: .78rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 40px;
  line-height: 1.6;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .header-nav a:not(.header-cta):not(.active) { display: none; }
  .header-cta { padding: 7px 10px !important; font-size: 0 !important; }
  .header-cta::after { content: "Report"; font-size: .85rem; font-weight: 700; }
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .pricing-card { padding: 24px 20px; }
  .form-card { padding: 24px 20px; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .article-body h2 { font-size: 1.18rem; }
  .sources-list { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── Spinner wheel ────────────────────────────────────────── */
.hero-lucky-btn {
  display: inline-block;
  margin-top: 20px;
  font-size: .9rem;
}
/* Inline text-link variant (homepage form note — no btn class) */
p .hero-lucky-btn {
  display: inline;
  margin-top: 0;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
p .hero-lucky-btn:hover { opacity: .75; filter: none; text-decoration: underline; }
.page-hero .hero-lucky-btn {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.page-hero .hero-lucky-btn:hover { background: rgba(255,255,255,.15); filter: none; }
.spinner-section { text-align: center; }
.spinner-headline { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.spinner-sub { font-size: .95rem; color: var(--text-mid); margin-bottom: 32px; }

.spinner-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.spinner-wrap {
  position: relative;
  display: inline-block;
  padding-top: 18px;
  line-height: 0;
}

/* downward-pointing triangle that sits above the wheel rim */
.spinner-pointer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 20px solid var(--text);
  z-index: 2;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.22));
}

#spinner-wheel {
  display: block;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0,0,0,.14);
  /* transition applied by JS after first interaction */
}

.spinner-btn { min-width: 164px; font-size: 1rem; }
.spinner-btn:disabled { opacity: .6; cursor: not-allowed; }

.spinner-result {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
  background: var(--green-light);
  border: 1px solid #a7d7b8;
  border-radius: 10px;
  padding: 24px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.spinner-result.visible {
  opacity: 1;
  visibility: visible;
}
.spinner-result-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.spinner-result-body {
  font-size: .9rem;
  color: var(--text-mid);
  margin-bottom: 18px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .spinner-headline { font-size: 1.3rem; }
  .spinner-result { padding: 20px; }
}
