/* ============================================================
   Shared CSS for all Learn Your Money sub-landing pages.
   Used by: taxes.html, trust-documents.html, college.html,
   retirement.html, estate-planning.html, about.html, press.html
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; line-height: 1.5; color: #1f2430; }
body { background: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ===== Header / Nav ===== */
.site-header { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 12px 0; position: sticky; top: 0; z-index: 100; }
.site-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; line-height: 1; }
.brand-yellow { color: #f7b733; }
.brand-blue { color: #1657c2; }
.brand-tag { font-size: 11px; color: #6b7280; margin-top: 2px; font-weight: 500; letter-spacing: 0.3px; }

.site-nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: #475066; text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.15s; }
.site-nav a:hover { color: #1657c2; }
.site-nav a.cta { background: #1657c2; color: #fff !important; padding: 8px 16px; border-radius: 6px; font-weight: 700; }
.site-nav a.cta:hover { background: #0a3a87; }

/* ===== Hero ===== */
.hero { padding: 60px 0 50px; text-align: center; background: linear-gradient(180deg, #fafbff 0%, #fff 100%); }
.hero-badge { display: inline-block; background: #f3e8ff; color: #7c3aed; font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: 99px; letter-spacing: 0.6px; margin-bottom: 14px; }
.hero-h1 { font-size: 46px; line-height: 1.15; letter-spacing: -1.2px; margin-bottom: 14px; max-width: 880px; margin-left: auto; margin-right: auto; font-weight: 800; }
.hero-h1 em { font-style: normal; color: #1657c2; }
.hero-sub { font-size: 18px; color: #475066; max-width: 720px; margin: 0 auto 28px; line-height: 1.55; }
.hero-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-cta {
  background: #1657c2; color: #fff !important; padding: 14px 26px;
  border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 16px;
  transition: all 0.15s; border: none; cursor: pointer;
}
.hero-cta:hover { background: #0a3a87; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(22,87,194,0.25); }
.hero-cta.secondary { background: transparent; color: #1657c2 !important; border: 1.5px solid #1657c2; }
.hero-cta.secondary:hover { background: #f0f4ff; border-color: #1657c2; }
.hero-finepoints { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; font-size: 13px; color: #6b7280; margin-top: 10px; }
.hero-finepoints span::before { content: '✓ '; color: #1faa64; font-weight: 700; }

/* ===== Sections ===== */
.section { padding: 60px 0; }
.section-alt { background: #f6f7fb; }
.section-dark { background: #1f2430; color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark p { color: #c4ccd6; }
.section-title { font-size: 32px; letter-spacing: -0.6px; text-align: center; margin-bottom: 6px; font-weight: 800; }
.section-sub { font-size: 16px; color: #475066; text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-dark .section-sub { color: #c4ccd6; }

/* ===== Feature Grid ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 30px; }
.feature-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 22px;
  transition: all 0.15s;
}
.feature-card:hover { border-color: #1657c2; box-shadow: 0 6px 20px rgba(0,0,0,0.06); transform: translateY(-2px); }
.feature-icon { font-size: 32px; margin-bottom: 10px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #475066; line-height: 1.55; }

/* ===== Comparison Table ===== */
.compare { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; margin-top: 30px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #f0f0f0; }
.compare thead { background: #f6f7fb; }
.compare th { font-weight: 700; color: #1f2430; }
.compare th.num, .compare td.num { text-align: right; }
.compare tr.us-row { background: #f3e8ff; font-weight: 700; }
.compare tr.us-row td { color: #1f2430; }
.compare tr.us-row .check { color: #1faa64; }
.compare tr.us-row .x { color: #b0341a; }
.compare .check { color: #1faa64; font-weight: 700; font-size: 18px; }
.compare .x { color: #b0341a; font-weight: 700; font-size: 18px; }

/* ===== Pricing Card ===== */
.pricing-section { padding: 60px 0; background: linear-gradient(135deg, #1657c2, #0a3a87); color: #fff; text-align: center; }
.pricing-section h2 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.pricing-section p { opacity: 0.95; }
.pricing-card-inline {
  background: #fff; color: #1f2430; border-radius: 14px; padding: 28px;
  max-width: 480px; margin: 24px auto 0; box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  text-align: left;
}
.pricing-card-inline .price { font-size: 48px; font-weight: 800; color: #7c3aed; line-height: 1; }
.pricing-card-inline .price-sub { font-size: 14px; color: #1faa64; font-weight: 700; margin-bottom: 16px; }
.pricing-card-inline ul { list-style: none; padding: 0; font-size: 14px; line-height: 1.85; color: #475066; margin-bottom: 18px; }
.pricing-card-inline .cta-final {
  display: block; text-align: center; background: #7c3aed; color: #fff !important;
  padding: 14px; border-radius: 8px; font-weight: 700; text-decoration: none;
}

/* ===== FAQ teaser ===== */
.faq-teaser details { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px 18px; margin-bottom: 8px; }
.faq-teaser summary { cursor: pointer; font-weight: 600; color: #1f2430; }
.faq-teaser details > div { margin-top: 10px; color: #475066; font-size: 14px; line-height: 1.65; }

/* ===== Footer ===== */
.site-footer { background: #1f2430; color: #c4ccd6; padding: 50px 0 28px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #c4ccd6; text-decoration: none; display: block; padding: 12px 0; line-height: 20px; font-size: 14px; }
.site-footer a:hover { color: #f7b733; }
.footer-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-disclaimer {
  font-size: 11px; color: #8a93a0; line-height: 1.7;
  padding: 16px; background: rgba(247,183,51,0.1); border-left: 3px solid #f7b733;
  border-radius: 6px; margin: 16px 0;
}
.footer-legal { font-size: 11px; color: #a8b0bd; line-height: 1.7; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }

/* ===== Disclosure strip (top of every page) ===== */
.legal-strip {
  background: #1f2430; color: #c4ccd6; font-size: 11px; text-align: center; padding: 8px 16px;
}
.legal-strip strong { color: #f7b733; }

/* ===== Holiday/launch banner slots (filled by JS) ===== */
#holiday-banner-slot, #launch-banner-slot { /* dynamic */ }

/* ===== Mobile ===== */
@media (max-width: 720px) {
  .hero-h1 { font-size: 32px; letter-spacing: -0.6px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 24px; }
  .footer-row { grid-template-columns: 1fr 1fr; }
  .site-nav { gap: 12px; font-size: 13px; }
  .site-nav a:not(.cta) { display: none; }
  .site-nav a.cta { display: inline-block; }
}
