/* Your Senior Savings – local styles (CDN-ready, no Convertri) */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background: #f1f2f6;
}
/* Header: full width white, separated from article */
.page-header {
  width: 100%;
  background: #fff;
  padding: 16px 20px 0;
  margin-bottom: 0;
}
.header-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.page-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #072c50;
  font-weight: 700;
  font-size: 1rem;
}
.page-header .logo:hover {
  color: #072c50;
}
.logo-icon {
  display: block;
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
.logo-text {
  white-space: nowrap;
}
.page-header .date {
  font-size: 14px;
  color: #999;
  margin: 0;
  flex: 1;
  text-align: center;
  min-width: 0;
}
.badge-header {
  font-size: 14px;
  color: #555;
  margin: 0;
  flex-shrink: 0;
}
.header-divider {
  max-width: 720px;
  margin: 12px auto 0;
  border: 0;
  border-top: 1px solid #e0e0e0;
}

/* Article container: centered white box */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,.06);
}

/* Title before hero – large and bold */
.headline {
  font-family: 'Lato', Arial, sans-serif;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 700;
  margin: 0;
  padding: 28px 20px 20px;
  color: rgba(0,0,0,.87);
  line-height: 1.2;
  text-align: center;
}

/* Hero */
.hero {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #f1f2f6;
}
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

/* Main content inside white box */
.page-body {
  padding: 24px 20px 32px;
}
.cta-block {
  text-align: center;
  margin: 24px 0;
}
.cta-block .btn {
  display: block;
  width: 100%;
  padding: 16px 24px;
  min-height: 52px;
  background: #21ba45;
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
}
.cta-block .btn:hover {
  background: #1a9a38;
  color: #fff;
}
.cta-block-bottom {
  margin-top: 28px;
  margin-bottom: 0;
}
.content-block {
  margin-bottom: 20px;
}
.content-block p {
  margin: 0 0 12px;
  color: #333;
  font-size: 17px;
  line-height: 1.55;
}
.content-block p.intro-line {
  font-weight: 700;
  font-size: 1.05em;
}
.content-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 20px 0 10px;
  color: #111;
  line-height: 1.3;
}
.content-block a {
  color: #2969b0;
  text-decoration: underline;
}
.content-block a:hover {
  color: #1a4d82;
}
.content-block ul {
  margin: 12px 0;
  padding-left: 32px;
  list-style: disc;
}
.content-block li {
  margin-bottom: 10px;
}
.content-block li::marker {
  font-size: 1.35em;
  color: #000;
}
.content-block strong {
  font-weight: 700;
}
.content-block sup {
  font-size: 0.75em;
}
.step2-heading {
  margin-bottom: 20px !important;
}

/* Step 2 age cards */
.age-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 0;
}
.age-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow .2s, border-color .2s;
}
.age-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  border-color: #ccc;
}
.age-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.age-card-link img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  background: #f8f8f8;
}
@media (max-width: 640px) {
  .age-cards {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Footer: outside white box, centered on gray background */
.footer-legal {
  background: #f1f2f6;
  margin: 0;
  padding: 32px 20px 48px;
  border-top: none;
  text-align: center;
}
.footer-inner {
  max-width: 640px;
  margin: 0 auto;
}
.footer-legal p {
  margin: 0 0 10px;
  font-size: 12px;
  color: #555;
  line-height: 1.5;
}
.footer-links {
  margin-top: 20px;
  font-size: 14px;
}
.footer-links a {
  color: #2969b0;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-links span {
  margin: 0 8px;
  color: #999;
}

/* Mobile-friendly: touch targets, full-width layout, no horizontal scroll */
@media (max-width: 480px) {
  .page-header,
  .header-inner { padding-left: 16px; padding-right: 16px; }
  .header-divider { margin-left: 16px; margin-right: 16px; max-width: none; }
  .headline { padding-left: 16px; padding-right: 16px; font-size: 1.35rem; }
  .page-body { padding: 20px 16px 28px; }
  .cta-block .btn {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 20px;
  }
  .content-block ul { padding-left: 28px; }
  .age-cards { gap: 12px; }
}
@media (max-width: 360px) {
  .logo-text { font-size: 0.9rem; }
  .headline { font-size: 1.2rem; }
}
