/* Top Lawyer Match — /for-lawyers (Homepage 1A system)

   Loaded after consumer-flow.css and reuses its primitives: .flow-shell,
   .btn-solid / .btn-outline / .btn-ghost-light, .chip-licence, .match-chip,
   .lawyer-card__selected. Everything else is scoped under .fl-*.

   Invariants (docs/BADGE-SEMANTICS.md, locked):
   no border radii, no shadows; indigo for interaction only; gold for Selected
   recognition only; the Enhanced tag is dotted with no container.
   Gutters 48px desktop / 18px mobile. */

.fl {
  color: var(--brand-ink, #111827);
  font-family: var(--brand-font-ui);
  font-size: 16px;
  line-height: 1.55;
}
.fl p { margin: 0; }
.fl h1, .fl h2, .fl h3 { margin: 0; }
.fl a:not([class]) { color: var(--brand-indigo, #3F46A5); font-weight: 600; }
.fl a.btn-solid, .fl a.btn-solid:hover { color: #fff; text-decoration: none; }
.fl a.btn-outline, .fl a.btn-outline:hover { color: var(--brand-ink, #111827); text-decoration: none; }
.fl a.btn-ghost-light { height: 52px; padding: 0 22px; font-size: 15px; }
.fl [id] { scroll-margin-top: 24px; }
.fl :focus-visible { outline: 2px solid var(--brand-indigo, #3F46A5); outline-offset: 2px; border-radius: 0; }

/* The shared badge rule in top-lawyer-match.css predates 1A and carries a
   radius. 1A has none. */
.fl .badge--verified { border-radius: 0; }

.fl-eyebrow {
  margin: 0 0 12px !important;
  color: var(--brand-label, #6B6455);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------- hero --- */

.fl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  padding: 60px 48px 64px;
  align-items: start;
}
.fl-hero__title {
  margin: 0 0 18px !important;
  max-width: 15ch;
  font-family: var(--brand-font-display);
  font-size: 56px;
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.fl-hero__lead {
  max-width: 54ch;
  color: var(--brand-body, #4A5265);
  font-size: 17.5px;
  line-height: 1.55;
}

/* The fixed disclosure. Ink rule, not indigo: it is a statement, not a control. */
.fl-promise {
  margin: 26px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--brand-ink, #111827);
  background: #fff;
  max-width: 56ch;
}
.fl-promise__lead { font-size: 15.5px; font-weight: 800; line-height: 1.4; }
.fl-promise__body { margin-top: 4px !important; color: var(--brand-body, #4A5265); font-size: 14px; line-height: 1.5; }

.fl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fl-hero__price { margin-top: 12px !important; color: var(--brand-body, #4A5265); font-size: 15px; }
.fl-hero__price strong { color: var(--brand-ink, #111827); }
.fl-hero__foot { margin-top: 18px !important; color: var(--brand-body, #4A5265); font-size: 14px; }
.fl-hero__foot { display: flex; flex-wrap: wrap; gap: 4px 22px; }

/* ----------------------------------------------------- illustration mock --- */

.fl-mock { margin: 0; min-width: 0; }
.fl-mock__flag {
  padding: 8px 14px;
  background: var(--brand-ink, #111827);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fl-mock__frame {
  position: relative;
  padding: 24px 26px 20px;
  border: 1.5px solid var(--brand-ink, #111827);
  border-top: 0;
  background: #fff;
}
.fl-mock__head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.fl-mock__photo {
  width: 96px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E7E3DA;
}
.fl-mock__photo span {
  font-family: var(--brand-font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--brand-label, #6B6455);
}
.fl-mock__id { min-width: 0; }
.fl .fl-mock__tag { margin: 0 0 10px; }
.fl-mock__name {
  font-family: var(--brand-font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.fl-mock__firm { margin-top: 4px !important; color: var(--brand-body, #4A5265); font-size: 15.5px; }

.fl-mock__marks { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.fl .fl-verified { margin: 0; padding-left: 0; }

.fl-mock__summary { margin-top: 14px !important; font-size: 15.5px; line-height: 1.55; }

.fl-mock__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0 0;
  border-top: 1px solid var(--brand-rule, #E6E2D8);
}
.fl-mock__facts div { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--brand-rule, #E6E2D8); }
.fl-mock__facts dt { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-label, #6B6455); }
.fl-mock__facts dd { margin: 2px 0 0; font-size: 14px; line-height: 1.4; }

.fl-mock__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.fl-mock__btn { height: 44px; padding: 0 16px; font-size: 14px; cursor: default; }
.fl-mock__btn.btn-solid:hover { background: var(--brand-indigo, #3F46A5); }
.fl-mock__btn.btn-outline:hover { background: #fff; }
.fl-mock__tools { display: flex; align-items: center; gap: 22px; margin-top: 10px !important; color: var(--brand-indigo, #3F46A5); font-size: 14px; }

/* Annotation pins: ink, numbered. Not indigo (they are not controls). */
.fl-pin {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--brand-ink, #111827);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.fl-pin--facts { position: absolute; right: 12px; margin-top: -22px; }

.fl-mock__caption { margin-top: 14px; }
.fl-mock__legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fl-mock__legend li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.4; color: var(--brand-ink, #111827); }
.fl-mock__note { display: block; margin-top: 12px; color: var(--brand-label, #6B6455); font-size: 12.5px; }

/* --------------------------------------------------------------- bands ---- */

.fl-band { padding: 60px 48px; border-top: 1px solid var(--brand-rule-strong, #DDD8CD); }
.fl-band--white { background: #fff; }
.fl-head { max-width: 760px; margin-bottom: 32px; }
.fl-h2 {
  font-family: var(--brand-font-display);
  font-size: 40px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.fl-head__note { margin-top: 10px !important; color: var(--brand-body, #4A5265); font-size: 16px; }

/* ----------------------------------------------------------------- buys --- */

.fl-buys {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--brand-rule, #E6E2D8);
  border: 1px solid var(--brand-rule, #E6E2D8);
}
.fl-buys__item { padding: 22px 22px 24px; background: #fff; }
.fl-buys__item:first-child { grid-column: span 2; background: var(--brand-ivory, #F8F6F1); }
.fl-buys__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--brand-font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-label, #6B6455);
}
.fl-buys__title { font-family: var(--brand-font-display); font-size: 21px; line-height: 1.2; font-weight: 600; }
.fl-buys__body { margin-top: 8px !important; color: var(--brand-body, #4A5265); font-size: 14.5px; line-height: 1.55; }

/* --------------------------------------------------------------- claims --- */

.fl-claims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fl-claim { padding: 24px; background: #fff; border: 1px solid var(--brand-rule-strong, #DDD8CD); }
.fl-claim__kind {
  margin-bottom: 16px !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink, #111827);
}
.fl-claim__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fl .fl-claim__chips .tag--enhanced { margin: 0; }
.fl .fl-claim__chip { margin: 0; }
.fl .fl-claim__selected { font-size: 11px; min-height: 30px; }
.fl-claim__title { margin-top: 18px !important; font-family: var(--brand-font-display); font-size: 22px; font-weight: 600; }
.fl-claim__body { margin-top: 8px !important; color: var(--brand-body, #4A5265); font-size: 14.5px; line-height: 1.55; }
.fl-claim__body strong { color: var(--brand-ink, #111827); }

/* ---------------------------------------------------------------- never --- */

.fl-never {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  padding: 60px 48px;
  background: var(--brand-ink, #111827);
  color: #fff;
}
.fl-never__head { grid-column: 1 / -1; max-width: 760px; }
.fl-never__title { font-family: var(--brand-font-display); font-size: 40px; line-height: 1.08; font-weight: 600; letter-spacing: -0.015em; }
.fl-never__lead { margin-top: 10px !important; color: var(--brand-body-on-ink, #C7CBD4); font-size: 16px; }
.fl-never__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--brand-ink-rule, #2b3446); }
.fl-never__list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--brand-ink-rule, #2b3446);
  color: var(--brand-body-on-ink, #C7CBD4);
  font-size: 15.5px;
  line-height: 1.5;
}
.fl-never__list strong { color: #fff; }
.fl-never__mark { flex: none; width: 16px; color: #fff; font-weight: 800; }
.fl-never__match { padding: 22px 24px; background: var(--brand-ink-raised, #1c2436); }
.fl-never__match-title { font-family: var(--brand-font-display); font-size: 22px; font-weight: 600; }
.fl-never__match-body { margin-top: 6px !important; color: var(--brand-body-on-ink, #C7CBD4); font-size: 14.5px; }
.fl-never__states { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.fl-never__states li { color: var(--brand-body-on-ink, #C7CBD4); font-size: 14px; line-height: 1.5; }
.fl-never__states .match-chip { margin-right: 8px; }
.fl-never__match-foot { margin-top: 14px !important; color: #fff; font-size: 14.5px; font-weight: 700; }

/* --------------------------------------------------------------- assets --- */

.fl-assets__band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 16px !important;
  color: var(--brand-body, #4A5265);
  font-family: var(--brand-font-ui);
  font-size: 14.5px;
  font-weight: 500;
}
.fl-assets__band--earn { margin-top: 44px !important; }
.fl-assets__band-tag {
  padding: 4px 10px;
  border: 1px solid var(--brand-ink, #111827);
  color: var(--brand-ink, #111827);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
/* Gold-family text on a light ground, for the Selected-only band. */
.fl-assets__band-tag--earn { border-color: var(--rec-gold, #C6A15B); color: var(--rec-gold-ink-light, #7A5E20); }

.fl-assets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.fl-asset { margin: 0; min-width: 0; }
.fl-asset--wide { grid-column: span 2; }
.fl-asset__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: 24px;
}
.fl-asset__stage img { max-width: 100%; height: auto; }
.fl-asset__stage--ink { background: var(--brand-ink, #111827); }
.fl-asset__stage--paper { background: var(--brand-ivory, #F8F6F1); border: 1px solid var(--brand-rule, #E6E2D8); }
.fl-asset figcaption { margin-top: 10px; color: var(--brand-body, #4A5265); font-size: 13.5px; line-height: 1.5; }
.fl-asset figcaption strong { display: block; color: var(--brand-ink, #111827); font-size: 14.5px; }
.fl-assets__foot { margin-top: 24px !important; color: var(--brand-body, #4A5265); font-size: 14px; }
.fl-assets__foot strong { color: var(--brand-ink, #111827); }

.fl-embed {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--brand-rule, #E6E2D8);
}
.fl-embed__title { font-family: var(--brand-font-display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.fl-embed__copy p { margin-top: 8px; color: var(--brand-body, #4A5265); font-size: 14.5px; }
.fl-embed__code { min-width: 0; background: var(--brand-ink, #111827); }
.fl-embed__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 16px;
  border-bottom: 1px solid var(--brand-ink-rule, #2b3446);
  color: var(--brand-body-on-ink, #C7CBD4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fl-embed__copy-btn {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #6a7183;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: var(--brand-font-ui);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.fl-embed__copy-btn:hover, .fl-embed__copy-btn.is-copied { border-color: #fff; }
.fl-embed__code pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  color: #E4E6FB;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
}

/* -------------------------------------------------------------- pricing --- */

.fl-pricing { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 0; border: 1.5px solid var(--brand-ink, #111827); background: #fff; }
.fl-pricing__panel { padding: 30px 30px 28px; border-right: 1px solid var(--brand-rule, #E6E2D8); }
.fl-pricing__plan { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-label, #6B6455); }
.fl-pricing__amount {
  margin-top: 8px !important;
  font-family: var(--brand-font-display);
  font-size: 72px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.fl-pricing__terms { margin-top: 8px !important; font-size: 16px; font-weight: 700; }
.fl-pricing__renewal { margin-top: 8px !important; color: var(--brand-body, #4A5265); font-size: 14.5px; max-width: 40ch; }
.fl .fl-pricing__cta { width: 100%; margin-top: 24px; }
.fl-pricing__alt { margin-top: 14px !important; font-size: 14px; }
.fl-pricing__alt span { margin: 0 6px; color: var(--brand-label, #6B6455); }
.fl-pricing__lists { padding: 30px; }
.fl-pricing__label {
  margin-bottom: 10px !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink, #111827);
}
.fl-included, .fl-excluded { display: grid; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; }
.fl-included { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.fl-included li, .fl-excluded li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.45; }
.fl-included li::before { content: '✓'; position: absolute; left: 0; font-weight: 800; color: var(--brand-ink, #111827); }
.fl-excluded li { color: var(--brand-body, #4A5265); }
.fl-excluded li::before { content: '✕'; position: absolute; left: 0; font-weight: 800; color: var(--brand-label, #6B6455); }
.fl-pricing__free { padding-top: 14px; border-top: 1px solid var(--brand-rule, #E6E2D8); color: var(--brand-body, #4A5265); font-size: 13.5px; }

/* ---------------------------------------------------------------- teams --- */

.fl-teams { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.fl-teams__copy { max-width: 720px; }
.fl-teams__copy .fl-h2 { font-size: 30px; }
.fl-teams__copy p { margin-top: 8px; color: var(--brand-body, #4A5265); font-size: 16px; }

/* ------------------------------------------------------------------ faq --- */

.fl-faq { max-width: 860px; border-top: 1px solid var(--brand-rule-strong, #DDD8CD); }
.fl-faq__item { border-bottom: 1px solid var(--brand-rule-strong, #DDD8CD); }
.fl-faq__q {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  min-height: 44px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.fl-faq__q::-webkit-details-marker { display: none; }
.fl-faq__q::after { content: '+'; flex: none; font-weight: 600; color: var(--brand-indigo, #3F46A5); }
.fl-faq__item[open] .fl-faq__q::after { content: '–'; }
.fl-faq__a { padding: 0 0 20px; max-width: 70ch; color: var(--brand-body, #4A5265); font-size: 15.5px; line-height: 1.6; }

/* ---------------------------------------------------------------- close --- */

.fl-close { padding: 60px 48px; background: var(--brand-indigo, #3F46A5); }
.fl-close__title { font-family: var(--brand-font-display); font-size: 44px; line-height: 1.05; font-weight: 600; color: #fff; }
.fl-close__lead { margin-top: 10px !important; color: var(--brand-panel-text, #E4E6FB); font-size: 17px; }
.fl-close__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
/* On the indigo panel the solid button inverts, so it still reads as primary. */
.fl a.fl-close__start { background: #fff; color: var(--brand-indigo, #3F46A5); }
.fl a.fl-close__start:hover { background: var(--brand-indigo-light, #EEF0FF); color: var(--brand-indigo-dark, #2c3279); }

/* --------------------------------------------------------------- sticky --- */

.fl-sticky { display: none; }

/* ------------------------------------------------------------ responsive --- */

@media (max-width: 1180px) {
  .fl-buys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .fl-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .fl-claims { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fl-never { grid-template-columns: minmax(0, 1fr); }
  .fl-embed { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .fl-pricing { grid-template-columns: minmax(0, 1fr); }
  .fl-pricing__panel { border-right: 0; border-bottom: 1px solid var(--brand-rule, #E6E2D8); }
}

@media (max-width: 720px) {
  .fl-hero { padding: 24px 18px 36px; gap: 28px; }
  .fl-hero__title { font-size: 34px; line-height: 1.06; }
  .fl-hero__lead { font-size: 15.5px; }
  .fl-promise { margin-top: 18px; padding: 12px 14px; }
  .fl-promise__lead { font-size: 15px; }
  .fl-hero__actions { margin-top: 18px; }
  .fl-hero__actions .btn-solid, .fl-hero__actions .btn-outline { flex: 1 1 100%; height: 52px; }
  .fl-hero__foot { flex-direction: column; gap: 0; }
  .fl-hero__foot a { display: inline-flex; min-height: 40px; align-items: center; }

  .fl-mock__frame { padding: 18px 16px 16px; }
  .fl-mock__head { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .fl-mock__photo { width: 72px; height: 86px; }
  .fl-mock__photo span { font-size: 24px; }
  .fl-mock__name { font-size: 25px; }
  .fl-mock__facts { grid-template-columns: minmax(0, 1fr); }
  .fl-mock__btn { flex: 1 1 auto; }
  .fl-mock__legend { grid-template-columns: minmax(0, 1fr); }

  .fl-band, .fl-never, .fl-close { padding: 40px 18px; }
  .fl-head { margin-bottom: 22px; }
  .fl-h2, .fl-never__title { font-size: 29px; }
  .fl-teams__copy .fl-h2 { font-size: 25px; }
  .fl-close__title { font-size: 32px; }

  .fl-buys { grid-template-columns: minmax(0, 1fr); }
  .fl-buys__item:first-child { grid-column: auto; }
  .fl-buys__item { padding: 18px; }

  .fl-claim { padding: 20px 18px; }
  .fl-never__match { padding: 18px; }

  .fl-assets { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .fl-asset--wide { grid-column: auto; }
  .fl-asset__stage { min-height: 160px; padding: 18px; }

  .fl-pricing__panel, .fl-pricing__lists { padding: 22px 18px; }
  .fl-pricing__amount { font-size: 60px; }
  .fl-included { grid-template-columns: minmax(0, 1fr); }
  .fl-pricing__alt a { display: inline-flex; min-height: 44px; align-items: center; }

  .fl-teams .btn-outline { width: 100%; }
  .fl-close__actions a { flex: 1 1 100%; }
  .fl-faq__q { font-size: 16px; }

  /* Sticky CTA: hidden until the hero CTA has scrolled away (for-lawyers.js). */
  .fl-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--brand-rule-strong, #DDD8CD);
    transform: translateY(110%);
    transition: transform 0.2s ease;
  }
  .fl-sticky.is-visible { transform: none; }
  .fl-sticky .btn-solid { width: 100%; height: 50px; }
  .page-for-lawyers--1a .flow-footbar { padding-bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .fl-sticky { transition: none; }
}
