/* Inside Michigan · Gustin Solar — Sunrise Ledger editorial system */
:root {
  color-scheme: dark;
  --page: #0a1316;
  --paper: #101b1f;
  --paper-2: #152329;
  --ink: #f3eee1;
  --ink-2: #c3cdc8;
  --muted: #8fa09b;
  --line: #37474c;
  --line-soft: rgba(243, 238, 225, .12);
  --accent: #f2a638;
  --accent-text: #f4bd66;
  --accent-soft: rgba(242, 166, 56, .13);
  --lake: #5cb6c2;
  --lake-soft: rgba(92, 182, 194, .13);
  --flame: #ef8560;
  --pine: #4bb389;
  --pine-deep: #68c4a0;
  --good: #43a681;
  --good-text: #79cbaa;
  --warn: #ddc257;
  --warn-text: #e9d791;
  --serious: #df805c;
  --serious-text: #f0a081;
  --critical: #d65a4c;
  --critical-text: #ef927f;
  --hero: #061114;
  --hero-ink: #f7f1e5;
  --hero-muted: #b6c6c3;
  --panel-glass: #0f2d36;
  --bar-label: #0a1316;
  --shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 22px 54px rgba(0, 0, 0, .32);
  --glow: 0 0 22px rgba(242, 166, 56, .20);
  --wrap: 72rem;
  --measure: 66ch;
  --header-h: 6.6rem;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0a1316;
  --paper: #101b1f;
  --paper-2: #152329;
  --ink: #f3eee1;
  --ink-2: #c3cdc8;
  --muted: #8fa09b;
  --line: #37474c;
  --line-soft: rgba(243, 238, 225, .12);
  --accent: #f2a638;
  --accent-text: #f4bd66;
  --accent-soft: rgba(242, 166, 56, .13);
  --lake: #5cb6c2;
  --lake-soft: rgba(92, 182, 194, .13);
  --flame: #ef8560;
  --pine: #4bb389;
  --pine-deep: #68c4a0;
  --good: #43a681;
  --good-text: #79cbaa;
  --warn: #ddc257;
  --warn-text: #e9d791;
  --serious: #df805c;
  --serious-text: #f0a081;
  --critical: #d65a4c;
  --critical-text: #ef927f;
  --hero: #061114;
  --hero-ink: #f7f1e5;
  --hero-muted: #b6c6c3;
  --panel-glass: #0f2d36;
  --bar-label: #0a1316;
  --shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 22px 54px rgba(0, 0, 0, .32);
  --glow: 0 0 22px rgba(242, 166, 56, .20);
}

:root[data-theme="light"] {
  color-scheme: light;
  --page: #eeeae0;
  --paper: #f9f6ee;
  --paper-2: #e7e1d5;
  --ink: #132127;
  --ink-2: #46555b;
  --muted: #5c6a6e;
  --line: #b9b2a5;
  --line-soft: rgba(19, 33, 39, .14);
  --accent: #e89114;
  --accent-text: #925500;
  --accent-soft: rgba(232, 145, 20, .13);
  --lake: #116b7a;
  --lake-soft: rgba(17, 107, 122, .12);
  --flame: #a9492e;
  --pine: #187356;
  --pine-deep: #164b3c;
  --good: #187356;
  --good-text: #0e5d43;
  --warn: #df9c20;
  --warn-text: #805100;
  --serious: #c6653f;
  --serious-text: #8f3d21;
  --critical: #b83c3c;
  --critical-text: #8d2929;
  --hero: #102a31;
  --hero-ink: #f7f1e5;
  --hero-muted: #c6d2d1;
  --panel-glass: #173f4a;
  --bar-label: #f9f6ee;
  --shadow: 0 1px 0 rgba(19, 33, 39, .06), 0 18px 44px rgba(19, 33, 39, .07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--page);
  color: var(--ink);
  font: 400 1rem/1.62 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(to right, var(--line-soft) 1px, transparent 1px);
  background-size: min(7.5vw, 5.5rem) 100%;
  opacity: .22;
  content: "";
  pointer-events: none;
}

::selection {
  background: var(--accent);
  color: #152126;
}

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: var(--lake);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover {
  text-decoration-thickness: .13em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: .18rem solid var(--accent);
  outline-offset: .2rem;
}

button,
input {
  font: inherit;
}

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: 1.15rem;
}

.prose {
  max-width: var(--measure);
}

.display,
h1,
h2 {
  font-family: Iowan Old Style, Charter, "Bitstream Charter", "Palatino Linotype", Georgia, serif;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}

.mono {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
}

.eyebrow,
.panel-num,
.tl-date,
.claim .num,
.doc-count {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  color: var(--accent-text);
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .19em;
  line-height: 1.45;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .5rem;
  left: .5rem;
  padding: .75rem 1rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Shared masthead */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}

.mast {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: var(--header-h);
  padding-block: .65rem .45rem;
}

.brand {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 2.75rem;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  text-decoration: none;
  grid-column: 1;
  grid-row: 1;
}

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: -.06em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, serif;
  font-size: .98rem;
  line-height: 1.1;
}

.brand small {
  margin-top: .16rem;
  color: var(--muted);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.primary-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  margin: .45rem -.3rem 0;
  overflow: visible;
  scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
  display: none;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  min-width: 0;
  min-height: 2.75rem;
  align-items: center;
  gap: .35rem;
  justify-content: center;
  padding: .55rem .25rem;
  color: var(--ink-2);
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
}

.primary-nav a::after {
  position: absolute;
  right: .7rem;
  bottom: .2rem;
  left: .7rem;
  height: .14rem;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  content: "";
}

.primary-nav a[aria-current="page"] {
  color: var(--ink);
}

.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-count {
  display: inline-grid;
  min-width: 1.5rem;
  height: 1.3rem;
  place-items: center;
  border: 1px solid var(--line);
  font-size: .62rem;
  line-height: 1;
}

.theme-toggle {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  grid-column: 2;
  grid-row: 1;
}

.theme-toggle svg {
  width: 1.12rem;
  height: 1.12rem;
}

/* Flagship hero */
.briefing-page .site-header {
  position: relative;
}

.hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid #29484e;
  background:
    radial-gradient(circle at 78% 20%, rgba(240, 165, 46, .23), transparent 30rem),
    linear-gradient(160deg, #183b42, var(--hero) 52%);
  color: var(--hero-ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 3rem 3rem;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.hero-inner {
  position: relative;
  padding-block: 3.25rem 0;
}

.hero-tag {
  display: flex;
  max-width: 64rem;
  justify-content: space-between;
  gap: .7rem 1.5rem;
  margin-bottom: 2.5rem;
}

.hero .eyebrow {
  color: #f4b954;
}

.hero-tag .eyebrow:last-child {
  color: var(--hero-muted) !important;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--hero-ink);
  font-size: clamp(3.35rem, 16vw, 6.2rem);
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: .86;
}

.hero h1 .amber {
  display: inline-block;
  color: #f0a52e;
  font-style: italic;
  font-weight: 500;
}

.hero .sub {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: var(--hero-muted);
  font-size: clamp(1.05rem, 3vw, 1.26rem);
  line-height: 1.52;
}

.hero .sub strong {
  color: var(--hero-ink);
}

.hero-scene {
  display: block;
  width: calc(100% + 4rem);
  max-width: none;
  height: auto;
  margin: 1.4rem -2rem 0;
}

.hero-scene .sunrise {
  animation: sunrise 1.7s cubic-bezier(.2,.75,.3,1) both .15s;
}

@keyframes sunrise {
  from { transform: translateY(4.5rem); opacity: .25; }
  to { transform: translateY(0); opacity: 1; }
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(247, 241, 229, .18);
  background: rgba(4, 17, 20, .34);
}

.hstat {
  min-width: 0;
  padding: 1rem 1.1rem 1.1rem;
  border-right: 1px solid rgba(247, 241, 229, .13);
  border-bottom: 1px solid rgba(247, 241, 229, .13);
}

.hstat .v {
  color: var(--hero-ink);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: clamp(1.35rem, 7vw, 2.3rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1;
}

.hstat .l {
  margin-top: .45rem;
  color: var(--hero-muted);
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.story-index {
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}

.story-index .wrap {
  display: flex;
  overflow-x: auto;
  padding-block: .35rem;
  scrollbar-width: thin;
}

.story-index a {
  display: inline-flex;
  min-width: max-content;
  min-height: 2.75rem;
  align-items: center;
  padding: .55rem .75rem;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.story-index a::before {
  margin-right: .5rem;
  color: var(--line);
  content: attr(data-num);
  font-family: ui-monospace, monospace;
}

.story-index a.is-active,
.story-index a:hover {
  color: var(--ink);
}

.story-index a.is-active::before {
  color: var(--accent-text);
}

/* Story panels */
section.panel {
  position: relative;
  padding-block: 4.4rem 5rem;
  border-top: 1px solid var(--line-soft);
}

section.panel:nth-of-type(even) {
  background: color-mix(in srgb, var(--paper) 56%, transparent);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1rem;
}

.panel-head::after {
  width: min(8rem, 20vw);
  height: 1px;
  background: var(--line);
  content: "";
}

.panel-num {
  color: var(--muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
}

section.panel h2 {
  max-width: 18ch;
  margin: 0 0 1.2rem;
  font-size: clamp(2.25rem, 10vw, 4.8rem);
}

h3 {
  margin-block: 0 .6rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

h4 {
  line-height: 1.35;
}

p {
  margin: .45rem 0 1rem;
  color: var(--ink-2);
}

p strong,
li strong {
  color: var(--ink);
}

.lede {
  max-width: var(--measure);
  color: var(--ink-2);
  font-family: Iowan Old Style, Charter, Georgia, serif;
  font-size: clamp(1.15rem, 3vw, 1.42rem);
  line-height: 1.52;
}

.card {
  position: relative;
  padding: 1.3rem;
  border: 1px solid var(--line-soft);
  border-top-color: var(--line);
  border-radius: .15rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.note {
  max-width: 64rem;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem 1rem 1.25rem;
  border-left: .28rem solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink-2);
  font-size: .91rem;
}

.note strong {
  color: var(--ink);
}

.split {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.factlist {
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}

.factlist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min-content, auto);
  align-items: baseline;
  gap: .5rem 1rem;
  padding-block: .62rem;
  border-bottom: 1px dotted var(--line);
  font-size: .88rem;
}

.factlist li:last-child {
  border-bottom: 0;
}

.factlist .k {
  color: var(--ink-2);
}

.factlist .v {
  max-width: 11.5rem;
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
}

.chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.chip {
  display: inline-block;
  padding: .22rem .55rem;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-family: ui-monospace, monospace;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  vertical-align: .15rem;
}

.chip.amber {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  background: var(--accent-soft);
  color: var(--accent-text);
}

/* Timeline */
.tl {
  position: relative;
  max-width: 52rem;
  margin-top: 2rem;
  padding-left: 1.55rem;
}

.tl::before {
  position: absolute;
  top: .4rem;
  bottom: .4rem;
  left: .35rem;
  width: .14rem;
  transform: scaleY(0);
  transform-origin: top;
  background: linear-gradient(var(--accent), var(--lake));
  content: "";
  transition: transform 1.2s ease;
}

.tl.in::before {
  transform: scaleY(1);
}

.tl-item {
  position: relative;
  padding: 0 0 2.1rem 1rem;
}

.tl-item::before {
  position: absolute;
  top: .32rem;
  left: -1.55rem;
  width: .78rem;
  height: .78rem;
  border: .19rem solid var(--lake);
  border-radius: 50%;
  background: var(--page);
  content: "";
}

.tl-item.legal::before {
  border-color: var(--flame);
}

.tl-item.key::before {
  border-color: var(--accent);
  box-shadow: 0 0 0 .3rem var(--accent-soft);
}

.tl-date {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tl-item h4 {
  margin: .16rem 0 .28rem;
  font-size: 1rem;
}

.tl-item p {
  margin: 0;
  font-size: .9rem;
}

.tl-lane {
  display: inline-block;
  margin-left: .4rem;
  padding: .12rem .35rem;
  border: 1px solid currentColor;
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  vertical-align: .16rem;
}

.lane-p {
  color: var(--lake);
}

.lane-l {
  color: var(--flame);
}

.tl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ink-2);
  font-size: .8rem;
}

.dotkey {
  display: inline-block;
  width: .7rem;
  height: .7rem;
  margin-right: .35rem;
  border: .18rem solid var(--lake);
  border-radius: 50%;
  background: var(--page);
  vertical-align: -.05rem;
}

.dotkey.f {
  border-color: var(--flame);
}

/* Decision flow */
.flow {
  display: grid;
  gap: 1rem;
  max-width: 64rem;
  margin-top: 2rem;
}

.fnode {
  position: relative;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.fnode.start {
  border-top: .3rem solid var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--paper));
}

.fnode.state {
  border-top: .3rem solid var(--flame);
}

.fnode.local {
  border-top: .3rem solid var(--pine);
}

.fnode h4 {
  margin: 0 0 .35rem;
}

.fnode p {
  margin: 0;
  font-size: .9rem;
}

.fbranch {
  display: grid;
  gap: 1rem;
}

.farrow {
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
}

.fbadge {
  display: inline-block;
  margin: -.35rem 0 .65rem;
  color: var(--muted);
  font-family: ui-monospace, monospace;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fnode.state .fbadge {
  color: var(--serious-text);
}

.fnode.local .fbadge {
  color: var(--good-text);
}

.pulse {
  display: inline-block;
  width: .55rem;
  height: .55rem;
  margin-right: .5rem;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 .3rem .05rem rgba(242, 166, 56, .55); }
  50% { opacity: .7; box-shadow: 0 0 .85rem .2rem rgba(242, 166, 56, .18); }
}

/* Verdict grid */
.verdict-summary {
  display: flex;
  height: .85rem;
  max-width: 48rem;
  margin: 1.7rem 0 .7rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.verdict-summary div {
  height: 100%;
}

.vs-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  margin-bottom: 1.5rem;
  color: var(--ink-2);
  font-size: .72rem;
}

.vs-legend span::before {
  margin-right: .25rem;
  content: "■";
}

.cards {
  display: grid;
  gap: .8rem;
}

.claim {
  padding: 1.1rem;
  box-shadow: none;
}

.claim .head {
  display: grid;
  gap: .65rem;
}

.claim h4 {
  margin: .2rem 0 0;
  font-size: 1rem;
}

.claim .num {
  color: var(--muted);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.claim p {
  margin: .8rem 0 0;
  font-size: .88rem;
}

.vchip,
.flag {
  display: inline-flex;
  width: max-content;
  min-height: 1.8rem;
  align-items: center;
  padding: .25rem .5rem;
  border: 1px solid currentColor;
  font-size: .59rem;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.v-sup {
  color: var(--good-text);
}

.v-part {
  color: var(--warn-text);
}

.v-con {
  color: var(--serious-text);
}

.v-mis {
  color: var(--critical-text);
}

/* Charts */
.chart {
  max-width: 62rem;
  margin-top: 1.7rem;
  padding: 1.25rem 1rem 1.4rem;
}

.chart-title {
  color: var(--ink);
  font-weight: 800;
}

.chart-sub {
  margin: .2rem 0 1.45rem;
  color: var(--muted);
  font-size: .74rem;
}

.hbar-row {
  display: grid;
  gap: .3rem;
  padding-block: .55rem;
}

.hbar-label {
  color: var(--ink-2);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.25;
}

.hbar-track {
  position: relative;
  height: 2rem;
  background:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    var(--paper-2);
  background-size: 20% 100%;
}

.hbar {
  position: relative;
  width: var(--w);
  height: 100%;
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.2,.75,.25,1);
}

.js .chart .hbar {
  transform: scaleX(0);
}

.js .chart.in .hbar {
  transform: scaleX(1);
}

.hbar .val {
  position: absolute;
  right: .42rem;
  display: flex;
  height: 100%;
  align-items: center;
  color: var(--bar-label);
  font-family: ui-monospace, monospace;
  font-size: .68rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  white-space: nowrap;
}

.neg-chart .hbar {
  transform-origin: right;
}

.neg-chart .hbar .val {
  right: calc(100% + .55rem);
  color: var(--ink);
  direction: ltr;
  unicode-bidi: isolate;
}

.refline {
  position: absolute;
  z-index: 2;
  top: -.25rem;
  bottom: -.25rem;
  border-left: 2px dashed var(--accent);
}

.refline span {
  position: absolute;
  top: -1.15rem;
  left: .2rem;
  color: var(--accent-text);
  font-family: ui-monospace, monospace;
  font-size: .55rem;
  font-weight: 700;
  white-space: nowrap;
}

.axis-note {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: .69rem;
  line-height: 1.5;
}

/* Comparison table */
.scrollx {
  position: relative;
  max-width: 100%;
  margin-top: 1.6rem;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  box-shadow: var(--shadow);
  scrollbar-color: var(--accent) var(--paper-2);
}

.cmp {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  font-size: .82rem;
}

.cmp th {
  padding: .85rem .9rem;
  border-bottom: 2px solid var(--ink);
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
}

.cmp td {
  padding: .9rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  vertical-align: top;
}

.cmp td:first-child {
  color: var(--ink);
  font-weight: 800;
}

.flag.risk {
  color: var(--critical-text);
}

.flag.ok {
  color: var(--good-text);
}

.flag.mix {
  color: var(--warn-text);
}

/* Community / route / ledger */
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 1.5rem;
}

.tile {
  min-height: 9rem;
  padding: 1rem;
  box-shadow: none;
}

.tile .v {
  font-family: ui-monospace, monospace;
  font-size: clamp(1.55rem, 8vw, 2.45rem);
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -.07em;
}

.tile .l {
  margin-top: .3rem;
  color: var(--ink-2);
  font-size: .78rem;
  font-weight: 700;
}

.tile .cmp-v {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .66rem;
}

.routes {
  display: grid;
  gap: .8rem;
  margin-top: 1.5rem;
}

.route {
  box-shadow: none;
}

.route h3 {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.route .who {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  font-family: ui-monospace, monospace;
  font-size: .68rem;
  font-weight: 850;
}

.route ol {
  margin: .8rem 0 0;
  padding-left: 1.25rem;
  color: var(--ink-2);
  font-size: .87rem;
}

.route li {
  margin-bottom: .75rem;
}

.bottomline {
  max-width: 64rem;
  margin-top: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--accent);
  border-left-width: .45rem;
  background: color-mix(in srgb, var(--accent-soft) 65%, var(--paper));
}

.bottomline p {
  margin: 0;
  color: var(--ink);
  font-family: Iowan Old Style, Charter, Georgia, serif;
  font-size: 1.05rem;
}

.vlist {
  display: grid;
  max-width: 62rem;
  margin: 1.5rem 0 0;
  padding: 0;
  gap: .7rem;
  list-style: none;
}

.vlist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  color: var(--ink-2);
  font-size: .88rem;
}

.vlist .ico {
  color: var(--accent-text);
  line-height: 1.5;
}

.src-cols {
  max-width: 64rem;
  margin-top: 1.5rem;
  font-size: .8rem;
}

.src-cols p {
  margin: 0;
  padding: .7rem 0;
  border-top: 1px solid var(--line-soft);
  break-inside: avoid;
}

.src-cols .pub {
  color: var(--ink);
  font-weight: 800;
}

.coverage-cta {
  padding-block: 3rem;
  border-top: 1px solid var(--line-soft);
  background: var(--hero);
  color: var(--hero-ink);
}

.coverage-cta .wrap {
  display: grid;
  gap: 1.25rem;
}

.coverage-cta .eyebrow {
  color: #f4b954;
}

.coverage-cta h2 {
  max-width: 12ch;
  margin: .5rem 0 0;
  color: var(--hero-ink);
  font-size: clamp(2rem, 8vw, 3.6rem);
}

.coverage-cta p {
  max-width: 40rem;
  color: var(--hero-muted);
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.button,
.paybtn,
.download-link {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  padding: .68rem 1rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #152126;
}

/* Shared subpage shell */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 3.4rem 3rem;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 86% 10%, var(--accent-soft), transparent 19rem),
    var(--paper);
}

.page-hero::after {
  position: absolute;
  right: -2rem;
  bottom: -3.5rem;
  width: 13rem;
  height: 9rem;
  transform: skewX(-18deg);
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(var(--lake-soft), var(--lake-soft)),
    repeating-linear-gradient(90deg, transparent 0 2.4rem, var(--line-soft) 2.4rem calc(2.4rem + 1px));
  content: "";
  opacity: .6;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.subpage main > h1 {
  max-width: 14ch;
  margin: .55rem 0 1rem;
  font-size: clamp(2.65rem, 12vw, 5.4rem);
}

.page-hero .lede,
.subpage main > .lede {
  max-width: 48rem;
}

.page-hero .lede a,
.newsletter-frame p a,
.thanks-page .subpage-main > .lede a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  vertical-align: middle;
}

.subpage-main {
  padding-block: 2.7rem 4rem;
}

.section-title,
.subpage-main > h2 {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 3rem 0 1rem !important;
  font-family: ui-monospace, monospace;
  font-size: .74rem !important;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-title::after,
.subpage-main > h2::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.section-title:first-child,
.subpage-main > h2:first-child {
  margin-top: 0 !important;
}

/* Records */
.records-tools {
  position: sticky;
  z-index: 20;
  top: var(--header-h);
  padding-block: .75rem;
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--page) 94%, transparent);
  backdrop-filter: blur(12px);
}

.record-search {
  display: grid;
  gap: .45rem;
}

.record-search label {
  color: var(--muted);
  font-family: ui-monospace, monospace;
  font-size: .63rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}

.search-row input {
  width: 100%;
  min-height: 2.75rem;
  padding: .4rem .1rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
}

.search-row input::placeholder {
  color: var(--muted);
}

.doc-count {
  color: var(--muted);
  font-size: .68rem;
}

.records-grid {
  display: grid;
  gap: .75rem;
}

.record-card {
  display: grid;
  margin: 0 !important;
  padding: 1.15rem;
  box-shadow: none;
}

.record-card:hover {
  border-color: var(--accent);
}

.record-card p {
  margin: 0;
}

.record-card p:first-child {
  padding-right: 0;
  font-family: Iowan Old Style, Charter, Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.35;
}

.record-card p:first-child a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ink);
}

.record-card p:nth-child(2) {
  margin-top: .6rem !important;
  color: var(--ink-2) !important;
  font-size: .85rem !important;
}

.record-card .mono {
  margin-top: .8rem !important;
  padding-top: .75rem;
  border-top: 1px dotted var(--line);
  color: var(--muted) !important;
  font-size: .61rem !important;
  line-height: 1.55;
  word-break: break-all;
}

.record-card[hidden] {
  display: none;
}

.record-note {
  margin-top: 2rem !important;
  border-left: .3rem solid var(--accent) !important;
  box-shadow: none;
}

/* Support */
.support-layout {
  display: grid;
  gap: 2.5rem;
}

.support-copy h2 {
  margin: 3rem 0 .8rem;
  font-size: clamp(2rem, 8vw, 3.25rem);
}

.payrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin: 1.5rem 0 .7rem;
}

.paybtn {
  min-height: 3.3rem;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper) !important;
  font-size: .95rem;
}

.paybtn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #152126 !important;
}

.paybtn.big {
  grid-column: 1 / -1;
  border-color: var(--accent);
  background: var(--accent);
  color: #152126 !important;
}

.security-note {
  color: var(--muted) !important;
  font-size: .75rem !important;
}

.pocket-card {
  margin-top: 1.4rem !important;
  border-left: .3rem solid var(--accent) !important;
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--paper));
  box-shadow: none;
}

.newsletter {
  min-width: 0;
  padding-top: .2rem;
}

.newsletter-frame {
  padding: .45rem !important;
  overflow: hidden;
  box-shadow: none;
}

.newsletter-frame iframe {
  display: block;
  width: 100% !important;
  height: 539px !important;
  border: 0 !important;
  background: #fff;
}

/* Thanks */
.thanks-page .page-hero {
  min-height: min(38rem, 68vh);
  display: grid;
  align-items: center;
}

.thanks-mark {
  display: grid;
  width: 4.3rem;
  height: 4.3rem;
  margin-bottom: 1.4rem;
  place-items: center;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-size: 1.9rem;
}

.download-grid {
  display: grid;
  gap: .75rem;
}

.download-card {
  margin: 0 !important;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}

.download-card p {
  margin: 0;
}

.download-card a {
  display: block;
  min-height: 4rem;
  padding: 1.25rem 3rem 1.25rem 1.2rem;
  color: var(--ink);
  background: linear-gradient(90deg, var(--accent-soft), transparent 60%);
  font-family: Iowan Old Style, Charter, Georgia, serif;
  font-size: 1.1rem;
}

.download-card a::after {
  position: absolute;
  right: 1rem;
  color: var(--accent-text);
  content: "↓";
  font-family: system-ui, sans-serif;
  font-size: 1.35rem;
}

.qr-block {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
}

.qr-block img {
  width: 5.5rem;
  height: 5.5rem;
  padding: .3rem;
  background: #fff;
}

.qr-block p {
  margin: 0;
  font-size: .82rem;
}

/* Footer */
.site-footer,
footer {
  padding-block: 2.3rem 3.4rem;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  color: var(--muted);
  font-size: .73rem;
}

.site-footer p,
footer p {
  max-width: 76rem;
  margin: 0;
  color: var(--muted);
}

.site-footer strong,
footer strong {
  color: var(--ink);
}

/* Animation is enhancement only */
.js .reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity .65s ease, transform .65s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (min-width: 40rem) {
  :root {
    --header-h: 4.7rem;
  }

  .wrap {
    padding-inline: 2rem;
  }

  .mast {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    min-height: var(--header-h);
    padding-block: .55rem;
  }

  .primary-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    margin: 0;
  }

  .primary-nav a {
    min-width: max-content;
    justify-content: flex-start;
    padding-inline: .7rem;
    font-size: .74rem;
  }

  .theme-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .hero-inner {
    padding-top: 5.5rem;
  }

  .hero h1 {
    font-size: clamp(5rem, 11vw, 8.4rem);
  }

  .hero-scene {
    width: 100%;
    margin-inline: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hstat {
    padding: 1.25rem 1.5rem 1.35rem;
    border-bottom: 0;
  }

  section.panel {
    padding-block: 6.5rem 7.5rem;
  }

  .split,
  .fbranch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .claim .head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .chart {
    padding: 1.6rem 1.8rem 1.7rem;
  }

  .hbar-row {
    grid-template-columns: 11rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
  }

  .hbar-label {
    text-align: right;
  }

  .stat-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .routes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .src-cols {
    columns: 2;
    column-gap: 3rem;
  }

  .coverage-cta .wrap {
    grid-template-columns: 1.2fr .8fr;
    align-items: end;
  }

  .cta-links {
    justify-content: flex-end;
  }

  .record-search {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1.5rem;
  }

  .search-row {
    min-width: min(28rem, 55vw);
  }

  .records-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .record-card {
    min-height: 15.5rem;
  }

  .support-layout {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, .8fr);
    align-items: start;
    gap: 4rem;
  }

  .newsletter {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .hero-tag,
  .hero h1,
  .hero .sub {
    margin-left: 5.6rem;
  }

  .story-index {
    position: sticky;
    z-index: 30;
    top: 0;
  }

  .panel-head {
    position: absolute;
    top: 7rem;
    left: max(2rem, calc((100vw - var(--wrap)) / 2 + 2rem));
    width: 8rem;
    display: grid;
    align-content: start;
    gap: .45rem;
  }

  .panel-head::after {
    width: 3rem;
  }

  section.panel > .wrap {
    padding-left: 12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .js .chart .hbar {
    transform: none;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  .site-header,
  .story-index,
  .theme-toggle,
  .coverage-cta,
  .records-tools {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
    font-size: 10pt;
  }

  .hero {
    background: #fff;
    color: #111;
  }

  .hero h1,
  .hero .sub,
  .hero .eyebrow,
  .hstat .v,
  .hstat .l {
    color: #111;
  }

  .hero-scene {
    max-height: 8rem;
  }

  section.panel,
  .page-hero,
  .subpage-main {
    padding-block: 1.5rem;
    break-inside: avoid;
  }

  .card,
  .scrollx {
    box-shadow: none;
  }
}

/* Watcher alert banner — injected between markers by the records watcher */
.watch-banner{display:block;background:linear-gradient(90deg,#e8930c,#eb6834);color:#132127;padding:.8rem 1.15rem;text-align:center;font-weight:700;text-decoration:none;font-size:.95rem;line-height:1.4}
.watch-banner:hover{filter:brightness(1.06)}
.watch-banner .wb-tag{display:inline-block;background:#132127;color:#f9f6ee;border-radius:4px;padding:.1rem .55rem;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;margin-right:.6rem;vertical-align:1px}
@media (prefers-reduced-motion: no-preference){.watch-banner .wb-tag{animation:wbPulse 2.2s ease-in-out infinite}}
@keyframes wbPulse{0%,100%{opacity:1}50%{opacity:.6}}
[data-theme="dark"] .watch-banner{color:#132127}


/* ===== Night Ledger — v3 atmosphere ===== */
body::after {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: soft-light;
  opacity: .38;
  content: "";
  pointer-events: none;
}
:root[data-theme="light"] body::after { opacity: .16; }

:root:not([data-theme="light"]) .hero {
  border-bottom-color: #2c4d54;
  background:
    radial-gradient(circle at 78% 16%, rgba(242, 166, 56, .28), rgba(242, 166, 56, .10) 55%, rgba(242, 166, 56, 0) 28rem),
    radial-gradient(90% 55% at 50% 112%, rgba(23, 66, 75, .85), rgba(23, 66, 75, .35) 55%, rgba(23, 66, 75, 0) 100%),
    linear-gradient(160deg, #12333b, var(--hero) 56%);
  box-shadow: 0 1px 0 rgba(242, 166, 56, .22), 0 34px 90px -40px rgba(242, 166, 56, .14);
}

:root:not([data-theme="light"]) .page-hero {
  border-bottom: 1px solid #24424a;
  background:
    radial-gradient(circle at 82% 0%, rgba(242, 166, 56, .14), rgba(242, 166, 56, .05) 55%, rgba(242, 166, 56, 0) 22rem),
    linear-gradient(160deg, #10292f, var(--page) 70%);
  box-shadow: 0 1px 0 rgba(242, 166, 56, .16);
}
:root[data-theme="light"] .page-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(160deg, #f3ecdd, var(--page) 70%);
}

.site-header { box-shadow: 0 1px 0 rgba(242, 166, 56, .08); }

.section-title, .subpage-main > h2 { color: var(--accent-text); }
.section-title::after, .subpage-main > h2::after {
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 42%, transparent), var(--line-soft) 55%);
}

.card, .fnode, .tile, .hstat, .pocket-card, .download-card {
  box-shadow: inset 0 0 0 1px rgba(243, 238, 225, .045), var(--shadow);
}

.bottomline {
  border-color: rgba(242, 166, 56, .5);
  background: linear-gradient(135deg, rgba(242, 166, 56, .16), var(--paper) 58%);
  box-shadow: inset 0 0 0 1px rgba(242, 166, 56, .12), var(--shadow);
}

.paybtn.big, .watch-banner { box-shadow: var(--glow); }
.brand-mark { box-shadow: 0 0 0 1px rgba(242, 166, 56, .22); }

/* chart-scoped series colors — validated against --paper #101b1f */
.chart, .hbar-track, .verdict-summary, .agebar, .hero-scene {
  --lake: #2fa2b8;
  --flame: #e9663c;
  --pine: #2fac74;
}


/* ===== v3.1 — design-panel fixes ===== */
/* verdict-keyed claim cards (slop 1) */
.claim:has(.v-sup) { border-left: .3rem solid var(--good); }
.claim:has(.v-part) { border-left: .3rem solid var(--warn); }
.claim:has(.v-con) { border-left: .3rem solid var(--serious); }
.claim:has(.v-mis) { border-left: .3rem solid var(--critical); background: color-mix(in srgb, var(--critical) 7%, var(--paper)); }
.cards .claim:has(.v-mis) { grid-column: 1 / -1; }

/* motion tied to meaning, not varnish (slop 2) */
.js .cards .reveal, .js .split .reveal, .js .stat-tiles .reveal, .js .routes .reveal,
.js .vlist .reveal, .js .src-cols.reveal, .js .note.reveal, .js .card.reveal {
  opacity: 1; transform: none; transition: none;
}

/* notes as ledger marginalia, keyed by role (slop 3) */
.note > strong:first-child {
  display: block; margin-bottom: .35rem;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text);
}
#noise .note { border-left-color: var(--lake); background: var(--lake-soft); }
#noise .note > strong:first-child { color: var(--lake); }
#bind .note { border-left-color: var(--serious); background: color-mix(in srgb, var(--serious) 9%, transparent); }
#bind .note > strong:first-child { color: var(--serious-text); }
#factcheck .note { border-left: 0; border-top: 1px solid var(--line); background: transparent; font-style: italic; }
#factcheck .note > strong:first-child { font-style: normal; }

/* drawn flow connectors (slop 5) */
.farrow { position: relative; height: 2.4rem; color: transparent; }
.farrow::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: .45rem; width: 1px;
  background: linear-gradient(var(--line), var(--accent));
}
.farrow::after {
  content: ""; position: absolute; left: 50%; bottom: .4rem; width: .5rem; height: .5rem;
  border: solid var(--accent); border-width: 0 1px 1px 0; transform: translateX(-50%) rotate(45deg);
}

/* drawn primitives instead of default glyphs (slop 6) */
.vs-legend span::before { content: ""; display: inline-block; width: .62rem; height: .62rem; margin-right: .4rem; background: currentColor; vertical-align: -.06rem; }
.vlist .ico { color: transparent; position: relative; min-width: .9rem; }
.vlist .ico::before { content: ""; position: absolute; top: .32rem; width: .72rem; height: .72rem; border: 1px solid var(--accent-text); background: var(--accent-soft); }
.download-card a::after { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }

/* watch-banner onto the system (slop 8) */
.watch-banner { background: linear-gradient(90deg, var(--accent), var(--flame)); color: var(--bar-label); }
.watch-banner .wb-tag { border-radius: 0; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; padding: .14rem .5rem; background: var(--page); color: var(--ink); }

/* craft: measure discipline in asides (craft 1) */
.note, .bottomline p, .record-note p { max-width: var(--measure); }

/* craft: middle type rung (craft 2) */
.card h3, .fnode h4, .route h3 {
  font-family: "Iowan Old Style", Charter, "Bitstream Charter", "Palatino Linotype", Georgia, serif;
  font-size: 1.32rem; font-weight: 700; letter-spacing: 0;
}
.claim h4 { font-size: 1.06rem; }

/* craft: hash wrapping + provenance legibility (craft 4) */
.record-card .mono[style] { font-size: .72rem !important; word-break: normal !important; overflow-wrap: anywhere; }

/* craft: mono is data; wayfinding is tracked sans (craft 5) */
.eyebrow, .section-title, .subpage-main > h2, .fbadge, .tl-lane, .panel-head .eyebrow {
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-weight: 600;
}

/* craft: mono figures untracked (craft 6) */
.hstat .v, .tile .v { letter-spacing: 0; }

/* craft: uniform accent bars (craft 7) */
.note, .record-note, .pocket-card { border-left-width: .3rem; }
.bottomline { border-left-width: .3rem; }

/* craft: display leading + pretty wrap (craft 8) */
.hero h1 { line-height: .92; }
p, li { text-wrap: pretty; }

/* atmosphere: JotForm as mounted paper (atm 2) */
.newsletter-frame { padding: .65rem; border: 1px solid var(--line); background: #f9f6ee; }
.newsletter-frame iframe { background: #f9f6ee; filter: brightness(.96) saturate(.97); }

/* atmosphere: selection at whisper volume (atm 6) */
::selection { background: color-mix(in srgb, var(--accent) 30%, var(--page)); color: var(--ink); }

/* atmosphere: toggle affordance + scrollbar (atm 8) */
.theme-toggle { transition: border-color .2s, background .2s, color .2s; }
.theme-toggle:hover, .theme-toggle:focus-visible { border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }
html { scrollbar-color: var(--line) var(--page); }
:root[data-theme="light"] { --glow: 0 0 18px rgba(232, 145, 20, .12); }
