/* ============ Site blocks (rendered on the public site too) ============ */
.fm-site { container: fmsite / inline-size; font-family: var(--fm-body); color: var(--fm-ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.fm-site *, .fm-site *::before, .fm-site *::after { box-sizing: border-box; }
/* :where() keeps these at their original specificity (0,1,1) while skipping Legacy HTML */
.fm-site :is(h1, h2, h3):where(:not(.fm-legacy *)) { font-family: var(--fm-head); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
.fm-site p:where(:not(.fm-legacy *)) { margin: 0 0 1em; }
.fm-site a:where(:not(.fm-legacy *)) { color: inherit; }
.fm-container { margin: 0 auto; padding: 0 32px; width: 100%; }
.fm-w-narrow { max-width: 780px; } .fm-w-normal { max-width: 1040px; } .fm-w-wide { max-width: 1240px; }
.fm-section { position: relative; }
.fm-pad-sm { padding: 40px 0; } .fm-pad-md { padding: 80px 0; } .fm-pad-lg { padding: 120px 0; }
.fm-on-dark { color: #fff; } .fm-on-dark .fm-eyebrow { color: rgba(255,255,255,.75); } .fm-on-dark .fm-lead, .fm-on-dark p { color: rgba(255,255,255,.86); }
.fm-on-accent { color: var(--fm-onAccent); }
.fm-on-light .fm-lead { color: var(--fm-muted); }
.fm-eyebrow { font-family: var(--fm-body); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--fm-accentText, var(--fm-accent)); margin-bottom: 14px; }
.fm-on-accent .fm-eyebrow { color: inherit; opacity: .8; }
.fm-h2 { font-size: clamp(28px, 3.2vw, 42px); }
.fm-lead { font-size: 18px; }
.fm-center { text-align: center; }
.fm-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.fm-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: var(--fm-btn-radius); font-weight: 600; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--fm-body); transition: transform .15s, box-shadow .15s; }
.fm-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.fm-site .fm-btn-primary { background: var(--fm-primary); color: #fff; }
.fm-site .fm-on-dark .fm-btn-primary { background: #fff; color: var(--fm-primary); }
.fm-site .fm-btn-accent { background: var(--fm-accent); color: var(--fm-onAccent); }
.fm-site .fm-btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.fm-site .fm-on-accent .fm-btn-primary { background: var(--fm-primaryDark); color: #fff; }

/* header / footer chrome */
.fm-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; background: var(--fm-primaryDark); color: #fff; gap: 24px; }
.fm-logo { display: flex; align-items: center; gap: 12px; }
.fm-logo-mark { background: #fff; color: var(--fm-primaryDark); font-weight: 800; font-family: var(--fm-body); padding: 6px 9px; letter-spacing: .02em; font-size: 15px; }
.fm-logo-name { font-family: var(--fm-head); font-size: 17px; }
.fm-header nav { display: flex; gap: 22px; flex-wrap: wrap; }
.fm-menu { display: none; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.35); color: #fff; background: transparent; border-radius: 6px; padding: 7px 12px; font: inherit; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.fm-header nav a { text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.fm-footer { background: #f0f1f2; color: var(--fm-ink); padding: 56px 0 0; }
.fm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; }
.fm-footer-grid strong { display: block; margin-bottom: 10px; }
.fm-footer-grid a { display: block; font-size: 14px; color: var(--fm-muted); margin-bottom: 6px; text-decoration: none; }
.fm-footer-name { font-family: var(--fm-head); font-size: 26px; color: var(--fm-primaryDark); margin-bottom: 8px; }
.fm-footer-legal { margin-top: 48px; padding: 18px 32px; background: var(--fm-primaryDark); color: rgba(255,255,255,.75); font-size: 12px; text-align: center; }

/* hero */
.fm-hero { position: relative; display: flex; align-items: center; overflow: hidden; }
.fm-h-sm { min-height: 360px; } .fm-h-md { min-height: 560px; } .fm-h-lg { min-height: 720px; }
.fm-hero-overlay { background-size: cover; background-position: center; }
.fm-hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, #000 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.2) 100%); }
.fm-hero .fm-container { position: relative; }
.fm-hero-inner { max-width: 720px; padding: 72px 0; }
.fm-hero-title { font-size: clamp(38px, 5.4vw, 68px); margin-bottom: 18px !important; }
.fm-hero-sub { font-size: 20px; max-width: 620px; }
.fm-hero-centered .fm-hero-inner { margin: 0 auto; text-align: center; }
.fm-hero-centered .fm-btns { justify-content: center; } .fm-hero-centered .fm-hero-sub { margin-left: auto; margin-right: auto; }
.fm-hero-minimal { border-bottom: 1px solid rgba(0,0,0,.08); }
.fm-hero-minimal .fm-hero-inner { padding: 64px 0 48px; }
.fm-hero-split { align-items: stretch; }
.fm-hero-split-text { flex: 1 1 52%; display: flex; align-items: center; padding: 0 56px; }
.fm-hero-split-img { flex: 1 1 48%; background-size: cover; background-position: center; min-height: 420px; }
.fm-pagehead { padding: 72px 0 64px; background-size: cover; background-position: center; }
.fm-pagehead h1 { font-size: clamp(34px, 4.4vw, 54px); }
.fm-pagehead p { font-size: 19px; max-width: 680px; }
.fm-crumb { font-size: 13px; letter-spacing: .06em; opacity: .75; margin-bottom: 14px; }

/* split panels */
.fm-split { display: flex; }
.fm-panel { display: flex; align-items: center; padding: 72px 56px; }
.fm-mh-md .fm-panel { min-height: 480px; } .fm-mh-lg .fm-panel { min-height: 640px; }
.fm-panel-inner { max-width: 520px; }
.fm-panel h2 { font-size: clamp(30px, 3.4vw, 46px); }
.fm-panel p { font-size: 17px; }
.fm-panel-glass { background: rgba(255,255,255,.9); color: var(--fm-ink); padding: 32px; border-radius: var(--fm-radius); }
.fm-panel-img { padding: 0; }

/* text */
.fm-al-center { text-align: center; }
.fm-prose { font-size: 18px; } .fm-prose p:last-child { margin-bottom: 0; }
.fm-prose a { color: var(--fm-accentText, var(--fm-accent)); }

/* image + text */
.fm-imgtext .fm-container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fm-img-right .fm-imgtext-media { order: 2; }
.fm-imgtext-media { aspect-ratio: 4/3.2; background-size: cover; background-position: center; border-radius: var(--fm-radius); box-shadow: 0 24px 60px -24px rgba(0,0,0,.35); }
.fm-checks { list-style: none; padding: 0; margin: 0 0 28px; }
.fm-checks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.fm-checks svg { color: var(--fm-accent); flex: none; margin-top: 3px; }

/* grids & cards */
.fm-grid { display: grid; gap: 28px; }
.fm-sechead { max-width: 720px; margin-bottom: 40px; }
.fm-site .fm-pcard { display: block; text-decoration: none; padding: 30px; border-radius: var(--fm-radius); transition: transform .2s, box-shadow .2s; }
.fm-pcard h3 { font-size: 22px; } .fm-pcard p { font-size: 15.5px; color: var(--fm-muted); }
.fm-pcard-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 18px; background: var(--fm-light); color: var(--fm-primary); }
.fm-more { font-size: 14px; font-weight: 600; color: var(--fm-accentText, var(--fm-accent)); }
.fm-cards-cards .fm-pcard { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px -12px rgba(0,0,0,.18); }
.fm-cards-cards .fm-pcard:hover { transform: translateY(-3px); }
.fm-cards-minimal .fm-pcard { padding: 22px 0; border-top: 2px solid var(--fm-primary); border-radius: 0; }
.fm-cards-minimal .fm-pcard-icon { background: none; width: auto; height: auto; justify-content: flex-start; }
.fm-cards-bold .fm-pcard { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.fm-cards-bold .fm-pcard p { color: rgba(255,255,255,.75); }
.fm-cards-bold .fm-pcard-icon { background: var(--fm-accent); color: var(--fm-onAccent); }

/* stats */
.fm-stats-row { display: grid; gap: 24px; }
.fm-stat { text-align: center; padding: 8px 12px; border-left: 1px solid rgba(127,127,127,.25); }
.fm-stat:first-child { border-left: 0; }
.fm-stat-num { font-family: var(--fm-head); font-size: clamp(40px, 5vw, 64px); line-height: 1; margin-bottom: 10px; }
.fm-stat-label { font-size: 14px; letter-spacing: .04em; opacity: .82; }

/* attorneys */
.fm-attys-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.fm-search { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(0,0,0,.18); border-radius: 6px; padding: 10px 14px; min-width: 300px; background: #fff; color: #555; }
.fm-search input { border: 0; outline: 0; flex: 1; font: inherit; background: transparent; }
.fm-db-note { font-size: 12px; color: var(--fm-muted); margin-bottom: 28px; }
.fm-site a.fm-atty { display: block; text-decoration: none; }
.fm-site a.fm-atty-row { text-decoration: none; color: inherit; }
.fm-atty-photo { aspect-ratio: 1; overflow: hidden; border-radius: var(--fm-radius); background: #3f6385; }
.fm-atty-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.fm-atty:hover .fm-atty-photo img { transform: scale(1.04); }
.fm-atty-name { font-family: var(--fm-head); font-size: 19px; margin-top: 14px; color: var(--fm-primaryDark); }
.fm-on-dark .fm-atty-name { color: #fff; }
.fm-atty-title { font-size: 13.5px; color: var(--fm-muted); }
.fm-atty-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.fm-atty-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.fm-atty-row img { width: 48px; height: 48px; border-radius: 50%; }
.fm-atty-row strong { display: block; font-family: var(--fm-head); font-weight: 400; font-size: 17px; }
.fm-atty-row span { font-size: 13px; color: var(--fm-muted); }
.fm-atty-office { margin-left: auto; }

/* testimonials, results, awards */
.fm-quote { margin: 0; padding: 34px; background: #fff; color: var(--fm-ink); border-radius: var(--fm-radius); box-shadow: 0 10px 30px -14px rgba(0,0,0,.2); }
.fm-quote-mark { font-family: var(--fm-head); font-size: 64px; line-height: .6; color: var(--fm-accent); height: 30px; }
.fm-quote blockquote { margin: 0 0 20px; font-family: var(--fm-head); font-size: 20px; line-height: 1.45; }
.fm-quote figcaption strong { display: block; font-size: 14px; }
.fm-quote figcaption span { font-size: 13px; color: var(--fm-muted); }
.fm-disclaimer { margin: 28px 0 0 !important; font-size: 12.5px; font-style: italic; opacity: .75; }
.fm-result { padding: 28px; border-top: 4px solid var(--fm-accent); background: var(--fm-light); color: var(--fm-ink); border-radius: 0 0 var(--fm-radius) var(--fm-radius); }
.fm-result-amt { font-family: var(--fm-head); font-size: 32px; line-height: 1.1; color: var(--fm-primaryDark); }
.fm-result-type { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fm-muted); margin: 8px 0 12px; }
.fm-result p { font-size: 15px; color: var(--fm-ink) !important; margin: 0; }
.fm-awards-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 10px; }
.fm-award { display: flex; align-items: center; gap: 12px; color: var(--fm-primary); }
.fm-award strong { display: block; font-family: var(--fm-head); font-weight: 400; font-size: 19px; color: var(--fm-ink); }
.fm-award span { font-size: 12.5px; color: var(--fm-muted); }

/* faq, steps */
.fm-faq-item { border-bottom: 1px solid rgba(127,127,127,.25); }
.fm-faq-item button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--fm-head); font-size: 20px; }
.fm-faq-item button span { color: var(--fm-accentText, var(--fm-accent)); font-size: 26px; line-height: 1; }
.fm-faq-item p { padding-bottom: 20px; color: var(--fm-muted); }
.fm-steps-row { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 28px; counter-reset: s; }
.fm-steps-row li { position: relative; padding-top: 8px; }
.fm-step-n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fm-accent); color: var(--fm-onAccent); font-weight: 700; margin-bottom: 16px; }
.fm-steps-row h3 { font-size: 21px; }
.fm-steps-row p { font-size: 15.5px; opacity: .85; }

/* cta */
.fm-cta { padding: 72px 0; background-size: cover; background-position: center; }
.fm-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fm-cta-inner .fm-h2 { margin-bottom: 8px; }
.fm-cta-inner .fm-lead { margin: 0; }
.fm-cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.fm-cta-phone { display: flex; gap: 8px; align-items: center; font-weight: 600; }

/* form */
.fm-form-wrap { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.fm-form-solo { max-width: 760px; margin: 0 auto; }
.fm-form-card { background: #fff; color: var(--fm-ink); padding: 40px; border-radius: var(--fm-radius); box-shadow: 0 16px 50px -20px rgba(0,0,0,.25); }
.fm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 24px 0 18px; }
.fm-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.fm-field em { color: #b3261e; font-style: normal; }
.fm-field-wide { grid-column: 1 / -1; }
.fm-field input, .fm-field textarea, .fm-field select { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #cdd3d8; border-radius: 6px; background: #fff; }
.fm-site .fm-field input:not([type=checkbox]), .fm-site .fm-field textarea, .fm-site .fm-field select { margin: 0; width: 100%; max-width: none; box-sizing: border-box; }
.fm-site .fm-field > span, .fm-site .fm-consent span { color: inherit; }
.fm-field-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.fm-field-check input { margin-top: 3px; }
.fm-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.fm-form-error { padding: 12px 14px; border-radius: 8px; background: #fef3f2; color: #b42318; margin: 12px 0 0; font-size: 14.5px; }
.fm-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--fm-muted); margin-bottom: 22px; }
.fm-consent input { margin-top: 3px; }
.fm-form-sent { display: flex; gap: 10px; align-items: center; padding: 18px; background: var(--fm-light); border-radius: 8px; margin-top: 20px; }
.fm-form-side h3 { font-size: 22px; }
.fm-form-side p { display: flex; gap: 10px; align-items: flex-start; }
.fm-form-side svg { flex: none; margin-top: 4px; color: var(--fm-accent); }

/* offices */
.fm-office { padding: 0 0 8px; }
.fm-office-map { height: 140px; border-radius: var(--fm-radius); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; color: var(--fm-accent); background: repeating-linear-gradient(45deg, var(--fm-light), var(--fm-light) 12px, #fff 12px, #fff 24px); border: 1px solid rgba(0,0,0,.06); }
.fm-office h3 { font-size: 24px; }
.fm-office p { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; color: var(--fm-muted); }
.fm-pre { white-space: pre-line; align-items: flex-start !important; }

/* columns, spacer, legacy */
.fm-columns { padding: 56px 0; }
.fm-col-grid { display: grid; }
.fm-gap-sm .fm-col-grid { gap: 16px; } .fm-gap-md .fm-col-grid { gap: 32px; } .fm-gap-lg .fm-col-grid { gap: 56px; }
.fm-col-slot { min-height: 120px; }
.fm-col-slot .fm-section, .fm-col-slot .fm-cta, .fm-col-slot .fm-hero { border-radius: var(--fm-radius); }
.fm-slot-ph { border: 2px dashed rgba(127,127,127,.4); border-radius: 8px; display: flex; align-items: center; justify-content: center; min-height: 160px; color: rgba(127,127,127,.9); font-size: 14px; }
.fm-spacer { display: flex; align-items: center; }
.fm-spacer hr { border: 0; border-top: 1px solid rgba(0,0,0,.12); margin: 0; }
.fm-legacy { min-height: 40px; }
/* Imported pages: use the theme's normal text settings, not the block defaults */
.fm-site .fm-legacy { line-height: normal; color: initial; }

/* responsive */

/* Pricing */
.fm-pricing .fm-lead { max-width: 640px; margin: 0 auto 36px; }
.fm-tier { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 28px 28px; background: #ffffff; color: var(--fm-ink); border: 1px solid rgba(0,0,0,.12); border-radius: var(--fm-radius); text-align: left; }
.fm-tier.is-featured { border: 2px solid var(--fm-accent); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.fm-tier-badge { position: absolute; top: -13px; left: 28px; background: var(--fm-accent); color: var(--fm-onAccent); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.fm-site .fm-tier-name { font-family: var(--fm-head); font-size: 22px; line-height: 1.2; margin: 0; color: var(--fm-primary); }
.fm-tier-price { display: flex; align-items: baseline; gap: 4px; }
.fm-tier-amt { font-family: var(--fm-head); font-size: 44px; line-height: 1; color: var(--fm-primaryDark); }
.fm-tier-period { color: var(--fm-muted); font-size: 15px; }
.fm-tier-setup { color: var(--fm-muted); font-size: 14px; }
.fm-tier-list { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; gap: 9px; flex: 1; align-content: start; }
.fm-tier-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--fm-ink); }
.fm-tier-list svg { flex-shrink: 0; margin-top: 3px; color: var(--fm-accentText, var(--fm-accent)); }
.fm-tier .fm-btn { justify-content: center; }

@container fmsite (max-width: 860px) {
  .fm-header nav { display: none; } .fm-menu { display: inline-flex !important; }
  .fm-container { padding: 0 20px; }
  .fm-pad-md { padding: 56px 0; } .fm-pad-lg { padding: 80px 0; }
  .fm-hero-split, .fm-split { flex-direction: column; }
  .fm-hero-split-text { padding: 0 20px; }
  .fm-hero-split-img { min-height: 260px; }
  .fm-panel { padding: 48px 20px; min-height: 0 !important; flex-basis: auto !important; }
  .fm-panel-img { min-height: 260px !important; }
  .fm-first-mobile { order: -1; }
  .fm-imgtext .fm-container, .fm-form-wrap, .fm-footer-grid, .fm-atty-list { grid-template-columns: 1fr; gap: 32px; }
  .fm-img-right .fm-imgtext-media { order: 0; }
  .fm-grid, .fm-col-grid, .fm-steps-row { grid-template-columns: 1fr 1fr !important; }
  .fm-practice .fm-grid, .fm-testis .fm-grid, .fm-results .fm-grid, .fm-pricing .fm-grid, .fm-offices .fm-grid, .fm-col-grid, .fm-steps-row { grid-template-columns: 1fr !important; }
  .fm-stats-row { grid-template-columns: 1fr 1fr !important; } .fm-stat { border-left: 0; }
  .fm-form-grid { grid-template-columns: 1fr; }
  .fm-search { min-width: 0; width: 100%; }
}
