*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --green: #0F6E56; --green-mid: #1D9E75; --green-dark: #085041;
  --green-light: #E8F5F0; --green-pale: #F2FAF7;
  --white: #FFFFFF; --off-white: #FAFAF8; --black: #111111;
  --gray-1: #F5F5F3; --gray-2: #E8E8E4; --gray-3: #9A9A94; --gray-4: #555550;
  --red: #DC2626; --red-light: #FEF2F2; --amber: #D97706; --amber-light: #FFFBEB;
  --nav-blur: rgba(255,255,255,0.88);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --max: 1100px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--off-white); color: var(--black); -webkit-font-smoothing: antialiased; }

/* NAV */
.secondary-bar {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 99;
  height: 36px; background: white; border-bottom: 0.5px solid var(--gray-2);
  display: flex; align-items: center; justify-content: center; gap: 40px;
}
.secondary-bar a {
  font-size: 12px; font-weight: 500; color: var(--green-dark);
  text-decoration: none; display: flex; align-items: center; gap: 6px;
  letter-spacing: 0.01em; transition: color 0.2s;
}
.secondary-bar a:hover { color: var(--green); }
.secondary-bar .sep { width: 1px; height: 14px; background: var(--gray-2); }
.bar-arrow {
  font-size: 13px; font-weight: 900; color: var(--green);
  line-height: 1; display: inline-flex; flex-shrink: 0;
  transform: scaleX(1.1);
}
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 56px; background: var(--nav-blur);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--gray-2);
  display: flex; align-items: center; justify-content: space-between; padding: 0 44px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo span { font-size: 15px; font-weight: 600; color: var(--black); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--gray-4); text-decoration: none; }
.nav-links a:hover { color: var(--black); }
.nav-cta { background: var(--green); color: white; padding: 7px 18px; border-radius: 50px; font-size: 13px; font-weight: 500; text-decoration: none; }
.nav-reorder {
  border: 1px solid var(--gray-2); color: var(--gray-4);
  padding: 7px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 400; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.nav-reorder:hover { border-color: var(--green); color: var(--green); }

/* PAGE */
.page-wrap { padding-top: 92px; }

/* HERO */
.elig-hero {
  background: white; border-bottom: 0.5px solid var(--gray-2);
  padding: 80px 44px 64px; text-align: center;
}
.elig-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 20px; }
.elig-hero .eyebrow::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--green); }
.elig-hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--black); margin-bottom: 16px; }
.elig-hero h1 em { color: var(--green); font-style: italic; }
.elig-hero p { font-size: 17px; font-weight: 300; color: var(--gray-4); max-width: 540px; margin: 0 auto 36px; line-height: 1.7; }

/* BMI CHECKER */
.bmi-wrap { max-width: 520px; margin: 0 auto; }
.bmi-card { background: var(--gray-1); border: 1px solid var(--gray-2); border-radius: 20px; padding: 32px; }
.bmi-card h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; }
.bmi-card p { font-size: 13px; color: var(--gray-3); margin-bottom: 24px; line-height: 1.5; }
.bmi-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.bmi-field label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-3); margin-bottom: 6px; }
.bmi-input-row { display: flex; gap: 6px; }
.bmi-input { flex: 1; font-size: 16px; font-family: var(--sans); padding: 12px 14px; border: 1.5px solid var(--gray-2); border-radius: 10px; background: white; color: var(--black); transition: border-color 0.15s; }
.bmi-input:focus { border-color: var(--green); outline: none; }
.bmi-unit { font-size: 12px; background: var(--gray-2); border: none; border-radius: 8px; padding: 0 10px; color: var(--gray-4); cursor: pointer; }
.bmi-btn { width: 100%; padding: 14px; background: var(--green); color: white; border: none; border-radius: 10px; font-size: 15px; font-weight: 500; font-family: var(--sans); cursor: pointer; transition: background 0.2s; margin-top: 4px; }
.bmi-btn:hover { background: var(--green-mid); }
.bmi-result { margin-top: 16px; border-radius: 12px; padding: 16px 20px; display: none; }
.bmi-result.show { display: block; }
.bmi-result.green { background: var(--green-light); border: 1px solid #b2dece; }
.bmi-result.amber { background: var(--amber-light); border: 1px solid #fcd34d; }
.bmi-result.red { background: var(--red-light); border: 1px solid #fca5a5; }
.bmi-result .bmi-num { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.bmi-result.green .bmi-num { color: var(--green); }
.bmi-result.amber .bmi-num { color: var(--amber); }
.bmi-result.red .bmi-num { color: var(--red); }
.bmi-result .bmi-msg { font-size: 14px; margin-top: 6px; line-height: 1.6; }
.bmi-result.green .bmi-msg { color: var(--green-dark); }
.bmi-result.amber .bmi-msg { color: #78350F; }
.bmi-result.red .bmi-msg { color: #7f1d1d; }

/* MAIN CONTENT */
.elig-body { max-width: var(--max); margin: 0 auto; padding: 80px 44px; }
.elig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 64px; }

.elig-card { background: white; border: 1px solid var(--gray-2); border-radius: 20px; overflow: hidden; }
.elig-card-head { padding: 28px 28px 20px; border-bottom: 1px solid var(--gray-2); display: flex; align-items: flex-start; gap: 16px; }
.elig-card-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; }
.elig-card-icon.green { background: var(--green-light); }
.elig-card-icon.red { background: var(--red-light); }
.elig-card h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 4px; }
.elig-card p.sub { font-size: 13px; color: var(--gray-3); line-height: 1.5; }
.elig-card-body { padding: 20px 28px; }
.elig-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.elig-list li { padding: 12px 0; border-bottom: 0.5px solid var(--gray-2); font-size: 14px; color: var(--gray-4); line-height: 1.6; display: flex; gap: 12px; align-items: flex-start; }
.elig-list li:last-child { border-bottom: none; }
.elig-list li .icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* CONDITIONS SECTION */
.conditions-section { margin-bottom: 64px; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.section-tag::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--green); }
.section-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; color: var(--black); margin-bottom: 12px; }
.section-title em { color: var(--green); font-style: italic; }
.section-sub { font-size: 16px; font-weight: 300; color: var(--gray-4); line-height: 1.7; max-width: 580px; margin-bottom: 36px; }

.conditions-banner { background: var(--amber-light); border: 1px solid #fcd34d; border-radius: 16px; padding: 24px 28px; margin-bottom: 24px; display: flex; gap: 16px; align-items: flex-start; }
.conditions-banner svg { width: 20px; height: 20px; color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.conditions-banner p { font-size: 14px; color: #78350F; line-height: 1.7; }
.conditions-banner strong { color: #92400E; }

.conditions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.condition-pill { background: white; border: 1px solid var(--gray-2); border-radius: 12px; padding: 16px 18px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-4); transition: border-color 0.15s, background 0.15s; }
.condition-pill:hover { border-color: var(--green); background: var(--green-pale); }
.condition-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* CTA SECTION */
.elig-cta-section { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); border-radius: 24px; padding: 56px 48px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.elig-cta-section h3 { font-family: var(--serif); font-size: 2rem; color: white; margin-bottom: 10px; line-height: 1.15; }
.elig-cta-section h3 em { font-style: italic; opacity: 0.8; }
.elig-cta-section p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.elig-cta-btns { display: flex; flex-direction: column; gap: 10px; }
.cta-btn-w { background: white; color: var(--green-dark); padding: 14px 28px; border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; text-align: center; white-space: nowrap; transition: opacity 0.15s; }
.cta-btn-w:hover { opacity: 0.9; }
.cta-btn-o { border: 1.5px solid rgba(255,255,255,0.4); color: white; padding: 14px 28px; border-radius: 10px; font-size: 14px; font-weight: 400; text-decoration: none; text-align: center; white-space: nowrap; transition: border-color 0.15s; }
.cta-btn-o:hover { border-color: rgba(255,255,255,0.8); }

/* FOOTER */
footer { background: var(--black); color: white; padding: 48px 44px 28px; margin-top: 80px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h4 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 8px; }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.8; }
.footer-col h5 { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 8px; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 0.5px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 12px; color: rgba(255,255,255,0.2); display: flex; justify-content: space-between; }
.footer-bottom a { color: rgba(255,255,255,0.25); text-decoration: none; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .elig-hero { padding: 60px 20px 48px; }
  .elig-body { padding: 48px 20px; }
  .elig-grid { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: 1fr 1fr; }
  .elig-cta-section { grid-template-columns: 1fr; padding: 36px 28px; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
