/* Jury Verdicts Northwest — public site.
   A 1962 Pacific-Northwest legal reporter, modernized: paper, Puget blue,
   letterpress restraint — the region itself on the page (public-domain
   NPS / WA State Archives photography, see docs/image-sources.md).
   Layout and typographic moves per DESIGN.md; the accent moved from spruce
   to the Salish-sea blue Melissa chose from the 2026-07 design review, with
   crisper button corners to match. The search highlight followed it on
   2026-08-26, so <mark> no longer sits a green wash under a blue underline;
   the shared tokens here are the Research app's too, held together by
   prototype/tests/test_theme_tokens.py. The marketing site commits to light.
   No webfonts — the stacks are the design. */

:root {
  --paper: #f6f4ee;
  --sheet: #fdfdfb;
  --ink: #1e2823;
  --ink-soft: #55635b;
  --ink-faint: #5d6a62;
  --line: #dcdfd8;
  --line-soft: #e7e9e2;
  --accent: #306d9f;
  --accent-ink: #274e75;
  --accent-deep: #1f4264;
  --accent-soft: #e2ecf4;
  --pine: #142230;
  --pine-2: #1a2c3d;
  --cream: #f4f2e9;
  --cream-soft: rgba(244, 242, 233, .78);
  --money: #7c5c1e;
  --mark: #cfe2f2;
  --brass: #8a6726;
  --brass-light: #d8b869;
  --cream-deep: #ece8dc;
  --rule: #d8d6ce;
  --shadow: 0 1px 2px rgba(30, 40, 35, .05), 0 8px 28px rgba(30, 40, 35, .07);
  --shadow-lift: 0 2px 4px rgba(30, 40, 35, .06), 0 14px 40px rgba(30, 40, 35, .12);
}

/* Optional public-page analytics consent. The Google tag remains unloaded
   until the visitor chooses Allow analytics; the settings control stays
   available so consent is as easy to withdraw as to grant. */
.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  max-width: 64rem;
  margin-inline: auto;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border, #bfd0df);
  border-radius: 1rem;
  background: var(--paper, #fff);
  color: var(--ink, #17324d);
  box-shadow: 0 1rem 2.5rem rgba(19, 50, 77, .2);
}

.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 0 0 .35rem; font-size: 1.08rem; }
.analytics-consent p { margin: 0; max-width: 48rem; font-size: .92rem; line-height: 1.5; }
.analytics-consent__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.analytics-consent button,
.analytics-settings {
  min-height: 2.75rem;
  padding: .62rem .9rem;
  border: 1px solid var(--blue, #1f5f8b);
  border-radius: .7rem;
  background: var(--paper, #fff);
  color: var(--blue, #1f5f8b);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.analytics-consent button.primary {
  background: var(--blue, #1f5f8b);
  color: #fff;
}
.analytics-consent button:focus-visible,
.analytics-settings:focus-visible { outline: 3px solid #f4b942; outline-offset: 2px; }
.analytics-settings {
  position: fixed;
  z-index: 900;
  right: 1rem;
  bottom: 1rem;
  min-height: 2.25rem;
  padding: .4rem .7rem;
  border-color: rgba(31, 95, 139, .45);
  background: rgba(255, 255, 255, .96);
  font-size: .78rem;
}

@media (max-width: 680px) {
  .analytics-consent { grid-template-columns: 1fr; }
  .analytics-consent__actions { width: 100%; }
  .analytics-consent__actions button { flex: 1 1 9rem; }
}

* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 -apple-system, "Segoe UI", system-ui, sans-serif;
}
/* Titles, case names, and amounts: the UI sans in a heavier cut with tighter
   tracking. It replaced the Palatino display serif on 2026-09-12, and the
   `.serif` class name stayed so no page markup had to change. */
.serif {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-weight: 650; letter-spacing: -.012em;
}
.num { font-variant-numeric: tabular-nums; }
a { color: var(--accent-ink); }
img, svg { max-width: 100%; }
.wrap { max-width: 1104px; margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.eyebrow {
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-ink); font-weight: 650;
}
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  border: 1px solid var(--accent); padding: 13px 24px; border-radius: 4px;
  font-weight: 600; text-decoration: none; font-size: 15px;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--accent-ink); }
.btn.ghost:hover { background: var(--accent-soft); }
/* On-photo / on-pine variants */
.btn.paper { background: var(--cream); border-color: var(--cream); color: var(--pine); }
.btn.paper:hover { background: #fff; border-color: #fff; }
.btn.ghost-light { background: transparent; border-color: rgba(244, 242, 233, .55); color: var(--cream); }
.btn.ghost-light:hover { border-color: var(--cream); background: rgba(244, 242, 233, .12); }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- navigation ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--sheet);
  color: var(--ink); padding: 10px 16px; z-index: 30; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important;
  border: 0 !important;
}
/* An anchored form or heading lands below the sticky nav, not under it. */
[id] { scroll-margin-top: 88px; }
.back-link {
  display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 600;
  color: var(--accent-ink); text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
nav.top {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(246, 244, 238, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 20;
}
.nav-in {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px; max-width: 1104px; margin: 0 auto;
}
/* The brand is the JVNW lockup itself (design/logo/, exported from the
   logo Figma). The site commits to light, so one asset covers it; the
   dark footer panel gets the reversed variant below. */
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { display: block; height: 30px; width: auto; }
.nav-links { display: flex; gap: 6px; font-size: 14.5px; margin-left: 4px; align-items: center; }
.nav-links > a, .nav-parent {
  text-decoration: none; color: var(--ink-soft); padding: 8px 10px; border-radius: 7px;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-links > a:hover, .nav-parent:hover { color: var(--ink); background: rgba(30, 40, 35, .05); }
/* The current page is marked by colour and a rule, never by weight: a bolder
   label is wider and nudged every link after it. */
.nav-links > a[aria-current="page"], .nav-item > .nav-parent[aria-current="page"] {
  color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 7px; text-decoration-color: var(--accent);
}
.nav-item { position: relative; }
.nav-parent .caret { width: 9px; height: 9px; flex: none; }
.nav-parent .caret path { stroke: currentColor; stroke-width: 2; fill: none; }
.menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 320px;
  background: var(--sheet); border: 1px solid var(--line-soft); border-radius: 12px;
  box-shadow: var(--shadow-lift); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.nav-item:hover .menu, .nav-item:focus-within .menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.menu a {
  display: block; padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-size: 14px;
}
/* The publication titles are long and the state badge belongs to the title,
   so the panel sizes itself to the widest one rather than wrapping it. */
.nav-links .menu a { white-space: nowrap; }
.menu a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.menu .menu-sample {
  margin-top: 6px; border-top: 1px solid var(--line-soft); border-radius: 0 0 8px 8px;
  color: var(--accent-ink); font-weight: 600; padding-top: 12px;
}
.nav-in .spacer { flex: 1; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; flex: none; }
/* The nav's one right-hand control in both states: a "Portal" button that
   opens the landing page, with a dropdown for going straight to Subscriptions
   or Search Database. A signed-out reader signs in on arrival, so nothing here
   waits on a session probe, and a tap on a touch device still reaches the
   landing page with the same two choices. */
.portal-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none;
  background: var(--accent); color: #fff; border-radius: 4px; padding: 9px 16px;
  transition: background-color .15s ease;
}
.portal-trigger:hover, .portal-trigger[aria-current="page"] { background: var(--accent-ink); }
.portal-trigger .caret { width: 9px; height: 9px; flex: none; }
.portal-trigger .caret path { stroke: currentColor; stroke-width: 2; fill: none; }
/* The trigger sits at the nav's right edge, so opening the menu from its left
   edge (the Publications default) would push it off-screen at in-between
   desktop widths; open it from the right edge instead. */
.portal-item .menu { left: auto; right: 0; }
/* Two big, clean choices: a large title and one short line under it. */
.portal-head { padding-bottom: 8px; }
.portal-options { margin-top: 4px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.portal-options .takeaway { padding: 56px 28px 52px; text-align: center; }
.portal-options .takeaway-t { font-size: 40px; line-height: 1.1; margin: 0 0 10px; }
.portal-options .takeaway-p { font-size: 15.5px; margin: 0; }
@media (max-width: 520px) {
  .portal-options .takeaway { padding: 40px 20px 36px; }
  .portal-options .takeaway-t { font-size: 32px; }
}

/* Mobile nav: a real disclosure, no JS beyond the 3-line toggle. */
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-in { flex-wrap: wrap; gap: 12px; padding: 12px 20px; }
  .brand img { height: 26px; }
  .nav-links, .nav-in .nav-cta { display: none; }
  /* Collapsed: the desktop spacer's flex:1 would swallow the toggle's auto
     margin and pin "Menu" beside the brand; hide it until the sheet opens,
     where it still pushes the sign-in button to the right edge. */
  .nav-in .spacer { display: none; }
  nav.top.open .nav-in .spacer { display: block; }
  .nav-toggle {
    display: block; margin-left: auto; background: none; border: 1px solid var(--line);
    border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 14px;
    color: var(--ink-soft); cursor: pointer;
  }
  nav.top.open .nav-links { display: block; flex-basis: 100%; margin: 0; }
  nav.top.open .nav-links > a, nav.top.open .nav-parent {
    display: block; padding: 11px 2px; border-bottom: 1px solid var(--line-soft); border-radius: 0;
  }
  nav.top.open .nav-item { position: static; }
  nav.top.open .menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: none; padding: 0 0 4px 14px; min-width: 0;
  }
  nav.top.open .menu a { padding: 9px 2px; color: var(--ink-soft); white-space: normal; }
  nav.top.open .menu .menu-sample { border-top: 0; padding-top: 9px; margin-top: 0; }
  nav.top.open .nav-cta {
    display: flex; flex-basis: 100%; gap: 8px; margin: 10px 0 4px;
  }
  nav.top.open .portal-item { flex: 1; }
  nav.top.open .portal-trigger {
    display: flex; justify-content: center; width: 100%; padding: 11px 12px;
  }
}

/* ---------- photo hero ---------- */
header.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--pine); color: var(--cream);
  padding: 68px 0 52px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(13, 23, 33, .88) 0%, rgba(13, 23, 33, .60) 46%, rgba(13, 23, 33, .30) 100%);
}
.hero .eyebrow { color: var(--brass-light); }
.hero h1 {
  font-size: clamp(36px, 5.8vw, 58px); line-height: 1.06; font-weight: 650;
  margin: 14px 0 16px; max-width: 17ch; text-wrap: balance; letter-spacing: -.025em;
  color: #fdfdf8;
}
.hero p.lede { font-size: 18.5px; color: var(--cream-soft); max-width: 46ch; margin: 0 0 28px; }
.hero .ctas { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.ctas-spaced { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 34px; }
.hero .stat b { display: block; font-size: 26px; font-weight: 650; color: var(--brass-light); }
.hero .stat span { font-size: 13px; color: var(--cream-soft); }

/* ---------- inner page header ----------
   The title block sits the same distance below the navigation bar as it does
   above its own double rule: the old 60px/36px pair read as a gap at the top
   of every inner page. One rule, so every page stays consistent. */
header.page {
  padding: 36px 0; border-bottom: 3px double var(--line);
}
header.page h1 {
  font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; font-weight: 650;
  margin: 12px 0 10px; text-wrap: balance; letter-spacing: -.022em;
}
header.page p.lede { font-size: 17.5px; color: var(--ink-soft); max-width: 58ch; margin: 0; }

/* ---------- sections ---------- */
section { padding: 64px 0 8px; }
.content-section { padding: 64px 0 8px; }
.label {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 650;
  color: var(--accent-ink); display: flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
}
.label::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  background: var(--sheet); border: 1px solid var(--line-soft); border-radius: 12px;
  box-shadow: var(--shadow); padding: 26px 26px 24px;
}
a.card { text-decoration: none; display: block; transition: box-shadow .18s ease, transform .18s ease; }
a.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.card h3 { font-size: 21px; font-weight: 650; margin: 0 0 8px; }
.card p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 14px; }
.card .go { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--accent-ink); }
.card .icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }
.card .icon path, .card .icon circle, .card .icon rect, .card .icon line {
  stroke: var(--accent-ink); stroke-width: 1.6; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 28px; }
.step { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; row-gap: 2px; align-items: baseline; }
.step .n {
  font-size: 14px; color: var(--accent-ink); border: 1.5px solid var(--accent);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  grid-row: 1 / span 2; align-self: start;
}
.step .k { font-size: 14.5px; font-weight: 650; margin: 4px 0 0; }
.step p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; margin: 0; max-width: 38ch; }

/* ---------- the ledger (what we do, and how it gets used) ----------
   One contents-page band in place of the old icon-card grid and the
   numbered steps below it: each entry pairs an offering with the moment an
   attorney reaches for it. Hairlines and a double rule instead of card
   chrome — no shadow, no fill, minimal ink, per the reporter idiom in
   DESIGN.md. The cover strip directly above is the only card-weight element
   on the upper page, so this band stays deliberately flat, and the outer
   entries hang off the same gutter as the eyebrow above them. */
.ledger-sec .label { margin-bottom: 14px; }
.ledger-say {
  font-size: clamp(20px, 2.2vw, 24px); font-weight: 650; line-height: 1.3;
  color: var(--ink); margin: 0 0 18px; text-wrap: balance;
}

.ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 3px double var(--line);
  border-bottom: 1px solid var(--line);
}
.ledger-e {
  display: block;
  padding: 16px 22px 14px;
  text-decoration: none;
  color: var(--ink);
  transition: background-color .15s ease;
}
.ledger-e:first-child { padding-left: 0; }
.ledger-e:last-child { padding-right: 0; }
.ledger-e + .ledger-e { border-left: 1px solid var(--line-soft); }
.ledger-e:hover { background: var(--sheet); }

.ledger-k {
  display: flex; align-items: baseline; gap: 9px; margin: 0;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-ink);
}
.ledger-k .n {
  font-size: 15px; letter-spacing: 0; text-transform: none;
  font-weight: 650; color: var(--accent-ink);
}

.ledger-t {
  margin: 5px 0 6px;
  font-size: 19px; font-weight: 650; line-height: 1.3;
  color: var(--ink); text-wrap: balance;
  transition: color .15s ease;
}
.ledger-t .arw {
  color: var(--accent-ink); font-size: .9em; display: inline-block;
  transition: transform .15s ease;
}
.ledger-e:hover .ledger-t { color: var(--accent-ink); }
.ledger-e:hover .arw { transform: translateX(3px); }

.ledger-p {
  margin: 0; max-width: 36ch;
  font-size: 14px; line-height: 1.5; color: var(--ink-soft);
}

.ledger-foot { margin: 13px 0 0; font-size: 13.5px; color: var(--ink-faint); }
.ledger-foot a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.ledger-foot a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger-e, .ledger-e:first-child, .ledger-e:last-child { padding: 15px 0 14px; }
  .ledger-e + .ledger-e { border-left: 0; border-top: 1px solid var(--line-soft); }
  .ledger-p { max-width: 46ch; }
}

/* ---------- photo band (Rainier) ---------- */
.band-photo {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 72px; padding: 84px 0; color: var(--cream);
  background: var(--pine-2);
}
.band-photo .band-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%;
}
.band-photo .band-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(14, 25, 36, .55);
}
.band-photo .band-card {
  max-width: 560px; background: rgba(12, 22, 32, .74); border: 1px solid rgba(244, 242, 233, .16);
  border-radius: 14px; padding: 30px 32px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.band-photo .eyebrow { color: var(--brass-light); }
.band-photo h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 650; margin: 8px 0 10px; color: #fdfdf8; }
.band-photo p { color: var(--cream-soft); margin: 0 0 18px; max-width: 44ch; }

/* ---------- covers strip / publication cards ---------- */
.covers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
/* The strip sits directly under the hero now, so on a phone it goes two-up
   rather than making the reader scroll four full-width covers to reach the
   rest of the page. */
@media (max-width: 560px) {
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cover-card { padding: 12px; }
  .cover-card .t { font-size: 13px; margin-top: 10px; }
  .cover-card .s { font-size: 11.5px; }
  .cover-card .p { font-size: 13px; }
}
.cover-card {
  display: flex; flex-direction: column; text-decoration: none; background: var(--sheet);
  border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: var(--shadow);
  padding: 18px 18px 16px; transition: box-shadow .18s ease, transform .18s ease;
}
.cover-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.cover-card img { width: 100%; height: auto; border-radius: 6px; display: block; }
/* Only the Publications purchase cards shrink their cover: the price block
   below needs the room, and the Home/About strips keep their full covers. */
.publication-purchase-card .cover-card img { width: 78%; margin: 0 auto; }
.cover-card .t { font-size: 14.5px; font-weight: 600; color: var(--ink); margin: 14px 0 2px; line-height: 1.35; }
.cover-card .s { font-size: 12.5px; color: var(--ink-faint); }
/* Prices sit on one baseline across the row: the card is a column and the
   price block is pushed to the bottom, so a two-line title never nudges it. */
.cover-card .prices { margin-top: auto; padding-top: 10px; display: grid; gap: 3px; }
.cover-card .p { font-size: 13.5px; color: var(--money); display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.cover-card .p span { color: var(--ink-faint); font-size: 12px; }
.cover-card .p b { font-weight: 600; white-space: nowrap; }
.cover-card .p.secondary { color: var(--ink-soft); }
.cover-card .p-note { color: var(--ink-faint); font-size: 11.5px; margin-top: 2px; }

/* ---------- product screenshots ---------- */
.shot-note { color: var(--ink-faint); font-size: 13.5px; margin: -8px 0 26px; max-width: 70ch; }
.shot { margin: 0 0 40px; }
.shot img {
  display: block; width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lift); background: var(--sheet);
}
.shot figcaption { display: block; margin-top: 16px; max-width: 72ch; }
.shot-k {
  display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-ink);
}
.shot-t { display: block; font-size: 21px; font-weight: 650; color: var(--ink); margin: 5px 0 7px; }
.shot-p { display: block; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.shot-p code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em;
  background: var(--accent-soft); border-radius: 3px; padding: 1px 4px; color: var(--accent-deep);
}

/* ---------- take-it-with-you downloads ---------- */
.takeaways { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.takeaways > :only-child { max-width: 520px; }
.takeaway {
  display: block; text-decoration: none; background: var(--sheet);
  border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: var(--shadow);
  padding: 20px 22px 18px; transition: box-shadow .18s ease, transform .18s ease;
}
.takeaway:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.takeaway-k {
  display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-ink);
}
.takeaway-t { display: block; font-size: 19px; font-weight: 650; color: var(--ink); margin: 6px 0 6px; }
.takeaway-p { display: block; font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin-bottom: 12px; }
.takeaway .go { font-size: 14.5px; font-weight: 600; color: var(--accent-ink); }

/* ---------- CTA band ---------- */
.band-cta {
  margin: 72px 0 0; background: var(--sheet);
  border-top: 3px double var(--line); border-bottom: 3px double var(--line);
  padding: 52px 0;
}
.band-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band-cta h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 650; margin: 8px 0 6px; }
.band-cta p { color: var(--ink-soft); margin: 0; max-width: 52ch; }
.band-cta .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.fee-note { color: var(--ink-faint); font-size: 13px; max-width: 60ch; }
/* A single closing note that reads as one statement rather than a paragraph:
   it keeps its own measure so it does not break across two short lines. */
.fee-note.oneline { max-width: none; }
.fee-note.spaced { margin-top: 16px; }
.fee-note.spaced-wide { margin-top: 22px; max-width: none; }
.fee-sheet {
  max-width: 720px; overflow-x: auto; background: var(--sheet);
  border: 3px double var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.fee-sheet table { width: 100%; border-collapse: collapse; text-align: left; }
.fee-sheet th, .fee-sheet td {
  padding: 14px 20px; border-top: 1px solid var(--line-soft);
}
.fee-sheet thead th { border-top: 0; }
/* The search fee table and the other fees sit side by side, each its own
   block, instead of the terms trailing under the table. */
.fee-layout {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px 36px; align-items: start;
}
.fee-terms-panel .label { margin-bottom: 8px; }
@media (max-width: 760px) { .fee-layout { grid-template-columns: 1fr; } }
.fee-sheet th {
  color: var(--ink-faint); font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase;
}
.fee-sheet .amt {
  color: var(--money); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: 20px; white-space: nowrap;
}
.fee-terms { max-width: 720px; margin: 0; }
.fee-terms > div {
  display: grid; grid-template-columns: minmax(150px, .45fr) 1fr;
  gap: 20px; padding: 11px 2px; border-bottom: 1px solid var(--line-soft);
}
.fee-terms dt { font-weight: 650; }
.fee-terms dd { margin: 0; color: var(--ink-soft); }

/* ---------- instant sample report ---------- */
.synthetic-note {
  max-width: 780px; margin: 0 auto 18px; color: var(--ink-soft);
  font-size: 14px;
}
.synthetic-note strong { color: var(--ink); }
.report-sheet {
  max-width: 780px; margin: 0 auto; background: var(--sheet);
  border-top: 3px double var(--line); border-bottom: 3px double var(--line);
  border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft);
  border-radius: 10px; box-shadow: var(--shadow-lift); padding: 30px 34px 34px;
}
.report-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.report-publication {
  margin: 0 0 7px; color: var(--accent-ink); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.report-head h2 {
  margin: 0 0 4px; font-size: clamp(25px, 4vw, 34px);
  font-weight: 650; line-height: 1.12;
}
.report-citation { margin: 0; color: var(--ink-faint); font-size: 12px; }
.result-badge { flex: none; text-align: right; color: var(--money); }
.result-badge strong {
  display: block; font-size: 29px; font-weight: 650; line-height: 1.05;
}
.result-badge span {
  display: block; margin-top: 5px; color: var(--accent-ink); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.report-result {
  background: var(--accent-soft); margin: 22px 0; padding: 17px 19px;
  border-left: 3px solid var(--accent);
}
.report-result p { margin: 0; }
.report-result .report-key { margin-bottom: 5px; }
.report-key {
  color: var(--accent-ink); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 700;
}
.report-facts, .report-people {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px; margin: 0;
}
.report-facts > div, .report-people > div {
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
.report-facts dt, .report-people dt {
  color: var(--ink-faint); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700;
}
.report-facts dd, .report-people dd { margin: 3px 0 0; }
.report-section { padding: 22px 0 0; }
.report-section + .report-section {
  margin-top: 20px; border-top: 1px solid var(--line-soft);
}
.report-section h3 { margin: 0 0 8px; }
.report-section p { margin: 7px 0; }
mark {
  background: var(--mark); color: var(--ink); padding: 0 .12em;
  box-shadow: inset 0 -1px 0 var(--accent); font-weight: 650;
}

/* ---------- staged plans preview ---------- */
.preview-notice {
  max-width: 760px; margin: 0 0 24px; padding: 14px 16px;
  border: 1px solid var(--brass); border-radius: 4px; background: var(--cream-deep);
}
.plan-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.plan-card {
  background: var(--sheet); border: 1px solid var(--line-soft);
  border-top: 3px double var(--line); border-radius: 10px; padding: 24px;
  box-shadow: var(--shadow);
}
.plan-card h3 { margin: 0; font-size: 23px; font-weight: 650; }
.plan-card .plan-price {
  margin: 12px 0 2px; color: var(--money); font-size: 32px; line-height: 1;
}
.plan-card .plan-window { margin: 0 0 18px; color: var(--ink-faint); font-size: 13px; }
.plan-card ul { margin: 0; padding-left: 19px; }
.plan-card li + li { margin-top: 7px; }
.decision-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.decision-card {
  background: var(--sheet); border: 1px dashed var(--accent);
  border-radius: 10px; padding: 22px;
}
.decision-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 650; }
.decision-card p { color: var(--ink-soft); }
.decision-card ul { margin-bottom: 0; }

/* ---------- publication detail pages ---------- */
.pub-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
/* The cover is the download: the whole card is one link that hands the
   visitor a synthetic sample issue of this reporter, no form in between. */
.pub-cover {
  display: block; text-decoration: none; color: inherit;
  background: var(--sheet); border: 1px solid var(--line-soft); border-radius: 14px;
  box-shadow: var(--shadow-lift); padding: 26px; max-width: 380px; margin: 0 auto;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
a.pub-cover:hover { transform: translateY(-2px); border-color: var(--accent); }
.pub-cover img { width: 100%; height: auto; display: block; border-radius: 6px; }
.pub-cover-cta {
  display: block; margin-top: 18px; text-align: center;
  font-size: 14.5px; font-weight: 600; color: var(--accent-ink);
}
a.pub-cover:hover .pub-cover-cta { text-decoration: underline; text-underline-offset: 3px; }
.pub-cover-note {
  display: block; margin-top: 5px; text-align: center;
  font-size: 12.5px; color: var(--ink-faint);
}
.pub-facts { list-style: none; margin: 0 0 26px; padding: 0; font-size: 14.5px; }
.pub-facts li {
  padding: 11px 2px; border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 14px;
}
.pub-facts li:last-child { border-bottom: 0; }
.pub-facts .k { color: var(--ink-soft); }
.pub-facts .v { text-align: right; }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.price-card {
  background: var(--sheet); border: 1px solid var(--line-soft); border-radius: 12px;
  box-shadow: var(--shadow); padding: 20px 22px 18px;
}
.price-card .k { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 650; }
.price-card .amt {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; color: var(--money);
  font-size: 30px; margin: 8px 0 2px;
}
.price-card .per { color: var(--ink-faint); font-size: 13px; }
/* On a reporter page each price card is the purchase: the whole card is one
   link into the online checkout with that product preselected. */
a.price-card { display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
a.price-card:hover, a.price-card:focus-visible { border-color: var(--accent); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
/* The purchase button is pinned to the bottom of its card. Cards in a row are
   the same height, so `margin-top: auto` keeps every "Buy now" on one line
   even when one card's description wraps to two lines and its neighbour's
   does not. The margin below `.per` is the minimum gap the auto margin grows
   from — flex items do not collapse margins, so it always holds. */
a.price-card .per { margin-bottom: 16px; }
.price-card-cta { margin-top: auto; align-self: flex-start; }
a.price-card:hover .price-card-cta { background: var(--accent-ink); border-color: var(--accent-ink); }
.pub-cover { text-align: center; }
.pub-cover-sample {
  display: inline-block; margin: 14px auto 0; padding: 5px 12px; font-size: 12px; font-weight: 600;
  color: var(--accent-ink); border: 1px solid var(--line); border-radius: 999px; text-decoration: none;
  background: var(--paper);
}
.pub-cover-sample:hover { border-color: var(--accent); background: var(--accent-soft); }

/* ---------- publication list / heritage band ---------- */
.heritage {
  margin: 70px 0 0; background: var(--sheet);
  border-top: 3px double var(--line); border-bottom: 3px double var(--line);
  padding: 46px 0;
}
.heritage .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.heritage h2 { font-size: 30px; font-weight: 650; margin: 8px 0 10px; }
.heritage p { color: var(--ink-soft); max-width: 52ch; }
.pubs { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.pubs li {
  padding: 10px 2px; border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 12px;
}
.pubs li:last-child { border-bottom: 0; }
.pubs .num { color: var(--ink-faint); white-space: nowrap; }

/* ---------- prose / about ---------- */
.prose { max-width: 68ch; }
.prose p { color: var(--ink-soft); font-size: 16px; }
.prose p strong { color: var(--ink); }
.prose h2 { font-size: 24px; font-weight: 650; margin: 34px 0 10px; }

blockquote.pull {
  margin: 34px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: 21px; font-weight: 500; line-height: 1.45; letter-spacing: -.01em;
  color: var(--ink); max-width: 30ch;
}

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.figure-card {
  background: var(--sheet); border: 1px solid var(--line-soft); border-radius: 14px;
  box-shadow: var(--shadow); padding: 16px; margin: 0;
}
.figure-card img { width: 100%; height: auto; border-radius: 8px; display: block; }
.figure-card figcaption { font-size: 12.5px; color: var(--ink-faint); padding: 12px 4px 2px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.contact-card dt {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 650; margin: 14px 0 3px;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0; font-size: 15.5px; overflow-wrap: anywhere; }
.contact-card dl { margin: 0; }

/* ---------- forms (contract with /api/contact — keep names/ids) ---------- */
.form-shell {
  display: grid; grid-template-columns: minmax(300px, 380px) 1fr;
  background: var(--sheet); border: 1px solid var(--line-soft); border-radius: 16px;
  box-shadow: var(--shadow-lift); overflow: hidden;
}
.form-aside {
  background: linear-gradient(160deg, var(--accent-deep), var(--pine-2));
  color: var(--cream); padding: 36px 34px 32px;
  display: flex; flex-direction: column;
}
.form-aside h2 { font-size: 24px; font-weight: 650; margin: 10px 0 8px; color: #fdfdf8; }
.form-aside > p { color: var(--cream-soft); font-size: 14.5px; margin: 0 0 22px; }
.form-aside .eyebrow { color: var(--brass-light); }
.form-aside dl { margin: 0; font-size: 14.5px; }
.form-aside dt {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(244, 242, 233, .78); font-weight: 650; margin: 16px 0 3px;
}
.form-aside dd { margin: 0; color: var(--cream); }
.form-aside dd a { color: var(--cream); }
.form-aside .aside-note {
  margin-top: auto; padding-top: 24px; font-size: 13px; color: rgba(244, 242, 233, .78);
}
.form-aside .aside-note a { color: var(--cream); }
.form-main { padding: 36px 38px 34px; }
.form-main h2, .form-card h2 { font-size: 24px; font-weight: 650; margin: 0 0 6px; }
.form-main > p, .form-card > p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 22px; }
.form-card { max-width: 760px; }

.contact-form { display: grid; gap: 20px; }
.contact-form .form-k {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 650; color: var(--accent-ink); margin: 10px 0 -6px;
}
.contact-form .form-k:first-of-type { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { color: var(--ink); font-size: 13.5px; font-weight: 650; }
.field label span { color: var(--ink-faint); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); padding: 12px 14px;
  font: inherit; font-size: 16px;
  transition: border-color .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.field select { appearance: none; -webkit-appearance: none; }
.select-wrap { position: relative; }
.field select { padding-right: 44px; }
.select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field textarea { resize: vertical; min-height: 150px; }
.field textarea.compact { min-height: 84px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #c3c9bd; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent); outline: none; background: var(--sheet);
  box-shadow: 0 0 0 3px rgba(48, 109, 159, .16);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #a34231;
}
.case-field-error {
  min-height: 19px; margin: -2px 0 0; color: #8b3023;
  font-size: 12.5px; line-height: 1.4;
}
.case-field-error:empty { visibility: hidden; }
.field .hint { font-size: 12.5px; color: var(--ink-faint); }
.contact-form .btn { justify-self: start; padding: 13px 28px; }
.form-trap {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.form-legal {
  margin: -4px 0 0; max-width: 64ch; color: var(--ink-faint);
  font-size: 12.5px; line-height: 1.5;
}
.form-status {
  display: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin: 0 0 18px; font-size: 14.5px;
}
.form-status:target { display: block; }
.form-success { color: var(--accent-ink); background: var(--accent-soft); border-color: rgba(48, 109, 159, .35); }
.form-error { color: #6c3327; background: #f7ece8; border-color: #dcb9ad; }

/* The server-confirmed receipt replaces the whole form, including its guide. */
.form-shell.form-submitted { grid-template-columns: minmax(0, 1fr); }
.form-submitted .form-aside { display: none; }
.form-result-panel {
  display: grid; place-items: center; min-height: 340px;
  padding: 48px 32px; text-align: center;
}
.form-result-panel > [hidden] { display: none !important; }
.form-result-panel > .form-result-message {
  display: block; max-width: 36ch; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--ink); font-size: clamp(22px, 3vw, 30px);
  line-height: 1.45; font-weight: 600;
}
.form-result-message:focus-visible { outline: 2px solid var(--accent); outline-offset: 12px; }
.sc-body.sc-submitted { display: grid; place-content: center; min-height: 240px; text-align: center; }

@media (max-width: 900px) {
  .form-shell { grid-template-columns: 1fr; }
  .form-aside .aside-note { margin-top: 20px; padding-top: 16px; }
}

/* ---------- footer ---------- */
footer { margin-top: 88px; background: var(--pine); color: rgba(244, 242, 233, .72); font-size: 14px; }
footer a { color: rgba(244, 242, 233, .82); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px;
  padding-top: 52px; padding-bottom: 40px;
}
.foot-brand .foot-logo { display: block; height: 30px; width: auto; margin-bottom: 14px; }
.foot-brand p { margin: 0 0 16px; max-width: 34ch; color: rgba(244, 242, 233, .76); }
.foot-brand .addr { line-height: 1.7; overflow-wrap: anywhere; }
.foot-k {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 650;
  color: var(--brass-light); margin-bottom: 12px;
}
.foot-col { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.foot-legal {
  border-top: 1px solid rgba(244, 242, 233, .14);
  padding-top: 20px; padding-bottom: 30px; font-size: 12.5px;
  color: rgba(244, 242, 233, .72);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- legal policies (approved site language, no reskin) ---------- */
.legal-hero { padding: 74px 0 34px; background: var(--cream); }
.legal-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 650; margin: 8px 0 4px; }
.legal-meta { color: var(--ink-faint); font-size: 13px; margin: 0; }
.legal-copy { max-width: 850px; padding-top: 18px; padding-bottom: 20px; }
.legal-status {
  border: 1px solid var(--brass); border-radius: 4px;
  background: var(--cream-deep); padding: 14px 16px; margin: 18px 0 28px;
  color: var(--ink-soft);
}
.legal-status.approved { border-color: var(--blue); }
.legal-copy section {
  border-top: 1px solid var(--rule); margin-top: 28px; padding-top: 23px;
}
.legal-copy section h2 { font-size: 25px; font-weight: 650; margin: 0 0 9px; }
.legal-copy section p { margin: 9px 0; }
.legal-copy li + li { margin-top: 7px; }
.legal-table-wrap { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.legal-table th, .legal-table td {
  padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top;
}
.legal-table th {
  color: var(--ink-faint); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase;
}
.legal-table td:first-child { width: 34%; font-weight: 650; }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .pub-grid, .about-grid, .plan-grid, .decision-grid { grid-template-columns: 1fr; }
  .pub-cover { max-width: 320px; margin: 0; }
}
@media (max-width: 720px) {
  header.hero { padding: 48px 0 40px; }
  .heritage .wrap { grid-template-columns: 1fr; }
  .hero .stats { gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-aside, .form-main { padding: 28px 24px; }
  .report-sheet { padding: 24px 20px 28px; }
  .report-head { display: grid; }
  .result-badge { text-align: left; }
  .report-facts, .report-people { grid-template-columns: 1fr; }
  .fee-terms > div { grid-template-columns: 1fr; gap: 3px; }
  section { padding: 52px 0 8px; }
  .content-section { padding: 52px 0 8px; }
}
@media print {
  nav.top, footer, .ctas, .btn { display: none !important; }
  body { background: #fff; }
  header.hero, .band-photo { background: #fff; color: #000; }
}

/* ---------- footer builder credit + contact dialog ----------
   The trigger stays hidden until its script enables it, because the dialog
   is the only way to use it; a visitor without JavaScript is never shown a
   control that cannot open. See marketing/site/site-contact.js. */
.foot-built { display: flex; align-items: center; }
.foot-built-link {
  background: none; border: 0; padding: 0; font: inherit;
  color: rgba(244, 242, 233, .72); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(244, 242, 233, .3);
  transition: color .15s ease, text-decoration-color .15s ease;
}
.foot-built-link:hover { color: var(--cream); text-decoration-color: var(--cream); }
.foot-built-link:focus-visible {
  outline: 2px solid var(--brass-light); outline-offset: 3px; border-radius: 3px;
}
.foot-built-link[hidden] { display: none; }

.sc-dialog {
  width: min(540px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line);
  border-radius: 14px; background: var(--sheet); color: var(--ink);
  box-shadow: var(--shadow-lift);
}
.sc-dialog::backdrop { background: rgba(20, 34, 48, .55); }
.sc-head {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 24px 0 24px;
}
.sc-head h2 { margin: 0; font-size: 21px; font-weight: 650; }
.sc-head p { margin: 6px 0 0; color: var(--ink-faint); font-size: 14px; line-height: 1.5; }
.sc-close {
  margin-left: auto; flex: none; background: none; border: 0; cursor: pointer;
  color: var(--ink-faint); font-size: 22px; line-height: 1; padding: 4px 6px;
  border-radius: 6px;
}
.sc-close:hover { background: var(--paper); color: var(--ink); }
.sc-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sc-body { display: grid; gap: 15px; padding: 18px 24px 24px 24px; }
.sc-counter { font-size: 12.5px; color: var(--ink-faint); text-align: right; }
.sc-counter.over { color: #8b3023; font-weight: 600; }
.sc-captcha-q { font-weight: 650; font-size: 13.5px; color: var(--ink); }
.sc-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sc-actions .btn[disabled] { opacity: .6; cursor: progress; }
.sc-note { margin: 0; font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }
.sc-status { margin: 0; font-size: 14px; line-height: 1.5; border-radius: 9px; padding: 11px 14px; }
.sc-status[hidden] { display: none; }
.sc-status.err { background: #fbeeeb; border: 1px solid #e8c4bb; color: #8b3023; }
.sc-status.ok { background: var(--accent-soft); border: 1px solid #bcd6e8; color: var(--accent-deep); }

@media (max-width: 560px) {
  .sc-head { padding: 18px 17px 0 17px; }
  .sc-body { padding: 15px 17px 20px 17px; }
}

.publication-purchase-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.publication-purchase-card .cover-card { flex: 1; }
.publication-purchase-card > .btn { text-align: center; }
.purchase-ctas { display: grid; gap: 8px; }
.purchase-ctas .btn { text-align: center; }

/* ---------- public form components ----------
   Inline validation, checkbox choices, the file dropzone, and the signed-in
   identity card are driven by form-validation.js; every rule here also has
   to read correctly before that script runs (or without it). */
.field[hidden], .form-grid[hidden], .drop-files[hidden], .account-identity[hidden] { display: none; }
.field label .req, .req-key .req { color: var(--accent); font-weight: 700; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field > legend {
  padding: 0; margin: 0 0 9px; color: var(--ink); font-size: 13.5px; font-weight: 650;
}
fieldset.field > legend span { color: var(--ink-faint); font-weight: 400; }
.contact-form .btn[disabled] { opacity: .7; cursor: progress; }

/* One checkbox look for the whole site: a crisp accent square instead of the
   browser default, keyboard focus shown on the box itself. */
.contact-form input[type="checkbox"],
.field input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: 0 0 auto;
  width: 20px; height: 20px; margin: 0; padding: 0;
  border: 1.5px solid #b7beb3; border-radius: 6px; background: var(--sheet);
  display: inline-grid; place-content: center; cursor: pointer;
  transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.contact-form input[type="checkbox"]::before {
  content: ""; width: 11px; height: 11px; background: #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0); transition: transform .12s ease;
}
.contact-form input[type="checkbox"]:hover { border-color: var(--accent); }
.contact-form input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.contact-form input[type="checkbox"]:checked::before { transform: scale(1); }
.contact-form input[type="checkbox"]:focus-visible {
  outline: none; box-shadow: 0 0 0 3px rgba(48, 109, 159, .28);
}

/* The reserved error line under every field already separates rows. */
.contact-form[data-validate] { gap: 14px; }
.contact-form[data-validate] .form-grid { row-gap: 12px; }
.check-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.check-card {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center;
  gap: 12px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); cursor: pointer;
  transition: border-color .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.check-card:hover { border-color: #c3c9bd; background: var(--sheet); }
.check-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.check-card:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(48, 109, 159, .16); }
.check-card img {
  width: 36px; height: 48px; border-radius: 2px;
  box-shadow: 0 1px 2px rgba(30, 40, 35, .12), 0 3px 8px rgba(30, 40, 35, .1);
}
.field .check-card .check-card-text { display: grid; gap: 1px; min-width: 0; color: var(--ink); }
.field .check-card .check-card-t { color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.3; }
.field .check-card .check-card-s { color: var(--ink-faint); font-size: 12.5px; line-height: 1.35; }
.check-field.has-error .check-card { border-color: #d7b1a6; }

.method-set { border: 0; margin: 2px 0 0; padding: 0; min-width: 0; }
.method-set legend {
  padding: 0; margin: 0 0 8px; color: var(--ink-soft); font-size: 12.5px; font-weight: 650;
}
.method-options { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip {
  display: inline-flex; align-items: center; gap: 9px; min-height: 38px;
  padding: 6px 14px 6px 10px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink-soft); font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: border-color .12s ease, background-color .12s ease, color .12s ease;
}
.check-chip:hover { border-color: #c3c9bd; background: var(--sheet); }
.check-chip:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.contact-form .check-chip input[type="checkbox"] { width: 17px; height: 17px; border-radius: 5px; }
.contact-form .check-chip input[type="checkbox"]::before { width: 9px; height: 9px; }

/* Dropzone: the label is the picker, so it works without JavaScript; the
   script adds drag and drop and the chosen-file list below it. */
.dropzone {
  position: relative; display: grid; justify-items: center; gap: 5px;
  padding: 26px 18px 24px; border: 1.5px dashed #bfc6bb; border-radius: 12px;
  background: var(--paper); text-align: center; cursor: pointer;
  transition: border-color .12s ease, background-color .12s ease;
}
.dropzone:hover { border-color: var(--accent); background: var(--sheet); }
.dropzone.armed { border-color: var(--accent); background: var(--accent-soft); }
.dropzone:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.field .dropzone input[type="file"] {
  position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0;
  overflow: hidden; clip-path: inset(50%);
}
.dropzone-icon {
  width: 42px; height: 42px; padding: 10px; margin-bottom: 4px; border-radius: 50%;
  background: var(--accent-soft); fill: none; stroke: var(--accent-ink); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.field .dropzone .dropzone-t { color: var(--ink); font-size: 15px; font-weight: 600; }
.field .dropzone .dropzone-link {
  color: var(--accent-ink); font-weight: 650; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.field .dropzone .dropzone-s { color: var(--ink-faint); font-size: 12.5px; }
.field.has-error .dropzone { border-color: #a34231; }
.drop-files { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.drop-files li {
  display: flex; align-items: center; gap: 10px; min-height: 42px;
  padding: 6px 6px 6px 12px; border: 1px solid var(--line-soft); border-radius: 10px;
  background: var(--sheet); font-size: 13.5px;
}
.drop-file-name { flex: 1; min-width: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.drop-file-size { color: var(--ink-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.drop-file-remove {
  flex: none; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none;
  color: var(--ink-faint); font-size: 19px; line-height: 1; cursor: pointer;
}
.drop-file-remove:hover { background: var(--paper); color: #8b3023; }
.drop-file-remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.drop-files .drop-file-total {
  min-height: 0; padding: 2px 2px 0; border: 0; background: none;
  color: var(--ink-faint); font-size: 12.5px;
}

/* Signed-in visitors: the account's name and email replace those fields. */
.account-identity {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px;
  padding: 12px 16px; border: 1px solid rgba(48, 109, 159, .26); border-radius: 12px;
  background: var(--accent-soft);
}
.account-identity-avatar {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em;
}
.account-identity-main { flex: 1 1 220px; min-width: 0; display: grid; gap: 1px; }
.account-identity-k {
  color: var(--accent-ink); font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase;
}
.account-identity-name { color: var(--ink); font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.account-identity-name:hover { color: var(--accent-ink); text-decoration: underline; }
.account-identity-email { color: var(--ink-soft); font-size: 13.5px; overflow-wrap: anywhere; }
.account-identity-switch { margin: 0; color: var(--ink-soft); font-size: 13.5px; }
.account-identity-switch button {
  padding: 0; border: 0; background: none; font: inherit; font-weight: 650;
  color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.account-identity-switch button:disabled { opacity: .6; cursor: progress; }
.account-identity-error { flex-basis: 100%; margin: 0; color: #8b3023; font-size: 12.5px; }

/* ---------- submit a case ---------- */
.choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.choice-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 10px;
  align-content: start; padding: 20px 22px; background: var(--sheet);
  border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: var(--shadow);
  color: inherit; text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.choice-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); border-color: rgba(48, 109, 159, .3); }
.choice-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice-icon {
  grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-soft); display: grid; place-items: center;
}
.choice-icon svg {
  width: 21px; height: 21px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.choice-text { display: grid; gap: 4px; }
.choice-t { color: var(--ink); font-size: 19px; font-weight: 650; line-height: 1.25; }
.choice-p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.choice-go { color: var(--accent-ink); font-size: 14px; font-weight: 650; }

.doc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 290px)); gap: 18px; }
.doc-card {
  display: flex; flex-direction: column; overflow: hidden; background: var(--sheet);
  border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: var(--shadow);
  color: inherit; text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}
.doc-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.doc-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.doc-preview {
  display: block; height: 158px; overflow: hidden; padding: 16px 22px 0;
  background: var(--cream-deep); border-bottom: 1px solid var(--line-soft);
}
.doc-preview img {
  display: block; width: 100%; height: auto; background: #fff; border-radius: 3px 3px 0 0;
  box-shadow: 0 1px 2px rgba(30, 40, 35, .08), 0 8px 20px rgba(30, 40, 35, .12);
  transition: transform .18s ease;
}
.doc-card:hover .doc-preview img { transform: translateY(-3px); }
.doc-meta { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 14px 18px 16px; }
.doc-k {
  color: var(--accent-ink); font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase;
}
.doc-t { color: var(--ink); font-size: 17px; font-weight: 650; line-height: 1.3; }
.doc-go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px;
  color: var(--accent-ink); font-size: 14px; font-weight: 650;
}
.doc-go svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.doc-note { max-width: 70ch; margin: 18px 0 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* ---------- long reporting forms ----------
   Each section keeps its heading in a narrow left column so the fields get
   the full width the old contact panel used to take. */
.report-form {
  background: var(--sheet); border: 1px solid var(--line-soft); border-radius: 16px;
  box-shadow: var(--shadow-lift); padding: 32px 40px 36px;
}
.report-form-head {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: 8px 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.report-form-head h2 { margin: 0; font-size: 26px; font-weight: 650; }
.req-key { margin: 0; color: var(--ink-faint); font-size: 13px; }
.report-form .form-status { margin: 18px 0 0; }
.report-form.form-result-panel > .form-result-message { margin: 0; }
.contact-form.report-form-body { gap: 0; }
.form-section {
  display: grid; grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 18px 40px; padding: 28px 0; border-bottom: 1px solid var(--line-soft);
}
.form-section-head { display: flex; align-items: flex-start; gap: 12px; align-self: start; position: sticky; top: 96px; }
.form-section-n {
  flex: none; width: 28px; height: 28px; margin-top: 1px; border: 1.5px solid var(--accent);
  border-radius: 50%; display: grid; place-items: center;
  color: var(--accent-ink); font-size: 13px; font-weight: 650;
}
.form-section-t { margin: 1px 0 4px; font-size: 19px; font-weight: 650; line-height: 1.25; }
.form-section-head p { margin: 0; color: var(--ink-faint); font-size: 13.5px; line-height: 1.5; }
.form-section-body { display: grid; gap: 14px; min-width: 0; }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-section-body .form-grid { gap: 14px 20px; }
.party-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.party { display: grid; gap: 14px; align-content: start; min-width: 0; }
.party-k {
  margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft);
  color: var(--accent-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase;
}
.witness { display: grid; gap: 2px; }
.witness + .witness { margin-top: 6px; }
.report-form-submit {
  display: grid; grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  column-gap: 40px; row-gap: 12px; padding-top: 28px;
}
.report-form-submit > * { grid-column: 2; justify-self: start; }
.report-form-submit .form-legal { margin: 0; }
.field input[type="date"] { min-height: 50px; color-scheme: light; }

@media (max-width: 960px) {
  .form-section { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .form-section-head { position: static; }
  .report-form-submit { grid-template-columns: minmax(0, 1fr); }
  .report-form-submit > * { grid-column: 1; }
}
@media (max-width: 720px) {
  .choice-cards, .party-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .report-form { padding: 24px 20px 28px; }
  .report-form-head h2 { font-size: 22px; }
  .doc-cards { grid-template-columns: minmax(0, 1fr); }
  .doc-preview { height: 150px; }
}

/* ---------- portal landing: two states, one switch ---------- */
/* Sign in / Create account until the session probe confirms a reader; then
   Subscriptions / Search Database. The <html> class is the only switch. */
.portal-options.portal-signed-in { display: none; }
html.portal-signed-in .portal-options.portal-signed-out { display: none; }
html.portal-signed-in .portal-options.portal-signed-in { display: grid; }
/* ---------- a reporter price card the account already receives ---------- */
a.price-card--owned { border-color: var(--accent); }
.price-card--owned .k::after { content: " · Subscribed"; color: var(--accent-ink); letter-spacing: .06em; }
.price-card--owned .price-card-cta { background: transparent; color: var(--accent-ink); }
a.price-card--owned:hover .price-card-cta { background: var(--accent-soft); border-color: var(--accent-ink); }
/* ---------- database page: the packages first ---------- */
.db-packages { padding-top: 44px; }
.db-price-cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
