/* Pulse of Reviews
   Palette and type from docs/pulse-of-reviews-mockup.html; layout and
   components redesigned 3 Oct 2026. No framework, no build step. */

:root {
  --ink: #152238;
  --ink-2: #1F3352;
  --ink-3: #2A4166;
  --brass: #A9791F;
  --brass-2: #C89A3E;
  --brass-soft: #F3E7CC;
  --teal: #2F5B62;
  --teal-2: #3E7780;
  --teal-soft: #E1ECEC;
  --paper: #F2EFE6;
  --surface: #FBFAF6;
  --white: #FFFFFF;
  --text: #1B1B17;
  --muted: #605F55;
  --line: #E2DDCD;
  --line-2: #D3CDB9;
  --good: #2F6B4A;
  --good-soft: #E2EFE6;
  --bad: #A6432F;
  --bad-soft: #F6E3DD;
  --neutral: #8A877B;

  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(21,34,56,.06), 0 6px 18px rgba(21,34,56,.06);
  --shadow-lift: 0 2px 4px rgba(21,34,56,.08), 0 14px 32px rgba(21,34,56,.12);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brass-2); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.icon { flex: none; }
.num { font-family: var(--mono); font-feature-settings: "tnum"; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { left: 12px; }

/* ---- Header ---------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(21,34,56,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  background: radial-gradient(circle at 30% 25%, #E2B868 0%, var(--brass) 55%, #7C5A16 100%);
  box-shadow: 0 0 0 3px rgba(201,154,62,.18); }
.brand-name { font: 600 19px/1 var(--serif); letter-spacing: .005em; }
.brand-name em { font-style: italic; font-weight: 500; color: var(--brass-2); padding: 0 .12em; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { color: #C9CFDA; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); }
@media (max-width: 520px) { .site-nav a.hide-sm { display: none; } .brand-name { font-size: 17px; } }

/* ---- Bands: navy heroes with a brass pulse line ----------------------- */
.band { position: relative; overflow: hidden; color: #DCE2EC; background:
  radial-gradient(900px 400px at 85% -10%, rgba(62,119,128,.45), transparent 60%),
  radial-gradient(700px 380px at -10% 110%, rgba(169,121,31,.22), transparent 60%),
  linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 70%, var(--ink-3) 100%); }
.band h1 { color: var(--white); }
.band .pulse-line { position: absolute; inset: auto 0 18px 0; width: 100%; height: 90px; color: var(--brass-2); opacity: .55; pointer-events: none; }
.band .pulse-line path { stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: draw 3.2s ease-out .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .band .pulse-line path { animation: none; stroke-dashoffset: 0; } }

.hero { padding: 72px 0 120px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--brass-2); background: rgba(201,154,62,.1); border: 1px solid rgba(201,154,62,.3); padding: 7px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 60px); max-width: 760px; margin: 20px 0 18px; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--brass-2); font-weight: 500; }
.hero .lede { font-size: clamp(16px, 2vw, 19px); max-width: 640px; color: #C3CBD8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 44px; max-width: 640px; }
.hero-stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 14px 16px; }
.hero-stat .num { display: block; color: var(--white); font-size: clamp(20px, 3vw, 28px); font-weight: 500; }
.hero-stat span:last-child { font-size: 12.5px; color: #A9B3C3; }

.page-head { padding: 36px 0 116px; }
/* The pulse line gets its own strip between the text and the overlapping stat cards. */
.page-head .pulse-line { height: 46px; bottom: 56px; }
.page-head h1 { font-size: clamp(28px, 4.2vw, 44px); margin: 14px 0 10px; }
.page-head .lede { max-width: 720px; color: #C3CBD8; font-size: 16.5px; }
.page-head .kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--brass-2); font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #A9B3C3; }
.crumbs a { color: #D5DBE6; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs .sep { opacity: .5; }

/* Stat pills that sit across the bottom edge of a band */
.overlap { margin-top: -48px; position: relative; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.stat .num { display: block; font-size: 26px; color: var(--ink); font-weight: 500; line-height: 1.15; }
.stat .label { font-size: 13px; color: var(--muted); }
.stat.accent { background: linear-gradient(140deg, var(--brass-soft), #FBF5E7); border-color: #E7D5AC; }

/* ---- Buttons, chips, badges -------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brass-2); color: var(--ink); }
.btn-primary:hover { background: #D8AB52; color: var(--ink); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--white); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; transition: border-color .15s ease, background .15s ease; }
a.chip:hover { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); }
.chip .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.tag.warm { background: var(--brass-soft); color: #7C5A16; }
.tag.muted { background: #EEEBE2; color: var(--muted); }
/* A linked tag inside a card sits above the card's stretched link. */
a.tag.cat { position: relative; z-index: 1; text-decoration: none; }
a.tag.cat:hover { background: var(--brass); color: var(--white); }

/* ---- Sections ---------------------------------------------------------- */
.section { padding: 56px 0; }
.section.tight { padding: 36px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(22px, 3vw, 30px); }
.section-head p { color: var(--muted); max-width: 560px; }
.section-head .aside { font: 500 13px/1 var(--mono); color: var(--muted); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid.wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid.narrow { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

.card { position: relative; display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; color: inherit;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.card:hover, .card.linked:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-2); color: inherit; }
.card h3 { font-size: 19px; }
.card .meta { font-size: 13.5px; color: var(--muted); }
.card .go { position: absolute; right: 18px; top: 20px; color: var(--line-2); transition: color .18s ease, transform .18s ease; }
a.card:hover .go, .card.linked:hover .go { color: var(--brass); transform: translateX(3px); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }

/* Category card */
.cat-card { display: flex; flex-direction: column; gap: 12px; min-height: 190px; }
.cat-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--teal); background: var(--teal-soft); }
.cat-card:nth-child(3n+2) .cat-icon { color: #7C5A16; background: var(--brass-soft); }
.cat-card:nth-child(3n+3) .cat-icon { color: var(--ink); background: #E5E8EF; }
.cat-card .themes { font-size: 13.5px; color: var(--muted); }
.cat-card .foot { margin-top: auto; display: flex; gap: 16px; font-size: 13px; color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line); }
.cat-card .foot b { font-family: var(--mono); color: var(--ink); font-weight: 500; }

/* Place card (state / city) */
.place-card { display: flex; flex-direction: column; gap: 8px; }
.place-card h3 { font-size: 18px; padding-right: 28px; }
.place-card .bar { margin-top: 6px; }

/* Business card */
.biz-card { display: flex; flex-direction: column; gap: 14px; }
.biz-top { display: flex; gap: 14px; align-items: flex-start; }
.avatar { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font: 600 16px/1 var(--serif); color: var(--white);
  background: linear-gradient(145deg, var(--teal-2), var(--teal)); }
.avatar.t1 { background: linear-gradient(145deg, var(--brass-2), #7C5A16); }
.avatar.t2 { background: linear-gradient(145deg, var(--ink-3), var(--ink)); }
.biz-card h3 { font-size: 17.5px; padding-right: 26px; }
.biz-card h3 a { color: var(--ink); }
.biz-card .where { font-size: 13px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.biz-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.biz-stats b { color: var(--ink); font-family: var(--mono); font-weight: 500; }

/* Meters */
.bar { height: 8px; border-radius: 999px; background: #ECE8DC; overflow: hidden; display: flex; }
.bar > span { display: block; height: 100%; }
.bar .good { background: linear-gradient(90deg, #3E8A5F, var(--good)); }
.bar .bad { background: var(--bad); }
.bar .mid { background: #C9C4B4; }
.bar .fill { background: linear-gradient(90deg, var(--teal-2), var(--teal)); }
.bar .warm { background: linear-gradient(90deg, var(--brass-2), var(--brass)); }
.meter-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.meter-label b { color: var(--ink); font-family: var(--mono); font-weight: 500; }

/* How it works */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 500 13px/1 var(--mono); color: var(--brass); margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* FAQ (native details, no script) */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font: 600 16.5px/1.35 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--brass); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* Trust strip */
.trust { background: var(--ink); color: #C9CFDA; }
.trust .container { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding-top: 44px; padding-bottom: 44px; }
.trust .num { display: block; font-size: 30px; color: var(--brass-2); }
.trust p { font-size: 14.5px; margin-top: 6px; }

/* Notes */
.note { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 14px 16px; font-size: 14.5px; color: var(--muted); }
.note .icon { color: var(--brass); margin-top: 2px; }
.note b { color: var(--ink); }
.fine { font-size: 12.5px; color: var(--muted); }

/* ---- Profile ------------------------------------------------------------ */
.profile-head .subline { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #C3CBD8; font-size: 14.5px; margin-top: 4px; }
.profile-head .subline span { display: inline-flex; align-items: center; gap: 6px; }
.profile-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .profile-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .profile-aside { position: sticky; top: 84px; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 21px; margin-bottom: 4px; }
.panel .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.summary { font: 400 17.5px/1.7 var(--serif); color: var(--text); }
.summary b { font-family: var(--mono); font-weight: 500; font-size: .92em; color: var(--ink); }

.sent-bar { height: 14px; border-radius: 999px; overflow: hidden; display: flex; margin: 6px 0 12px; }
.sent-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.sent-legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.good { background: var(--good); } .dot.bad { background: var(--bad); } .dot.mid { background: #C9C4B4; }

.theme { padding: 16px 0; border-top: 1px solid var(--line); }
.theme:first-of-type { border-top: 0; padding-top: 4px; }
.theme h3 { font-size: 16.5px; margin-bottom: 8px; }
.theme .counts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); margin-top: 8px; }

.star-rows { display: grid; gap: 9px; }
.star-row { display: grid; grid-template-columns: 54px 1fr 92px; align-items: center; gap: 12px; font-size: 13.5px; }
.star-row .n { text-align: right; font-family: var(--mono); color: var(--muted); font-size: 12.5px; }

.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.contact .icon { color: var(--teal); margin-top: 2px; }
.contact .k { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.contact a { word-break: break-word; }

.g-rating { display: flex; align-items: baseline; gap: 10px; }
.g-rating .num { font-size: 40px; color: var(--ink); line-height: 1; }
.g-rating .star { color: var(--brass-2); font-size: 26px; }
.link-out { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; margin-top: 14px; }

.disclosure { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.disclosure b { color: var(--ink); font-family: var(--mono); font-weight: 500; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: #0F192B; color: #9EA8B8; font-size: 14px; }
.site-footer .container { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); padding-top: 52px; padding-bottom: 28px; }
.site-footer h3 { font: 600 13px/1 var(--sans); color: var(--white); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { display: block; color: #C1C9D6; padding: 4px 0; }
.site-footer a:hover { color: var(--white); }
.site-footer .about { max-width: 320px; }
.site-footer .about .brand { margin-bottom: 12px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.08); }
.footer-base .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 22px; font-size: 13px; }

/* ---- Comparison table (state + category pages) ------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { font: 600 12px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface); white-space: nowrap; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: #FDFCF8; }
.compare tbody th { font-weight: 600; min-width: 200px; position: sticky; left: 0; background: var(--white); z-index: 1; }
.compare tbody th a { color: var(--ink); display: block; }
.compare tbody th a:hover { color: var(--teal); }
.compare tbody th .fine { display: block; font-weight: 400; margin-top: 2px; }
.compare td .num { font-size: 13.5px; color: var(--ink); }
.compare td .neg { font-size: 12px; color: var(--bad); }
.cell-bar { display: block; width: 72px; height: 6px; border-radius: 999px; background: #ECE8DC; overflow: hidden; margin-bottom: 6px; }
.cell-bar span { display: block; height: 100%; }
.cell-bar .good { background: var(--teal); }
.cell-bar .bad { background: var(--bad); }
.pending-cell { color: var(--muted); font-style: italic; font-size: 13px; }

/* ---- Reviews ledger (profile) ------------------------------------------- */
.lg-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.lg-filters .chip.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.lg-filters .chip.on .n { color: #B8C1D0; }
.lg-head { font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.lg-list { list-style: none; margin: 0; padding: 0; }
.lg-row { display: grid; grid-template-columns: 96px 78px 88px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.lg-date { color: var(--muted); font-size: 12.5px; }
.lg-stars { color: var(--brass-2); letter-spacing: 1px; font-size: 13px; white-space: nowrap; }
.lg-stars .off { color: #DDD7C6; }
.lg-themes { display: flex; flex-wrap: wrap; gap: 5px; }
.lg-link { font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pill.positive { background: var(--good-soft); color: var(--good); }
.pill.negative { background: var(--bad-soft); color: var(--bad); }
.pill.neutral { background: #EEEBE2; color: var(--muted); }
.theme-tag { font-size: 12px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.theme-tag.positive { border-color: #C5DECF; }
.theme-tag.negative { border-color: #E9C3B8; background: var(--bad-soft); color: var(--bad); }
.lg-year { border-top: 1px solid var(--line); }
.lg-year summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font: 600 16px/1 var(--serif); color: var(--ink); }
.lg-year summary::-webkit-details-marker { display: none; }
.lg-year summary::after { content: "+"; font: 400 20px/1 var(--sans); color: var(--brass); margin-left: 8px; }
.lg-year[open] summary::after { content: "\2212"; }
.lg-year summary .fine { margin-left: auto; font-family: var(--sans); font-weight: 400; }
@media (max-width: 640px) {
  .lg-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .lg-date { grid-column: 1; } .lg-stars { grid-column: 2; text-align: right; }
  .lg-sent { grid-column: 1; } .lg-link { grid-column: 2; justify-self: end; }
  .lg-themes { grid-column: 1 / -1; }
}

/* HTML sitemap */
.sitemap-state { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.sitemap-state h2 { font-size: 24px; }
.sitemap-state h2 a, .sitemap-cities h3 a { color: var(--ink); }
.sitemap-line { margin-top: 10px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.sitemap-line span { color: var(--muted); font-weight: 600; }
.sitemap-cities { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 28px; }
.sitemap-cities h3 { font-size: 16px; margin-bottom: 6px; }
.sitemap-cities ul { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.5; }
.sitemap-cities li { padding: 2px 0; overflow-wrap: anywhere; }
.sitemap-cities li.cat a { color: var(--teal); font-weight: 600; }

/* Information pages */
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.7; color: var(--text); }
.prose p { margin: 0 0 16px; }
.prose h2 { font-size: 23px; margin: 34px 0 12px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.summary-head { font-size: 21px; margin: 0 0 12px; }
.summary + .summary { margin-top: 12px; }

/* Message form */
.message-form { margin-top: 36px; }
.message-form h2 { margin: 0 0 16px; font-size: 21px; }
.message-form .field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.message-form .field-row { display: flex; gap: 16px; flex-wrap: wrap; }
.message-form .field-row .field { min-width: 220px; }
.message-form label { font-size: 14px; font-weight: 600; color: var(--ink); }
.message-form .optional { font-weight: 400; color: var(--muted); }
.message-form input, .message-form select, .message-form textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.message-form input:focus, .message-form select:focus, .message-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.message-form textarea { resize: vertical; min-height: 140px; }
.message-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message-form .form-fine { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.message-form button { font: inherit; font-weight: 600; font-size: 15.5px; padding: 11px 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); cursor: pointer; }
.message-form button:hover { background: var(--teal); }
.form-note { padding: 14px 16px; border-radius: 10px; font-size: 15.5px; margin: 0 0 18px; }
.form-note.good { background: var(--teal-soft); color: var(--ink); }
.form-note.bad { background: #F6E4DF; color: #7A2A1C; }
.form-note ul { margin: 8px 0 0; padding-left: 20px; }
.form-note li { font-size: 15px; margin: 0; }

/* Insights: articles and their figures */
.insight-kind { font: 600 12.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brass-2); margin: 0 0 10px; }
.insight-meta { font-size: 14px; color: #B8C1D0; margin-top: 14px; }
.prose.insight > p:first-child { font-size: 19px; line-height: 1.65; }
.insight-card { display: flex; flex-direction: column; gap: 10px; }
.insight-card h2 { font-size: 21px; line-height: 1.3; padding-right: 26px; }
.insight-card p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.insight-card .tag { align-self: flex-start; }
.insight-card .meta { font-size: 13px; color: var(--muted); }

.fig { margin: 30px 0; padding: 22px 22px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.fig.plain { background: transparent; border: 0; box-shadow: none; padding: 0; }
.fig figcaption { margin-bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.fig figcaption b { font: 600 18px/1.3 var(--serif); color: var(--ink); }
.fig figcaption span { font-size: 14px; color: var(--muted); }
.fig-note { font-size: 13px !important; line-height: 1.5 !important; color: var(--muted) !important; margin: 14px 0 0 !important; }
.fig-bars { display: flex; flex-direction: column; gap: 10px; }
.fig-row { display: grid; grid-template-columns: minmax(96px, 30%) 1fr auto; align-items: center; gap: 12px; }
.fig-row.pair { align-items: start; grid-template-columns: minmax(96px, 30%) 1fr; }
.fig-label { font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.fig-track { display: block; height: 22px; background: #F0ECE0; border-radius: 6px; overflow: hidden; }
.fig-bar { display: block; height: 100%; border-radius: 6px; background: var(--teal); }
.fig-bar.good, .fig-key i.good, .fig-waffle i.good { background: var(--good); }
.fig-bar.bad, .fig-key i.bad, .fig-waffle i.bad { background: var(--bad); }
.fig-bar.brass, .fig-key i.brass { background: var(--brass); }
.fig-bar.muted, .fig-key i.muted, .fig-waffle i.muted { background: #C9C3B1; }
.fig-value { font: 500 14px/1 var(--mono); color: var(--ink); min-width: 46px; text-align: right; }
.fig-stack { display: flex; flex-direction: column; gap: 5px; }
.fig-line { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.fig-line .fig-track { height: 16px; }
.fig-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px !important; color: var(--muted) !important; margin: 0 0 14px !important; }
.fig-waffle + .fig-key { margin: 14px 0 0 !important; }
.fig-key span { display: inline-flex; align-items: center; gap: 7px; }
.fig-key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.fig-waffle { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; max-width: 520px; }
.fig-waffle i { aspect-ratio: 1; border-radius: 4px; display: block; }
.fig-comments { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-items: start; }
.fig-comment { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.fig-comment b { font: 600 14.5px/1.2 var(--sans); color: var(--ink); }
.fig-comment span { font: 500 13px/1.3 var(--mono); color: var(--muted); }
.fig-lines { display: flex; flex-direction: column; gap: 6px; }
.fig-lines i { display: block; height: 8px; width: 100%; border-radius: 4px; background: #C9C3B1; }
.fig-comment.bad .fig-lines i { background: var(--bad); opacity: .8; }
.fig-comment.good .fig-lines i { background: var(--good); opacity: .8; }
.fig-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.fig-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--teal); }
.fig-tile.bad { border-top-color: var(--bad); }
.fig-tile.good { border-top-color: var(--good); }
.fig-tile b { font: 600 40px/1 var(--serif); color: var(--ink); }
.fig-tile span { font-size: 14.5px; color: var(--muted); line-height: 1.4; }

.insight-method { margin-top: 44px; padding: 24px; border-radius: var(--r-lg); background: #ECE8DB; }
.insight-method h2 { font-size: 19px !important; margin: 0 0 12px !important; }
.insight-method li, .insight-method p { font-size: 14.5px !important; line-height: 1.6 !important; }
.insight-cite { margin-top: 14px !important; overflow-wrap: anywhere; }
.insight-data { font-weight: 600; }
.insight-more { margin-top: 36px; }
.insight-more h2 { font-size: 19px !important; margin: 0 0 12px !important; }
.insight-more .chip { text-decoration: none; color: var(--ink); }
@media (max-width: 560px) {
  .fig { padding: 16px 14px 14px; }
  .fig-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .fig-row .fig-label { grid-column: 1 / -1; }
  .fig-row.pair { grid-template-columns: 1fr; }
  .fig-waffle { grid-template-columns: repeat(10, 1fr); }
}

/* Insights: the summary and the index that open an article */
.insight-summary { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--brass); border-radius: var(--r); padding: 20px 22px; margin: 0 0 18px; box-shadow: var(--shadow); }
.insight-summary h2, .insight-index h2 { font: 600 12.5px/1 var(--sans) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px !important; }
.insight-summary ul { margin: 0 !important; padding-left: 20px; }
.insight-summary li { font-size: 16px !important; line-height: 1.6 !important; margin-bottom: 7px; }
.insight-summary li:last-child { margin-bottom: 0; }
.insight-index { background: #ECE8DB; border-radius: var(--r); padding: 18px 22px; margin: 0 0 30px; }
.insight-index ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.insight-index li { font-size: 15px !important; line-height: 1.45 !important; margin-bottom: 7px; break-inside: avoid; }
.prose.insight h2[id], .insight-method { scroll-margin-top: 84px; }
.prose.insight > .insight-index + p { font-size: 19px; line-height: 1.65; }
@media (max-width: 640px) { .insight-index ol { columns: 1; } }

/* Insights: categories and sources */
.insight-topics { margin-bottom: 24px; }
.insight-topics .chip.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.insight-topics .chip.on .n { color: #B8C1D0; }
.insight-kind a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.insight-sources { margin-top: 30px; scroll-margin-top: 84px; }
.insight-sources h2 { font-size: 19px !important; margin: 0 0 12px !important; }
.insight-sources li { font-size: 14.5px !important; line-height: 1.6 !important; }

.fig-key i.teal { background: var(--teal); }
.fig-comment .fig-lines i { background: var(--brass); opacity: .75; }
.fig-comment.bad .fig-lines i { background: var(--bad); opacity: .8; }
.fig-comment.good .fig-lines i { background: var(--good); opacity: .8; }
.insight-card h3 { font-size: 19px; line-height: 1.3; padding-right: 26px; }
.insight-callout .section-head .aside { text-decoration: none; }
.prose.insight p a:not([target]), .prose.insight li a:not([target]) { font-weight: 500; }
.message-form .required { font-weight: 400; color: var(--bad); }
/* The header's call to action: list a business */
.site-nav a.nav-cta { color: var(--brass-2); border: 1px solid rgba(201,154,62,.55); margin-left: 4px; }
.site-nav a.nav-cta:hover, .site-nav a.nav-cta[aria-current="page"] { color: var(--navy, #152238); background: var(--brass-2); border-color: var(--brass-2); }
.site-nav .show-sm { display: none; }
@media (max-width: 520px) {
  .site-nav { gap: 2px; }
  .site-nav a { padding: 8px 9px; font-size: 13.5px; }
  .site-nav a .hide-sm { display: none; }
  .site-nav a .show-sm { display: inline; }
}
.site-nav a { white-space: nowrap; }
/* Small phones: the links take a second row under the brand rather than squeezing it. */
@media (max-width: 420px) {
  .site-header .container { flex-wrap: wrap; row-gap: 4px; height: auto; padding-top: 10px; padding-bottom: 8px; }
  .site-nav { width: 100%; justify-content: space-between; }
  .site-nav a { padding: 7px 10px; }
}
