/* Shared conversion funnel used by focused family law service pages */

:is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) .funnel-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--navy-deep);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

:is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) .funnel-skip:focus {
  transform: translateY(0);
}

.dv-safety-bar {
  padding: 88px 40px 16px;
  background: #7f1d1d;
  color: #fff;
}

.dv-safety-inner {
  display: flex;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dv-safety-inner p,
.dv-safety-note {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  text-wrap: pretty;
}

.dv-safety-inner a:not(.dv-quick-exit) {
  color: #fff;
  font-weight: 800;
  text-underline-offset: 4px;
}

.dv-quick-exit {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #fff;
  color: #7f1d1d;
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
  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);
}

.dv-quick-exit:hover {
  background: #fef2f2;
  transform: translateY(-2px);
}

.dv-quick-exit:active {
  transform: scale(0.98);
}

.dv-quick-exit:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.dv-safety-note {
  width: min(1200px, calc(100% - 48px));
  margin: 8px auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 16px;
}

.cs-funnel-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.cs-funnel-narrow {
  max-width: 860px;
}

:is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) section[id],
:is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) h2[id] {
  scroll-margin-top: 112px;
}

.cs-funnel-hero {
  padding: 144px 40px 80px;
  background: var(--bg-warm);
}

.cs-funnel-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.62fr);
  gap: 64px;
  align-items: center;
}

.cs-funnel-eyebrow,
.cs-funnel-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 20px;
  text-transform: uppercase;
}

.cs-funnel-hero h1 {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  text-wrap: balance;
}

.cs-funnel-hero h1 span {
  display: block;
  margin-top: 12px;
  color: var(--accent);
}

.cs-funnel-lead {
  max-width: 680px;
  margin: 0 0 32px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}

.cs-funnel-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cs-funnel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  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), border-color 700ms cubic-bezier(0.32, 0.72, 0, 1), transform 700ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.cs-funnel-button:hover {
  transform: translateY(-2px);
}

.cs-funnel-button:active {
  transform: scale(0.98);
}

.cs-funnel-button:focus-visible,
.cs-funnel-phone:focus-visible,
.cs-funnel-next-move a:focus-visible,
.cs-funnel-consult-phone:focus-visible,
.cs-funnel-tabs button:focus-visible,
.cs-funnel-form input:focus-visible,
.cs-funnel-form select:focus-visible,
.cs-funnel-form textarea:focus-visible,
.cs-funnel-form button:focus-visible,
.cs-funnel-evidence-list input:focus-visible {
  outline: 3px solid var(--accent-hover);
  outline-offset: 3px;
}

.cs-funnel-button-primary {
  background: var(--navy-deep);
  color: #fff;
}

.cs-funnel-button-primary:hover {
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.cs-funnel-phone {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.cs-funnel-reassurance {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.cs-funnel-attorney {
  margin: 0;
}

.cs-funnel-attorney img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.cs-funnel-attorney figcaption {
  padding-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 16px;
}

.cs-funnel-signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.cs-funnel-signal-strip div {
  padding: 16px 24px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.cs-funnel-signal-strip div + div {
  border-left: 1px solid var(--border);
}

.cs-funnel-short-answer {
  padding: 64px 40px 24px;
  background: var(--bg);
}

.cs-funnel-alert {
  padding: 32px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.cs-funnel-alert h2,
.cs-funnel-section h2,
.cs-funnel-timing h2,
.cs-funnel-consult h2,
.cs-funnel-guide-bridge h2 {
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  text-wrap: balance;
}

.cs-funnel-alert h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 36px;
}

.cs-funnel-alert p:last-child {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}

.cs-funnel-section {
  padding: 80px 40px;
  background: var(--bg);
}

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

.cs-funnel-section-header {
  max-width: 680px;
  margin-bottom: 32px;
}

.cs-funnel-section-header h2 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 40px;
}

.cs-funnel-section-header > p:last-child {
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}

.cs-funnel-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 920px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--border-hover);
  border-radius: 8px;
  background: var(--bg-card);
}

.cs-funnel-tabs button {
  min-height: 56px;
  padding: 12px 16px;
  border: 0;
  border-right: 1px solid var(--border-hover);
  background: var(--bg-card);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  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);
}

.cs-funnel-tabs button:last-child {
  border-right: 0;
}

.cs-funnel-tabs button:hover {
  background: var(--bg-section);
}

.cs-funnel-tabs button:active {
  transform: scale(0.98);
}

.cs-funnel-tabs button[aria-selected="true"] {
  background: var(--navy-deep);
  color: #fff;
}

.cs-funnel-path-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
  gap: 40px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.cs-funnel-path-panel[hidden] {
  display: none;
}

.cs-funnel-path-panel h3 {
  margin: 0 0 12px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 24px;
  line-height: 32px;
  text-wrap: balance;
}

.cs-funnel-path-panel p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}

.cs-funnel-path-panel ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.cs-funnel-path-panel li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.cs-funnel-path-panel li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: '';
}

.cs-funnel-next-move {
  align-self: start;
  padding: 24px;
  border: 1px solid rgba(176, 125, 46, 0.18);
  border-radius: 8px;
  background: var(--accent-subtle);
}

.cs-funnel-next-move strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-deep);
}

.cs-funnel-next-move p {
  margin-bottom: 16px;
}

.cs-funnel-next-move a {
  color: var(--navy);
  font-weight: 800;
  text-underline-offset: 4px;
}

.cs-funnel-timing {
  padding: 64px 40px;
  background: var(--navy-deep);
  color: #fff;
}

.cs-funnel-timing-grid {
  display: grid;
  grid-template-columns: 0.5fr 1.25fr 1.2fr auto;
  gap: 32px;
  align-items: center;
}

.cs-funnel-timing .cs-funnel-kicker {
  margin: 0;
  color: var(--accent-hover);
}

.cs-funnel-timing h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 36px;
}

.cs-funnel-timing p:not(.cs-funnel-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 24px;
}

.cs-funnel-button-light {
  border-color: #fff;
  background: #fff;
  color: var(--navy-deep);
  white-space: nowrap;
}

.cs-funnel-button-light:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: #fff;
}

.cs-funnel-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
  list-style: none;
}

.cs-funnel-process li {
  min-height: 240px;
  padding: 24px;
  background: var(--bg-card);
}

.cs-funnel-process span {
  display: block;
  margin-bottom: 32px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
}

.cs-funnel-process h3 {
  margin: 0 0 8px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 20px;
  line-height: 28px;
}

.cs-funnel-process p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.cs-funnel-tagline-section {
  padding: 96px 40px;
  background: var(--navy-deep);
}

.cs-funnel-tagline {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-family: 'Lora', Georgia, serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  text-wrap: balance;
}

.cs-funnel-tagline span {
  color: rgba(255, 255, 255, 0.28);
  transition: color 800ms cubic-bezier(0.32, 0.72, 0, 1);
  transition-delay: calc(var(--word-index) * 42ms);
}

.cs-funnel-tagline.is-visible span {
  color: #fff;
}

.cs-funnel-evidence-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  gap: 48px;
  align-items: start;
}

.cs-funnel-readiness {
  position: sticky;
  top: 96px;
  padding: 32px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.cs-funnel-count {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
}

.cs-funnel-readiness > strong {
  color: var(--navy-deep);
}

.cs-funnel-readiness > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.cs-funnel-progress {
  height: 8px;
  margin: 16px 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-section);
}

.cs-funnel-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.cs-funnel-evidence-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cs-funnel-evidence-list label {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
  transition: background-color 700ms cubic-bezier(0.32, 0.72, 0, 1), border-color 700ms cubic-bezier(0.32, 0.72, 0, 1), transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.cs-funnel-evidence-list label:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.cs-funnel-evidence-list label:has(input:checked) {
  border-color: rgba(22, 163, 74, 0.45);
  background: rgba(22, 163, 74, 0.05);
}

.cs-funnel-evidence-list input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--status-green);
}

.cs-funnel-evidence-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-deep);
  font-size: 16px;
  line-height: 24px;
}

.cs-funnel-evidence-list small {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.cs-funnel-objections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cs-funnel-objections article {
  padding: 24px 0;
  border-top: 3px solid var(--accent);
}

.cs-funnel-objections h3 {
  margin: 0 0 8px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 20px;
  line-height: 28px;
}

.cs-funnel-objections p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.cs-funnel-consult {
  padding: 80px 40px;
  background: var(--navy-deep);
  color: #fff;
}

.cs-funnel-consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(400px, 1fr);
  gap: 64px;
  align-items: start;
}

.cs-funnel-consult .cs-funnel-kicker {
  color: var(--accent-hover);
}

.cs-funnel-consult h2 {
  max-width: 560px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 36px;
  line-height: 40px;
}

.cs-funnel-consult-copy > p:not(.cs-funnel-kicker):not(.cs-funnel-consult-note) {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 28px;
}

.cs-funnel-consult-phone {
  display: inline-block;
  margin: 24px 0 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
  text-underline-offset: 4px;
}

.cs-funnel-consult-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 20px;
}

.cs-funnel-form {
  padding: 32px;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.cs-funnel-form h3 {
  margin: 0 0 4px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 24px;
  line-height: 32px;
}

.cs-funnel-form > p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.cs-funnel-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cs-funnel-form > label,
.cs-funnel-form-row label {
  display: block;
  margin-bottom: 16px;
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.cs-funnel-form label > span {
  color: var(--text-muted);
  font-weight: 400;
}

.cs-funnel-form input,
.cs-funnel-form select,
.cs-funnel-form textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid #aeb9c1;
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
}

.cs-funnel-form textarea {
  min-height: 112px;
  resize: vertical;
}

.cs-funnel-form .cs-funnel-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  margin: 4px 0 16px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.cs-funnel-consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  accent-color: var(--navy);
}

.cs-funnel-form button {
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  transition: background-color 700ms cubic-bezier(0.32, 0.72, 0, 1), transform 700ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.cs-funnel-form button:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-md);
}

.cs-funnel-form button:active {
  transform: scale(0.98);
}

.cs-funnel-form > small {
  display: block;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 16px;
}

.cs-funnel-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cs-funnel-guide-bridge {
  padding: 64px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
}

.cs-funnel-guide-bridge h2 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 40px;
}

.cs-funnel-guide-bridge p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.fl-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fl-route-card {
  display: flex;
  min-height: 248px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  flex-direction: column;
  text-decoration: none;
  transition: background-color 700ms cubic-bezier(0.32, 0.72, 0, 1), 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);
}

.fl-route-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.fl-route-card:active {
  transform: scale(0.98);
}

.fl-route-card:focus-visible,
.fl-faq-grid summary:focus-visible {
  outline: 3px solid var(--accent-hover);
  outline-offset: 3px;
}

.fl-route-card > span {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 16px;
  text-transform: uppercase;
}

.fl-route-card h3 {
  margin: 0 0 8px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 20px;
  line-height: 28px;
  text-wrap: balance;
}

.fl-route-card p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  text-wrap: pretty;
}

.fl-route-card strong {
  margin-top: auto;
  color: var(--navy);
  font-size: 14px;
  line-height: 20px;
}

.fl-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fl-faq-grid details {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
}

.fl-faq-grid details[open] {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.fl-faq-grid summary {
  color: var(--navy-deep);
  cursor: pointer;
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  text-wrap: balance;
}

.fl-faq-grid p {
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}

:is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) .page-toc {
  position: sticky;
  top: 58px;
}

:is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) .hero {
  min-height: 64vh;
  padding-top: 80px;
}

:is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) .legacy-guide-heading {
  margin-bottom: 24px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

:is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) .legacy-guide-heading em {
  color: var(--accent);
  font-style: normal;
}

@media (max-width: 980px) {
  .cs-funnel-hero-grid,
  .cs-funnel-path-panel,
  .cs-funnel-timing-grid,
  .cs-funnel-evidence-layout,
  .cs-funnel-consult-grid {
    grid-template-columns: 1fr;
  }

  .cs-funnel-attorney {
    max-width: 400px;
  }

  .cs-funnel-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-funnel-readiness {
    position: static;
  }

  .cs-funnel-timing-grid {
    gap: 16px;
  }

  .cs-funnel-button-light {
    justify-self: start;
  }

  .fl-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cs-funnel-shell {
    width: min(100% - 32px, 1200px);
  }

  .cs-funnel-hero {
    padding: 112px 16px 48px;
  }

  .cs-funnel-hero-grid {
    gap: 32px;
  }

  .cs-funnel-hero h1 {
    font-size: 36px;
    line-height: 40px;
  }

  .cs-funnel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cs-funnel-button,
  .cs-funnel-phone {
    width: 100%;
    text-align: center;
  }

  .cs-funnel-signal-strip,
  .cs-funnel-tabs,
  .cs-funnel-process,
  .cs-funnel-evidence-list,
  .cs-funnel-objections,
  .cs-funnel-form-row {
    grid-template-columns: 1fr;
  }

  .fl-route-grid,
  .fl-faq-grid {
    grid-template-columns: 1fr;
  }

  .cs-funnel-signal-strip div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .cs-funnel-short-answer,
  .cs-funnel-section,
  .cs-funnel-timing,
  .cs-funnel-tagline-section,
  .cs-funnel-consult,
  .cs-funnel-guide-bridge {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cs-funnel-section,
  .cs-funnel-consult {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cs-funnel-alert,
  .cs-funnel-path-panel,
  .cs-funnel-readiness,
  .cs-funnel-form {
    padding: 24px;
  }

  .cs-funnel-tabs button {
    border-right: 0;
    border-bottom: 1px solid var(--border-hover);
  }

  .cs-funnel-tabs button:last-child {
    border-bottom: 0;
  }

  .cs-funnel-process li {
    min-height: 0;
  }

  .cs-funnel-tagline {
    font-size: 36px;
    line-height: 40px;
  }

  .dv-safety-bar {
    padding: 80px 16px 16px;
  }

  .dv-safety-inner {
    width: min(100% - 32px, 1200px);
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .dv-safety-note {
    width: min(100% - 32px, 1200px);
  }

  :is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) .page-toc {
    top: 58px;
  }

  :is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) .hero {
    padding-top: 64px;
  }

  :is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) .legacy-guide-heading {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-funnel-button,
  .cs-funnel-tabs button,
  .cs-funnel-evidence-list label,
  .cs-funnel-progress span,
  .cs-funnel-form button,
  .cs-funnel-tagline span,
  :is(.child-support-page, .adoption-page, .domestic-violence-page, .child-custody-page, .spousal-support-page, .paternity-page, .divorce-funnel-page, .asset-protection-page, .fathers-divorce-page, .narcissist-divorce-page, .military-divorce-page, .responding-divorce-page, .litigation-funnel-page, .uncontested-divorce-page, .mediation-funnel-page, .filing-funnel-page, .guardianship-funnel-page, .family-law-funnel-page, .legal-separation-funnel-page, .prenup-funnel-page) .funnel-skip,
  .dv-quick-exit {
    transition-duration: 1ms;
  }
}

/* Collaborative-law funnel joins the shared system without changing earlier page scopes. */
.collaborative-funnel-page .funnel-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--navy-deep);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.collaborative-funnel-page .funnel-skip:focus {
  transform: translateY(0);
}

.collaborative-funnel-page section[id],
.collaborative-funnel-page h2[id] {
  scroll-margin-top: 112px;
}

.collaborative-funnel-page .page-toc {
  position: sticky;
  top: 58px;
}

.collaborative-funnel-page .hero {
  min-height: 64vh;
  padding-top: 80px;
}

.collaborative-funnel-page .legacy-guide-heading {
  margin-bottom: 24px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.collaborative-funnel-page .legacy-guide-heading em {
  color: var(--accent);
  font-style: normal;
}

@media (max-width: 640px) {
  .collaborative-funnel-page .page-toc {
    top: 58px;
  }

  .collaborative-funnel-page .hero {
    padding-top: 64px;
  }

  .collaborative-funnel-page .legacy-guide-heading {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .collaborative-funnel-page .funnel-skip {
    transition-duration: 1ms;
  }
}

/* Annulment funnel joins the shared system without changing earlier page scopes. */
.annulment-funnel-page .funnel-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--navy-deep);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.annulment-funnel-page .funnel-skip:focus {
  transform: translateY(0);
}

.annulment-funnel-page section[id],
.annulment-funnel-page h2[id] {
  scroll-margin-top: 112px;
}

.annulment-funnel-page .page-toc {
  position: sticky;
  top: 58px;
}

.annulment-funnel-page .hero {
  min-height: 64vh;
  padding-top: 80px;
}

.annulment-funnel-page .legacy-guide-heading {
  margin-bottom: 24px;
  color: var(--navy-deep);
  font-family: 'Lora', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.annulment-funnel-page .legacy-guide-heading em {
  color: var(--accent);
  font-style: normal;
}

@media (max-width: 640px) {
  .annulment-funnel-page .page-toc {
    top: 58px;
  }

  .annulment-funnel-page .hero {
    padding-top: 64px;
  }

  .annulment-funnel-page .legacy-guide-heading {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .annulment-funnel-page .funnel-skip {
    transition-duration: 1ms;
  }
}
