/* SNAP Eligibility content page styles */

/* ===== HERO ===== */
.seo-hero {
  padding: 80px 48px 64px;
  background: var(--bg);
}

.seo-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.seo-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.seo-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.08;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.seo-lead {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== QUICK ELIGIBILITY CHECKER ===== */
.quick-checker-section {
  padding: 0 48px 64px;
  background: var(--bg);
}

.quick-checker {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow);
}

.qc-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.qc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(27,77,62,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.qc-icon svg {
  width: 24px;
  height: 24px;
}

.qc-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.qc-sub {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.qc-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}

.qc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qc-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
}

.qc-field input {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.qc-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27,77,62,0.08);
}

.qc-btn {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  height: 46px;
}

.qc-btn:hover {
  background: var(--accent-light);
}

.qc-result {
  font-size: 15px;
  line-height: 1.6;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 12px;
  min-height: 54px;
}

.qc-may-qualify {
  background: rgba(27,77,62,0.07);
  border: 1px solid rgba(27,77,62,0.15);
  color: var(--accent);
}

.qc-above {
  background: rgba(138,138,138,0.08);
  border: 1px solid rgba(138,138,138,0.2);
  color: var(--fg-muted);
}

.qc-neutral {
  background: var(--bg-alt);
  color: var(--fg-muted);
}

.qc-disclaimer {
  font-size: 12px;
  color: var(--fg-light);
  line-height: 1.5;
}

.qc-disclaimer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== KEY ELIGIBILITY REQUIREMENTS ===== */
.elig-section {
  padding: 64px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.elig-inner {
  max-width: 760px;
  margin: 0 auto;
}

.elig-headline {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 36px;
  letter-spacing: -0.5px;
}

.elig-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.elig-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.elig-item:hover {
  border-color: rgba(27,77,62,0.2);
  box-shadow: var(--shadow);
}

.elig-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(27,77,62,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.elig-icon svg {
  width: 16px;
  height: 16px;
}

.elig-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.elig-item span {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== BENEFIT TABLE ===== */
.benefit-table-section {
  padding: 64px 48px;
  background: var(--bg);
}

.benefit-table-inner {
  max-width: 680px;
  margin: 0 auto;
}

.bt-headline {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.bt-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
}

.snap-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.snap-table th {
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  text-align: left;
}

.snap-table th:last-child {
  text-align: right;
}

.snap-table td {
  padding: 14px 20px;
  font-size: 15px;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}

.snap-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--accent);
}

.snap-table tbody tr:last-child td {
  border-bottom: none;
}

.snap-table tbody tr:nth-child(even) td {
  background: rgba(27,77,62,0.03);
}

.snap-table tbody tr:hover td {
  background: rgba(27,77,62,0.06);
}

.bt-note {
  font-size: 13px;
  color: var(--fg-light);
  line-height: 1.6;
  margin-top: 16px;
  font-style: italic;
}

/* ===== HOW TO APPLY ===== */
.apply-section {
  padding: 64px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.apply-inner {
  max-width: 960px;
  margin: 0 auto;
}

.apply-headline {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  letter-spacing: -0.5px;
  text-align: center;
}

.apply-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.apply-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 28px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.apply-step:hover {
  box-shadow: var(--shadow);
  border-color: rgba(27,77,62,0.2);
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(27,77,62,0.2);
}

.apply-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.apply-step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.apply-cta {
  display: flex;
  justify-content: center;
}

.apply-official-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(27,77,62,0.25);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.apply-official-link:hover {
  color: var(--accent-light);
  border-color: var(--accent-light);
}

.apply-official-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ===== FAQ ACCORDION ===== */
.faq-section {
  padding: 64px 48px;
  background: var(--bg);
}

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-headline {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 36px;
  letter-spacing: -0.5px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-accordion details {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-accordion details:hover {
  border-color: rgba(27,77,62,0.2);
}

.faq-accordion details[open] {
  border-color: rgba(27,77,62,0.25);
}

.faq-accordion summary {
  padding: 20px 24px;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(27,77,62,0.08);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%231B4D3E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  transition: transform 0.25s ease;
}

.faq-accordion details[open] summary::after {
  transform: rotate(180deg);
}

.faq-accordion summary:hover {
  color: var(--accent-light);
}

.faq-accordion .faq-answer {
  padding: 0 24px 20px;
}

.faq-accordion .faq-answer p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== BOTTOM CTA ===== */
.seo-cta {
  background: var(--accent);
  padding: 80px 48px;
  text-align: center;
}

.seo-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.seo-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.seo-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}

.seo-cta .btn-gold {
  font-size: 16px;
  padding: 16px 36px;
}

/* ===== FOOTER (same pattern as benefits.css) ===== */
footer {
  background: var(--bg-alt);
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-light);
  font-style: italic;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--fg-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .qc-form { grid-template-columns: 1fr 1fr; }
  .qc-btn { grid-column: span 2; }
  .apply-steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .seo-hero { padding: 56px 24px 48px; }
  .seo-hero h1 { font-size: 38px; }
  .seo-lead { font-size: 16px; }

  .quick-checker-section { padding: 0 24px 48px; }
  .quick-checker { padding: 28px 24px; }
  .qc-form { grid-template-columns: 1fr; }
  .qc-btn { grid-column: auto; }

  .elig-section { padding: 48px 24px; }
  .elig-headline { font-size: 28px; }

  .benefit-table-section { padding: 48px 24px; }
  .bt-headline { font-size: 28px; }

  .apply-section { padding: 48px 24px; }
  .apply-headline { font-size: 28px; }
  .apply-steps { gap: 20px; }

  .faq-section { padding: 48px 24px; }
  .faq-headline { font-size: 28px; }

  .seo-cta { padding: 60px 24px; }
  .seo-cta h2 { font-size: 30px; }

  footer { padding: 24px; }
  .footer-inner { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .footer-tagline { display: none; }
}

@media (max-width: 480px) {
  .seo-hero h1 { font-size: 32px; }
  .qc-header { flex-direction: column; }
  .elig-item { flex-direction: column; gap: 12px; }
}