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

:root {
  --page-bg: #eef6fc;
  --blue: #1a4db3;
  --blue-dark: #153d8f;
  --orange: #f7941d;
  --orange-dark: #e07f0a;
  --text: #1a1a1a;
  --muted: #4a5568;
  --border: #b8d4e8;
  --footer-bg: #3d4755;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.55;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  padding: 0 1rem 0;
}

.container {
  width: min(920px, 100%);
  margin: 0 auto;
}

.ad-top-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.65rem 0 0.35rem;
}

.site-header {
  background: transparent;
  border-bottom: none;
  padding: 0.75rem 0;
  margin-bottom: 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo {
  width: auto;
  height: 48px;
  max-width: min(191px, 55vw);
  object-fit: contain;
}

.display-ad {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.display-ad-label {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.display-ad .logo-display {
  height: 56px;
  max-width: min(220px, 70vw);
  margin: 0 auto 0.85rem;
}

.plan-code {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.display-ad-copy {
  margin: 0 auto 0.75rem;
  max-width: 680px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.display-ad-website {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.main-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(26, 77, 179, 0.08);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
}

.main-card-grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 42%);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.main-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.main-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
}

.main-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.4;
}

.main-copy p {
  margin: 0 0 0.85rem;
  font-size: clamp(0.82rem, 1.8vw, 0.92rem);
  color: var(--text);
  line-height: 1.55;
}

.main-copy p:last-child {
  margin-bottom: 0;
}

.hero-illustration {
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
}

.btn-learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 260px);
  padding: 0.85rem 2.5rem;
  background: #eb984e;
  color: #fff;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  flex-shrink: 0;
}

.btn-learn:hover {
  background: #d8843a;
  text-decoration: none;
}

.disclaimer {
  font-size: 0.68rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.medicare-bar {
  display: block;
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  text-decoration: none;
  line-height: 1.45;
}

.medicare-bar:hover {
  background: var(--blue-dark);
  text-decoration: none;
  color: #fff;
}

.enrollment-note {
  margin: 0 0 1.25rem;
  font-size: 0.68rem;
  color: var(--text);
  line-height: 1.5;
}

.site-footer {
  margin-top: 0.5rem;
}

.footer-main {
  background: var(--footer-bg);
  color: #d1d5db;
  padding: 1.25rem 0 1rem;
  font-size: 0.62rem;
  line-height: 1.6;
}

.footer-main p {
  margin: 0 0 0.75rem;
}

.footer-main p:last-child {
  margin-bottom: 0;
}

.footer-main a {
  color: #fff;
  text-decoration: underline;
}

.footer-main strong {
  color: #fff;
}

.footer-links {
  background: #4a5560;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.78rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links span {
  color: #9ca3af;
  margin: 0 0.4rem;
}

@media (max-width: 768px) {
  .main-card-grid {
    grid-template-columns: 1fr;
  }

  .main-visual {
    order: -1;
  }

  .hero-illustration {
    width: min(240px, 75vw);
  }

  .main-copy {
    text-align: center;
  }

  .display-ad {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 0 0.65rem;
  }

  .logo {
    height: 40px;
    max-width: min(160px, 50vw);
  }

  .display-ad .logo-display {
    height: 48px;
    max-width: min(180px, 65vw);
  }

  .btn-learn {
    width: min(100%, 280px);
  }
}