/* One stylesheet for every page. No scripts anywhere on the site. */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
:root { --ink: #16242C; --soft: #44535C; --paper: #F7F4EC; --card: #FFFFFF; --line: #D5CFC0; --deep: #12303F; --link: #0A4A78; --mark: #8A4B00; --calm: #E6EFEA; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.125rem/1.6 "Atkinson Hyperlegible", system-ui, sans-serif; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--link); text-underline-offset: 0.15em; overflow-wrap: anywhere; }
a:hover { color: var(--deep); }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--mark); outline-offset: 2px; }
.skip-link { position: absolute; left: -999rem; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--card); padding: 0.5rem 0.75rem; z-index: 10; }
.draft { background: #FFF1CC; color: #3D2B00; border-bottom: 1px solid #C9A227; padding: 0.5rem 0; font-size: 1rem; }
.site-header { background: var(--deep); color: #fff; padding: 0.9rem 0; }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: baseline; justify-content: space-between; }
.site-header a { color: #fff; }
.brand { font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.site-header ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; font-size: 1rem; }
.site-header [aria-current="page"] { text-decoration-thickness: 3px; }
main { padding: 2rem 0 3rem; }
h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.2; margin: 0.25rem 0 1.25rem; text-wrap: balance; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
p, ul, ol { margin: 0 0 1rem; }
.lede { font-size: 1.25rem; }
.crumb { font-size: 1rem; margin: 0; }
.guide section h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--soft); margin: 1.6rem 0 0.25rem; }
.guide .short { background: var(--calm); border-left: 6px solid var(--deep); padding: 1rem 1.1rem 0.25rem; border-radius: 0 6px 6px 0; }
.guide .short h2 { margin-top: 0; color: var(--deep); }
.guide .short p { font-size: 1.25rem; line-height: 1.5; }
.guides { list-style: none; padding: 0; }
.guides li { border-top: 1px solid var(--line); }
.guides a { display: block; padding: 0.7rem 0; }
.closing { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 0.25rem 1.25rem 0.5rem; margin: 2.25rem 0; }
.closing h2 { margin-top: 1rem; }
.notice { background: var(--card); border: 1px solid var(--line); border-left-width: 4px; border-radius: 6px; padding: 0.6rem 1rem; margin: 0 0 1.25rem; font-weight: 600; }
.where { font-size: 1rem; color: var(--soft); border-top: 1px solid var(--line); margin-top: 2rem; }
.where h2 { color: var(--soft); }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); }
thead th { border-bottom: 2px solid var(--deep); }
.updates { list-style: none; padding: 0; }
.updates h2 { margin-bottom: 0; }
.when { color: var(--soft); font-size: 1rem; }
.site-footer { background: var(--deep); color: #fff; padding: 1.5rem 0; font-size: 1rem; }
.site-footer a { color: #fff; }
/* The sources page: one entry per figure, so nothing needs a sideways scroll on a phone. */
.figures, .cited { list-style: none; padding: 0; margin: 0 0 1rem; }
.figures > li { border-top: 1px solid var(--line); padding: 0.8rem 0 0.4rem; }
.figure { margin: 0 0 0.3rem; }
.figure strong { font-size: 1.3rem; margin-right: 0.35rem; }
.figure-src, .figure-used { font-size: 1rem; color: var(--soft); margin: 0 0 0.2rem; }
.figures li ul { font-size: 1rem; margin: 0 0 0.4rem; padding-left: 1.2rem; }
.cited li { font-size: 1rem; border-top: 1px solid var(--line); padding: 0.45rem 0; }
/* Lawyers who advertise, and the application */
.adnote { font-size: 1rem; color: var(--soft); }
/* No numbers: the order is when each lawyer began advertising, not a ranking. Two columns where there is room, so a long list is half as tall. */
.lawyers { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr; column-gap: 2rem; border-bottom: 1px solid var(--line); }
.lawyers li { border-top: 1px solid var(--line); padding: 0.5rem 0; }
@media (min-width: 40rem) { .lawyers { grid-template-columns: 1fr 1fr; } }
.lawyers a { font-weight: 700; font-size: 1.05rem; line-height: 1.5; }
.takes { display: block; font-size: 1rem; color: var(--soft); }
.lawyers .takes { font-size: 0.95rem; line-height: 1.35; }
.card h2 { margin: 0.5rem 0 0; font-size: 1.4rem; }
.card .firm { margin: 0 0 0.4rem; color: var(--soft); }
.card .takes { margin: 0 0 0.6rem; }
.contact { list-style: none; padding: 0; }
.contact li { padding: 0.35rem 0; }
.contact a { font-weight: 700; }
.since { font-size: 1rem; color: var(--soft); }
.app form { margin-top: 1rem; }
label, legend { font-weight: 700; display: block; }
.hint { display: block; font-size: 1rem; color: var(--soft); }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], textarea { width: 100%; font: inherit; padding: 0.55rem 0.6rem; border: 2px solid var(--soft); border-radius: 6px; background: var(--card); color: var(--ink); margin-top: 0.25rem; }
input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--mark); outline-offset: 2px; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 1rem 0.25rem; margin: 0 0 1.25rem; background: var(--card); }
legend { padding: 0 0.4rem; }
.check { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.5rem; align-items: start; margin: 0.6rem 0; }
.check input { width: 1.4rem; height: 1.4rem; margin: 0.2rem 0 0; }
.check label { font-weight: 400; }
button, .button { display: inline-block; font: inherit; font-weight: 700; background: var(--deep); color: #fff; border: 0; border-radius: 8px; padding: 0.75rem 1.25rem; min-height: 2.75rem; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: #0B2230; color: #fff; }
.errors { background: #FDECEC; border: 2px solid #8C1D18; border-radius: 8px; padding: 0 1rem 0.25rem; margin: 0 0 1.25rem; }
.errors h2 { color: #6B1410; margin-top: 0.9rem; }
.trap { position: absolute; left: -999rem; }
.draftbox { background: #FFF1CC; color: #3D2B00; border: 1px solid #C9A227; border-radius: 8px; padding: 0.75rem 1rem 0.1rem; }
.regions p { font-size: 1rem; color: var(--soft); margin: 0 0 0.4rem; }
.regions ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; font-size: 1rem; }
.regions li { padding: 0.35rem 0; }
/* The searchable directory (engine/listings.js). Featured is marked in words and by a border, never by color alone. */
.search { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1rem 0.25rem; margin: 0 0 1.25rem; }
.search select, .search input { font: inherit; padding: 0.5rem 0.6rem; min-height: 2.75rem; border: 2px solid var(--soft); border-radius: 6px; background: var(--card); color: var(--ink); max-width: 100%; }
/* Registry entries: one plain line each, so a page holds many and the featured ones stand out. */
body:has(form.search) .wrap { max-width: 72rem; } /* header, page and footer line up */
.wrap:has(form.search) #app > p { max-width: 44rem; }
.wrap:has(form.search) .search { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: flex-end; padding: 0.75rem 1rem; }
.wrap:has(form.search) .search p { margin: 0; min-width: 0; max-width: 100%; } /* a long provider type wraps inside the screen, not past it (2026-11-30) */
.wrap:has(form.search) .search select { width: 100%; }
.wrap:has(form.search) .search input[name="zip"] { width: 7rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The results are a table (review 2026-11-30); the columns keep the widths the list had. */
.entries { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; font-size: 1rem; line-height: 1.4; }
.entries th, .entries td { text-align: left; vertical-align: baseline; padding: 0.3rem 0.5rem; border-top: 1px solid var(--line); font-weight: 400; overflow-wrap: anywhere; }
.entries thead th { border-top: 0; font-size: 0.875rem; font-weight: 700; color: var(--soft); text-transform: uppercase; letter-spacing: 0.04em; }
.entries th:nth-child(1) { width: 22%; } .entries th:nth-child(2) { width: 28%; } .entries th:nth-child(3) { width: 18%; }
.entries th:nth-child(4) { width: 9.5rem; } .entries th:nth-child(5) { width: 9.5rem; }
.entries .what, .entries .place, .entries .tel { color: var(--soft); }
.entries .mine { font-size: 0.875rem; text-align: right; }
.entries tr.featured { background: var(--card); }
.entries tr.featured .who { font-weight: 700; }
.entries tr.featured .what, .entries tr.featured .place, .entries tr.featured .tel { color: var(--ink); }
.entries .tel a { white-space: nowrap; }
.offers .lbl { font-weight: 700; }
.widen { font-weight: 700; }
/* A narrow screen: two lines an entry. The name and its tag, then provider type, city and phone run together.
   The headings stay for screen readers only; the roles on each element keep the table's meaning. */
@media (max-width: 52rem) {
  .entries, .entries tbody { display: block; }
  .entries thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .entries tr { display: flex; flex-wrap: wrap; column-gap: 0.35rem; padding: 0.3rem 0.5rem; border-top: 1px solid var(--line); }
  .entries th, .entries td { border: 0; padding: 0; width: auto; }
  .entries .who { flex: 0 0 calc(100% - 9.5rem); }
  .entries .mine { flex: 0 0 9rem; }
  .entries .what, .entries .place, .entries .tel { order: 2; font-size: 0.9rem; }
  .entries .place::before, .entries .tel:not(:empty)::before { content: "· "; }
}
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0.5rem 1.75rem; background: var(--card); border: 2px solid var(--mark); border-radius: 8px; padding: 0.9rem 1rem 0.6rem; margin: 0.9rem 0; }
@media (max-width: 40rem) { .spot { grid-template-columns: 1fr; } }
.spot p, .cards p, .entrybox p { margin: 0 0 0.2rem; }
.spot .who, .cards .who, .entrybox .who { font-weight: 700; font-size: 1.15rem; }
.spot .about, .place, .what { font-size: 1rem; }
.source, .offers, .extras, .practice { font-size: 1rem; color: var(--soft); }
.mine { font-size: 1rem; }
.tag { display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mark); border: 1px solid var(--mark); border-radius: 4px; padding: 0 0.45rem; vertical-align: 0.15em; }
.featured h2 { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: baseline; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); } }
.cards .card { background: var(--card); border: 2px solid var(--mark); border-radius: 8px; padding: 0.9rem 1rem 0.6rem; }
.entrybox, .status { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1rem 0.6rem; margin: 0 0 1.25rem; }
.status { background: var(--calm); border-color: var(--calm); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.25rem; margin: 0 0 1.25rem; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.pages { display: flex; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
input[type="checkbox"], input[type="radio"] { width: 1.3rem; height: 1.3rem; vertical-align: -0.2rem; accent-color: var(--deep); }
fieldset label, form p > label[for^="s_"], label[for="telehealth"], label[for="accepting"], label[for="mine"], label[for="policy"], label[for="sure"], label[for="now"], label[for^="plan_"] { display: inline; font-weight: 400; }

/* Paper: the page itself, without the site menu and footer. */
@media print { .skip-link, .site-header nav, .site-footer, .noprint { display: none; } body { background: #fff; color: #000; } }
/* The directory, offered on the home page and searched by ZIP code (2026-11-19). */
.find { background: var(--calm); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.find h2 { margin-top: 0; }
.find-go { display: inline-block; font-weight: 700; background: var(--deep); color: #fff; border-radius: 8px; padding: 0.75rem 1.25rem; min-height: 2.75rem; text-decoration: none; }
.find-go:hover { background: #0B2230; color: #fff; }
.find-go:focus-visible { outline: 3px solid var(--mark); outline-offset: 2px; }
.find-zip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0 0 1.25rem; }
.find-zip label { font-weight: 700; }
.find-zip input { font: inherit; padding: 0.6rem 0.75rem; min-height: 2.75rem; width: 7ch; border: 1px solid var(--soft); border-radius: 6px; }
/* Claiming an entry (2026-11-19). */
.claim-line { font-weight: 600; }
.recorded { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--mark); border-radius: 6px; padding: 0.6rem 1rem; margin: 0 0 1.25rem; }
.recorded p { margin: 0; }
.cf-turnstile { margin: 0 0 1rem; min-height: 65px; }
button.quiet { background: var(--card); color: var(--ink); border: 2px solid var(--soft); }
button.quiet:hover { background: var(--calm); color: var(--ink); }
/* Stories from couples in a metro, under the search and the list (engine/listings.js, 2026-11-21). */
.jump { font-size: 1rem; }
.stories { border-top: 2px solid var(--deep); margin-top: 2.25rem; padding-top: 0.5rem; }
.stories + .stories { border-top-width: 1px; margin-top: 1rem; }
.story-cards { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 1rem; }
.story-cards li { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 0.9rem 1rem 0.5rem; }
.story-cards h3 { margin: 0 0 0.4rem; font-size: 1.15rem; color: var(--deep); }
.story-cards p { margin: 0 0 0.6rem; }
.story-help { background: var(--calm); border-left: 4px solid var(--deep); padding: 0.4rem 0.6rem; border-radius: 0 6px 6px 0; }
.story-src { font-size: 1rem; color: var(--soft); }
.local-help { padding-left: 1.2rem; }
.local-help li { margin: 0 0 0.6rem; }
