.dfas-hero {
  background: #f5f0e8;
}

.dfas-hero .cs-funnel-hero-grid {
  align-items: end;
}

.dfas-attorney {
  border: 1px solid var(--border);
  background: #ffffff;
}

.dfas-page .cs-funnel-alert {
  border: 1px solid rgba(176, 125, 46, 0.32);
  background: #fffdf8;
}

.dfas-page [hidden] {
  display: none;
}

.dfas-faq-section {
  padding: 80px 40px;
  background: #ffffff;
}

.dfas-faq {
  display: grid;
  gap: 12px;
}

.dfas-faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: border-color 700ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 700ms cubic-bezier(0.32, 0.72, 0, 1), transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.dfas-faq details:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dfas-faq details[open] {
  border-color: rgba(176, 125, 46, 0.5);
}

.dfas-faq summary {
  position: relative;
  padding: 24px 64px 24px 24px;
  color: var(--navy-deep);
  cursor: pointer;
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  list-style: none;
  text-wrap: pretty;
}

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

.dfas-faq summary::after {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--accent);
  content: '+';
  font-family: 'Source Sans 3', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

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

.dfas-faq details p {
  max-width: 760px;
  margin: 0;
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}

.dfas-sources {
  padding: 80px 40px;
  background: var(--bg-warm);
}

.dfas-sources h2 {
  margin: 0 0 16px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  text-wrap: balance;
}

.dfas-sources p,
.dfas-sources li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}

.dfas-sources ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
  padding-left: 24px;
}

.dfas-sources a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.dfas-sources a:hover {
  color: var(--navy-deep);
}

.dfas-sources a:focus-visible,
.dfas-faq summary:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.dfas-back-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 700ms cubic-bezier(0.32, 0.72, 0, 1), color 700ms cubic-bezier(0.32, 0.72, 0, 1), transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.dfas-back-link:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.dfas-back-link:active {
  transform: scale(0.98);
}

.dfas-hero-callout {
  max-width: 680px;
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid rgba(176, 125, 46, 0.36);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: var(--shadow-card);
}

.dfas-hero-callout .dfas-callout-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 20px;
  text-transform: uppercase;
}

.dfas-hero-callout h2 {
  margin: 0 0 8px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-wrap: balance;
}

.dfas-hero-callout p:not(.dfas-callout-label) {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}

.dfas-hero-callout .cs-funnel-button {
  min-height: 40px;
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 768px) {
  .dfas-faq-section,
  .dfas-sources {
    padding: 64px 24px;
  }

  .dfas-faq summary {
    padding: 16px 48px 16px 16px;
    font-size: 16px;
    line-height: 24px;
  }

  .dfas-faq summary::after {
    top: 16px;
    right: 16px;
  }

  .dfas-faq details p {
    padding: 0 16px 16px;
  }

  .dfas-sources h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .dfas-hero-callout {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dfas-faq details,
  .dfas-faq summary::after,
  .dfas-sources a,
  .dfas-back-link {
    transition: none;
  }
}
