/* Family law and divorce: the night the call comes.
   Every class is prefixed fl-. Loaded only on /industries/family-law-divorce. */

.fl-page {
  --fl-night: #161a34;
  --fl-night-2: #20264d;
  --fl-night-3: #2b3263;
  --fl-lamp: #f0b95c;
  --fl-lamp-wash: #fdf0d4;
  --fl-brass: #7d4f0c;
  --fl-linen: #ede7db;
  --fl-paper: #f7f3ea;
  --fl-sheet: #fffdf8;
  --fl-ink: #1b1f3a;
  --fl-soft: #454a63;
  --fl-muted: #5f6480;
  --fl-rule: #d8d0c0;
  --fl-moss: #2b6650;
  --fl-moss-deep: #1f4d3c;
  --fl-moss-wash: #dfece4;
  --fl-rust: #a4402c;
  --fl-rust-wash: #f5e0d7;
  --fl-kraft: #e6d5ae;
  --fl-kraft-deep: #b9995a;
  --fl-on-night: #e9e7f5;
  --fl-on-night-soft: #bcb9d8;
  color: var(--fl-ink);
  background: var(--fl-paper);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  overflow: clip;
}
.fl-page *,
.fl-page *::before,
.fl-page *::after { box-sizing: border-box; }
.fl-page :where(h1, h2, h3, p, ol, ul, figure, dl, dd) { margin: 0; }
.fl-page :where(ol, ul) { padding: 0; list-style: none; }
.fl-page ::selection { background: var(--fl-lamp); color: var(--fl-night); }
.fl-page a:focus-visible,
.fl-page summary:focus-visible,
.fl-page [tabindex]:focus-visible {
  outline: 2px solid var(--fl-brass);
  outline-offset: 4px;
}
.fl-hero-shell a:focus-visible,
.fl-close a:focus-visible,
.fl-page .fl-state:focus-visible ~ .fl-night-head label { outline-color: var(--fl-lamp); }
.fl-page section[id] { scroll-margin-top: 130px; }
.fl-wrap { width: min(100% - 80px, 1280px); margin-inline: auto; }
.fl-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fl-page h1, .fl-page h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.fl-page h2 { font-size: clamp(2.1rem, 3.4vw, 3.5rem); line-height: 1.06; }
.fl-page h1 em, .fl-page h2 em { font-style: italic; }
.fl-page h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; }
.fl-section { padding: clamp(68px, 8.5vw, 116px) 0; }
.fl-section p { max-width: 68ch; }
.fl-page p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.fl-page p a:hover { color: var(--fl-brass); }
.fl-tie { margin-top: 26px; font-weight: 500; }
.fl-section h2 + p { margin-top: 18px; }

/* The consultation brief belongs inside the existing website chapter. */
.fl-request-brief { margin: 32px 0; padding: 28px 32px; border: 1px solid var(--fl-rule); border-top: 3px solid var(--fl-brass); background: var(--fl-sheet); scroll-margin-top: 145px; }
.fl-request-brief > p { margin-top: 14px; max-width: 80ch; }
.fl-request-brief dl { margin-top: 22px; }
.fl-request-brief dl > div { display: grid; grid-template-columns: 190px 1fr; gap: 14px 28px; padding: 18px 0; border-top: 1px solid var(--fl-rule); }
.fl-request-brief dt { font-weight: 700; color: var(--fl-brass); }
.fl-request-brief dd { max-width: 68ch; }
@media (max-width: 760px) {
  .fl-request-brief { padding: 24px 20px; }
  .fl-request-brief dl > div { grid-template-columns: 1fr; gap: 6px; }
}

/* Buttons and quiet links */
.fl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.fl-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--fl-lamp);
  color: var(--fl-night);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(240, 185, 92, 0.8);
  transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.fl-button:hover { background: #f6c979; transform: translateY(-1px); }
.fl-quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: rgba(233, 231, 245, 0.4);
  text-underline-offset: 5px;
}
.fl-quiet-link:hover { text-decoration-color: currentColor; }

/* Hero: one night on her phone */
.fl-hero-shell {
  background: var(--fl-night);
  color: var(--fl-on-night);
  padding-top: 101px;
}
.fl-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 12px; font-size: 12.5px; color: var(--fl-on-night-soft); }
.fl-breadcrumb { align-items: center; }
.fl-breadcrumb a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.fl-breadcrumb a:hover { color: #fff; }
.fl-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
  padding: clamp(28px, 3.5vw, 48px) 0 clamp(60px, 7vw, 96px);
}
.fl-hero h1 { font-size: clamp(2.6rem, 4.1vw, 4.1rem); line-height: 1.02; color: #fff; }
.fl-hero .h1-kicker { color: var(--fl-lamp); }
.fl-h1-line { display: block; }
.fl-hero h1 em { display: block; color: var(--fl-lamp); }
.fl-lede { margin-top: 20px; max-width: 54ch; font-size: 1.1rem; line-height: 1.6; color: var(--fl-on-night); }
.fl-price {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(233, 231, 245, 0.22);
  max-width: 540px;
}
.fl-price span { font-size: 1rem; }
.fl-price strong { font-weight: 700; margin-right: 6px; color: #fff; }
.fl-price small { font-size: 13px; color: var(--fl-on-night-soft); }
.fl-hero-copy .fl-actions { margin-top: 22px; }

/* The night: a rail of five names and one switch */
.fl-night {
  position: relative;
  min-width: 0;
  padding: 24px 26px 20px;
  background: var(--fl-night-2);
  border-radius: 14px;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.7);
}
.fl-state { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fl-night-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding-bottom: 16px; border-bottom: 1px solid rgba(233, 231, 245, 0.16); }
.fl-night-title { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.1; color: #fff; letter-spacing: -0.01em; }
.fl-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.28); }
.fl-tabs label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fl-on-night);
  cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}
.fl-tabs label:hover { background: rgba(255, 255, 255, 0.08); }
.fl-state-out:checked ~ .fl-night-head label[for="fl-state-out"] { background: #f4d7cd; color: #6d2415; }
.fl-state-in:checked ~ .fl-night-head label[for="fl-state-in"] { background: #cfe9da; color: var(--fl-moss-deep); }
.fl-state:focus-visible ~ .fl-night-head .fl-tabs { outline: 2px solid var(--fl-lamp); outline-offset: 3px; }

.fl-rail { position: relative; margin-top: 12px; }
.fl-stop {
  display: grid;
  grid-template-columns: 72px 22px minmax(0, 1fr);
  gap: 0 14px;
  padding: 14px 0;
  position: relative;
}
.fl-time { padding-top: 2px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; color: var(--fl-on-night-soft); font-variant-numeric: tabular-nums; }
.fl-node {
  position: relative;
  width: 14px;
  height: 14px;
  margin: 5px auto 0;
  border-radius: 50%;
  border: 2px solid var(--fl-on-night-soft);
  background: var(--fl-night-2);
  z-index: 1;
}
.fl-stop::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(72px + 14px + 10px);
  width: 2px;
  background: rgba(233, 231, 245, 0.16);
}
.fl-stop:first-child::before { top: 24px; }
.fl-stop:last-child::before { bottom: calc(100% - 24px); }
.fl-who { font-size: 14px; font-weight: 700; color: #fff; }
.fl-what { margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--fl-on-night); }
.fl-stop-yours .fl-what { margin-top: 6px; padding: 9px 12px; border-radius: 10px; }
.fl-stop-yours .fl-who { color: var(--fl-lamp); }
.fl-what-out { background: rgba(232, 120, 96, 0.16); color: #ffd9cf; }
.fl-what-in { background: rgba(127, 208, 163, 0.17); color: #d3f0e0; }
.fl-state-out:checked ~ .fl-rail .fl-what-in,
.fl-state-in:checked ~ .fl-rail .fl-what-out { display: none; }
.fl-state-out:checked ~ .fl-rail .fl-stop-yours .fl-node { border-color: #f08b73; background: #f08b73; }
.fl-state-in:checked ~ .fl-rail .fl-stop-yours .fl-node { border-color: #7fd0a3; background: #7fd0a3; }
.fl-state-in:checked ~ .fl-rail .fl-stop-yours ~ .fl-stop { opacity: 0.6; }
.fl-verdict { margin-top: 6px; }
.fl-verdict p { padding: 14px 16px; border-radius: 10px; font-size: 14.5px; line-height: 1.5; max-width: none; }
.fl-verdict strong { margin-right: 6px; }
.fl-verdict-out { background: #f4d7cd; color: #5c1f12; }
.fl-verdict-in { background: #cfe9da; color: #163b2d; }
.fl-state-out:checked ~ .fl-verdict .fl-verdict-in,
.fl-state-in:checked ~ .fl-verdict .fl-verdict-out { display: none; }
.fl-night figcaption { margin-top: 12px; font-size: 12.5px; color: var(--fl-on-night-soft); }

/* Jump nav */
.fl-jump {
  position: sticky;
  top: 72px;
  z-index: 5;
  background: rgba(247, 243, 234, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--fl-rule);
}
.fl-jump .fl-wrap { display: flex; gap: 6px 22px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.fl-jump a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fl-soft);
  text-decoration: none;
}
.fl-jump a:hover { color: var(--fl-brass); }

/* Why she hangs up */
.fl-why { background: var(--fl-linen); }
.fl-why-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.fl-why-copy p + p { margin-top: 16px; }
.fl-why-copy h2 + p { margin-top: 20px; }
.fl-why-figure { display: grid; border-radius: 14px; overflow: hidden; background: var(--fl-night); color: var(--fl-on-night); box-shadow: 0 28px 54px -34px rgba(22, 26, 52, 0.7); }
.fl-why-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.fl-stat { padding: 22px 24px 24px; }
.fl-stat-big { font-family: var(--font-serif); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.05; color: #fff; letter-spacing: -0.02em; }
.fl-stat-big span { display: block; margin-top: 2px; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--fl-lamp); }
.fl-stat p:last-child { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--fl-on-night); max-width: none; }
.fl-stat a { color: #fff; }
.fl-stat a:hover { color: var(--fl-lamp); }

/* The first minute */

/* Six callers, six clocks */

/* Compare */
.fl-compare { background: var(--fl-linen); }
.fl-compare-head { max-width: 800px; }
.fl-table-scroll { margin-top: 34px; overflow-x: auto; border-radius: 12px; }
.fl-compare-table, .fl-source-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; background: var(--fl-sheet); }
.fl-compare-table th, .fl-compare-table td, .fl-source-table th, .fl-source-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--fl-rule); }
.fl-compare-table thead th, .fl-source-table thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fl-muted);
  background: var(--fl-sheet);
  border-bottom: 2px solid var(--fl-ink);
}
.fl-compare-table tbody th, .fl-source-table tbody th { font-weight: 700; width: 20%; }
.fl-compare-table td { color: var(--fl-soft); }
.fl-compare-table .fl-ours { background: var(--fl-moss-wash); color: var(--fl-ink); }
.fl-compare-table thead .fl-ours { color: var(--fl-moss-deep); border-bottom-color: var(--fl-moss-deep); }
.fl-compare-table tbody tr:last-child > * , .fl-source-table tbody tr:last-child > * { border-bottom: 0; }
.fl-models { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 24px; font-size: 13.5px; color: var(--fl-soft); }
.fl-models p { font-weight: 700; color: var(--fl-ink); }
.fl-models ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fl-models li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--fl-ink); }
.fl-models li span { font-weight: 400; color: var(--fl-soft); }

/* After she signs */

/* Consultation */

/* Where clients come from */
.fl-sources { background: var(--fl-linen); }
.fl-sources-head { max-width: 800px; }
.fl-numbers { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px clamp(28px, 5vw, 72px); align-items: start; }
.fl-numbers-title { grid-column: 1 / -1; font-family: var(--font-serif); font-size: 1.45rem; letter-spacing: -0.01em; }
.fl-numbers ol { display: grid; gap: 0; padding: 6px 22px; background: var(--fl-sheet); border-radius: 12px; }
.fl-numbers li { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--fl-rule); font-weight: 600; }
.fl-numbers li:last-child { border-bottom: 0; }
.fl-numbers-blank { flex: none; width: 96px; height: 24px; border-bottom: 2px solid var(--fl-ink); }
.fl-numbers > p:last-child { align-self: center; }
.fl-found-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--fl-rule); }
.fl-found-grid p { margin-top: 8px; }

/* The year */

/* Website */
.fl-site { background: var(--fl-paper); }
.fl-site-head { max-width: 780px; }
.fl-needs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); margin-top: 36px; }
.fl-needs, .fl-skips { padding: 26px 26px 28px; border-radius: 12px; }
.fl-needs { background: var(--fl-moss-wash); }
.fl-skips { background: var(--fl-rust-wash); }
.fl-needs h3, .fl-skips h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; letter-spacing: -0.01em; }
.fl-needs ul, .fl-skips ul { display: grid; gap: 11px; margin-top: 14px; }
.fl-needs li, .fl-skips li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; }
.fl-needs li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 7px;
  height: 12px;
  border: solid var(--fl-moss-deep);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(40deg);
}
.fl-skips li::before,
.fl-skips li::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 15px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--fl-rust);
  transform: rotate(45deg);
}
.fl-skips li::after { transform: rotate(-45deg); }

/* Setup */
.fl-how { background: var(--fl-linen); }
.fl-steps { display: grid; gap: 22px; margin-top: 30px; }
.fl-steps li { padding-bottom: 22px; border-bottom: 1px solid var(--fl-rule); }
.fl-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.fl-steps p { margin-top: 4px; font-size: 15px; color: var(--fl-soft); }

/* FAQ */
.fl-faq { background: var(--fl-paper); }
.fl-faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.fl-faq-grid > div:first-child { position: sticky; top: 132px; }
.fl-faq-list details { border-top: 1px solid var(--fl-rule); }
.fl-faq-list details:last-child { border-bottom: 1px solid var(--fl-rule); }
.fl-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 18px 0;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.fl-faq-list summary::-webkit-details-marker { display: none; }
.fl-faq-list summary span { flex: none; font-family: var(--font-sans); font-size: 1.5rem; color: var(--fl-brass); transition: transform 200ms ease-out; }
.fl-faq-list details[open] summary span { transform: rotate(45deg); }
.fl-faq-list details p { padding-bottom: 20px; color: var(--fl-soft); }

/* Close */
.fl-close { background: var(--fl-night); color: var(--fl-on-night); padding: clamp(72px, 9vw, 116px) 0; }
.fl-close-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.fl-close h2 { color: #fff; font-size: clamp(2.2rem, 3.8vw, 3.8rem); line-height: 1.04; }
.fl-close h2 em { color: var(--fl-lamp); }
.fl-close p { margin-top: 18px; max-width: 60ch; }
.fl-close aside { display: grid; gap: 4px; padding: 24px 26px; background: var(--fl-night-2); border-radius: 14px; }
.fl-close aside strong { margin-bottom: 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fl-on-night-soft); }
.fl-close aside a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; border-top: 1px solid rgba(233, 231, 245, 0.14); }
.fl-close aside a:first-of-type { border-top: 0; }
.fl-close aside a:hover { color: var(--fl-lamp); }

/* Six systems: the legal pad */

@media (max-width: 1000px) {
  .fl-hero, .fl-why-grid, .fl-faq-grid, .fl-close-grid { grid-template-columns: minmax(0, 1fr); }
  .fl-faq-grid > div:first-child { position: static; }
}
@media (max-width: 720px) {
  .fl-wrap { width: min(100% - 32px, 1280px); }
  .fl-hero-shell { padding-top: 80px; }
  .fl-night { padding: 18px 16px 16px; }
  .fl-stop { grid-template-columns: 58px 18px minmax(0, 1fr); gap: 0 10px; }
  .fl-stop::before { left: calc(58px + 10px + 8px); }
  .fl-time { font-size: 11.5px; }
  .fl-tabs { width: 100%; }
  .fl-tabs label { flex: 1; justify-content: center; padding: 0 8px; font-size: 13px; text-align: center; }
  .fl-numbers, .fl-found-grid, .fl-needs-grid { grid-template-columns: minmax(0, 1fr); }
  .fl-jump { top: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .fl-page * { transition: none !important; }
}

.fl-site-scope { max-width: 780px; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--fl-rule); }
.fl-site-scope h3 { font-size: 1.45rem; line-height: 1.3; }
.fl-site-scope p { margin-top: 16px; }

/* Safe contact is part of a useful family-law intake. */
.fl-safe-handoff { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--fl-rule); scroll-margin-top: 140px; }
.fl-safe-handoff h3 { font-size: clamp(1.6rem,3vw,2.2rem); line-height: 1.2; margin-bottom: 18px; }
.fl-safe-handoff p { max-width: 88ch; line-height: 1.75; }
.fl-safe-handoff dl { margin-block: 24px; }
.fl-safe-handoff dl > div { display: grid; grid-template-columns: .35fr 1fr; gap: 24px; padding-block: 18px; border-top: 1px solid var(--fl-rule); }
.fl-safe-handoff dt { font-weight: 650; }
.fl-safe-handoff dd { margin: 0; line-height: 1.75; }
@media(max-width:700px) { .fl-safe-handoff dl > div { grid-template-columns: minmax(0,1fr); gap: 6px; } }

/* Expand the existing worksheet without adding another page chapter. */
.fl-numbers .fl-numbers-title { font-size: clamp(1.35rem,2.6vw,1.8rem); line-height: 1.3; font-weight: 500; }
.fl-enquiry-notes p + p, .fl-enquiry-close p + p { margin-top: 16px; }
.fl-enquiry-notes p, .fl-enquiry-close p { line-height: 1.7; }
.fl-enquiry-close { grid-column: 1 / -1; max-width: 92ch; margin-top: 12px; }
.fl-enquiry-close a { text-decoration: underline; text-underline-offset: 4px; }
.fl-enquiry-close a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
#enquiry-review { scroll-margin-top: 145px; }
@media (max-width: 480px) { #enquiry-review .fl-numbers-blank { width: 56px; } }
