/* ==========================================================================
   Tenuit — the file, not the advisor
   Manila paper, two inks, one accent. The accent means a person wrote it.
   Fonts self-hosted (no runtime CDN — the CSP forbids it).
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  src: url(/assets/fonts/newsreader-var.woff2) format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url(/assets/fonts/archivo-var.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/assets/fonts/ibm-plex-mono-400.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/assets/fonts/ibm-plex-mono-500.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #efe9db;
  --sheet: #fbf8f1;
  --sheet-2: #f5f1e7;
  --ink: #1a1a1c;
  --ink-2: #5a5449;
  --rule: #d5ccb8;
  --rule-2: #e3dbc9;
  --hand: #a0245e;
  --hand-2: #b93b74;
  --hand-wash: #efedf3;
  --hand-rule: #d3c0cb;
  --t-settle: 120ms;
  --t-slide: 240ms;
  --t-explain: 600ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --stagger: 70ms;
  --serif: "Newsreader", serif;
  --grot: "Archivo", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--grot);
  font-size: 15px;
  line-height: 24px;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.15;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 36px;
}
h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 28px;
}
.cap {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.cap.ink {
  color: var(--ink);
}
.cap.hand {
  color: var(--hand);
}
.prov {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  color: var(--ink-2);
}
.prov.hand {
  color: var(--hand);
}
.muted {
  color: var(--ink-2);
}
.serifq {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 27px;
}
.sig {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--hand);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: var(--grot);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 0;
  background: none;
}
.btn {
  background: var(--hand);
  color: #fff;
  padding: 10px 18px;
  display: inline-block;
  transition:
    background var(--t-settle) var(--ease),
    transform var(--t-settle) var(--ease),
    box-shadow var(--t-settle) var(--ease);
}
.btn:hover {
  background: var(--hand-2);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(26, 26, 28, 0.13);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(26, 26, 28, 0.16);
}
.btn2 {
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 9px 16px;
  background: none;
  transition:
    background var(--t-settle) var(--ease),
    border-color var(--t-settle) var(--ease),
    transform var(--t-settle) var(--ease);
}
.btn2:hover {
  background: var(--sheet-2);
  border-color: var(--ink-2);
  transform: translateY(-1px);
}
.btn2:active {
  transform: translateY(0);
}
/* nav */
nav {
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 50;
}
nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 18px;
  padding-bottom: 18px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
}
.wordmark span {
  color: var(--hand);
}
nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: baseline;
}
nav ul a {
  font-size: 13px;
  color: var(--ink-2);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
nav ul a.active {
  color: var(--ink);
  font-weight: 500;
  border-bottom-color: var(--ink);
}
nav ul a:hover {
  color: var(--ink);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
section.block {
  padding: 64px 0;
  border-bottom: 1px solid var(--rule-2);
}
section.block:last-of-type {
  border-bottom: 0;
}
.hero {
  padding-top: 88px;
  padding-bottom: 72px;
}
.hero .prov {
  margin-top: 20px;
}
footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0 48px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
/* ledger */
.ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.switch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.track {
  width: 38px;
  height: 20px;
  border-radius: 10px;
  background: var(--rule);
  position: relative;
  transition: background var(--t-slide) var(--ease);
}
.track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--sheet);
  transition: left var(--t-slide) var(--ease);
}
.switch.on .track {
  background: var(--ink);
}
.switch.on .track::after {
  left: 20px;
}
.ledger {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.note {
  border-left: 2px solid var(--hand-rule);
  padding-left: 12px;
  transition:
    opacity var(--t-slide) var(--ease),
    transform var(--t-slide) var(--ease);
}
.note .sig {
  display: block;
  margin-top: 4px;
}
.note.gone {
  opacity: 0;
  transform: translateY(-4px);
}
.c3 .prov {
  display: block;
  margin-bottom: 2px;
}
.c3 .robo {
  display: none;
  color: var(--ink-2);
}
.c3.deg .rich {
  display: none;
}
.c3.deg .robo {
  display: block;
}
.c3.deg .prov {
  color: var(--ink-2);
}
.tally {
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  color: var(--hand);
  margin-top: 24px;
  transition: color var(--t-slide) var(--ease);
}
.tally.zero {
  color: var(--ink-2);
}
.tally .prov {
  color: inherit;
  display: inline;
  margin-left: 8px;
}
.closer {
  background: var(--sheet);
}
/* features */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.feat.flip .mock {
  order: -1;
}
.points p {
  border-top: 1px solid var(--rule-2);
  padding: 10px 0;
  font-size: 13px;
  line-height: 20px;
}
.mock {
  background: var(--sheet);
  border: 1px solid var(--rule);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mockcard {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 12px 14px;
}
.hint {
  font-size: 12px;
  color: var(--ink-2);
  font-style: italic;
}
/* client view mock: hover provenance */
.move {
  padding: 10px 12px;
  border: 1px solid var(--rule);
  background: var(--paper);
  cursor: pointer;
  transition: border-color var(--t-settle) var(--ease);
}
.move .prov {
  display: block;
  margin-bottom: 2px;
}
.move:hover,
.move.lit {
  border-color: var(--ink);
}
.srcchip {
  padding: 8px 10px;
  border: 1px solid var(--rule);
  font-size: 12px;
  transition: all var(--t-settle) var(--ease);
  background: var(--paper);
}
.srcchip.lit {
  border-color: var(--hand);
  background: var(--hand-wash);
}
.srcchip .prov {
  display: block;
}
/* video */
.video {
  background: var(--ink);
  color: var(--sheet);
  padding: 16px;
}
.video .vh {
  display: flex;
  justify-content: space-between;
}
.video .vh .prov {
  color: #b8b3a6;
}
.scene {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
}
.playbtn {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  flex: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene .sc-t {
  font-size: 13px;
}
.scene .prov {
  display: block;
}
.vbar {
  height: 3px;
  background: #3a3a3e;
  position: relative;
}
.vbar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--hand-2);
  width: 0;
  transition: width var(--t-explain) var(--ease);
}
.vfoot {
  padding-top: 10px;
}
.vfoot .prov {
  color: #b8b3a6;
}
/* map */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 6px 12px;
  border: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
  transition:
    background var(--t-settle) var(--ease),
    border-color var(--t-settle) var(--ease),
    color var(--t-settle) var(--ease),
    transform var(--t-settle) var(--ease);
  background: none;
}
.chip:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}
.chip:active {
  transform: scale(0.97);
}
.chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.mapbox {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  height: 300px;
  overflow: hidden;
  background-image:
    linear-gradient(var(--rule-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-2) 1px, transparent 1px);
  background-size: 64px 52px;
}
.usmapbox {
  /* match the map SVG's 520x320 viewBox so the box scales with width and the
     percentage-placed clusters track the map on every screen */
  aspect-ratio: 520 / 320;
  height: auto;
  background-image: none;
}
.usmap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cluster {
  position: absolute;
  border: 1.5px dashed var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  color: var(--ink-2);
  cursor: pointer;
  transition: all var(--t-slide) var(--ease);
  background: transparent;
}
.cluster.hot {
  border-style: solid;
  border-color: var(--ink);
  color: var(--ink);
}
.cluster b {
  font-weight: 500;
  transition: opacity var(--t-settle) var(--ease);
}
.cluster b.swap {
  opacity: 0;
}
.cluster.zero {
  opacity: 0.35;
  transform: scale(0.88);
}
.cluster small {
  position: absolute;
  top: 105%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.hhcard {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 270px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--t-slide) var(--ease);
  pointer-events: none;
}
.hhcard.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.hhcard .serifq {
  font-size: 15px;
  line-height: 22px;
  margin: 6px 0 4px;
}
/* memo */
.mic {
  width: 76px;
  height: 76px;
  border-radius: 38px;
  background: var(--hand);
  color: #fff;
  font-size: 20px;
  margin: 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-settle) var(--ease);
  position: relative;
}
.mic:hover {
  background: var(--hand-2);
}
/* idle invitation: a slow ring, like a breath — stops the moment recording starts */
.mic::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid var(--hand);
  opacity: 0;
  animation: micring 3.4s var(--ease) infinite;
}
@keyframes micring {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  60% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.rec .mic::after {
  animation: none;
}
.memnote {
  display: block;
  text-align: center;
  visibility: hidden;
}
.wave {
  display: flex;
  gap: 3px;
  align-items: center;
  height: 30px;
  justify-content: center;
}
.wave i {
  width: 4px;
  background: var(--ink-2);
  height: 8px;
}
.rec .wave i {
  animation: wv 900ms var(--ease) infinite alternate;
}
.wave i:nth-child(2n) {
  animation-delay: 120ms;
}
.wave i:nth-child(3n) {
  animation-delay: 240ms;
}
.wave i:nth-child(5n) {
  animation-delay: 60ms;
}
@keyframes wv {
  from {
    height: 6px;
  }
  to {
    height: 26px;
  }
}
.memoq {
  background: var(--hand-wash);
  border-left: 2px solid var(--hand-rule);
  padding: 12px 14px;
  opacity: 0;
  transition: opacity var(--t-slide) var(--ease);
}
.memoq.on {
  opacity: 1;
}
.nchip {
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--t-slide) var(--ease);
}
.nchip.on {
  opacity: 1;
  transform: none;
}
.nchip {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 8px 10px;
  font-size: 12px;
}
.nchip .prov {
  display: block;
}
.nrow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
/* ask */
.omni {
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 12px 16px;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-2);
}
.omni.asked {
  color: var(--ink);
}
.aline {
  opacity: 0;
  transform: translateX(-14px);
  transition: all var(--t-slide) var(--ease);
}
.aline.on {
  opacity: 1;
  transform: none;
}
.aline {
  padding: 8px 0;
}
.aline .prov {
  display: block;
  margin-bottom: 2px;
}
.gapline {
  border-left: 2px solid var(--rule);
  padding-left: 12px;
}
/* firms */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.splitcard {
  background: var(--sheet);
  border: 1px solid var(--rule);
  padding: 18px;
  transition: all var(--t-explain) var(--ease);
}
.splitcard.hers {
  border-color: var(--hand-rule);
}
.leave .splitcard.hers {
  transform: translateX(14px);
  box-shadow: -6px 0 0 var(--hand-wash);
}
.exportnote {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all var(--t-explain) var(--ease);
}
.leave .exportnote {
  max-height: 120px;
  opacity: 1;
  margin-top: 10px;
}
/* security accordions */
details {
  border-top: 1px solid var(--rule-2);
  padding: 14px 0;
}
details:last-of-type {
  border-bottom: 1px solid var(--rule-2);
}
summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  transition: color var(--t-settle) var(--ease);
}
summary:hover {
  color: var(--ink-2);
}
summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--ink-2);
  transition:
    color var(--t-settle) var(--ease),
    transform var(--t-slide) var(--ease);
}
summary:hover::after {
  color: var(--ink);
}
/* the + rotates 45° into a × on open — a smooth close affordance */
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  padding-top: 8px;
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-2);
}
/* pricing */
.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.tier {
  background: var(--sheet);
  border: 1px solid var(--rule);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier.pri {
  border-color: var(--ink);
}
.tier .big {
  font-weight: 600;
  font-size: 24px;
}
.tier p {
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-2);
  border-top: 1px solid var(--rule-2);
  padding-top: 8px;
}
/* cards are equal height (grid stretch); pin each CTA to the bottom so the
   buttons line up across tiers with different amounts of copy */
.tier .btn,
.tier .btn2 {
  margin-top: auto;
}
.grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.gcard {
  background: var(--sheet);
  border: 1px solid var(--rule);
  padding: 18px;
}
.gcard p {
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-2);
  padding: 6px 0 0;
}
@media (max-width: 880px) {
  .ledger,
  .feat,
  .split,
  .tiers,
  .grid3,
  .nrow {
    grid-template-columns: 1fr;
  }
  .feat.flip .mock {
    order: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- soft pass: radius scale, gentle elevation ---- */
:root {
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 8px;
}
.btn,
.btn2 {
  border-radius: var(--r-sm);
}
.chip {
  border-radius: var(--r);
}
.mock,
.gcard,
.tier,
.splitcard,
.video,
.hhcard,
.mapbox {
  border-radius: var(--r);
}
.mockcard,
.move,
.srcchip,
.omni,
.memoq,
.nchip {
  border-radius: var(--r-sm);
}
.mock,
.gcard,
.tier,
.splitcard {
  box-shadow: 0 1px 3px rgba(26, 26, 28, 0.05);
}
.hhcard {
  box-shadow: 0 6px 20px rgba(26, 26, 28, 0.1);
}
.note,
.memoq,
.gapline {
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.vbar {
  border-radius: 2px;
  overflow: hidden;
}
.tally {
  border-radius: var(--r-sm);
}

/* ---- masthead: one 64px axis, everything dead-centre ---- */
nav .wrap {
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  height: 64px;
}
.wordmark {
  font-size: 22px;
  line-height: 64px;
  letter-spacing: -0.01em;
  display: block;
}
nav ul {
  align-items: center;
  height: 64px;
}
nav ul li {
  display: flex;
  align-items: center;
  height: 64px;
}
nav ul a {
  display: flex;
  align-items: center;
  height: 64px;
  line-height: 1;
  padding-bottom: 0;
  border-bottom: 0;
}
nav ul a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-sm);
}
/* variant C — soft pill on the active page */
body[data-nav="c"] nav ul a {
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r);
}
body[data-nav="c"] nav ul a.active {
  background: var(--sheet-2);
  border: 1px solid var(--rule-2);
  color: var(--ink);
  font-weight: 500;
}
body[data-nav="c"] nav ul a.btn {
  height: 36px;
}
/* ---- integrations strip ---- */
.intg {
  border-top: 1px solid var(--rule-2);
}
.intg .cap {
  display: block;
  margin-bottom: 18px;
}
.lgrow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}
.lg {
  font-family: var(--grot);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  padding: 10px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--sheet);
  transition:
    color var(--t-settle) var(--ease),
    border-color var(--t-settle) var(--ease);
}
.lg:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}
.lg small {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  margin-top: 1px;
}
.lgrow.soon .lg {
  background: none;
  border-style: dashed;
  font-weight: 500;
}
.intg .prov {
  margin-top: 18px;
  display: block;
}
.irow {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-2);
}
.irow .iname {
  font-weight: 600;
  font-size: 15px;
}
.irow .ifeeds {
  font-size: 13px;
  color: var(--ink-2);
}
.irow .prov {
  margin-top: 0;
}
.irow.dim .iname {
  font-weight: 500;
  color: var(--ink-2);
}
.irow.ask {
  border-bottom: 0;
}
.irow.ask .iname {
  color: var(--ink);
}
.asklink {
  color: var(--hand);
  cursor: pointer;
}
.asklink:hover {
  color: var(--hand-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.iflow {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.isrc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ichip {
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--sheet);
  padding: 6px 12px;
  text-align: center;
}
.iarrow {
  font-size: 22px;
  color: var(--ink-2);
}
.icol1 {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 18px;
  max-width: 300px;
}
.icol2 {
  background: var(--hand-wash);
  border-left: 2px solid var(--hand-rule);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 18px;
  max-width: 300px;
}
@media (max-width: 880px) {
  .irow {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.hero {
  padding-top: 96px;
  padding-bottom: 80px;
}
.hero p.muted {
  max-width: 640px;
}
section.block {
  padding: 80px 0;
}
.feat {
  align-items: center;
  gap: 64px;
}
.feat h2 {
  margin: 8px 0 4px;
}
.points {
  margin-top: 12px;
}
.points p:last-of-type {
  border-bottom: 1px solid var(--rule-2);
}
.feat .hint {
  margin-top: 14px;
}
/* one-thursday ledger: a single grid so every rule lines up across columns */
.ledger {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 40px;
  row-gap: 0;
  align-items: stretch;
}
.lcap {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
}
.lcap .cap {
  display: block;
}
.lcap small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 3px;
}
.lcell {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-2);
}
.lcell .serifq {
  font-size: 17px;
  line-height: 24px;
}
.note .sig {
  display: block;
  margin-top: 6px;
}
.c3 .prov {
  display: block;
  margin-bottom: 6px;
}
/* progressive disclosure: metadata collapsed at rest, the row expands on hover */
.lcell .sig,
.lcell .c3 .prov {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition:
    max-height var(--t-slide) var(--ease),
    opacity var(--t-settle) var(--ease),
    margin var(--t-slide) var(--ease);
}
.lcell.lit .sig {
  max-height: 24px;
  opacity: 1;
  margin-top: 6px;
}
.lcell.lit .c3 .prov {
  max-height: 24px;
  opacity: 1;
  margin-bottom: 6px;
}
.lcell {
  transition: background var(--t-settle) var(--ease);
}
.lcell.lit {
  background: var(--sheet);
}
.lcell.lit .note {
  border-left-color: var(--hand);
}
@media (hover: none) {
  .lcell .sig,
  .lcell .c3 .prov {
    max-height: none;
    opacity: 1;
  }
  .lcell .sig {
    margin-top: 6px;
  }
  .lcell .c3 .prov {
    margin-bottom: 6px;
  }
}
/* hero footnote: collapsed until the tagline is hovered */
#footnote {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition:
    max-height var(--t-slide) var(--ease),
    opacity var(--t-settle) var(--ease),
    margin var(--t-slide) var(--ease);
}
#tagline:hover + #footnote,
#footnote:hover {
  max-height: 48px;
  opacity: 1;
  margin-top: 6px;
}
@media (hover: none) {
  #footnote {
    max-height: none;
    opacity: 1;
    margin-top: 6px;
  }
}
/* glossary terms */
.term {
  border-bottom: 1px dotted var(--ink-2);
  cursor: help;
  position: relative;
  font-style: inherit;
}
.term::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  width: 250px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--grot);
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 10px 12px;
  border-radius: var(--r);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-settle) var(--ease);
  z-index: 40;
}
.term:hover::after {
  opacity: 1;
}
.lfoot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-top: 18px;
}
.lfoot .hint {
  margin: 0;
}
.lfoot .tally {
  margin-top: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 24px;
  line-height: 32px;
  white-space: nowrap;
}
.lfoot .tally .prov {
  margin: 0;
}
.ledger-head {
  align-items: baseline;
  margin-bottom: 32px;
}
@media (max-width: 880px) {
  .ledger {
    grid-template-columns: 1fr;
  }
  .lcap {
    display: none;
  }
  .lcap:first-of-type {
    display: block;
  }
  .lfoot {
    grid-column: 1;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- section rhythm (chosen: mixed) — hairlines carry the reading rhythm;
     the tonal band is reserved for the moments: the demo, the proof, the close ---- */
section.block {
  border-bottom: 1px solid var(--rule-2);
}
#ledgerdemo,
.intg {
  background: var(--sheet-2);
  border-bottom: 0;
}
#ledgerdemo .mockcard,
#ledgerdemo .lcell {
  background: transparent;
}
.closer {
  background: var(--sheet);
  border-bottom: 0;
}
.intg .irow {
  border-bottom-color: var(--rule);
}
#ledgerdemo .lcell.lit {
  background: var(--sheet);
}
.tier .big {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.grid3 .gcard p {
  padding-top: 10px;
}
.closer .wrap {
  padding-top: 40px;
  padding-bottom: 40px;
  max-width: 760px;
}
/* the closing call is a composition, not a floating button: eyebrow, line,
   then the CTA with room to breathe */
.closer .cap {
  display: block;
  margin-bottom: 14px;
}
.closer .lead {
  margin-top: 14px;
  max-width: 560px;
}
.closer .btn,
.closer .btn2 {
  margin-top: 28px;
}
footer .wrap {
  padding-top: 8px;
}

/* ---- signup ---- */
.signup {
  background: var(--sheet);
  border-top: 1px solid var(--rule);
}
.signup .wrap {
  padding: 72px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.sform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
  max-width: 460px;
}
.sform input {
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-family: var(--grot);
  font-size: 14px;
  color: var(--ink);
  width: 100%;
}
/* email and the submit button span the full width; name + firm share the top row */
.sform input[type="email"],
.sform #sbtn {
  grid-column: 1 / -1;
}
@media (max-width: 480px) {
  .sform {
    grid-template-columns: 1fr;
  }
}
.sform input::placeholder {
  color: var(--ink-2);
}
.sform input:focus {
  outline: none;
  border-color: var(--ink);
}
.sok {
  display: none;
  margin-top: 18px;
  background: var(--hand-wash);
  border-left: 2px solid var(--hand-rule);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 14px 16px;
}
.signup.done .sform {
  display: none;
}
.signup.done .sok {
  display: block;
  animation: rise var(--t-slide) var(--ease);
}
/* error state — calm, never red (risk is a state, not a colour) */
.serr {
  display: none;
  margin-top: 18px;
  background: var(--sheet-2);
  border-left: 2px solid var(--ink-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 14px 16px;
}
.serr .serifq {
  font-size: 15px;
}
.serr a {
  color: var(--hand);
}
.signup.error .serr {
  display: block;
  animation: rise var(--t-slide) var(--ease);
}
.strust {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 12px;
}
@media (max-width: 880px) {
  .signup .wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
     Migration off inline styles (the CSP is 'self'-only, so inline style=""
     attributes never apply). Shared/repeated inline styles are absorbed by the
     component rules below; genuine one-offs use the token-aligned utilities.
     ========================================================================== */

/* --- signup: absorbs every repeated inline style in the shared section --- */
.signup h2 {
  margin-top: 8px;
}
.signup p.muted {
  margin-top: 10px;
  max-width: 520px;
}
.sok .serifq {
  font-size: 16px;
}
.signup .mockcard {
  background: var(--paper);
}
.signup .mockcard p {
  font-size: 13px;
  line-height: 20px;
  margin-top: 6px;
}
.signup .mockcard .prov:last-child {
  margin-top: 8px;
  display: block;
}
/* honeypot: hidden by selector, so no inline positioning is needed */
.sform input[name="_gotcha"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* --- hero paragraph measure (standardised; was 620–680px inline) --- */
.hero p.muted {
  max-width: 66ch;
  margin-top: 16px;
}

/* --- ids/components that carried inline styles --- */
#tagline {
  color: var(--ink);
  cursor: help;
}
#memofoot {
  visibility: hidden;
}
#sccite {
  color: var(--hand-2);
}
.omni {
  text-align: left;
}
.closer-hl {
  font-size: 34px;
  line-height: 1.15;
}
.closer .lead {
  margin: 14px 0 22px;
}
.story-q {
  font-size: 15px;
}
.brief-head {
  display: flex;
  justify-content: space-between;
}
.srcgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.aline-row {
  display: flex;
  gap: 12px;
}
.prov.inline {
  display: inline;
}

/* --- map cluster placements: percentages of the 520x320 viewBox so they
   track the map as it scales down to mobile (sizes clamp on small screens) --- */
.cluster.c-bay {
  left: 8.5%;
  top: 37%;
  width: clamp(44px, 12.3vw, 64px);
  height: clamp(44px, 12.3vw, 64px);
}
.cluster.c-den {
  left: 33%;
  top: 42%;
  width: clamp(36px, 9.6vw, 50px);
  height: clamp(36px, 9.6vw, 50px);
}
.cluster.c-chi {
  left: 59%;
  top: 22%;
  width: clamp(40px, 10.8vw, 56px);
  height: clamp(40px, 10.8vw, 56px);
}
.cluster.c-aus {
  left: 44%;
  top: 67%;
  width: clamp(32px, 8.5vw, 44px);
  height: clamp(32px, 8.5vw, 44px);
}

/* --- token-aligned utilities for the remaining one-offs --- */
.mt-1 {
  margin-top: 8px;
}
.mt-2 {
  margin-top: 12px;
}
.mt-3 {
  margin-top: 16px;
}
.mt-4 {
  margin-top: 24px;
}
.mt-5 {
  margin-top: 28px;
}
.mb-3 {
  margin-bottom: 16px;
}
.my-changes {
  margin: 24px 0 16px;
}
.measure-sm {
  max-width: 520px;
}
.measure {
  max-width: 680px;
}
.measure-lg {
  max-width: 760px;
}
.d-block {
  display: block;
}
.c-hand {
  color: var(--hand);
}

/* ==========================================================================
     Accent discipline — one --hand button per page (the signup CTA). The nav
     "Request access" is a quiet ghost that points at it; navigational CTAs use
     the outlined .btn2.
     ========================================================================== */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--hand);
  color: var(--hand);
  background: none;
  border-radius: var(--r-sm);
  font-family: var(--grot);
  font-size: 13px;
  font-weight: 500;
  transition:
    background var(--t-settle) var(--ease),
    color var(--t-settle) var(--ease),
    transform var(--t-settle) var(--ease);
}
.btn-ghost:active {
  transform: translateY(1px);
}
.btn-ghost:hover {
  background: var(--hand);
  color: #fff;
}

/* ==========================================================================
     Keyboard focus — a visible ring on every interactive control.
     ========================================================================== */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
.switch:focus-visible,
.chip:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--hand);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.switch:focus {
  outline: none;
}
.switch:focus-visible {
  outline: 2px solid var(--hand);
  outline-offset: 4px;
}

/* ==========================================================================
     Mobile navigation — the six-link bar collapses to a menu under 760px.
     ========================================================================== */
.navtoggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  background: none;
  border: 0;
  cursor: pointer;
}
.navtoggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform var(--t-slide) var(--ease),
    opacity var(--t-settle) var(--ease);
}
body.nav-open .navtoggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .navtoggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .navtoggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
  /* the masthead pins .wrap to 64px; let it grow so the opened menu is
       inside the nav's painted background instead of spilling over the hero */
  nav .wrap {
    flex-wrap: wrap;
    height: auto;
    min-height: 64px;
    align-items: center;
  }
  nav {
    background: var(--paper);
  }
  .navtoggle {
    display: flex;
    margin-left: auto;
  }
  nav ul#navmenu {
    flex-basis: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    height: auto;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--t-slide) var(--ease);
  }
  body.nav-open nav ul#navmenu {
    max-height: 420px;
  }
  nav ul#navmenu li {
    height: auto;
    border-top: 1px solid var(--rule-2);
  }
  nav ul#navmenu li a {
    height: auto;
    padding: 14px 4px;
    width: 100%;
  }
  nav ul#navmenu li a.btn-ghost {
    margin: 14px 0;
    height: 44px;
    justify-content: flex-start;
    padding: 0 16px;
  }
  body[data-nav="c"] nav ul#navmenu a.active {
    color: var(--ink);
    font-weight: 500;
    /* the simple underline, extended a little past the label. reset the desktop
       pill's background/border/radius, which would otherwise leak in (a box, or
       a curved underline that follows the pill's rounded corners) */
    display: inline-flex;
    width: auto;
    align-self: flex-start;
    background: none;
    border: 0;
    border-radius: 0;
    border-bottom: 2px solid var(--ink);
    padding: 14px 12px 6px 4px;
  }
}

/* --- two more one-off utilities used by the migration --- */
.fs-13 {
  font-size: 13px;
}
.c-ink {
  color: var(--ink);
}

/* ==========================================================================
     Entrance motion — the file settling into place. Two moments only.
     Both are disabled by the reduced-motion guard above; the hero animation
     uses fill:both so it resolves to the visible resting state when off, and
     the section reveals are only applied by JS (so no-JS shows everything).
     ========================================================================== */

@keyframes settleIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* hero: a light stagger, like the brief assembling line by line */
.hero > * {
  animation: settleIn var(--t-explain) var(--ease) both;
}
.hero > *:nth-child(2) {
  animation-delay: 70ms;
}
.hero > *:nth-child(3) {
  animation-delay: 140ms;
}
.hero > *:nth-child(4) {
  animation-delay: 210ms;
}
.hero > *:nth-child(5) {
  animation-delay: 280ms;
}
.hero > *:nth-child(6) {
  animation-delay: 350ms;
}

/* sections: one quiet rise as each first enters view */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-on .reveal.in {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--t-explain) var(--ease),
    transform var(--t-explain) var(--ease);
}

/* skip-to-content link — visible only on keyboard focus */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 0 0 var(--r-sm) 0;
  font-size: 13px;
  font-weight: 500;
}
.skip:focus {
  left: 0;
}
