/* Dad of Record library. Navy and warm paper, system fonts only (no external fonts, no scripts). */
:root {
  --navy: #1c2b4a;
  --navy-2: #253861;
  --brass: #b9852c;
  --brass-soft: #f6ead2;
  --desk: #f3f0ea;
  --panel: #f8f6f1;
  --paper: #ffffff;
  --ink: #1b1f27;
  --muted: #5d6270;
  --line: #e2ddd3;
  --line-strong: #cfc8ba;
  --blue: #23408e;
  --red: #a8261d;
  --green: #2f6b3a;
  --amber: #b7791f;
  --amber-soft: #fff6df;
  --hl: #fff0a3;
  --soft-red: #fcf1ec;
  --soft-red-line: #f0d2c6;
  --logo-ink: #ffffff;
  --logo-accent: #d9a441;
  --shadow: 0 1px 2px rgba(28, 43, 74, .06), 0 4px 16px rgba(28, 43, 74, .06);
  --shadow-up: 0 2px 4px rgba(28, 43, 74, .08), 0 12px 28px rgba(28, 43, 74, .10);
  --radius: 14px;
  --wide: 72rem;
  --ui: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #0f1726; --navy-2: #18233a; --brass: #e0b25e; --brass-soft: #3a3020;
    --desk: #14171d; --panel: #1b1f27; --paper: #20252e; --ink: #ecebe6; --muted: #a5a9b3;
    --line: #2f3542; --line-strong: #414857; --blue: #9db3f0; --red: #f08b83; --green: #8cc79a; --amber: #e3b25c;
    --amber-soft: #3a3020; --hl: #4a4120; --soft-red: #3a2622; --soft-red-line: #5a3a33;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-up: 0 6px 20px rgba(0, 0, 0, .4);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--desk); color: var(--ink); font: 17px/1.65 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; height: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 8px; z-index: 10; background: var(--paper); padding: 6px 10px; border-radius: 8px; }

/* the 988 strip: always first, never loud */
.crisis-bar { margin: 0; padding: 7px 16px; font-size: 14px; text-align: center; background: var(--navy); color: #d6dbe6; }
.crisis-bar a { color: #fff; }

/* header */
.top { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 18px; max-width: var(--wide); margin: 0 auto; padding: 12px 20px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; min-width: 0; flex: none; }
.brand b { font: 700 19px/1.15 var(--serif); display: block; letter-spacing: -.005em; }
.motto { display: block; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.logo { width: 36px; height: 36px; color: var(--navy); flex: none; }
.top ul, .side ul, .foot ul, .menu-panel ul { list-style: none; margin: 0; padding: 0; }
.bar { margin-left: auto; }
.bar ul { display: flex; gap: 2px; }
.bar a { display: block; padding: 7px 11px; border-radius: 8px; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.bar a:hover { background: var(--panel); }
.bar a[aria-current] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.start { flex: none; font-size: 15px; font-weight: 650; text-decoration: none; padding: 9px 15px; border-radius: 10px;
  background: var(--navy); color: #fff; }
.start:hover { background: var(--navy-2); }

/* the menu: a button on narrow screens, opening every page by group */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: "☰"; margin-right: 7px; }
.menu[open] summary::before { content: "✕"; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-up); padding: 8px 20px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.nav-head { margin: 12px 0 4px; font: 700 12px/1.4 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.menu-panel a, .side a { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 8px; font-size: 15.5px; color: var(--ink); text-decoration: none; }
.menu-panel a:hover, .side a:hover { background: var(--panel); }
.menu-panel a[aria-current], .side a[aria-current] { background: var(--brass-soft); color: var(--ink); font-weight: 650; }

/* reading pages: a side menu and the page */
main.reading { display: grid; grid-template-columns: 14rem minmax(0, 46rem); gap: 36px; justify-content: center; max-width: var(--wide); margin: 0 auto; padding: 32px 20px 48px; }
.side { position: sticky; top: 16px; align-self: start; max-height: calc(100vh - 32px); overflow-y: auto; padding: 0 4px 0 10px; }
.side .nav-group:first-child .nav-head { margin-top: 4px; }
.page { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 44px 44px; box-shadow: var(--shadow); min-width: 0; }
.crumb { margin: 0 0 8px; font: 700 12px/1.4 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--brass); }

h1, h2, h3 { font-family: var(--serif); line-height: 1.22; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: 38px; margin: 0 0 14px; }
.page h1 + p { font-size: 19.5px; line-height: 1.55; color: var(--muted); }
h2 { font-size: 26px; margin: 44px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
h3 { font-size: 20px; margin: 30px 0 8px; }
h4 { font-size: 13.5px; margin: 22px 0 4px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
p, ul, ol { margin: 0 0 15px; }
li { margin: 5px 0; }
li > p { margin: 0 0 6px; }
li::marker { color: var(--brass); }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
code { font: 0.88em var(--mono); background: var(--panel); border: 1px solid var(--line); border-radius: 5px; padding: 0 4px; }
blockquote { margin: 18px 0; padding: 6px 0 6px 20px; border-left: 3px solid var(--brass); font-family: var(--serif); font-size: 18.5px; color: var(--ink); }
blockquote p { margin: 6px 0; }

.tag { display: inline-block; font: 600 12px/1.6 var(--ui); padding: 0 8px; border-radius: 99px; vertical-align: 1px; white-space: nowrap; }
.tag.verify { background: #fde68a; color: #6b4e00; }
.tag.unconfirmed { background: #f3e4e2; color: #7a2a24; }
.tag.coming { background: #e3e9f8; color: #23408e; }
.tag.today { background: #e2efe4; color: #2f6b3a; }
mark.josh { background: var(--hl); color: var(--ink); padding: 0 4px; border-radius: 4px; font-size: .92em; outline: 1px dashed var(--amber); }

.callout { margin: 20px 0; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--line); border-left-width: 4px; background: var(--panel); }
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout-label { font: 700 12px var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.callout.note { border-left-color: var(--blue); }
.callout.important { background: var(--soft-red); border-color: var(--soft-red-line); border-left-color: var(--red); }
.callout.important .callout-label { color: var(--red); }
.callout.tip { background: var(--amber-soft); border-color: #ecd9a8; border-left-color: var(--brass); }

.table-wrap { overflow-x: auto; margin: 16px 0 20px; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--panel); font-weight: 650; }
tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--panel) 55%, transparent); }
tr:last-child td { border-bottom: 0; }

figure { margin: 22px 0 26px; }
figure img { display: block; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
figcaption { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 11px; font-weight: 650; text-decoration: none; border: 1px solid var(--navy); background: var(--navy); color: #fff; transition: transform .12s, box-shadow .12s; }
.btn:hover { box-shadow: var(--shadow-up); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }

.toc { margin: 14px 0 26px; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; font-size: 15.5px; }
.toc-title { margin: 0 0 4px; font: 700 12px var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.toc ul { list-style: none; margin: 0; padding: 0; columns: 2 16rem; column-gap: 24px; }
.toc li { margin: 3px 0; break-inside: avoid; }
.toc li.d3 { padding-left: 14px; }
.verbatim-note { font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.verbatim input[type=checkbox] { margin-right: 6px; }
.verbatim ul:has(input) { list-style: none; padding-left: 4px; }

/* ---- the home page ---- */
.home h2 { border-top: 0; padding-top: 0; margin: 0 0 18px; font-size: 32px; }
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.hero-inner { max-width: var(--wide); margin: 0 auto; padding: 64px 20px 72px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 14px; font: 700 13px/1.4 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--logo-accent); }
.hero h1 { color: #fff; font-size: 50px; line-height: 1.08; margin-bottom: 20px; letter-spacing: -.015em; }
.hero h1 + p { font-size: 20px; line-height: 1.55; color: #d6dbe6; }
.hero .btn { background: #fff; color: var(--navy); border-color: #fff; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .callout { margin: 0; background: var(--paper); color: var(--ink); border: 0; border-left: 4px solid var(--red); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); padding: 22px 24px; font-size: 16.5px; }
.band { padding: 64px 0; }
.band:nth-of-type(even) { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-inner { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.band-how-its-different .band-inner > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.band-inner > p, .band-inner > h2 { max-width: 46rem; }
.band-inner > p { font-size: 18px; }
/* every list on the home page is short items: show them as cards */
.band-inner > ul, .cards { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 16px; }
.band-inner > ul > li, .card { margin: 0; padding: 22px 22px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.band:nth-of-type(even) .band-inner > ul > li, .band:nth-of-type(even) .card { background: var(--panel); box-shadow: none; }
.band-inner > ul > li strong:first-child { display: block; font: 700 18px/1.3 var(--serif); margin-bottom: 4px; }
.cards { counter-reset: step; }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p:last-child { margin-bottom: 0; }
.band-who-its-for .band-inner > ul > li { border-top: 3px solid var(--brass); }
.band-what-it-is-not .band-inner > ul > li { border-left: 3px solid var(--line-strong); }
.band-the-brotherhood { background: var(--navy) !important; color: #d6dbe6; border: 0 !important; }
.band-the-brotherhood h2 { color: #fff; }
.band-the-brotherhood .tag.coming { background: rgba(255, 255, 255, .14); color: #fff; }
.band-the-brotherhood mark.josh { color: var(--ink); }
.band-tonight { background: var(--soft-red) !important; border-color: var(--soft-red-line) !important; }
.band-tonight .band-inner { max-width: 46rem; text-align: center; }
.band-tonight .band-inner > p { margin-left: auto; margin-right: auto; }

/* the library cards on the home page */
.library { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lib-group { display: flex; flex-direction: column; gap: 10px; }
.lib-group .nav-head { margin: 0 0 2px; color: var(--brass); }
.lib-card { display: block; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .12s, box-shadow .12s, transform .12s; }
.lib-card:hover { border-color: var(--brass); box-shadow: var(--shadow-up); transform: translateY(-1px); }
.lib-card b { display: block; font: 700 17px/1.3 var(--serif); color: var(--navy); margin-bottom: 3px; }
.lib-card span { display: block; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.band:nth-of-type(even) .lib-card { background: var(--panel); }

/* footer */
.foot { background: var(--navy); color: #b7bfcf; font-size: 14.5px; }
.foot-inner { max-width: var(--wide); margin: 0 auto; padding: 48px 20px 40px; display: grid; grid-template-columns: 15rem 1fr; gap: 20px 40px; }
.foot .brand { color: #fff; }
.foot .logo { color: #fff; --logo-ink: var(--navy); }
.foot .motto { color: #b7bfcf; }
.foot-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
.foot .nav-head { margin-top: 0; color: var(--logo-accent); }
.foot-nav li { margin: 4px 0; }
.foot a { color: #e6e9f0; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot a[aria-current] { color: #fff; font-weight: 650; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; }
.foot-legal p { margin: 0 0 10px; max-width: 56rem; }
.foot .legal b, .foot .crisis b { color: #fff; }
.foot .draft { font-size: 13px; }
.foot mark.josh { color: var(--ink); }

/* medium screens: menu button replaces the header links and the side menu */
@media (max-width: 1080px) {
  .bar { display: none; }
  .start { margin-left: auto; }
  .menu { display: block; }
  main.reading { grid-template-columns: minmax(0, 46rem); }
  .side { display: none; }
  .library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-how-its-different .band-inner > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 44px 20px 52px; }
  .hero h1 { font-size: 40px; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
}

/* phone */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .top-row { padding: 10px 16px; gap: 10px; }
  .motto { display: none; }
  .logo { width: 32px; height: 32px; }
  .foot .motto { display: block; }
  .start { font-size: 14px; padding: 8px 11px; }
  .menu summary { padding: 7px 10px; font-size: 14px; }
  .menu-panel { padding: 4px 16px 16px; }
  main.reading { padding: 0 0 28px; }
  .page { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; padding: 24px 18px 32px; }
  h1 { font-size: 30px; }
  .page h1 + p { font-size: 18px; }
  h2 { font-size: 23px; }
  h3 { font-size: 19px; }
  table { font-size: 14px; }
  .hero-inner { padding: 36px 18px 40px; }
  .hero h1 { font-size: 34px; }
  .hero h1 + p { font-size: 18px; }
  .hero .callout { padding: 18px; font-size: 16px; }
  .hero .btn { flex: 1 1 100%; text-align: center; }
  .home h2 { font-size: 26px; }
  .band { padding: 44px 0; }
  .band-inner { padding: 0 18px; }
  .band-how-its-different .band-inner > ul { grid-template-columns: 1fr; }
  .band-inner > p { font-size: 17px; }
  .library { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .brand b { font-size: 17px; }
  .start { padding: 7px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .lib-card { transition: none; }
  .btn:hover, .lib-card:hover { transform: none; }
}

/* print: the words, the disclaimer and 988; no menus */
@media print {
  :root { --desk: #fff; --paper: #fff; --panel: #fff; --ink: #000; --muted: #333; --line: #bbb; --navy: #fff; color-scheme: light; }
  body { font-size: 11.5pt; background: #fff; }
  .skip, .crisis-bar, .bar, .menu, .start, .toc, .side, .foot-nav, .foot-brand, .band-library { display: none !important; }
  .top { border: 0; }
  .top-row { padding: 0; }
  .logo { display: none; }
  main.reading { display: block; padding: 0; }
  .page { border: 0; padding: 0; max-width: none; box-shadow: none; }
  .hero, .band, .foot { background: #fff !important; color: #000 !important; }
  .hero h1, .hero h1 + p, .band-the-brotherhood h2, .foot .legal b, .foot .crisis b { color: #000 !important; }
  .hero-inner, .foot-inner { display: block; padding: 0; }
  .band { padding: 0; }
  .band-inner { padding: 0; }
  .band-inner > ul, .cards { display: block; }
  .band-inner > ul > li, .card, .hero .callout { box-shadow: none; border: 1px solid #bbb; margin-bottom: 8px; }
  a { color: #000; }
  .page a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  h2, h3 { break-after: avoid; }
  figure, .callout, tr, .card { break-inside: avoid; }
  .table-wrap { overflow: visible; border: 0; }
}

/* the QR landing page (content/start.md): the guided questions and the join form */
details.guide { margin: 10px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
details.guide > summary { cursor: pointer; padding: 14px 16px; font-weight: 650; font-size: 17px; list-style-position: inside; }
details.guide[open] > summary { border-bottom: 1px solid var(--line); }
details.guide > :not(summary) { margin-left: 16px; margin-right: 16px; }
details.guide > p:first-of-type { margin-top: 12px; }
form.join { display: grid; gap: 10px; margin: 16px 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
form.join label { font-weight: 600; font-size: 15px; }
form.join label.check { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
form.join input[type=email] { font: inherit; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper); color: var(--ink); }
form.join input[type=email]:focus { outline: 3px solid var(--brass-soft); border-color: var(--brass); }
form.join input[type=checkbox] { margin-top: 5px; flex: none; }
form.join .btn { font: inherit; font-weight: 650; cursor: pointer; justify-self: start; }
.notice { padding: 14px 18px; border-radius: 12px; border: 1px solid #b9d7bf; background: #e2efe4; color: #1d3d23; }

/* tighter menus; on a phone the menu button is just its icon (the word stays for screen readers) */
.side li, .menu-panel li { margin: 1px 0; }
@media (max-width: 720px) {
  .top-row { gap: 8px; }
  .menu summary::before { margin-right: 0; }
  .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* dark mode: the logo, the buttons and the current link need a lighter navy to stand out */
.bar a[aria-current] { color: var(--ink); }
@media (prefers-color-scheme: dark) {
  .top .logo, .start, .page .btn, .lib-card b { --navy: #3a5590; }
  .start, .page .btn { background: #3a5590; border-color: #3a5590; }
  .lib-card b { color: #c9d5f2; }
}

/* ======================================================================================
   Polish, 6 Nov 2026: sticky header, richer home page, page extras, FAQ that folds open.
   Still no scripts: the motion below is CSS only and switches off for "reduce motion".
   ====================================================================================== */

/* the header stays on screen, frosted, with a thin reading-progress line along its foot */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
html { scroll-padding-top: 88px; }
.side { top: 92px; max-height: calc(100vh - 110px); }
.menu-panel { max-height: calc(100vh - 80px); overflow-y: auto; }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--brass), var(--logo-accent)); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .is-page .progress { animation: grow linear both; animation-timeline: scroll(root); }
}
@keyframes grow { to { transform: scaleX(1); } }
.start { box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 4px 14px rgba(28,43,74,.22); }

/* the hero: a soft glow, faint ruled lines like a legal pad, and a gentle entrance */
.hero { position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(217,164,65,.22), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(93,128,201,.28), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.045) 31px 32px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,164,65,.6), transparent); }
.hero-inner { padding-top: 84px; padding-bottom: 92px; }
.hero h1 { font-size: 56px; text-wrap: balance; }
.hero h1 + p { text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero .callout { position: relative; border-radius: 16px; }
.hero .callout::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.hero .btn { padding: 14px 22px; }
.hero .btn:first-child { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-text > :nth-child(2) { animation-delay: .06s; }
  .hero-text > :nth-child(3) { animation-delay: .12s; }
  .hero-text > :nth-child(4) { animation-delay: .18s; }
  .hero-side { animation: rise .8s .25s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: .2; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* home sections: a small brass rule over each heading, cards that lift and slide in as you scroll */
.home h2 { text-wrap: balance; }
.home .band h2::before { content: ""; display: block; width: 40px; height: 3px; border-radius: 3px; background: var(--brass); margin-bottom: 16px; }
.band-tonight h2::before { margin-left: auto; margin-right: auto; }
.band-inner > ul > li, .card, .lib-card { transition: transform .18s, box-shadow .18s, border-color .18s; }
.band-inner > ul > li:hover, .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band-inner > ul > li, .card, .lib-card { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@keyframes reveal { from { opacity: .55; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* line icons on the home page cards */
.ico { display: block; width: 44px; height: 44px; padding: 10px; margin-bottom: 14px; border-radius: 12px;
  color: var(--brass); background: var(--brass-soft); }
.band-what-it-is-not .ico { color: var(--muted); background: var(--panel); }
.band:nth-of-type(even) .band-what-it-is-not .ico { background: var(--paper); }
.band-who-its-for .band-inner > ul > li { border-top: 0; position: relative; overflow: hidden; }
.band-who-its-for .band-inner > ul > li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brass), var(--logo-accent)); }
.band-what-it-is-not .band-inner > ul > li { border-left: 1px solid var(--line); }

/* "What it does": numbered steps */
.step { display: inline-grid; place-items: center; width: 40px; height: 40px; margin: 0 0 14px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 700 18px/1 var(--serif); }
.card h3 .step { display: grid; }
.band-what-it-does .cards { position: relative; }
.band-what-it-does .card { border-top: 3px solid var(--navy); }
@media (prefers-color-scheme: dark) { .step { background: #3a5590; } .band-what-it-does .card { border-top-color: #3a5590; } }

/* the brotherhood band: a warm glow */
.band-the-brotherhood { position: relative; overflow: hidden;
  background: radial-gradient(50rem 24rem at 100% 0%, rgba(217,164,65,.18), transparent 60%), var(--navy) !important; }

/* library cards: reading time, and an arrow that moves on hover */
.lib-card { position: relative; padding-right: 36px; }
.lib-card::after { content: "→"; position: absolute; right: 14px; top: 14px; color: var(--brass); transition: transform .18s; }
.lib-card:hover::after { transform: translateX(3px); }
.lib-card .mins, .crumb .mins { font-style: normal; font: 600 12px/1.4 var(--ui); letter-spacing: .02em; color: var(--muted); }
.lib-card .mins { display: block; margin-top: 8px; }

/* reading pages: the label row, back to top, and next/previous cards */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.crumb .mins { text-transform: none; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 6px; }
.crumb span + .mins::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.page h1 { text-wrap: balance; }
.page { position: relative; overflow: hidden; }
.page::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--brass)); }
.to-top { margin: 36px 0 0; text-align: right; font-size: 14.5px; }
.to-top a { color: var(--muted); text-decoration: none; }
.to-top a:hover { color: var(--ink); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.pn { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); text-decoration: none;
  transition: border-color .18s, box-shadow .18s, transform .18s; }
.pn:hover { border-color: var(--brass); box-shadow: var(--shadow-up); transform: translateY(-2px); }
.pn-next { text-align: right; }
.pn-dir { display: block; font: 700 12px/1.4 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.pn b { display: block; font: 700 18px/1.3 var(--serif); }
.pn-blurb { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.side a { transition: background .15s; }
.side a[aria-current] { box-shadow: inset 3px 0 0 var(--brass); }

/* tables and callouts: a touch softer */
th { font-size: 13.5px; letter-spacing: .02em; }
.callout { box-shadow: var(--shadow); }

/* topic buttons ("Jump to") */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 20px; }
.chips-label { font: 700 12px/1.4 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chips a { display: inline-block; padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--paper);
  font-size: 14.5px; font-weight: 550; color: var(--ink); text-decoration: none; transition: background .15s, border-color .15s; }
.chips a:hover { border-color: var(--brass); background: var(--brass-soft); }

/* the FAQ: questions fold open */
details.qa { margin: 10px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .15s, box-shadow .15s; }
details.qa:hover { border-color: var(--line-strong); }
details.qa[open] { border-color: var(--brass); box-shadow: var(--shadow); }
details.qa > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary::after { content: "+"; flex: none; margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--panel); color: var(--brass); font: 600 20px/1 var(--ui); transition: transform .2s; }
details.qa[open] > summary::after { transform: rotate(45deg); background: var(--brass-soft); }
details.qa > summary h3 { margin: 0; font-size: 18.5px; line-height: 1.35; }
.qa-body { padding: 0 18px 6px; }
.qa-body > :first-child { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  details.qa[open] .qa-body { animation: rise .25s ease-out both; }
}
.page-faq h2 { margin-top: 40px; }

/* the glossary: each term stands out */
.page-glossary .page > p:has(> strong:first-child) { padding: 2px 0 2px 16px; border-left: 3px solid var(--brass-soft); }
.page-glossary .page > p > strong:first-child { font-family: var(--serif); font-size: 1.06em; color: var(--ink); }

@media (max-width: 720px) {
  html { scroll-padding-top: 70px; }
  .hero-inner { padding-top: 40px; padding-bottom: 48px; }
  .hero h1 { font-size: 36px; }
  .hero .callout::before { display: none; }
  .prev-next { grid-template-columns: 1fr; }
  .pn-next { text-align: left; }
  details.qa > summary { padding: 13px 14px; }
  details.qa > summary h3 { font-size: 17px; }
  .qa-body { padding: 0 14px 4px; }
}

@media print {
  .progress, .to-top, .prev-next, .chips, .ico, .lib-card .mins, .crumb .mins { display: none !important; }
  .top { position: static; }
  details.qa { border: 0; }
  details.qa > summary::after { display: none; }
  .page::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .band-inner > ul > li, .card, .pn, .lib-card { transition: none; }
  .band-inner > ul > li:hover, .card:hover, .pn:hover { transform: none; }
}
.band-inner > ul > li > .ico + strong { display: block; font: 700 18px/1.3 var(--serif); margin-bottom: 4px; }

/* ---- court words that link to the glossary: a dotted underline, the definition on hover ---- */
a.term { color: inherit; text-decoration: underline dotted var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 4px; cursor: help; }
a.term:hover { color: var(--blue); text-decoration-style: solid; }
.page-glossary .entry { scroll-margin-top: 96px; border-radius: 8px; transition: background .3s; }
.page-glossary .entry:target { background: var(--brass-soft); border-left-color: var(--brass); padding: 10px 14px 10px 16px; }

/* ---- "How a case moves": the steps as a timeline ---- */
ol.timeline { list-style: none; padding: 0; margin: 24px 0 28px; position: relative; }
ol.timeline::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px;
  background: linear-gradient(var(--navy), var(--brass)); border-radius: 2px; }
.tl-step { position: relative; padding: 0 0 22px 60px; margin: 0; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--navy); color: var(--navy); font: 700 17px/1 var(--serif); z-index: 1; }
.tl-clock .tl-dot { background: var(--navy); color: #fff; }
.tl-clock .tl-dot::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='4.5' fill='none' stroke='white' stroke-width='1.4'/%3E%3Cpath d='M8 5.6V8l1.6 1' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
  border: 2px solid var(--paper); }
.tl-step > strong:first-of-type { display: block; font: 700 19px/1.3 var(--serif); padding-top: 8px; margin-bottom: 2px; }
.tl-phase { display: block; margin: 4px 0 10px; font: 700 12px/1.4 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--brass); }
.tl-step:has(.tl-phase) .tl-dot { top: 30px; }
.tl-step:has(.tl-phase) > strong:first-of-type { padding-top: 6px; }
.tl-step:not(:first-child) .tl-phase { margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
@media (prefers-color-scheme: dark) {
  .tl-dot { border-color: #6d86c4; color: #c9d5f2; }
  .tl-clock .tl-dot { background: #3a5590; color: #fff; }
}

/* ---- the first days checklist ---- */
.page-checklist .table-wrap td:last-child { width: 45%; border-bottom: 1px solid var(--line-strong); }
.page-checklist .table-wrap td:first-child { font-weight: 550; }
.page-checklist .table-wrap tr:nth-child(even) td { background: transparent; }
.page-checklist ul:has(> li > input[type=checkbox]) { list-style: none; padding-left: 0; }
.page-checklist li:has(> input[type=checkbox]) { position: relative; padding: 10px 12px 10px 46px; margin: 6px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.page-checklist li > input[type=checkbox] { position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; margin: 0; accent-color: var(--green); cursor: pointer; }
.page-checklist li:has(> input:checked) { background: color-mix(in srgb, var(--green) 9%, var(--paper)); border-color: color-mix(in srgb, var(--green) 35%, var(--line)); }
.page-checklist li:has(> input:checked) { color: var(--muted); }
@media print {
  .page-checklist { font-size: 10.5pt; line-height: 1.4; }
  .page-checklist h1 { font-size: 20pt; margin-bottom: 4pt; }
  .page-checklist h2 { font-size: 13pt; margin: 12pt 0 4pt; padding-top: 0; border: 0; }
  .page-checklist .crumb, .page-checklist .callout { display: none; }
  .page-checklist li:has(> input[type=checkbox]) { border: 0; background: none; padding: 2pt 0 2pt 22pt; margin: 0; }
  .page-checklist li > input[type=checkbox] { left: 0; top: 4pt; width: 12pt; height: 12pt; }
  .page-checklist .table-wrap td { padding: 5pt 6pt; }
  .page-checklist .table-wrap td:last-child { border-bottom: 1px solid #555; }
  .page-checklist a[href^="http"]::after { font-size: 8pt; }
  a.term { text-decoration: none; }
  ol.timeline::before { display: none; }
}
/* the checklist fits one printed sheet */
@media print {
  @page { margin: 0.45in 0.55in; }
  .page-checklist { font-size: 9.4pt; line-height: 1.32; }
  .page-checklist h1 { font-size: 17pt; margin: 0 0 2pt; }
  .page-checklist h1 + p { font-size: 9.4pt; line-height: 1.32; margin-bottom: 4pt; }
  .page-checklist h2 { font-size: 11.5pt; margin: 8pt 0 2pt; }
  .page-checklist p, .page-checklist ul { margin-bottom: 4pt; }
  .page-checklist li { margin: 1pt 0; }
  .page-checklist li:has(> input[type=checkbox]) { padding: 1pt 0 1pt 18pt; }
  .page-checklist li > input[type=checkbox] { top: 2pt; width: 10pt; height: 10pt; }
  .page-checklist .table-wrap { margin: 2pt 0 4pt; }
  .page-checklist .table-wrap th, .page-checklist .table-wrap td { padding: 3pt 5pt; }
  .page-checklist .table-wrap th { display: none; }
  .page-checklist a[href^="http"]::after { content: none; }
  .is-page.page-checklist .foot { font-size: 8pt; }
  .is-page.page-checklist .foot-legal p { margin-bottom: 3pt; }
  .page-checklist .tag { font-size: 7.5pt; padding: 0 4pt; }
}
@media print {
  .page-checklist table { font-size: 9.2pt; line-height: 1.25; }
  .page-checklist .table-wrap td { padding: 4pt 5pt 2pt; }
  .page-checklist .table-wrap td:first-child { font-weight: 600; width: 50%; }
  .page-checklist h2 { margin-top: 6pt; }
  .is-page.page-checklist .foot .draft { font-size: 7.5pt; }
  .is-page.page-checklist .foot-inner { padding-top: 6pt; }
  .is-page.page-checklist .foot-legal { padding-top: 4pt; }
}
@media print {
  .page-checklist { font-size: 9pt; line-height: 1.28; }
  .page-checklist h1 + p { font-size: 9pt; }
  .page-checklist #tonight + ul { columns: 2; column-gap: 18pt; }
  .page-checklist #tonight + ul li { break-inside: avoid; }
  .page-checklist .table-wrap td { padding: 3pt 5pt 1pt; }
  .page-checklist h2 { margin: 5pt 0 1pt; }
  .is-page.page-checklist .top { display: none; }
}
@media print {
  .page-checklist h1::before { content: "Dad of Record · dadofrecord.com"; display: block; margin-bottom: 2pt; font: 700 8pt var(--ui); letter-spacing: .08em; text-transform: uppercase; color: #555; }
}
@media print {
  @page { margin: 0.4in 0.5in; }
  .page-checklist h1 { font-size: 15.5pt; }
  .page-checklist .callout, .page-checklist .to-top { display: none !important; }
}
@media print {
  .page { overflow: visible; }
  .is-page.page-checklist .foot .draft { display: none; }
}

/* ======================================================================================
   Plain-words help, for a father who has never read a court rule
   ====================================================================================== */

/* "The short version" at the top of a page */
.callout.short { background: linear-gradient(135deg, var(--brass-soft), color-mix(in srgb, var(--brass-soft) 40%, var(--paper)));
  border: 1px solid color-mix(in srgb, var(--brass) 35%, var(--line)); border-left: 4px solid var(--brass); padding: 18px 22px 16px; margin: 22px 0 14px; }
.callout.short .callout-label { color: var(--brass); font-size: 12.5px; }
.callout.short ul { margin: 6px 0 0; padding-left: 20px; }
.callout.short li { margin: 6px 0; font-size: 17px; line-height: 1.55; }
.callout.short li::marker { color: var(--brass); }

/* rule names: a quiet grey label, explained on hover */
.cite { display: inline; padding: 1px 6px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line);
  font-size: .8em; font-weight: 500; color: var(--muted); white-space: normal; cursor: help; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
td .cite, th .cite { font-size: .92em; }
.callout .cite { background: color-mix(in srgb, var(--paper) 70%, transparent); }
.tag { cursor: help; }

/* "How to read this page" */
details.key { margin: 0 0 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 15px; }
details.key > summary { cursor: pointer; padding: 10px 16px; font-weight: 650; color: var(--ink); list-style: none; display: flex; align-items: center; gap: 10px; }
details.key > summary::-webkit-details-marker { display: none; }
details.key > summary::before { content: "?"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 13px/1 var(--ui); }
details.key > summary::after { content: "Show"; margin-left: auto; font-weight: 500; font-size: 13.5px; color: var(--muted); }
details.key[open] > summary::after { content: "Hide"; }
details.key ul { list-style: none; margin: 0; padding: 4px 16px 14px; }
details.key li { margin: 8px 0; line-height: 1.5; }
details.key li > :first-child { margin-right: 8px; }
@media (prefers-color-scheme: dark) { details.key > summary::before { background: #3a5590; } }

/* the home page chooser: big buttons by situation */
.band-chooser { padding-top: 56px; }
.chooser { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.choice { display: block; position: relative; padding: 18px 40px 18px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.choice:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); border-color: var(--brass); }
.choice b { display: block; font: 700 18px/1.3 var(--serif); color: var(--navy); margin-bottom: 6px; }
.choice span { display: block; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.choice::after { content: "→"; position: absolute; right: 16px; top: 18px; color: var(--brass); font-size: 18px; transition: transform .18s; }
.choice:hover::after { transform: translateX(3px); }
.choice:first-child { background: var(--navy); border-color: var(--navy); }
.choice:first-child b { color: #fff; }
.choice:first-child span { color: #c9d1e0; }
.choice:first-child::after { color: var(--logo-accent); }
@media (prefers-color-scheme: dark) { .choice b { color: #c9d5f2; } .choice:first-child { background: #3a5590; border-color: #3a5590; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .choice { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@media (max-width: 1080px) { .chooser { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .chooser { grid-template-columns: 1fr; gap: 10px; }
  .choice { padding: 14px 40px 14px 16px; }
  .choice b { font-size: 17px; margin-bottom: 2px; }
  .callout.short li { font-size: 16.5px; }
}
@media print {
  .band-chooser, details.key { display: none !important; }
  .cite { border: 0; background: none; padding: 0; font-size: inherit; color: inherit; }
}
@media (prefers-reduced-motion: reduce) { .choice { transition: none; } .choice:hover { transform: none; } }
td .cite { white-space: nowrap; }

/* phone: wide tables become stacked cards, each value with its column's name */
@media (max-width: 720px) {
  .table-wrap.stack { border: 0; overflow: visible; }
  .stack table, .stack tbody, .stack tr, .stack td { display: block; width: 100%; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack tr { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; }
  .stack tbody tr:nth-child(even) td { background: transparent; }
  .stack td { padding: 8px 14px 9px; border-bottom: 1px solid var(--line); }
  .stack td:first-child { background: var(--panel) !important; font-weight: 650; }
  .stack td:last-child { border-bottom: 0; }
  .stack td::before { content: attr(data-label); display: block; margin-bottom: 1px; font: 700 11px/1.5 var(--ui); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
  .stack td[data-label=""]::before { display: none; }
  .stack td[data-label=""]::before { content: ""; }
  .stack td:empty { display: none; }
  td .cite { white-space: normal; }
}

/* "Send this page to someone": two buttons that open his own texting or email app */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); font-family: var(--ui); font-size: 15px; color: var(--muted); }
.share span { margin-right: auto; }
.share a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; }
.share a:hover, .share a:focus-visible { border-color: var(--navy); }
.band-share .share { max-width: 40rem; margin: 0 auto; }
.band.band-share { padding: 0; }
.band.band-share .band-inner { padding-top: 28px; padding-bottom: 28px; }
@media (max-width: 480px) { .share span { flex-basis: 100%; } .share a { flex: 1; justify-content: center; } }

/* Tap-to-call: a phone number looks like a link, and doesn't break across lines */
a.tel { white-space: nowrap; }

@media print {
  .share, .band-share { display: none !important; }
  a.tel { color: inherit; text-decoration: none; }
}

/* V2: the start button, shown only when the app takes sign-ups (serve.mjs APP_START_URL). Same look as .btn. */
.start-now { margin: 1.2em 0 0.6em; }
.start-now .button { display: inline-block; padding: 12px 20px; border-radius: 11px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font-weight: 650; font-size: 1.1em; text-decoration: none; }
.start-now .button:hover { box-shadow: var(--shadow-up); }
.start-now .button:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* ---- the State Law Library (site/library.mjs) ---- */
.trail { margin: 0 0 14px; font: 600 14px/1.4 var(--ui); color: var(--muted); }
.trail a { color: inherit; }
.status-line { margin: 14px 0; padding: 12px 14px; border-left: 4px solid var(--brass); background: var(--panel); border-radius: 0 10px 10px 0; font-size: 15.5px; }
.preview-note { margin: 0 0 14px; padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: 10px; font: 500 14.5px/1.5 var(--ui); }
.tag.st-unverified { background: #f3e4e2; color: #7a2a24; }
.tag.st-checked { background: #fde68a; color: #6b4e00; }
.tag.st-attorney { background: #e2efe4; color: #2f6b3a; }
.tag.st-overdue { background: #f3e4e2; color: #7a2a24; }
.tag.st-none { background: var(--panel); color: var(--muted); border: 1px solid var(--line); }
a.cite-link { text-decoration: none; }
a.cite-link .cite { border-color: var(--line-strong); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
a.cite-link:hover .cite { border-color: var(--brass); }
.state-chooser { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0 26px; }
.state-chooser .choice:first-child { background: var(--paper); border-color: var(--line); }
.state-chooser .choice:first-child b { color: var(--navy); }
.state-chooser .choice:first-child span { color: var(--muted); }
.state-chooser .choice:first-child::after { color: var(--brass); }
@media (prefers-color-scheme: dark) { .state-chooser .choice:first-child { background: var(--paper); border-color: var(--line); } .state-chooser .choice:first-child b { color: #c9d5f2; } }
.tl-step .facts-head { margin: 12px 0 4px; font: 700 12px/1.4 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--brass); }
.tl-step ul.facts { margin: 0; padding: 0; list-style: none; }
.tl-step ul.facts > li { margin: 0 0 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font-size: 16px; }
.tl-step .scope { color: var(--muted); font-size: .94em; }
.tl-step .state-note { margin: 8px 0 0; font-size: 16px; }
.page-states h3 { margin: 22px 0 6px; }
.page-states h3 + ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
@media (max-width: 640px) { .state-chooser, .page-states h3 + ul { grid-template-columns: 1fr; } }
@media print { .trail, .preview-note { display: none !important; } }

/* "Depends on your state": the box on a general page where state-specific material used to be */
.callout.state { border-left-color: var(--navy); background: color-mix(in srgb, var(--blue) 7%, var(--panel)); }
.callout.state .callout-label { color: var(--navy); }
.callout.state a[href="states.html"] { display: inline-block; margin-left: 4px; padding: 4px 12px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font: 600 14px var(--ui); white-space: nowrap; }
.callout.state a[href="states.html"]::after { content: " →"; }
@media (prefers-color-scheme: dark) { .callout.state .callout-label { color: #c9d5f2; } .callout.state a[href="states.html"] { background: #3a5590; } }
@media print { .callout.state a[href="states.html"] { background: none; color: inherit; padding: 0; } }

/* State pages: which state is being read, and when each official link was last opened by the checker */
.your-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: -4px 0 18px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font: 15px/1.4 var(--ui); }
.your-state b { color: var(--navy); }
.your-state a { margin-left: auto; font-weight: 600; }
.checked-on { font: 12.5px var(--ui); color: var(--muted); white-space: nowrap; }
.checked-on::before { content: "✓ "; color: #2f7d4f; }
.scope { color: var(--muted); font-size: .94em; }
.tag.st-forms { background: #dbeafe; color: #1e3a8a; }
@media (prefers-color-scheme: dark) { .your-state b { color: #c9d5f2; } .tag.st-forms { background: #1e3a8a; color: #dbeafe; } }
@media print { .your-state { display: none !important; } }
