/* ================================
   MyBudgetBolt — Core Styles
   Calm. Clear. Trustworthy.
================================ */

/* -------- Base Reset -------- */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  background: #f6f7f8;
  color: #1f2933;
  line-height: 1.7;
}

/* -------- Layout -------- */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
}

/* -------- Typography -------- */
h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: 12px;
  font-weight: 600;
}

h2 {
  font-size: 1.4rem;
  margin-top: 42px;
  margin-bottom: 12px;
  font-weight: 600;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

p {
  margin-bottom: 16px;
  color: #374151;
}

ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 8px;
}

/* -------- Links -------- */
a {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* -------- Disclosure -------- */
.disclosure {
  font-size: 0.85rem;
  color: #6b7280;
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 6px;
  border-left: 4px solid #d1d5db;
  margin-bottom: 24px;
}

/* -------- Read Time -------- */
.read-time {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 24px;
}

/* -------- Bolt Tip -------- */
.bolt-tip {
  background: #ffffff;
  padding: 16px;
  margin: 28px 0;
  border-radius: 8px;
  border-left: 4px solid #111827;
  font-size: 0.95rem;
}

/* -------- Product / Tool Shoutout -------- */
.product-shoutout {
  background: #f9fafb;
  padding: 16px;
  border-radius: 8px;
  margin: 24px 0;
  font-size: 0.95rem;
  border: 1px solid #e5e7eb;
}

/* -------- Newsletter Box -------- */
.newsletter-box {
  background: #ffffff;
  margin-top: 48px;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.newsletter-box h3 {
  margin-top: 0;
}

.newsletter-box p {
  margin-bottom: 16px;
}

.newsletter-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-box input[type="email"] {
  padding: 12px;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}

.newsletter-box button {
  padding: 12px;
  font-size: 0.95rem;
  background: #111827;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.newsletter-box button:hover {
  opacity: 0.92;
}

/* -------- Article Footer -------- */
article {
  background: transparent;
}

/* -------- Mobile Tweaks -------- */
@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .container {
    padding: 18px;
  }
}
/* -------- Calculator -------- */
.calculator {
  background: #ffffff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-top: 32px;
}

.calculator label {
  display: block;
  margin-top: 16px;
  font-weight: 500;
}

.calculator input,
.calculator select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}

.calculator button {
  margin-top: 24px;
  padding: 12px 18px;
  background: #111827;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
}

.result {
  margin-top: 32px;
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  display: none;
}

.result strong {
  font-size: 1.2rem;
}

.affiliate {
  margin-top: 32px;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  border-left: 4px solid #111827;
}
/* -------- Legal Consent Overlay -------- */
.legal-consent {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.legal-consent.hidden {
  display: none;
}

.legal-box {
  background: #ffffff;
  max-width: 420px;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: left;
}

.legal-box h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.legal-box p {
  font-size: 0.9rem;
  color: #374151;
}

.legal-box a {
  color: #111827;
  text-decoration: underline;
}

.consent-check {
  display: flex;
  align-items: center;
  margin-top: 16px;
  font-size: 0.9rem;
}

.consent-check input {
  margin-right: 8px;
}

.legal-box button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  background: #111827;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.5;
}

.legal-box button.enabled {
  opacity: 1;
}
/* ===== Header ===== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #111827;
}

.logo {
  height: 38px;
  width: auto;
  margin-right: 10px;
}

.site-nav a {
  margin-left: 22px;
  font-size: 0.95rem;
  color: #374151;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}
/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid #e5e7eb;
  margin-top: 80px;
  padding: 40px 0;
  background: #ffffff;
}

.footer-inner {
  max-width: 760px;
}

.footer-disclosure p {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 10px;
}

.footer-meta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #374151;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}
/* ===== Fed Rate Box ===== */
.fed-rate-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  margin: 32px 0;
}

.fed-label {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 6px;
}

.fed-rate {
  font-size: 2.2rem;
  font-weight: 600;
  color: #111827;
  margin: 4px 0;
}

.fed-meta {
  font-size: 0.8rem;
  color: #6b7280;
}
.calculator button {
  margin-top: 24px;
}