/* ==========================================================================
   Law Aggregate — design system
   Ink + ivory + brass. Fraunces (display) / Inter (UI).
   ========================================================================== */

:root {
	--ink: #0d1626;
	--ink-2: #17233a;
	--ink-3: #24324d;
	--paper: #f7f5f0;
	--paper-2: #efebe3;
	--card: #ffffff;
	--line: #e5e0d5;
	--line-2: #d6cfc0;
	--text: #0d1626;
	--muted: #5d6779;
	--muted-2: #8a93a3;
	--brass: #a97f43;
	--brass-2: #d8b57a;
	--brass-3: #f4ead9;
	--ok: #18794e;
	--ok-bg: #e7f4ed;
	--warn: #9a6700;
	--warn-bg: #fdf3dc;
	--bad: #b42318;
	--bad-bg: #fdecea;
	--info: #24508f;
	--info-bg: #eaf0fa;

	--display: "Fraunces", Georgia, "Times New Roman", serif;
	--ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(13, 22, 38, .05);
	--shadow: 0 1px 2px rgba(13, 22, 38, .04), 0 8px 24px -8px rgba(13, 22, 38, .12);
	--shadow-lg: 0 2px 4px rgba(13, 22, 38, .04), 0 24px 60px -20px rgba(13, 22, 38, .28);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--container: 1200px;
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font: 400 16px/1.6 var(--ui);
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -.015em; line-height: 1.12; margin: 0 0 .5em; font-variation-settings: "opsz" 72; }
h1 { font-size: clamp(2.25rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; font-family: var(--ui); font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: .8rem; font-family: var(--ui); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
p { margin: 0 0 1em; }
em { font-style: italic; }
small { font-size: .82em; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brass-2); color: var(--ink); }

.la-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.lat-skip:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 10px 16px; border-radius: var(--r-sm); }

.la-eyebrow { display: inline-block; font: 600 .72rem/1.2 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.la-eyebrow--light { color: var(--brass-2); }
.la-lede { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.la-lede a { color: var(--ink); font-weight: 500; }
.la-fineprint { font-size: .82rem; color: var(--muted); }
.la-fineprint svg { display: inline-block; vertical-align: -2px; margin-right: 4px; }
.la-center, .lat-center { text-align: center; }
.lat-center .la-lede, .lat-center p { margin-left: auto; margin-right: auto; }
.la-link { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass-2); padding-bottom: 1px; transition: border-color .2s; }
.la-link:hover { border-color: var(--ink); }
.la-link-muted { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: var(--muted); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-2); }
.la-link-muted:hover { color: var(--ink); }
.la-error { color: var(--bad); font-size: .88rem; }
.la-num { text-align: right; font-variant-numeric: tabular-nums; }
.la-up { color: var(--ok); font-weight: 600; }
.la-disclaimer { font-size: .78rem; color: var(--muted-2); margin: 40px 0; max-width: 90ch; }

.la-prose { font-size: 1.05rem; }
.la-prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.la-prose > h2:first-child { margin-top: 0; }
.la-section.la-prose h2 { font-size: 1.5rem; }
.la-prose ul { padding-left: 1.2em; }
.la-prose li { margin-bottom: .6em; }
.la-prose a { color: var(--ink); text-decoration-color: var(--brass-2); }

/* ---------- Buttons ---------- */
.la-btn {
	--bg: var(--card); --fg: var(--ink); --bd: var(--line-2);
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 600 .94rem/1 var(--ui); letter-spacing: -.005em;
	padding: 13px 20px; border-radius: 999px; border: 1px solid var(--bd);
	background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.la-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.la-btn:active { transform: translateY(0); }
.la-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.la-btn .lat-icon { width: 18px; height: 18px; }
.la-btn--primary { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.la-btn--primary:hover { --bg: var(--ink-2); }
.la-btn--brass { --bg: var(--brass-2); --fg: var(--ink); --bd: var(--brass-2); }
.la-btn--brass:hover { --bg: #e3c48f; }
.la-btn--ghost { --bg: transparent; }
.la-btn--ghost:hover { --bg: var(--card); --bd: var(--ink); }
.la-btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.la-btn--outline-light:hover { --bd: #fff; --bg: rgba(255, 255, 255, .06); }
.la-btn--sm { padding: 9px 14px; font-size: .85rem; }
.la-btn--lg { padding: 16px 26px; font-size: 1rem; }
.la-btn--block { width: 100%; }
.la-btn.is-loading { position: relative; color: transparent !important; }
.la-btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: la-spin .7s linear infinite; }
@keyframes la-spin { to { transform: rotate(360deg); } }

/* ---------- Chips, badges, tags ---------- */
.la-chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; font: 600 .72rem/1 var(--ui); letter-spacing: .03em; padding: 5px 9px; border-radius: 999px; background: var(--paper-2); color: var(--muted); text-decoration: none; font-style: normal; }
.la-chip--brass { background: var(--brass-3); color: #7a5520; }
.la-chip--ok { background: var(--ok-bg); color: var(--ok); }
.la-chip--warn { background: var(--warn-bg); color: var(--warn); }

.la-badge { display: inline-flex; align-items: center; gap: 6px; font: 600 .74rem/1 var(--ui); padding: 6px 10px 6px 8px; border-radius: 6px; background: var(--ink); color: #fff; }
.la-badge::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: var(--badge-icon) center/contain no-repeat; mask: var(--badge-icon) center/contain no-repeat; }
.la-badge--top_rated, .la-badge--top_10 { --badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E"); color: var(--brass-2); }
.la-badge--top_small { --badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5z'/%3E%3C/svg%3E"); background: var(--ok-bg); color: var(--ok); }
.la-badge--rising { --badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17 9 11l4 4 8-8v6h2V3h-10v2h6l-6 6-4-4-8 8z'/%3E%3C/svg%3E"); background: var(--info-bg); color: var(--info); }
.la-tag { display: inline-block; font-size: .8rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--card); text-decoration: none; }
.la-tag--lg { font-size: .9rem; padding: 8px 14px; color: var(--ink); transition: border-color .2s; }
.la-tag--lg:hover { border-color: var(--ink); }

/* ---------- Stars ---------- */
.la-stars {
	--star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E");
	position: relative; display: inline-block; width: 80px; height: 16px; vertical-align: -2px; background: var(--line-2);
	-webkit-mask: var(--star) left center / 16px 16px repeat-x; mask: var(--star) left center / 16px 16px repeat-x;
}
.la-stars__fill { position: absolute; inset: 0 auto 0 0; background: var(--brass); }

/* ---------- Score ring ---------- */
.la-ring {
	--size: 68px; --thick: 6px; --ring: var(--ink); --track: var(--paper-2); --hole: var(--card);
	position: relative; flex: none; width: var(--size); height: var(--size); border-radius: 50%;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: conic-gradient(var(--ring) calc(var(--score, 0) * 1%), var(--track) 0);
}
.la-ring::before { content: ""; position: absolute; inset: var(--thick); border-radius: 50%; background: var(--hole); }
.la-ring > * { position: relative; }
.la-ring.la-ring > span { font: 600 calc(var(--size) * .34)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.la-ring.la-ring > small { font: 600 calc(var(--size) * .1)/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.la-ring--sm { --size: 48px; --thick: 4px; }
.la-ring--sm.la-ring--sm > small { display: none; }
.la-ring--lg { --size: 112px; --thick: 8px; }
.la-ring--xl { --size: 132px; --thick: 9px; }
.la-ring.is-excellent { --ring: var(--ok); }
.la-ring.is-good { --ring: #2f6f9f; }
.la-ring.is-fair { --ring: var(--brass); }
.la-ring.is-low { --ring: var(--bad); }
.la-ring.is-empty.is-empty > span { color: var(--muted-2); }

/* ---------- Logo ---------- */
.la-logo { --s: 64px; flex: none; width: var(--s); height: var(--s); border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.la-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.la-logo.is-initials { background: linear-gradient(145deg, var(--ink-2), var(--ink)); color: var(--brass-2); font: 500 calc(var(--s) * .38)/1 var(--display); border-color: transparent; letter-spacing: .02em; }
.la-logo--sm { --s: 44px; border-radius: 10px; }
.la-logo--xl { --s: 96px; border-radius: 20px; }

/* ---------- Cards, notices, tables ---------- */
.la-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); }
.la-card h3 { margin-bottom: 14px; }
.la-notice { padding: 14px 18px; border-radius: var(--r-sm); margin: 0 0 20px; font-size: .94rem; border: 1px solid transparent; }
.la-notice a { font-weight: 600; }
.la-notice--success { background: var(--ok-bg); color: #0f5132; border-color: #c6e6d4; }
.la-notice--info { background: var(--info-bg); color: #1d3f71; border-color: #cfdcf1; }
.la-notice--error { background: var(--bad-bg); color: #8a1c13; border-color: #f5c9c4; }

.la-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.la-table th { text-align: left; font: 600 .72rem/1.2 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.la-table td { padding: 12px; border-bottom: 1px solid var(--line); }
.la-table tr:last-child td { border-bottom: 0; }
.la-table tr.is-you td { background: #fbf6ec; font-weight: 600; }
.la-table tr.is-you td:first-child { box-shadow: inset 3px 0 0 var(--brass); }

/* ---------- Bars ---------- */
.la-bar { display: block; height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.la-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ink-3), var(--ink)); transition: width .8s var(--ease); }
.la-bar--thin { height: 4px; }
.la-bar--lg { height: 10px; margin-bottom: 16px; }
.la-bar--lg > span { background: linear-gradient(90deg, var(--brass), var(--brass-2)); }

/* ---------- Forms ---------- */
.la-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; border: 0; padding: 0; min-width: 0; }
.la-field > span, .la-field > legend { font: 600 .82rem/1.3 var(--ui); color: var(--ink); padding: 0; }
.la-field > span small { font-weight: 400; color: var(--muted); }
.la-field small { color: var(--muted); }
input[type=text], input[type=email], input[type=url], input[type=tel], input[type=password], input[type=number], input[type=search], select, textarea {
	width: 100%; font: 400 .96rem/1.4 var(--ui); color: var(--ink);
	padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff;
	transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235d6779' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea { resize: vertical; min-height: 44px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(13, 22, 38, .08); }
input[type=file] { font-size: .88rem; color: var(--muted); }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset:disabled { opacity: .55; }
.was-validated :invalid { border-color: var(--bad); }

.la-check, .la-radio { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; cursor: pointer; margin: 0 0 10px; }
.la-check input, .la-radio input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 2px 0 0; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; transition: all .15s; }
.la-check input { border-radius: 5px; }
.la-radio input { border-radius: 50%; }
.la-check input:checked { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--ink); }
.la-radio input:checked { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 4px #fff; }
.la-check--sm { font-size: .8rem; color: var(--muted); }
.la-check a { color: var(--ink); }

.la-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.la-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.la-grid-tight { gap: 0 10px; }
.la-span-2 { grid-column: span 2; }
.la-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.la-counter { align-self: flex-end; color: var(--muted-2); font-size: .75rem; }

.la-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.la-pill input { position: absolute; opacity: 0; pointer-events: none; }
.la-pill span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; cursor: pointer; transition: all .15s; background: #fff; }
.la-pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.la-pill input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.la-pill.is-disabled span { opacity: .4; cursor: not-allowed; }
.la-toggles { display: flex; flex-wrap: wrap; gap: 4px 24px; }

.la-form__section { margin-bottom: 20px; position: relative; }
.la-form__section.is-locked { background: linear-gradient(180deg, #fff, var(--paper)); }
.la-form__sectionhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.la-form__sectionhead h3 { margin: 0; }
.la-form__actions { position: sticky; bottom: 0; padding: 16px 0; background: linear-gradient(180deg, transparent, var(--paper) 30%); display: flex; justify-content: flex-end; z-index: 2; }
.la-inline-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.la-inline-form select { width: auto; flex: 1; min-width: 240px; }
.la-upload { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.la-gallery-edit { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.la-gallery-edit__item { width: 110px; font-size: .78rem; }
.la-gallery-edit__item img { width: 110px; height: 80px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.la-repeater__row { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: var(--paper); }
.la-repeater__row input, .la-repeater__row textarea { margin-bottom: 10px; }

/* ==========================================================================
   Header & footer
   ========================================================================== */
.lat-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(247, 245, 240, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.lat-header.is-scrolled { border-bottom-color: var(--line); background: rgba(247, 245, 240, .94); }
.home .lat-header:not(.is-scrolled), .page-template-for-law-firms .lat-header:not(.is-scrolled) { background: transparent; color: #fff; backdrop-filter: none; }
.home .lat-header:not(.is-scrolled) .la-btn--ghost, .page-template-for-law-firms .lat-header:not(.is-scrolled) .la-btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.home .lat-main, .page-template-for-law-firms .lat-main { margin-top: calc(var(--header-h) * -1); }
.lat-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lat-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lat-brand__img { max-height: 40px; width: auto; }
.lat-brand__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--brass-2); display: grid; place-items: center; font: 600 .95rem/1 var(--display); letter-spacing: .02em; }
.home .lat-header:not(.is-scrolled) .lat-brand__mark, .page-template-for-law-firms .lat-header:not(.is-scrolled) .lat-brand__mark { background: var(--brass-2); color: var(--ink); }
.lat-brand__name { font: 500 1.3rem/1 var(--display); letter-spacing: -.02em; }
.lat-brand__name em { font-style: italic; color: var(--brass); }
.lat-nav { display: flex; align-items: center; gap: 32px; }
.lat-menu { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.lat-menu a { text-decoration: none; font-weight: 500; font-size: .94rem; opacity: .85; transition: opacity .2s; }
.lat-menu a:hover, .lat-menu .current-menu-item a { opacity: 1; }
.lat-nav__actions { display: flex; align-items: center; gap: 16px; }
.lat-nav__login { font-size: .94rem; font-weight: 500; text-decoration: none; opacity: .85; }
.lat-burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; color: inherit; }
.lat-burger span:not(.screen-reader-text) { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; transition: transform .25s var(--ease), top .25s; }
.lat-burger span:nth-child(1) { top: 17px; }
.lat-burger span:nth-child(2) { top: 26px; }
.lat-burger[aria-expanded=true] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.lat-burger[aria-expanded=true] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.lat-footer { background: var(--ink); color: #c4cbd6; padding: 72px 0 32px; margin-top: 0; }
.lat-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.lat-footer__brand .lat-brand__name { color: #fff; font-size: 1.5rem; display: block; margin-bottom: 14px; }
.lat-footer__brand p { max-width: 34ch; font-size: .94rem; }
.lat-footer h4 { color: #fff; margin-bottom: 16px; }
.lat-footer ul { list-style: none; margin: 0; padding: 0; }
.lat-footer li { margin-bottom: 10px; }
.lat-footer a { text-decoration: none; font-size: .94rem; transition: color .2s; }
.lat-footer a:hover { color: #fff; }
.lat-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding-top: 24px; font-size: .78rem; color: #8592a6; display: grid; gap: 4px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.lat-hero { position: relative; background: var(--ink); color: #fff; padding: calc(var(--header-h) + 72px) 0 96px; overflow: hidden; isolation: isolate; }
.lat-hero__bg { position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(60% 80% at 85% 20%, rgba(216, 181, 122, .18), transparent 60%),
		radial-gradient(50% 60% at 10% 90%, rgba(47, 111, 159, .22), transparent 60%),
		linear-gradient(180deg, var(--ink) 0%, #0a1220 100%);
}
.lat-hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.lat-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.lat-hero h1 { color: #fff; font-weight: 400; margin-bottom: 24px; }
.lat-hero h1 em { color: var(--brass-2); font-weight: 400; }
.lat-hero__lede { font-size: 1.15rem; color: #b9c1cf; max-width: 54ch; margin-bottom: 36px; }
.lat-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lat-hero__actions.lat-center { justify-content: center; }
.lat-hero__note { margin-top: 16px; color: #8e99ab; font-size: .88rem; }
.lat-hero__stats { list-style: none; display: flex; gap: 40px; margin: 40px 0 0; padding: 0; }
.lat-hero__stats strong { display: block; font: 500 1.9rem/1 var(--display); color: #fff; letter-spacing: -.02em; }
.lat-hero__stats span { font-size: .82rem; color: #8e99ab; }

.lat-search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; padding: 6px; background: rgba(255, 255, 255, .98); border-radius: 18px; box-shadow: var(--shadow-lg); max-width: 720px; }
.lat-search__field { display: flex; flex-direction: column; padding: 8px 14px 6px; border-radius: 12px; transition: background .2s; color: var(--ink); }
.lat-search__field:hover, .lat-search__field:focus-within { background: var(--paper); }
.lat-search__field + .lat-search__field { border-left: 1px solid var(--line); }
.lat-search__field span { font: 600 .68rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lat-search__field select { border: 0; padding: 6px 28px 4px 0; background-color: transparent; font-weight: 500; box-shadow: none; background-position: right 0 center; }
.lat-search .la-btn { border-radius: 13px; padding: 0 24px; }

/* Aggregation visual */
.lat-agg { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 24px; backdrop-filter: blur(10px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.lat-agg__sources { display: grid; gap: 8px; }
.lat-agg__src { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: .9rem; animation: lat-rise .7s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 150ms); }
.lat-agg__src .la-stars { background: rgba(255, 255, 255, .18); }
.lat-agg__src .la-stars__fill { background: var(--brass-2); }
.lat-agg__name { font-weight: 500; }
.lat-agg__val { font-variant-numeric: tabular-nums; font-weight: 600; }
.lat-agg__val small { color: #8e99ab; font-weight: 400; }
.lat-agg__flow { display: flex; justify-content: center; gap: 22px; height: 40px; }
.lat-agg__flow span { width: 1px; background: linear-gradient(180deg, rgba(216, 181, 122, 0), var(--brass-2)); animation: lat-flow 2.4s ease-in-out infinite; }
.lat-agg__flow span:nth-child(2) { animation-delay: .3s; }
.lat-agg__flow span:nth-child(3) { animation-delay: .6s; }
.lat-agg__flow span:nth-child(4) { animation-delay: .9s; }
.lat-agg__result { display: flex; align-items: center; gap: 20px; padding: 18px; background: #fff; color: var(--ink); border-radius: 16px; animation: lat-rise .7s var(--ease) .65s both; }
.lat-agg__result strong { display: block; font-size: 1.05rem; }
.lat-agg__result > div:last-child span { font-size: .84rem; color: var(--muted); }
@keyframes lat-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lat-flow { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.lat-section { padding: 104px 0; }
.lat-section--paper { background: var(--paper-2); }
.lat-section--ink { background: var(--ink); color: #c4cbd6; }
.lat-section--ink h2 { color: #fff; }
.lat-section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.lat-section__head .la-lede { margin: 0 auto; }
.lat-section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; text-align: left; gap: 24px; }
.lat-section__head--row h2 { margin: 0; }
.lat-icon { width: 28px; height: 28px; }

.lat-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 40px; }
.lat-step { background: var(--card); padding: 36px 28px; position: relative; }
.lat-step .lat-icon { color: var(--brass); margin-bottom: 28px; }
.lat-step__num { position: absolute; top: 28px; right: 28px; font: 500 .85rem/1 var(--display); color: var(--muted-2); }
.lat-step p { color: var(--muted); font-size: .95rem; margin: 0; }

.lat-practices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lat-practice { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.lat-practice span { font-weight: 600; }
.lat-practice small { color: var(--muted); grid-row: 2; }
.lat-practice .lat-icon { grid-row: span 2; grid-column: 2; width: 18px; height: 18px; color: var(--muted-2); transition: transform .2s var(--ease), color .2s; }
.lat-practice:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.lat-practice:hover .lat-icon { transform: translateX(3px); color: var(--ink); }

.lat-topgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lat-topcard { display: flex; flex-direction: column; gap: 4px; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.lat-topcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lat-topcard__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.lat-topcard strong { font-size: 1.05rem; }
.lat-topcard__rating { font-size: .86rem; color: var(--muted); margin-top: 8px; display: flex; gap: 8px; align-items: center; }

.lat-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.lat-split--reverse > :first-child { order: 0; }
.la-ticks { list-style: none; padding: 0; margin: 20px 0; }
.la-ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.la-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318794e' stroke-width='3'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.la-ticks--light li { color: #dfe4ec; }
.la-ticks--light li::before { background-color: rgba(216, 181, 122, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b57a' stroke-width='3'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }

.lat-compare { display: grid; gap: 12px; }
.lat-compare__row { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 4px 20px; align-items: center; padding: 22px 24px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.lat-compare__row.is-win { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.lat-compare__label { font-weight: 600; }
.lat-compare__data { font-size: .9rem; opacity: .7; grid-row: 2; }
.lat-compare__score { grid-row: span 2; grid-column: 2; font: 500 2.6rem/1 var(--display); letter-spacing: -.03em; }
.lat-compare__row.is-win .lat-compare__score { color: var(--ok); }
.lat-compare .la-fineprint { color: #8592a6; }

.lat-cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 56px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lat-cta h2 { max-width: 22ch; }
.lat-cta p { color: var(--muted); margin: 0; }
.lat-cta__actions { display: flex; flex-direction: column; gap: 10px; flex: none; }

/* Sales */
.lat-report-mock { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform: rotate(1.2deg); animation: lat-rise .8s var(--ease) .2s both; }
.lat-report-mock__head span { display: block; font: 600 .68rem/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.lat-report-mock__head strong { font: 500 1.25rem/1.2 var(--display); }
.lat-report-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.lat-report-mock__kpis div { background: var(--paper); border-radius: 10px; padding: 12px; }
.lat-report-mock__kpis small { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.lat-report-mock__kpis b { font: 500 1.5rem/1.2 var(--display); }
.lat-report-mock__kpis em { font: 600 .75rem var(--ui); font-style: normal; }
.up { color: var(--ok); }
.lat-report-mock__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lat-report-mock__rows li { display: grid; grid-template-columns: 90px 1fr 32px; gap: 12px; align-items: center; font-size: .86rem; padding: 8px 10px; border-radius: 8px; }
.lat-report-mock__rows li.is-you { background: var(--brass-3); font-weight: 600; }
.lat-report-mock__rows i { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) var(--w), var(--paper-2) var(--w)); }
.lat-report-mock__rows b { text-align: right; font-variant-numeric: tabular-nums; }
.lat-report-mock__tip { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px; border-radius: 10px; background: var(--info-bg); color: #1d3f71; font-size: .84rem; }
.lat-report-mock__tip .lat-icon { width: 18px; height: 18px; flex: none; }

.lat-problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lat-problem { padding: 32px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.lat-problem__x { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bad-bg); color: var(--bad); font-weight: 700; margin-bottom: 20px; }
.lat-problem p { color: var(--muted); margin: 0; }

.lat-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lat-feature { padding: 32px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.lat-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lat-feature .lat-icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--ink); color: var(--brass-2); margin-bottom: 22px; }
.lat-feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.lat-vs { padding: 8px 16px; max-width: 860px; margin: 0 auto; }
.lat-vs th:nth-child(2), .lat-vs td:nth-child(2) { background: #fbf8f2; text-align: center; }
.lat-vs th:nth-child(3), .lat-vs td:nth-child(3) { text-align: center; }
.lat-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.lat-yes .lat-icon { width: 15px; height: 15px; stroke-width: 2.6; }
.lat-no { color: var(--muted-2); }
.lat-maybe { font-size: .84rem; color: var(--muted); }

.lat-faq { max-width: 820px; }
.lat-faq__item { border-bottom: 1px solid var(--line-2); }
.lat-faq__item summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font: 500 1.15rem/1.35 var(--ui); position: relative; }
.lat-faq__item summary::-webkit-details-marker { display: none; }
.lat-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 1.6rem/1 var(--ui); transition: transform .25s var(--ease); }
.lat-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lat-faq__item p { color: var(--muted); padding-bottom: 24px; margin: 0; max-width: 68ch; }
.lat-final { padding: 112px 0; }
.lat-final p { color: #b9c1cf; margin-bottom: 32px; font-size: 1.1rem; }

/* Pricing */
.la-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.la-pricing--compact { grid-template-columns: repeat(2, 1fr); margin: 24px 0; }
.la-price-card { position: relative; display: flex; flex-direction: column; padding: 36px 32px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.la-price-card h3 { font: 500 1.5rem/1.2 var(--display); margin-bottom: 10px; }
.la-price { font: 500 3rem/1 var(--display); letter-spacing: -.03em; margin: 0 0 12px; }
.la-price small { font: 500 .95rem var(--ui); color: var(--muted); letter-spacing: 0; }
.la-price-card__blurb { color: var(--muted); min-height: 3.2em; }
.la-price-card .la-btn { margin: 8px 0 20px; }
.la-price-card .la-ticks { margin-top: 0; font-size: .94rem; }
.la-price-card.is-featured { border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.la-price-card__ribbon { position: absolute; top: -12px; left: 32px; background: var(--ink); color: var(--brass-2); font: 600 .7rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.la-price-card.is-dark { background: var(--ink); color: #dfe4ec; border-color: var(--ink); }
.la-price-card.is-dark h3, .la-price-card.is-dark .la-price { color: #fff; }
.la-price-card.is-dark .la-price small, .la-price-card.is-dark .la-price-card__blurb { color: #9aa5b6; }
.la-price-card.is-dark .la-ticks li::before { background-color: rgba(216, 181, 122, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b57a' stroke-width='3'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.la-price-card.is-current { outline: 2px solid var(--ok); outline-offset: -1px; }
.la-pricing--compact .la-price-card { padding: 28px; }
.la-pricing--compact .la-price { font-size: 2.2rem; }

/* ==========================================================================
   Directory
   ========================================================================== */
.la-dir-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.la-dir-hero h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 12px; }
.la-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.la-crumbs a { text-decoration: none; }
.la-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.la-dir { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.la-dir__filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.la-filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 16px; }
.la-filters .la-field { margin-bottom: 18px; }
.la-filters select, .la-filters input { padding: 10px 12px; font-size: .9rem; }
.la-fair-note { font-size: .86rem; background: var(--ink); color: #c4cbd6; border-color: var(--ink); }
.la-fair-note strong { color: #fff; display: block; margin-bottom: 6px; }
.la-fair-note p { margin: 0; }
.la-dir__toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .9rem; color: var(--muted); gap: 16px; }
.la-segmented { display: inline-flex; padding: 4px; background: var(--paper-2); border-radius: 999px; }
.la-segmented a { padding: 8px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; text-decoration: none; color: var(--muted); transition: all .2s; }
.la-segmented a.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.la-sponsored { background: linear-gradient(180deg, var(--brass-3), #fbf7ef); border: 1px solid #ecdcc0; border-radius: var(--r-lg); padding: 16px; margin-bottom: 28px; display: grid; gap: 10px; }
.la-sponsored__head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 2px; gap: 12px; }
.la-sponsored__head .la-eyebrow { margin: 0; }

.la-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.la-results__divider { padding: 24px 0 8px; display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.la-results__divider::before, .la-results__divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

.la-result { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo body score" "logo body cta"; gap: 12px 22px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px 22px 28px; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.la-result:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.la-result.is-sponsored { border-color: #ecdcc0; }
.la-result__rank { position: absolute; left: -12px; top: 22px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 .78rem/1 var(--ui); box-shadow: 0 0 0 4px var(--paper); }
.la-result__flag { position: absolute; top: 10px; right: 14px; font: 600 .66rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: #8a6430; }
.la-result__logo { grid-area: logo; align-self: start; }
.la-result__body { grid-area: body; min-width: 0; }
.la-result__name { font: 600 1.15rem/1.3 var(--ui); margin: 0 0 4px; letter-spacing: -.01em; }
.la-result__name a { text-decoration: none; }
.la-result__name a:hover { text-decoration: underline; text-decoration-color: var(--brass-2); }
.la-result__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .86rem; color: var(--muted); margin: 0 0 8px; }
.la-result__meta span + span::before { content: "·"; margin-right: 14px; color: var(--muted-2); }
.la-result__excerpt { font-size: .92rem; color: var(--muted); margin: 0 0 10px; max-width: 62ch; }
.la-result__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.la-result__score { grid-area: score; align-self: end; display: flex; align-items: center; gap: 14px; padding-left: 22px; border-left: 1px solid var(--line); }
.la-result__rating { display: flex; flex-direction: column; gap: 3px; font-size: .86rem; white-space: nowrap; }
.la-result__rating small { color: var(--muted); }
.la-result__cta { grid-area: cta; align-self: start; display: flex; gap: 8px; padding-left: 22px; border-left: 1px solid var(--line); }
.la-empty { text-align: center; padding: 64px 24px; background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--r); }
.la-pager { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 32px 0; font-size: .92rem; }
.la-pager a { font-weight: 600; text-decoration: none; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.la-pager a:hover { border-color: var(--ink); }

/* ==========================================================================
   Firm profile
   ========================================================================== */
.la-profile__hero { padding: 48px 0; background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--line); }
.la-profile.is-advanced .la-profile__hero { background: var(--ink); color: #fff; border-bottom: 0; position: relative; overflow: hidden; }
.la-profile.is-advanced .la-profile__hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 90% 10%, rgba(216, 181, 122, .16), transparent 60%); }
.la-profile.is-advanced .la-crumbs { color: #9aa5b6; }
.la-profile.is-advanced .la-result__meta { color: #b9c1cf; }
.la-profile.is-advanced .la-tag { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #dfe4ec; }
.la-profile__heroinner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.la-profile__heroinner .la-crumbs { grid-column: 1 / -1; margin: 0; }
.la-profile__id { display: flex; gap: 24px; align-items: flex-start; }
.la-profile__id h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 8px; }
.la-profile__tagline { font: italic 400 1.2rem/1.4 var(--display); color: var(--brass-2); margin-bottom: 10px; }
.la-verified { display: inline-flex; vertical-align: middle; margin-left: 10px; color: #2f6f9f; }
.la-profile.is-advanced .la-verified { color: var(--brass-2); }
.la-scorecard { display: flex; align-items: center; gap: 22px; padding: 20px 26px 20px 20px; background: #fff; color: var(--ink); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); min-width: 360px; }
.la-scorecard__rating { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.la-scorecard__rating strong { font: 500 1.6rem/1 var(--display); }
.la-scorecard p { margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
.la-scorecard__rank { color: var(--ink) !important; font-weight: 600; }
.la-profile__grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding-top: 40px; padding-bottom: 24px; align-items: start; }
.la-profile__main { display: grid; gap: 20px; min-width: 0; }
.la-profile__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.la-section { padding: 32px; }
.la-section h2 { font-size: 1.5rem; margin-bottom: 20px; }
.la-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.la-source-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 4px; }
.la-source-list li { display: grid; grid-template-columns: 150px 150px 1fr 120px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.la-source-list__name { font-weight: 600; }
.la-source-list__stars { display: flex; gap: 8px; align-items: center; }
.la-source-list__count { text-align: right; color: var(--muted); font-size: .88rem; }
.la-source-list__count a { text-decoration: none; }
.la-source-list__count a:hover { color: var(--ink); }
.la-components { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
.la-component { padding: 14px; border-radius: 12px; background: var(--paper); display: grid; gap: 6px; }
.la-component__label { font: 600 .7rem/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.la-component__value { font: 500 1.5rem/1 var(--display); }
.la-video { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.la-video iframe { width: 100%; height: 100%; }
.la-attorneys { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.la-attorney { display: flex; gap: 14px; padding: 18px; border-radius: 12px; background: var(--paper); }
.la-attorney strong { display: block; }
.la-attorney span { display: block; font-size: .88rem; color: var(--muted); }
.la-attorney small { display: block; color: var(--muted-2); margin-top: 2px; }
.la-attorney p { font-size: .9rem; margin: 8px 0 0; }
.la-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.la-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; transition: opacity .2s; }
.la-gallery a:hover img { opacity: .88; }
.la-compare { display: grid; gap: 12px; }
.la-compare .la-result__cta { display: none; }
.la-contact h2 { font-size: 1.35rem; margin-bottom: 18px; }
.la-contact .la-btn { margin-bottom: 10px; }
.la-response { font-size: .86rem; color: var(--ok); background: var(--ok-bg); padding: 10px 12px; border-radius: 10px; margin: 8px 0 14px; }
.la-lead { margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.la-lead .la-field { margin-bottom: 12px; }
.la-lead input, .la-lead textarea { padding: 10px 12px; font-size: .92rem; }
.la-facts { display: grid; grid-template-columns: 90px 1fr; gap: 10px 12px; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.la-facts dt { color: var(--muted); }
.la-facts dd { margin: 0; }
.la-facts a { text-decoration-color: var(--line-2); }
.la-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.la-social a { font-size: .82rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.la-claim { background: var(--paper-2); }
.la-claim p { font-size: .9rem; color: var(--muted); margin: 8px 0 14px; }

/* ==========================================================================
   Dashboard, signup, auth
   ========================================================================== */
.lat-app-wrap { padding-top: 40px; padding-bottom: 80px; }
.la-dash { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.la-dash__nav { position: sticky; top: calc(var(--header-h) + 20px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.la-dash__firm { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.la-dash__firm strong { display: block; font-size: .94rem; line-height: 1.3; margin-bottom: 4px; }
.la-dash__nav nav { display: grid; gap: 2px; }
.la-dash__nav nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted); transition: background .15s, color .15s; }
.la-dash__nav nav a:hover { background: var(--paper); color: var(--ink); }
.la-dash__nav nav a.is-active { background: var(--ink); color: #fff; }
.la-dash__navfoot { display: grid; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); justify-items: start; }
.la-dash__main { min-width: 0; }
.la-dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.la-dash__head h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.la-dash__head .la-lede { margin: 10px 0 0; font-size: 1rem; }
.la-kpis { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.la-kpi { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.la-kpi--score { padding: 18px; align-items: center; }
.la-kpi__label { font: 600 .72rem/1.2 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.la-kpi__value { font: 500 2.4rem/1 var(--display); letter-spacing: -.02em; }
.la-kpi__sub { font-size: .84rem; color: var(--muted); }
a.la-kpi__sub { color: var(--brass); font-weight: 600; text-decoration: none; }
.la-blur { filter: blur(7px); user-select: none; }
.la-dash__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-bottom: 20px; }
.la-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.la-bars__row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: .92rem; }
.la-bars__row small { color: var(--muted); }
.la-bars li > small { display: block; color: var(--muted); margin-top: 6px; }
.la-checklist { list-style: none; margin: 0 0 18px; padding: 0; }
.la-checklist li { position: relative; padding: 8px 0 8px 28px; font-size: .92rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.la-checklist li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.la-checklist li.is-done { color: var(--ink); }
.la-checklist li.is-done::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/9px no-repeat; }
.la-upsell { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 36px; border-radius: var(--r-lg); background: var(--ink); color: #c4cbd6; position: relative; overflow: hidden; }
.la-upsell::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0, rgba(216, 181, 122, .2), transparent 60%); }
.la-upsell > * { position: relative; }
.la-upsell h3 { font: 500 1.6rem/1.25 var(--display); color: #fff; max-width: 30ch; }
.la-upsell p { margin: 0; max-width: 60ch; }
.la-sources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.la-source { transition: box-shadow .3s, border-color .3s; }
.la-source.is-highlight { border-color: var(--brass); box-shadow: 0 0 0 4px var(--brass-3); }
.la-source__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.la-source__head strong { margin-right: auto; font-size: 1.02rem; }
.la-source__data { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.la-source__data strong { color: var(--ink); }
.la-source .la-field:last-child { margin-bottom: 0; }
.la-candidates { list-style: none; margin: 0; padding: 0; }
.la-candidates li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.la-candidates small { color: var(--muted); }
.la-locked-preview { position: relative; overflow: hidden; padding: 0; }
.la-locked-preview__blur { filter: blur(4px); opacity: .6; padding: 24px; pointer-events: none; }
.la-locked-preview__cta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .95)); padding: 24px; }
.la-locked-preview__cta h3 { font: 500 1.6rem/1.2 var(--display); }
.la-report-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.la-report-item { display: flex; flex-direction: column; gap: 8px; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.la-report-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.la-report-item .la-eyebrow { margin: 0; }
.la-delta { align-self: flex-start; font: 600 .8rem/1 var(--ui); padding: 5px 8px; border-radius: 6px; }
.la-delta.is-up { background: var(--ok-bg); color: var(--ok); }
.la-delta.is-down { background: var(--bad-bg); color: var(--bad); }
.la-billing-current { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.la-billing-current h2 { margin: 0 0 6px; }
.la-billing-current h2 small { font: 500 1rem var(--ui); color: var(--muted); }
.la-billing-current p { margin: 0; color: var(--muted); }

.la-auth { max-width: 460px; margin: 24px auto; }
.la-auth__card h2 { font-size: 1.8rem; margin-bottom: 20px; }
.la-auth__card form p { margin: 0 0 14px; }
.la-auth__card label { display: block; font: 600 .82rem var(--ui); margin-bottom: 6px; }
.la-auth__card .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.la-auth__card input[type=submit] { width: 100%; font: 600 1rem var(--ui); padding: 15px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer; }
.la-auth__links { display: flex; justify-content: center; gap: 10px; font-size: .88rem; color: var(--muted); margin: 18px 0 0; }

.lat-page__head { margin-bottom: 32px; }
.lat-page__head--center { text-align: center; max-width: 720px; margin: 8px auto 40px; }
.la-signup { max-width: 760px; margin: 0 auto; }
.la-signup__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); }
.la-steps { list-style: none; display: flex; gap: 8px; margin: 0 0 32px; padding: 0; font-size: .84rem; color: var(--muted); }
.la-steps li { display: flex; align-items: center; gap: 8px; flex: 1; }
.la-steps li:not(:last-child)::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.la-steps span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-weight: 600; font-size: .75rem; }
.la-steps li.is-active { color: var(--ink); font-weight: 600; }
.la-steps li.is-active span { background: var(--ink); color: #fff; border-color: var(--ink); }
.la-plan-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.la-plan-picker legend { grid-column: 1 / -1; float: left; width: 100%; }
.la-plan-option input { position: absolute; opacity: 0; }
.la-plan-option__body { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: var(--r); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.la-plan-option:hover .la-plan-option__body { border-color: var(--line-2); }
.la-plan-option input:checked + .la-plan-option__body { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(13, 22, 38, .06); background: #fdfcfa; }
.la-plan-option input:focus-visible + .la-plan-option__body { outline: 2px solid var(--brass); outline-offset: 2px; }
.la-plan-option__head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.la-plan-option__price { font: 500 1.6rem/1 var(--display); }
.la-plan-option__price small { font: 500 .8rem var(--ui); color: var(--muted); }
.la-plan-option__blurb { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.la-claim-box { padding: 18px; border-radius: var(--r); background: var(--paper); margin-bottom: 16px; }
.la-claim-box strong { display: block; font-size: 1.2rem; margin-bottom: 6px; }
.la-claim-box p { font-size: .88rem; color: var(--muted); margin: 0; }
.la-signup__form .la-check { margin: 8px 0 24px; }
.la-signup__form [data-label-paid] { display: none; }
.la-signup__form.is-paid [data-label-paid] { display: inline; }
.la-signup__form.is-paid [data-label-free] { display: none; }
.la-signup__form .la-fineprint { margin-top: 14px; display: flex; align-items: center; justify-content: center; }

/* Methodology */
.la-method__weights { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 8px 0 48px; }
.la-method__weight { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); position: relative; overflow: hidden; }
.la-method__weight::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: calc(var(--w) * 1%); min-width: 6%; background: linear-gradient(90deg, var(--brass), var(--brass-2)); }
.la-method__pct { font: 500 2.4rem/1 var(--display); letter-spacing: -.03em; display: block; margin-bottom: 10px; }
.la-method__weight h3 { font-size: 1rem; margin-bottom: 8px; }
.la-method__weight p { font-size: .86rem; color: var(--muted); margin: 0; }

/* Generic pages */
.lat-page__hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.lat-page__hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0; max-width: 20ch; }
.lat-page__body { padding-top: 48px; padding-bottom: 96px; max-width: 980px; }
.lat-page { padding-bottom: 0; }
.lat-posts { display: grid; gap: 16px; }
.lat-404 { padding: 140px 0; text-align: center; }
.lat-404 h1 { max-width: 18ch; margin: 0 auto 16px; }
.lat-404 .la-lede { margin: 0 auto 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.lat-hero__grid { grid-template-columns: 1fr; gap: 48px; }
	.lat-hero__visual { max-width: 520px; }
	.lat-steps, .lat-practices { grid-template-columns: repeat(2, 1fr); }
	.la-profile__heroinner { grid-template-columns: 1fr; }
	.la-scorecard { min-width: 0; }
	.la-components, .la-method__weights { grid-template-columns: repeat(3, 1fr); }
	.la-kpis { grid-template-columns: repeat(2, 1fr); }
	.la-kpi--score { grid-row: span 2; }
}

@media (max-width: 900px) {
	:root { --header-h: 64px; }
	.lat-burger { display: block; }
	.lat-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
	.lat-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.lat-menu { flex-direction: column; gap: 0; }
	.lat-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.lat-nav__actions { padding-top: 16px; justify-content: space-between; }
	.home .lat-header:not(.is-scrolled) .lat-nav .la-btn--ghost { --fg: var(--ink); --bd: var(--line-2); }
	.lat-section { padding: 72px 0; }
	.lat-split, .lat-footer__grid { grid-template-columns: 1fr; gap: 40px; }
	.lat-footer__grid { grid-template-columns: 1fr 1fr; }
	.lat-footer__brand { grid-column: 1 / -1; }
	.lat-problems, .lat-features, .la-pricing, .lat-topgrid { grid-template-columns: 1fr; }
	.la-price-card.is-featured { transform: none; }
	.lat-cta { flex-direction: column; align-items: flex-start; padding: 32px; }
	.la-dir { grid-template-columns: 1fr; }
	.la-dir__filters { position: static; }
	.la-profile__grid { grid-template-columns: 1fr; }
	.la-profile__side { position: static; }
	.la-dash { grid-template-columns: 1fr; }
	.la-dash__nav { position: static; }
	.la-dash__nav nav { grid-auto-flow: column; overflow-x: auto; }
	.la-dash__nav nav a { white-space: nowrap; }
	.la-dash__cols, .la-sources, .la-pricing--compact { grid-template-columns: 1fr; }
	.la-upsell { flex-direction: column; align-items: flex-start; }
	.la-source-list li { grid-template-columns: 1fr auto; }
	.la-source-list .la-bar { grid-column: 1 / -1; }
	.la-source-list__count { text-align: left; }
}

@media (max-width: 640px) {
	.la-container { padding: 0 18px; }
	.lat-hero { padding: calc(var(--header-h) + 40px) 0 64px; }
	.lat-hero__stats { gap: 24px; }
	.lat-search { grid-template-columns: 1fr; }
	.lat-search__field + .lat-search__field { border-left: 0; border-top: 1px solid var(--line); }
	.lat-search .la-btn { padding: 16px; }
	.lat-steps, .lat-practices, .la-plan-picker, .la-components, .la-method__weights, .la-attorneys, .la-grid-2, .la-grid-3 { grid-template-columns: 1fr; }
	.la-span-2 { grid-column: auto; }
	.la-result { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo body" "score score" "cta cta"; padding: 18px; gap: 14px; }
	.la-result__score { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
	.la-result__cta { padding-left: 0; border-left: 0; }
	.la-result__rank { left: 8px; top: -10px; }
	.la-profile__id { flex-direction: column; }
	.la-scorecard { flex-direction: column; text-align: center; }
	.la-gallery { grid-template-columns: 1fr 1fr; }
	.la-signup__form { padding: 24px; }
	.la-steps { font-size: 0; }
	.la-kpis { grid-template-columns: 1fr 1fr; }
	.la-kpi--score { grid-column: 1 / -1; grid-row: auto; }
	.la-dir__toolbar { flex-direction: column; align-items: flex-start; }
	.lat-footer__grid { grid-template-columns: 1fr; }
	.la-candidates li { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.lat-header, .lat-footer, .la-dash__nav, .la-profile__side { display: none !important; }
}
