/* ==========================================================================
   Understand My Medicare - National Authority Site
   Color palette: Deep Blue / Steel Blue / Gold / Warm Gray
   Fonts: Lora (headings), Source Sans 3 (body)
   ========================================================================== */

/* --- Variables --- */
:root {
  --primary: #1B4965;
  --secondary: #5FA8D3;
  --accent: #CAA53D;
  --warm: #F7F5F0;
  --dark: #2D3436;
  --sage: #62929E;
  --white: #ffffff;
  --light-gray: #F7F5F0;
  --border-gray: #E0DDD5;
  --text: #2D3436;
  --text-light: #636e72;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
  margin: 0 0 0.75rem;
  color: var(--primary);
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; }

ul { padding-left: 1.25rem; }

/* --- Container --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Header --- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border-gray);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__branding {
  text-decoration: none;
}

.header__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.header__title span {
  color: var(--accent);
}

.nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.nav li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav li a:hover,
.nav li a.active {
  background: var(--light-gray);
  color: var(--primary);
}

.nav__cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav__cta:hover {
  background: var(--secondary) !important;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 0.25rem;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #274B65 50%, var(--sage) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero__cta {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero__cta:hover {
  background: #D4B044;
  color: var(--primary);
  transform: translateY(-2px);
}

.hero__source {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.hero__source a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero__source a:hover {
  opacity: 1;
  color: var(--accent);
}

.hero__cta--secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--white) !important;
  margin-left: 0.75rem;
}

.hero__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* --- Sections --- */
.section {
  padding: 4rem 0;
}

.section--warm {
  background: var(--warm);
}

.section--primary {
  background: var(--primary);
  color: var(--white);
}

.section--primary h2,
.section--primary h3 {
  color: var(--white);
}

.section__title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section__subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* --- Feature Cards --- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27, 73, 101, 0.08);
}

.feature-card--link {
  text-decoration: none;
  color: var(--text);
  display: block;
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* --- Credential Badge --- */
.credentials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.credential-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  text-align: center;
}

.credential-badge__abbr {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  color: var(--accent);
}

.credential-badge__name {
  font-size: 0.75rem;
  opacity: 0.85;
  display: block;
  margin-top: 0.25rem;
}

/* --- Learn Cards (Education Hub) --- */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.learn-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.learn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 73, 101, 0.08);
  color: var(--text);
}

.learn-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.learn-card h3 {
  margin-bottom: 0.5rem;
}

.learn-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-left: 4px solid var(--secondary);
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 73, 101, 0.08);
}

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.blog-card h3 a {
  color: var(--primary);
}

.blog-card h3 a:hover {
  color: var(--secondary);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  background: var(--light-gray);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
}

/* --- Article (Single Post / Learn Page) --- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.article h1 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.article__meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-gray);
}

.article__meta a {
  color: var(--secondary);
}

.article__content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.article__content h2 {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-gray);
}

.article__content h3 {
  margin-top: 2rem;
}

.article__content ul,
.article__content ol {
  margin-bottom: 1.5rem;
}

.article__content li {
  margin-bottom: 0.5rem;
}

.article__content blockquote {
  border-left: 4px solid var(--accent);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--warm);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--primary);
}

.article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.article__content table th {
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.article__content table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-gray);
}

.article__content table tr:hover {
  background: var(--warm);
}

/* --- Compare Page --- */
.compare-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.compare-hero h1 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.compare-hero p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.compare-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.compare-path {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-gray);
}

.compare-path__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.compare-path__badge--primary {
  background: rgba(27, 73, 101, 0.1);
  color: var(--primary);
}

.compare-path__badge--secondary {
  background: rgba(95, 168, 211, 0.15);
  color: #3B8AB8;
}

.compare-path__badge--accent {
  background: rgba(202, 165, 61, 0.15);
  color: #A38530;
}

.compare-path h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.compare-path p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* Compare grid rows (desktop) */
.compare-grid {
  margin-bottom: 3rem;
}

.compare-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border-gray);
  padding: 1rem 0;
}

.compare-row__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.compare-row__icon {
  font-size: 1.25rem;
}

.compare-row__cells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.compare-row__cell {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 6px;
}

.compare-row__cell p { margin: 0; }

.compare-row__cell--win {
  background: rgba(27, 73, 101, 0.05);
}

.compare-row__verdict {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

.compare-row__verdict--good {
  background: rgba(27, 73, 101, 0.12);
  color: var(--primary);
}

/* Compare cards (mobile, hidden on desktop) */
.compare-cards { display: none; }

.compare-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.compare-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.compare-card__option {
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  background: var(--warm);
}

.compare-card__option--highlight {
  background: rgba(27, 73, 101, 0.08);
  border: 1px solid rgba(27, 73, 101, 0.15);
}

.compare-card__label {
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

/* Guidance boxes */
.compare-guidance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.compare-guidance__box {
  padding: 1.75rem;
  border-radius: 10px;
  border: 1px solid var(--border-gray);
}

.compare-guidance__box--medigap {
  border-top: 4px solid var(--primary);
}

.compare-guidance__box--ma {
  border-top: 4px solid var(--secondary);
}

.compare-guidance__box--original {
  border-top: 4px solid var(--accent);
}

.compare-guidance__box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.compare-guidance__box ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.compare-guidance__box li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-light);
}

.compare-guidance__cta {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white) !important;
  transition: background 0.2s ease;
}

.compare-guidance__cta--primary {
  background: var(--primary);
}

.compare-guidance__cta--primary:hover {
  background: var(--secondary);
}

/* --- CTA Block --- */
.cta-consult {
  background: linear-gradient(135deg, var(--primary) 0%, #274B65 100%);
  color: var(--white);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
}

.cta-consult h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-consult p {
  opacity: 0.9;
  max-width: 550px;
  margin: 0 auto 1.5rem;
}

.cta-consult__btn {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-consult__btn:hover {
  background: #D4B044;
  color: var(--primary);
  transform: translateY(-2px);
}

/* --- Resources --- */
.resource-section {
  margin-bottom: 2.5rem;
}

.resource-section h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.resource-table {
  width: 100%;
  border-collapse: collapse;
}

.resource-table th {
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
}

.resource-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-gray);
  font-size: 0.9rem;
}

.resource-table tr:hover {
  background: var(--warm);
}

.resource-table a {
  color: var(--primary);
  font-weight: 500;
}

/* --- Contact / Calendly --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-services {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.contact-services li {
  padding: 1rem;
  background: var(--warm);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--accent);
}

.contact-services li strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-services li span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.calendly-embed {
  min-height: 660px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-gray);
}

/* --- About Page --- */
.about-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-sidebar {
  background: var(--warm);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid var(--border-gray);
}

.about-sidebar h3 {
  margin-bottom: 1rem;
}

.about-sidebar ul {
  list-style: none;
  padding: 0;
}

.about-sidebar li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-gray);
  font-size: 0.9rem;
}

.about-sidebar li:last-child {
  border-bottom: none;
}

/* --- Footer --- */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--accent);
}

.footer p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.footer__bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.75rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* --- Info Box (used in learn pages) --- */
.info-box {
  background: var(--warm);
  border: 1px solid var(--border-gray);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.info-box--accent {
  border-left-color: var(--accent);
}

.info-box h4 {
  margin-bottom: 0.5rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* --- Quick Facts (learn pages) --- */
.quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.quick-fact {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.quick-fact__value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.quick-fact__label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  display: block;
}

/* --- Taxonomy pages --- */
.taxonomy-list {
  columns: 2;
  column-gap: 2rem;
}

.taxonomy-list li {
  margin-bottom: 0.5rem;
}

/* --- Form styles (Q&A, etc.) --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-submit {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.form-submit:hover {
  background: var(--secondary);
}

/* --- Enrollment Tracker --- */
.tracker-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #274B65 50%, var(--sage) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.tracker-hero h1 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.tracker-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.tracker-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.tracker-stat {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.tracker-stat__value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}

.tracker-stat__label {
  font-size: 0.82rem;
  color: var(--text-light);
  display: block;
  margin-top: 0.4rem;
  line-height: 1.4;
}

.tracker-source-line {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

.tracker-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tracker-chart-header .section__title {
  margin-bottom: 0;
}

.tracker-controls {
  display: flex;
  gap: 0.4rem;
}

.tracker-btn {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  padding: 0.45rem 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tracker-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tracker-btn--active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.tracker-btn--active:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.tracker-chart-wrap {
  position: relative;
  height: 400px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  padding: 1.25rem;
}

.tracker-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.tracker-legend__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tracker-legend__swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.tracker-metric-toggle {
  text-align: center;
  margin-top: 1rem;
}

.tracker-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
}

.tracker-toggle input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.tracker-table td:first-child {
  white-space: nowrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .burger { display: block; }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav.open { display: flex; }

  .nav li a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .hero { padding: 3rem 0; }

  .hero h1 { font-size: 2rem; }

  .hero p { font-size: 1rem; }

  .section { padding: 2.5rem 0; }

  .section__title { font-size: 1.5rem; }

  .features {
    grid-template-columns: 1fr;
  }

  .learn-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .compare-paths {
    grid-template-columns: 1fr;
  }

  .compare-grid { display: none; }
  .compare-cards { display: block; }

  .compare-guidance {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .credentials {
    flex-direction: column;
    align-items: center;
  }

  .article h1 { font-size: 1.75rem; }

  .cta-consult {
    padding: 2rem 1.5rem;
  }

  .taxonomy-list {
    columns: 1;
  }

  .resource-table {
    font-size: 0.8rem;
  }

  .resource-table th,
  .resource-table td {
    padding: 0.5rem;
  }

  .tracker-hero h1 { font-size: 1.75rem; }

  .tracker-stats {
    grid-template-columns: 1fr 1fr;
  }

  .tracker-chart-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tracker-controls {
    width: 100%;
  }

  .tracker-btn {
    flex: 1;
    text-align: center;
  }

  .tracker-chart-wrap {
    height: 300px;
    padding: 0.75rem;
  }

  .tracker-legend {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}
