/*
  Site design, from Sandra's home page (September 2026): cream ground,
  deep forest green, Figtree, big rounded panels. Classes rather than the
  design's inline styles, so every page shares one set of rules.
*/
:root {
  --bg: #F3F0E8;
  --paper: #FFFFFF;
  --ink: #14231F;
  --ink-2: #3C4A45;
  --line: #E3DDCC;
  --line-2: #D6CFBC;
  --brand: #1F4B3F;
  --brand-ink: #F3F0E8;
  --brand-line: #3F6B5E;
  --brand-soft: #D5E2DC;
  --mint: #5FD3A0;
  --sage: #DDE6E0;
  --sage-2: #C9D8CF;
  --sand: #E9E4D6;
  --sand-line: #CFC7B2;
  --field: #FBFAF6;
  --amber: #F2A33A;
  --low: #5E8A7C;
  --mid: #F2C66D; --mid-ink: #8A5A00;
  --high: #E8672A; --high-ink: #B8471A;
  --gutter: 64px;
  --r-xl: 36px; --r-l: 24px; --r-m: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); font-family: 'Figtree', system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; font-size: 17px; line-height: 1.55; }
a { color: var(--ink); }
a:hover { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
img { max-width: 100%; display: block; }
.page { max-width: 1600px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--paper); padding: 8px 16px; border-radius: 8px; }
.draft-bar { background: var(--mid); color: var(--ink); font-size: 14px; font-weight: 600; text-align: center; padding: 6px 16px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; height: 88px; background: var(--bg); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.wordmark { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.wordmark span { color: var(--brand); }
.tagline { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.site-nav { display: flex; align-items: center; gap: 36px; font-size: 16px; font-weight: 500; }
.site-nav a { text-decoration: none; white-space: nowrap; }
@media (max-width: 1360px) { .site-nav { gap: 22px; font-size: 15px; } }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn { height: 52px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; border: 1.5px solid var(--brand); }
.btn-solid { background: var(--brand); color: var(--brand-ink); }
.btn-solid:hover { color: var(--brand-ink); background: #173b31; }
.btn-line { background: transparent; color: var(--brand); font-weight: 600; }
.btn-line:hover { background: var(--paper); }
.btn-s { height: 48px; padding: 0 20px; font-size: 15px; }
.btn-l { height: 56px; padding: 0 28px; font-size: 17px; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Type */
h1, h2, h3 { font-family: 'Figtree', sans-serif; margin: 0; }
h1 { font-weight: 800; font-size: 68px; line-height: 1; letter-spacing: -0.03em; }
.h2 { font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.03em; }
.h2-l { font-size: 60px; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.lede { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.body { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.small { font-size: 14px; }
.muted { color: var(--ink-2); }
.num { font-weight: 800; font-size: 56px; line-height: .85; letter-spacing: -0.04em; color: var(--brand); }

/* Layout blocks */
.section { padding: 128px var(--gutter) 0; display: flex; flex-direction: column; gap: 40px; }
.panel { margin: 128px var(--gutter) 0; border-radius: var(--r-xl); padding: 72px 80px; display: flex; flex-direction: column; gap: 48px; }
.panel-white { background: var(--paper); }
.panel-sage { background: var(--sage); }
.panel-first { margin-top: 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: end; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--paper); border-radius: var(--r-l); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.src { display: block; font-size: 13px; color: var(--ink-2); }
.src a { color: var(--ink-2); }
.sources { font-size: 13px; color: var(--ink-2); margin: 0; }
.sources a { color: var(--ink-2); }

/* Hero */
.hero { padding: 32px var(--gutter) 96px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.hero-main { display: flex; flex-direction: column; gap: 28px; }
.finder { background: var(--paper); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(20, 35, 31, .25); }
.chips { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 10px; }
.chip { height: 64px; border-radius: var(--r-m); padding: 0 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; font: 700 17px 'Figtree', sans-serif; background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.chip[aria-pressed="true"] { background: var(--bg); color: var(--brand); border: 2px solid var(--brand); }
.finder-h { font-size: 20px; font-weight: 700; margin-bottom: -8px; }
.finder-row { display: flex; gap: 12px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); flex-grow: 1; }
.field input, .field select { height: 56px; border-radius: 14px; border: 1.5px solid var(--line-2); padding: 0 18px; font: 17px 'Figtree', sans-serif; color: var(--ink); background: var(--field); }
.go { height: 56px; padding: 0 28px; border-radius: 14px; border: none; background: var(--brand); font: 700 17px 'Figtree', sans-serif; color: var(--brand-ink); cursor: pointer; display: flex; align-items: center; gap: 10px; }
.go svg { width: 18px; height: 18px; }

/* Certification panel */
.cert { border-radius: var(--r-xl); background: var(--brand); color: var(--brand-ink); padding: 48px; display: flex; flex-direction: column; gap: 32px; overflow: hidden; }
.cert-art { position: relative; height: 300px; }
.cert-back { position: absolute; left: 10px; top: 40px; width: 330px; height: 230px; border-radius: 22px; background: #8FAE9E; transform: rotate(-7deg); box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.cert-card { position: absolute; left: 34px; top: 10px; width: 360px; border-radius: 22px; background: var(--paper); color: var(--ink); padding: 22px 24px 12px; transform: rotate(2.5deg); box-shadow: 0 30px 50px -20px rgba(0,0,0,.45); }
.cert-card .who { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; }
.cert-card .who b { font-size: 22px; }
.cert-card .who span { font-size: 14px; color: var(--ink-2); }
.cert-card .line { display: flex; justify-content: space-between; font-size: 15px; padding: 10px 0; border-top: 1px solid #ECE7DA; }
.cert-card .line.hi { background: var(--mint); margin: 0 -12px; padding: 10px 12px; border-radius: 10px; border-top: none; }
.cert-card .line + .line { border-top: 1px solid #ECE7DA; }
.cert-card .line.hi + .line { border-top: none; }
.cert-ex { position: absolute; left: 10px; bottom: -6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-soft); }
.cert-card .ph { color: var(--ink-2); font-weight: 600; }
.stamp { position: absolute; left: 332px; top: -30px; transform: rotate(-12deg); width: 104px; height: 104px; }
.cert-title { margin: 0; font-weight: 800; font-size: 42px; line-height: 1.04; letter-spacing: -0.03em; }
.cert p { margin: 0; }
.cert .intro { font-size: 18px; color: var(--brand-soft); }
.checks { display: flex; gap: 20px; }
.checks > div { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.4; color: var(--brand-soft); flex: 1; }
.checks .n { font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.02em; color: var(--mint); }
.checks .rule { width: 1px; flex: none; align-self: stretch; background: var(--brand-line); }
.cert-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--brand-line); font-size: 17px; }
.cert-foot b { font-size: 22px; }
.cert-foot a { color: var(--brand-ink); font-weight: 600; }
.cert .src, .cert .src a { color: var(--brand-soft); }

/* Levels */
.bands { display: flex; gap: 20px; }
.band { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.band i { height: 14px; border-radius: 99px; background: var(--low); display: block; }
.band.mid i { background: var(--mid); }
.band.high i { background: var(--high); }
.band .range { font-weight: 800; font-size: 40px; letter-spacing: -0.03em; color: var(--brand); line-height: 1.1; }
.band.mid .range { color: var(--mid-ink); }
.band.high .range { color: var(--high-ink); }
.band .label { font-size: 20px; font-weight: 700; }

/* Method */
.method { padding: 128px var(--gutter) 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.diagram { border-radius: var(--r-xl); background: var(--sage-2); overflow: hidden; }
.diagram svg { width: 100%; height: auto; }
.steps { display: flex; flex-direction: column; }
.steps > div { padding: 28px 0; display: flex; flex-direction: column; gap: 8px; }
.steps > div + div { border-top: 1px solid var(--line-2); }
.steps h3 { font-size: 24px; }

/* Guides */
.guide-card { background: var(--paper); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; }
.guide-card img { width: 100%; height: 200px; object-fit: cover; background: var(--sage-2); }
.guide-card .in { flex-grow: 1; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.guide-card .txt { flex-grow: 1; display: flex; flex-direction: column; gap: 12px; }
.guide-card h3 { font-size: 24px; }
.soon { font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* Towns */
.towns { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.towns a { background: var(--paper); border-radius: var(--r-m); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.towns b { font-size: 17px; }
.towns span { font-size: 14px; color: var(--ink-2); }

/* FAQ */
.faq-card { background: var(--paper); border-radius: var(--r-l); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.faq-card h3 { font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; }
.faq-card p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* Inner pages */
.guide-hero { width: 100%; max-width: 46rem; border-radius: var(--r-l); aspect-ratio: 16 / 10; object-fit: cover; }
.inner { padding: 32px var(--gutter) 128px; display: flex; flex-direction: column; gap: 32px; }
.crumbs { font-size: 14px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.crumbs .sep { margin: 0 8px; }
.inner h1 { font-size: 56px; max-width: 20ch; }
.prose { max-width: 46rem; font-size: 18px; color: var(--ink); }
.prose h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 12px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.pill.ok { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.pill.warn { background: #FBEFD2; color: var(--mid-ink); border-color: #F2DDA6; }
.pill.cert { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.pill svg { width: 16px; height: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* Firm list */
.listing { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 24px; }
.fbar { background: var(--paper); border-radius: 24px; padding: 20px 24px; display: flex; gap: 14px; align-items: flex-end; box-shadow: 0 1px 0 var(--line); }
.fbar label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fbar label.zip { flex-grow: 1; }
.fbar input, .fbar select { height: 52px; border-radius: 14px; border: 1.5px solid var(--line-2); padding: 0 14px; font: 500 17px 'Figtree', sans-serif; color: var(--ink); background: #FBFAF6; min-width: 190px; }
.active { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.active .lbl { color: var(--ink-2); }
.active [data-active-list] { font-weight: 700; }
.active button, .pager button, .cmpbar button { font: 700 15px 'Figtree', sans-serif; cursor: pointer; }
.active button { background: none; border: 0; color: var(--brand); text-decoration: underline; padding: 4px; }
.active[hidden] { display: none; }
.count { margin: 0; font-size: 16px; color: var(--ink-2); }
.count b { color: var(--ink); }
.co-cards { display: flex; flex-direction: column; gap: 14px; }
.co-card { position: relative; background: var(--paper); border-radius: 24px; padding: 28px; display: grid; grid-template-columns: 112px minmax(0, 1fr) 240px; gap: 28px; align-items: start; transition: background-color .15s ease; }
.co-card:hover { background: #FBFAF6; box-shadow: 0 0 0 1.5px var(--brand); }
.co-card[hidden] { display: none; }
.co-card.is-shortlisted { background: #F2F7F4; box-shadow: 0 0 0 2px var(--brand); }
.co-card .mono { width: 112px; height: 112px; border-radius: 20px; background: transparent; border: 1.5px solid var(--line); color: var(--brand); display: flex; align-items: center; justify-content: center; font: 800 34px 'Figtree', sans-serif; letter-spacing: -.02em; }
.co-card .main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.co-card .head { display: flex; flex-direction: column; gap: 6px; }
.co-card h3 { margin: 0; font: 800 26px/1.15 'Figtree', sans-serif; letter-spacing: -.02em; }
.co-card h3 a { color: var(--ink); text-decoration: none; }
.co-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.co-card .where { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 15px; color: var(--ink-2); }
.co-card .cov { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.co-card .cov.ok { background: var(--sage); color: var(--brand); }
.co-card .cov.warn { background: #F6E7C8; color: #6B4A12; }
.co-card .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 18px; border-top: 1px solid #ECE7DA; }
.co-card .facts > div { display: flex; flex-direction: column; gap: 4px; }
.co-card .k { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.co-card .v { font-size: 18px; font-weight: 700; }
.co-card .v small { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.co-card .d { font-size: 13px; color: var(--ink-2); }
.co-card .tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.co-card .tags span { font-size: 14px; font-weight: 600; background: var(--bg); padding: 5px 12px; border-radius: 999px; }
.co-card .side { display: flex; flex-direction: column; gap: 18px; padding-left: 28px; border-left: 1px solid #ECE7DA; height: 100%; justify-content: space-between; }
.co-card .rate { display: flex; flex-direction: column; gap: 4px; }
.co-card .rate .n { font: 800 34px/1 'Figtree', sans-serif; letter-spacing: -.02em; }
.co-card .rate .c { font-size: 14px; color: var(--ink-2); }
.co-card .rate a.c { color: var(--brand); font-weight: 600; }
.attr { display: block; font-size: 12px; color: var(--ink-2); }
.stars { position: relative; display: inline-flex; width: max-content; letter-spacing: 0; }
.stars .bg, .stars .in { display: flex; }
.stars .bg svg { fill: var(--line); }
.stars .fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; display: flex; }
.stars svg { flex-shrink: 0; }
.stars .fg svg { fill: #E8A33A; }
.co-card .acts { display: flex; flex-direction: column; gap: 10px; }
.co-card .over { position: relative; z-index: 1; }
.co-card .call svg { flex-shrink: 0; }
.co-card .call { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--brand); text-decoration: none; }
.co-card .sl { height: 44px; border-radius: 999px; font: 700 14px 'Figtree', sans-serif; cursor: pointer; background: var(--paper); color: var(--brand); border: 1.5px solid var(--brand); }
.co-card .sl[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.pager { display: flex; justify-content: center; gap: 8px; padding-top: 8px; }
.pager button { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--paper); color: var(--ink); }
.pager button[aria-current="page"] { background: var(--brand); color: var(--brand-ink); }
.cmpbar { position: sticky; bottom: 24px; z-index: 5; background: var(--paper); border: 1.5px solid var(--brand); border-radius: 20px; padding: 14px 16px 14px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; box-shadow: 0 20px 40px -24px rgba(20, 35, 31, .5); }
.cmpbar[hidden] { display: none; }
.cmpbar .sub { color: var(--ink-2); }
.cmpbar button { height: 48px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--brand); color: var(--brand-ink); white-space: nowrap; }
.list-help { display: flex; flex-direction: column; gap: 20px; padding-top: 72px; }
.list-help h2 { margin: 0; font: 800 34px/1.05 'Figtree', sans-serif; letter-spacing: -.02em; }
.list-help p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.list-help .qs { background: var(--sage); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.list-help .qs-head, .list-help .law-box { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.list-help .qs-head > div, .list-help .law-box > div { display: flex; flex-direction: column; gap: 10px; }
.list-help .btn { background: var(--paper); flex-shrink: 0; }
.list-help .qs-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 24px; border-top: 1px solid #C4D3CA; }
.list-help .qs-grid div { display: flex; flex-direction: column; gap: 6px; }
.list-help .qs-grid b { font-size: 17px; line-height: 1.3; }
.list-help .qs-grid span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.list-help .law-box { background: #E9E4D6; border-radius: 28px; padding: 32px 40px; align-items: center; }
.list-help .law-box h2 { font-size: 26px; }
@media (max-width: 900px) {
  .fbar { flex-wrap: wrap; padding: 16px; }
  .fbar label { flex: 1 1 100%; }
  .fbar input, .fbar select { width: 100%; min-width: 0; }
  .co-card { grid-template-columns: 64px minmax(0, 1fr); gap: 14px 16px; padding: 18px; border-radius: 20px; }
  .co-card .mono { width: 64px; height: 64px; border-radius: 14px; font-size: 22px; }
  .co-card .main { display: contents; }
  .co-card .head { grid-column: 2; align-self: center; }
  .co-card h3 { font-size: 20px; }
  .co-card .facts { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 12px; padding-top: 14px; }
  .co-card .side { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid #ECE7DA; padding-top: 14px; gap: 12px; }
  .co-card .rate { flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
  .co-card .rate .n { font-size: 24px; }
  .co-card .acts { flex-direction: row; }
  .co-card .acts > * { flex: 1 1 0; min-width: 0; }
  .co-card .call { height: 44px; border: 1.5px solid var(--brand); border-radius: 999px; justify-content: center; font-size: 15px; white-space: nowrap; }
  .cmpbar { padding: 10px 10px 10px 16px; }
  .cmpbar .sub { display: none; }
  .list-help { padding-top: 48px; }
  .list-help .qs { padding: 28px 20px; }
  .list-help .qs-head, .list-help .law-box { flex-direction: column; align-items: flex-start; }
  .list-help .qs-grid { grid-template-columns: 1fr; }
  .list-help .law-box { padding: 28px 20px; }
}
.rating { display: inline-flex; gap: 6px; align-items: baseline; font-size: 15px; color: var(--ink-2); }
.rating b { color: var(--ink); }
.zip-result { background: var(--paper); border-radius: var(--r-l); padding: 24px 28px; }
.zip-result[hidden] { display: none; }

/* Firm page */
/* Firm profile */
.prof { display: flex; flex-direction: column; gap: 20px; }
.prof .back { font-size: 15px; font-weight: 600; color: var(--brand); }
.prof-head { background: var(--paper); border-radius: 28px; padding: 36px; display: grid; grid-template-columns: 140px minmax(0, 1fr) 260px; gap: 32px; align-items: center; }
.prof-head .mono { width: 140px; height: 140px; border-radius: 24px; border: 1.5px solid var(--line); color: var(--brand); display: flex; align-items: center; justify-content: center; font: 800 44px 'Figtree', sans-serif; }
.prof-head .who { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.prof-head h1 { margin: 0; font-size: 52px; line-height: 1; }
.prof-head .sub { font-size: 20px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.cov { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.cov.ok { background: var(--sage); color: var(--brand); }
.cov.warn { background: #F6E7C8; color: #6B4A12; }
.head-rate { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.head-rate .n { font-weight: 800; font-size: 22px; }
.head-rate .c { color: var(--brand); font-weight: 600; }
.prof-head .acts { display: flex; flex-direction: column; gap: 10px; }
.prof-head .btn { justify-content: center; }
.prof .sl { height: 52px; border-radius: 999px; font: 700 16px 'Figtree', sans-serif; cursor: pointer; background: var(--paper); color: var(--brand); border: 1.5px solid #C4D3CA; }
.prof .sl[aria-pressed="true"] { background: #EAF1ED; border: 2px solid var(--brand); }
.prof-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.prof-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.prof .card { position: relative; background: var(--paper); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.prof .card h2, .prof .others h2 { margin: 0; font: 800 30px/1.1 'Figtree', sans-serif; letter-spacing: -.02em; }
.prof .card p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.prof .rows { display: flex; flex-direction: column; border-bottom: 1px solid #ECE7DA; }
.prof .row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid #ECE7DA; align-items: baseline; }
.prof .row[hidden] { display: none; }
.prof .row .k { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.prof .row > div { display: flex; flex-direction: column; gap: 2px; }
.prof .row .v { font-size: 17px; font-weight: 700; color: var(--ink); }
.prof .n, .prof .card p.n { font-size: 14px; color: #5A6863; }
.prof .tags { flex-direction: row !important; flex-wrap: wrap; gap: 6px !important; }
.prof .tags span { font-size: 14px; font-weight: 600; background: var(--bg); padding: 5px 12px; border-radius: 999px; }
.prof .checks h2 { padding-right: 120px; }
.prof-stamp { position: absolute; top: 24px; right: 28px; width: 96px; height: 96px; transform: rotate(-12deg); }
.revs { display: flex; flex-direction: column; gap: 12px; }
.rev { background: #F8F6F0; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rev .who { display: flex; align-items: center; gap: 12px; }
.rev .who img, .rev .av { width: 40px; height: 40px; border-radius: 50%; }
.rev .av { background: var(--sage); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.rev .who > span { display: flex; flex-direction: column; margin-right: auto; }
.rev small { color: var(--ink-2); font-size: 13px; }
.rev p { color: var(--ink) !important; font-size: 16px !important; }
.prof .card .btn { align-self: flex-start; }
.updated { margin: 0; font-size: 15px; color: var(--ink-2); }
.prof-aside { position: sticky; top: 112px; background: var(--paper); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.prof-aside h2 { margin: 0; font: 800 26px/1.1 'Figtree', sans-serif; letter-spacing: -.02em; }
.prof-aside .btn { justify-content: center; }
.prof-aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.prof-aside li { display: flex; flex-direction: column; gap: 2px; font-size: 16px; }
.prof-aside li[hidden] { display: none; }
.prof-aside li b { font-size: 14px; color: var(--ink-2); }
.prof-aside .map { width: 100%; height: 220px; border: 0; border-radius: 16px; }
.prof-aside a:not(.btn) { color: var(--brand); font-weight: 600; }
.prof-aside .socials { display: flex; gap: 14px; flex-wrap: wrap; margin: 0; }
.others { display: flex; flex-direction: column; gap: 14px; padding-top: 48px; }
.others-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.others-head a { color: var(--brand); font-weight: 600; }
.others p { margin: 0; color: var(--ink-2); }
.others-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.others-grid a { background: var(--paper); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.others-grid b { font-size: 19px; }
.others-grid span { font-size: 15px; color: var(--ink-2); }
.m-bar { display: none; }
details.faq { background: var(--paper); border-radius: var(--r-m); padding: 20px 24px; }
details.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; }
details.faq p { margin: 10px 0 0; color: var(--ink-2); }

/* Footer */
.site-foot { flex-grow: 1; background: var(--sand); padding: 88px var(--gutter) 48px; display: flex; flex-direction: column; gap: 56px; overflow: hidden; margin-top: 128px; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.foot-about { grid-column: span 4; display: flex; flex-direction: column; gap: 20px; }
.foot-about .big { margin: 0; font-weight: 800; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.foot-about p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.foot-about .checked { font-size: 15px; font-weight: 600; color: var(--brand); }
.foot-col { grid-column: span 3; display: flex; flex-direction: column; gap: 14px; }
.foot-col.narrow { grid-column: span 2; }
.foot-col .h { font-size: 16px; font-weight: 700; color: var(--brand); }
.foot-col a { text-decoration: none; font-size: 16px; }
.foot-col a.strong { font-weight: 700; }

/* Guides grouped by situation */
.guide-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.guide-group { background: var(--paper); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.guide-group h3 { margin: 0; font: 800 28px/1.1 'Figtree', sans-serif; letter-spacing: -.02em; }
.guide-group .rows { display: flex; flex-direction: column; gap: 10px; }
.guide-row { position: relative; background: var(--bg); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; transition: background-color .15s ease; }
.guide-row:hover { background: var(--sage); }
.guide-row a { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; }
.guide-row a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.guide-row a svg { flex-shrink: 0; color: var(--brand); transition: transform .15s ease; }
.guide-row:hover a svg { transform: translateX(4px); }
.guide-row:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.guide-row a:focus-visible { outline: none; }
.guide-row p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2, #3C4A45); }
@media (prefers-reduced-motion: reduce) { .guide-row, .guide-row a svg { transition: none; } }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--sand-line); font-size: 14px; color: var(--ink-2); }

@media (max-width: 1100px) {
  :root { --gutter: 24px; }
  .site-nav { display: none; }
  .prof-head { grid-template-columns: 72px minmax(0, 1fr); padding: 22px; gap: 16px; }
  .prof-head .mono { width: 72px; height: 72px; border-radius: 16px; font-size: 24px; }
  .prof-head h1 { font-size: 32px; }
  .prof-head .sub { font-size: 16px; }
  .prof-head .acts { grid-column: 1 / -1; }
  .prof-grid { grid-template-columns: 1fr; }
  .prof .card { padding: 22px; }
  .prof .card h2, .prof .others h2 { font-size: 24px; }
  .prof .row { grid-template-columns: 1fr; gap: 4px; }
  .prof-stamp { width: 64px; height: 64px; top: 14px; right: 14px; }
  .prof .checks h2 { padding-right: 72px; }
  .prof-aside { position: static; padding: 22px; }
  .others-grid { grid-template-columns: 1fr; }
  .m-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .m-bar .btn { flex: 1; justify-content: center; }
  body:has(.m-bar) .site-foot { padding-bottom: 96px; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .site-head { height: 72px; }
  h1, .inner h1 { font-size: 42px; }
  .h2, .h2-l { font-size: 34px; }
  .hero, .split, .grid-3, .grid-2, .method { grid-template-columns: 1fr; }
  .hero { padding-bottom: 72px; }
  .section, .method { padding-top: 72px; }
  .panel { margin: 72px 16px 0; padding: 40px 20px; }
  .panel-first { margin-top: 0; }
  .cert { padding: 28px 20px; }
  .cert-art { zoom: .78; }
  .chips { grid-template-columns: 1fr 1fr; }
  .guide-groups { grid-template-columns: 1fr; }
  .guide-group { padding: 24px; }
  .finder-row { flex-wrap: wrap; }
  .finder-row > * { flex: 1 1 100%; }
  .bands, .checks { flex-direction: column; }
  .checks .rule { display: none; }
  .bar, .cert-foot { flex-wrap: wrap; }
  .towns { grid-template-columns: 1fr 1fr; }
  .foot-grid > * { grid-column: 1 / -1 !important; }
  .foot-about .big { font-size: 26px; }
  .btn { white-space: normal; height: auto; min-height: 48px; padding: 12px 20px; }
}
@media (max-width: 600px) { .site-head .btn { display: none; } }
.prof .card[hidden] { display: none; }

/* Tools, kits, compare */
.tool { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 32px; }
.tool-h { margin: 0; }
.tool-box { background: var(--paper); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.tool-box label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tool-box input[type=text], .compare select { height: 56px; border-radius: 14px; border: 1.5px solid var(--line-2); padding: 0 16px; font: 500 18px 'Figtree', sans-serif; color: var(--ink); background: #FBFAF6; }
.tool-box fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tool-box legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.tool-box .radio, .tool-box .check { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 17px; font-weight: 500; color: var(--ink); cursor: pointer; }
.tool-box .radio input, .tool-box .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.tool-box .check span { display: flex; flex-direction: column; gap: 2px; }
.tool-box .check small { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.tool-out { border-radius: 18px; padding: 20px 22px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tool-out[hidden] { display: none; }
.tool-out p { margin: 0; }
.tool-out .big { font: 800 24px/1.2 'Figtree', sans-serif; }
.tool-out.hi { background: #FBE3D6; } .tool-out.mid { background: #FBF0D5; } .tool-out.low { background: var(--sage); }
.tool-out ul { margin: 0; padding-left: 20px; }
.hits { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: 20px; }
.data { width: 100%; border-collapse: collapse; font-size: 16px; }
.data th, .data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #ECE7DA; vertical-align: top; }
.data thead th { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.data td.hi { font-weight: 800; color: #B8471A; }
.data tr.on { background: #FBF0D5; }
.data td small { display: block; font-size: 13px; color: var(--ink-2); }
.data .none { color: var(--ink-2); }
.cmp th[scope=col] a { font-size: 18px; }
.compare .pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.compare .pick label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.checklist section { background: var(--paper); border-radius: 20px; padding: 24px 28px; }
.checklist h2 { margin: 0 0 12px; font-size: 22px; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; font-size: 17px; }
.checklist .box { width: 20px; height: 20px; border: 2px solid var(--brand); border-radius: 4px; flex-shrink: 0; margin-top: 2px; }
.checklist .btn { align-self: flex-start; }
@media (max-width: 900px) { .compare .pick { grid-template-columns: 1fr; } .tool-box { padding: 20px; } }
@media print {
  .site-head, .site-foot, .draft-bar, .crumbs, .checklist .btn, .m-bar, .cmpbar { display: none !important; }
  body { background: #fff; }
  .checklist section { border: 1px solid #ccc; break-inside: avoid; }
}

/* Message form */
.msg { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid #ECE7DA; }
.msg-h { margin: 0; font-weight: 800; font-size: 18px; }
.msg label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.msg input[type=text], .msg textarea { border-radius: 12px; border: 1.5px solid var(--line-2); padding: 10px 12px; font: 500 16px 'Figtree', sans-serif; color: var(--ink); background: #FBFAF6; }
.msg input[type=text] { height: 46px; }
.msg .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink); }
.msg .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.msg .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg .btn { justify-content: center; white-space: normal; height: auto; min-height: 52px; }
.msg-note, .msg-out { margin: 0; font-size: 13px; color: var(--ink-2); }
.msg-out { font-size: 15px; font-weight: 600; color: var(--brand); }
.contact-form { max-width: 560px; background: var(--paper); border-radius: 24px; padding: 8px 28px 28px; margin: 8px 0 24px; }
.contact-form .msg { border-top: 0; }
