/* Kildrum Labs. Approval Stamp system: wine on ivory, Libre Caslon over Public Sans. */

@font-face { font-family: "Libre Caslon Display"; src: url("/assets/fonts/caslon-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("/assets/fonts/caslon-text.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("/assets/fonts/caslon-text-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #F7F4EE;
  --surface: #FFFDF9;
  --sunk: #F1ECE3;
  --ink: #1E1B18;
  --muted: #5F5850;
  --line: #E2DBCF;
  --line-strong: #CFC6B6;
  --field: #8E8577;
  --accent: #5C1F33;
  --accent-hover: #47172A;
  --accent-tint: #F4E9EC;
  --on-accent: #FFFFFF;
  --ok: #2F6B3A; --ok-bg: #E8F1E7;
  --warn: #8A5A00; --warn-bg: #FBF1DC;
  --flag: #A3352B; --flag-bg: #FBEAE7;
  --paper: #FFFFFF; --paper-ink: #24211D; --paper-muted: #6A635A; --paper-line: #E6E1D8;
  --float: 0 18px 40px -18px rgba(40, 28, 20, .22), 0 1px 2px rgba(40, 28, 20, .06);
  --menu: 0 10px 28px -10px rgba(40, 28, 20, .24), 0 1px 2px rgba(40, 28, 20, .08);
  --engraving-opacity: .22;

  --serif-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --serif-text: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-ctl: 4px; --r-panel: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 120ms; --t: 180ms; --t-slow: 240ms;
  --wrap: 1240px;
  --gutter: 24px;
}

:root[data-theme="dark"] {
    --bg: #171512; --surface: #201D19; --sunk: #1B1916;
    --ink: #EEE9E1; --muted: #ABA396;
    --line: #322D27; --line-strong: #453E36; --field: #857C6F;
    --accent: #E3A6B5; --accent-hover: #EDBDC9; --accent-tint: #2A1A20; --on-accent: #2A0F18;
    --ok: #93C79B; --ok-bg: #1E2B20;
    --warn: #E0B661; --warn-bg: #2D2516;
    --flag: #F0A79C; --flag-bg: #36201C;
    --paper: #F4F1EA; --paper-ink: #24211D; --paper-muted: #5F5850; --paper-line: #DCD5C9;
    --float: 0 18px 40px -18px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02);
    --menu: 0 10px 28px -10px rgba(0, 0, 0, .7);
    --engraving-opacity: .16;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color var(--t) var(--ease); }
a:hover { color: var(--accent-hover); }
p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 { font-family: var(--serif-display); font-size: clamp(40px, 5.2vw, 62px); line-height: 1.06; letter-spacing: -.012em; }
h1 .promise { display: block; margin-top: .32em; font-family: var(--serif-text); font-style: italic; font-size: .62em; line-height: 1.2; letter-spacing: 0; color: var(--accent); }
h2 { font-family: var(--serif-display); font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.008em; }
h3 { font-family: var(--serif-text); font-size: 24px; line-height: 1.25; }
h4 { margin: 0 0 var(--s2); font-size: 17px; font-weight: 600; }
::selection { background: var(--accent-tint); color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: var(--s4); top: -60px; z-index: 100; padding: var(--s2) var(--s4); background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); transition: top var(--t) var(--ease); }
.skip:focus { top: var(--s3); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 34em; }
.intro { max-width: 32em; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.tiny { font-size: 13px; line-height: 1.45; }
.num { font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; }
.kicker { margin: 0 0 var(--s4); font-size: 15px; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color var(--t) var(--ease); }
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s5); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--ink); text-decoration: none; flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.wordmark .name { font-family: var(--serif-display); font-size: 27px; letter-spacing: -.005em; }
.wordmark .rule { width: 1px; height: 18px; background: var(--line-strong); }
.wordmark .labs { font-size: 11.5px; font-weight: 600; letter-spacing: .22em; color: var(--accent); padding-top: 1px; }
.nav { display: flex; align-items: center; gap: var(--s1); margin-left: auto; }
.nav > a, .nav summary { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 var(--s3); font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: var(--r-ctl); cursor: pointer; transition: background-color var(--t) var(--ease), color var(--t) var(--ease); }
.nav > a { white-space: nowrap; }
.nav > a:hover, .nav summary:hover { background: var(--sunk); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav details { position: relative; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.caret { width: 10px; height: 10px; transition: transform var(--t) var(--ease); }
details[open] > summary .caret { transform: rotate(180deg); }
.menu-panel { position: absolute; top: calc(100% + 6px); left: -8px; width: 360px; padding: var(--s2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--menu); }
details[open] > .menu-panel { animation: menu-in var(--t) var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.menu-panel a { display: block; padding: 10px var(--s3); border-radius: var(--r-ctl); color: var(--ink); text-decoration: none; transition: background-color var(--t) var(--ease); }
.menu-panel a:hover { background: var(--sunk); }
.menu-panel a span { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.menu-panel a small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.header-cta { margin-left: var(--s2); }
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { list-style: none; display: inline-flex; align-items: center; height: 40px; padding: 0 var(--s3); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font-size: 15px; font-weight: 500; cursor: pointer; background: var(--surface); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu .menu-panel { left: auto; right: var(--gutter); width: min(360px, calc(100vw - 2 * var(--gutter))); position: fixed; top: 64px; }
.mobile-menu .menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: var(--s2) 0; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .mobile-menu { display: block; }
  .header-cta { margin-left: 0; }
}
@media (max-width: 600px) {
  .site-header .wrap { height: 64px; gap: var(--s3); }
  .brand img { width: 40px; height: 40px; }
  .wordmark .name { font-size: 23px; }
  .header-cta { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 46px; padding: 0 20px; border-radius: var(--r-ctl); border: 1px solid transparent; font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t-fast) var(--ease); }
.btn:active:not(:disabled):not([aria-disabled="true"]) { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--field); color: var(--ink); background: var(--surface); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--sunk); color: var(--muted); border-color: var(--line-strong); cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { text-decoration: underline; }
.arrow { width: 14px; height: 14px; flex: none; transition: transform var(--t) var(--ease); }
.text-link:hover .arrow { transform: translateX(2px); }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: var(--s9) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5) var(--s8); align-items: end; margin-bottom: var(--s7); }
.section-head p { margin: 0; color: var(--muted); max-width: 34em; }
.section-head.stack { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
@media (max-width: 900px) {
  .section { padding: var(--s8) 0; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: var(--s4); margin-bottom: var(--s6); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 var(--s9); isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; z-index: -1; left: -3vw; bottom: -2px; width: max(1500px, 108vw); aspect-ratio: 1800 / 1158; background: var(--accent); opacity: var(--engraving-opacity); -webkit-mask: url("/assets/causeway-engraving.webp") no-repeat left bottom / contain, linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 30%, #000 52%); -webkit-mask-composite: source-in; mask: url("/assets/causeway-engraving.webp") no-repeat left bottom / contain, linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 30%, #000 52%); mask-composite: intersect; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.hero-copy { padding-top: var(--s5); }
.hero .kicker { margin-bottom: var(--s5); }
.hero h1 { margin-bottom: var(--s5); }
.hero .lede { margin-bottom: var(--s6); }
.route { margin: var(--s4) 0 0; max-width: 30em; font-size: 15px; line-height: 1.5; color: var(--muted); }
.assure { margin: var(--s4) 0 0; max-width: 30em; font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.assure a { font-weight: 400; color: var(--muted); }
.assure a:hover { color: var(--accent); }
.assure + .route { margin-top: var(--s2); }
.route a { color: var(--ink); }
.route a:hover { color: var(--accent); }
.founder { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); max-width: 30em; }
.founder img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.founder p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.founder strong { color: var(--ink); font-weight: 600; }
.caption { margin-top: var(--s3); font-size: 13.5px; color: var(--muted); }
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .hero-copy { padding-top: 0; max-width: 40em; }
  .hero-art { width: 170vw; left: -35vw; -webkit-mask: url("/assets/causeway-engraving.webp") no-repeat left bottom / contain; mask: url("/assets/causeway-engraving.webp") no-repeat left bottom / contain; opacity: calc(var(--engraving-opacity) * .7); }
}
@media (max-width: 600px) {
  .hero { padding: var(--s7) 0 var(--s8); }
  .hero-art { top: 0; bottom: auto; width: 260vw; left: -95vw; -webkit-mask-position: left top; mask-position: left top; opacity: calc(var(--engraving-opacity) * .85); }
}

/* Page header for subpages */
.page-hero { position: relative; padding: var(--s8) 0 var(--s8); isolation: isolate; overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s5); padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s8); align-items: end; }
.page-hero h1 { margin-bottom: var(--s5); max-width: 15em; }
.page-hero .lede { margin-bottom: var(--s6); }
.price-card { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); }
.price-card dl { margin: 0; }
.price-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.price-card .row:first-child { border-top: 0; padding-top: 0; }
.price-card dt { font-size: 15px; color: var(--muted); }
.price-card dd { margin: 0; font-family: var(--serif-display); font-size: 28px; line-height: 1.1; text-align: right; }
.price-card dd.words { font-family: var(--sans); font-size: 15px; font-weight: 600; max-width: 13em; line-height: 1.4; }
.price-card .from { font-family: var(--serif-text); font-style: italic; font-size: 15px; color: var(--muted); }
.price-card .note { margin: var(--s3) 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: start; } }

/* ---------- Ledger table (pricing, builds) ---------- */
.ledger { width: 100%; border-collapse: collapse; }
.ledger caption { text-align: left; }
.ledger th { padding: 0 var(--s4) var(--s2) 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; border-bottom: 1px solid var(--ink); }
.ledger th.r, .ledger td.r { text-align: right; padding-right: 0; }
.ledger td { padding: var(--s5) var(--s4) var(--s5) 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.ledger .item { width: 26%; }
.ledger .item h3 { font-size: 22px; margin-bottom: 4px; }
.ledger .item p { font-size: 15px; color: var(--muted); margin: 0; }
.ledger .desc { color: var(--ink); font-size: 16px; max-width: 36em; }
.ledger .desc p { margin-bottom: var(--s2); }
.price { font-family: var(--serif-display); font-size: 40px; line-height: 1; white-space: nowrap; }
.price small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.price .from { font-family: var(--serif-text); font-style: italic; font-size: 18px; color: var(--muted); margin-right: 4px; }
.price-words { font-size: 15px; font-weight: 600; line-height: 1.4; max-width: 11em; margin-left: auto; }
.ledger tfoot td { border-bottom: 0; border-top: 1px solid var(--ink); padding-top: var(--s4); font-size: 15px; color: var(--muted); }
@media (max-width: 760px) {
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: 100%; }
  .ledger tbody tr { padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
  .ledger tbody tr:first-child { border-top: 1px solid var(--ink); }
  .ledger td { padding: 0; border: 0; }
  .ledger .item { width: auto; margin-bottom: var(--s3); }
  .ledger td.r { text-align: left; margin-top: var(--s3); }
  .price-words { margin-left: 0; }
  .ledger tfoot, .ledger tfoot tr, .ledger tfoot td { display: block; width: 100%; }
  .ledger tbody tr { display: flex; flex-direction: column; }
  .ledger td.item { order: 0; }
  .ledger td.r { order: 1; margin: 0 0 var(--s3); }
  .ledger td.desc { order: 2; }
}

/* Built list */
.built { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.built-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.built-row h3 { font-size: 22px; }
.built-row p { margin: 0; }
.built-row .tech { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .built-row { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
}

/* Two column text blocks */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split, .split.even { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }
.prose { max-width: 36em; }
.prose p { margin-bottom: var(--s4); }
.prose h3 { margin: var(--s6) 0 var(--s3); }
.prose ul { padding-left: 1.1em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.prose li::marker { color: var(--muted); }

.rule-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rule-list li { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.rule-list li strong { display: block; margin-bottom: 2px; }
.rule-list li p { margin: 0; color: var(--muted); font-size: 16px; }
.rule-list.compact li { padding: var(--s3) 0; }

.quote-lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.quote-lines li { display: grid; grid-template-columns: 9.5em 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.quote-lines .tag { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 2px; }
@media (max-width: 600px) { .quote-lines li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s7); }
.fit h3 { padding-bottom: var(--s3); border-bottom: 1px solid var(--ink); margin-bottom: 0; font-size: 22px; }
@media (max-width: 760px) { .fit { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }

/* Products routing list */
.products { border-top: 1px solid var(--ink); }
.product-row { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: var(--s6); padding: var(--s5) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; align-items: baseline; }
.product-row::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * var(--s4)); border-radius: var(--r-ctl); background: transparent; transition: background-color var(--t) var(--ease); }
.product-row:hover { color: var(--ink); }
.product-row:hover::before { background: var(--surface); }
.product-row h3 { font-size: 23px; }
.product-row h3 .arrow { display: inline-block; vertical-align: 1px; margin-left: 6px; }
.product-row p { margin: 0; color: var(--muted); font-size: 16px; }
.product-row .p-price { font-size: 15px; font-weight: 600; color: var(--ink); }
.product-row .arrow { color: var(--accent); }
.product-row:hover .arrow { transform: translateX(3px); }
.products.compact .product-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: var(--s4) 0; align-items: baseline; }
.products.compact .product-row h3 { font-size: 20px; }
/* Problem-led rows: the buyer's problem as the title, what I build, then the product name */
@media (min-width: 761px) { .products.by-problem .product-row { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 3fr); } }
.product-row .p-name { font-size: 15px; font-weight: 600; color: var(--accent); text-align: right; }
.product-row .p-name .arrow { display: inline-block; vertical-align: -1px; margin-left: 4px; }
.built-note { margin: var(--s4) 0 0; }
.fit-line { margin: var(--s5) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--muted); }
.fit-line strong { color: var(--ink); }
.about-sub { margin: var(--s6) 0 var(--s3); }
.book-sub { font-size: 20px; margin: 0 0 var(--s3); }

/* Phone-only sticky CTA: shows once the page's own CTA has scrolled away, hides over the booking section and footer */
.mobile-cta { display: none; }
@media (max-width: 600px) {
  .mobile-cta { display: block; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(40, 28, 20, .25); transform: translateY(110%); visibility: hidden; transition: transform var(--t-slow) var(--ease), visibility 0s linear var(--t-slow); }
  .mobile-cta.is-on { transform: none; visibility: visible; transition: transform var(--t-slow) var(--ease), visibility 0s; }
  .mobile-cta .btn { width: 100%; min-height: 48px; }
}

/* Reveal: a quiet disclosure for detail that would lengthen the page (e.g. the example report) */
.reveal { margin-top: var(--s5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reveal summary { display: flex; align-items: center; gap: var(--s3); padding: var(--s4) 0; font-weight: 600; color: var(--accent); cursor: pointer; list-style: none; }
.reveal summary::-webkit-details-marker { display: none; }
.reveal summary:hover { text-decoration: underline; }
.reveal summary .plus { position: relative; width: 12px; height: 12px; flex: none; }
.reveal summary .plus::before, .reveal summary .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: currentColor; transition: transform var(--t) var(--ease); }
.reveal summary .plus::after { transform: rotate(90deg); }
.reveal[open] summary .plus::after { transform: rotate(0deg); }
.reveal-body { padding: var(--s3) 0 var(--s6); }
.reveal[open] .reveal-body { animation: fade-in var(--t-slow) var(--ease); }

@media (max-width: 760px) {
  .product-row, .products.compact .product-row { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .product-row .p-price { text-align: left; }
  .product-row .p-name { text-align: left; }
}

/* ---------- Example screens: shared chrome ---------- */
.screen { position: relative; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-panel); box-shadow: var(--float); overflow: hidden; font-size: 14px; line-height: 1.45; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 3px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.flag { background: var(--flag-bg); color: var(--flag); }
.pill.neutral { background: var(--sunk); color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); font: 500 13px/1 var(--sans); cursor: pointer; transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease); }
.icon-btn:hover { border-color: var(--field); }
.icon-btn svg { width: 12px; height: 12px; }

/* ---------- Document entry demo ---------- */
.de-body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 11fr); min-height: 470px; }
.de-doc { padding: var(--s4); background: var(--sunk); border-right: 1px solid var(--line); }
.paper { position: relative; padding: 18px 18px 20px; background: var(--paper); color: var(--paper-ink); border: 1px solid var(--paper-line); border-radius: 2px; font-size: 11.5px; line-height: 1.45; box-shadow: 0 1px 2px rgba(40, 28, 20, .06); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.paper.is-out { opacity: 0; transform: translateY(4px); }
.paper .p-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--paper-line); }
.paper .p-from { font-weight: 700; font-size: 13px; letter-spacing: -.005em; }
.paper .p-sub { color: var(--paper-muted); font-size: 10.5px; }
.paper .p-kind { font-family: var(--serif-text); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.paper .p-meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin-bottom: 10px; }
.paper .p-meta dt { color: var(--paper-muted); }
.paper .p-meta dd { margin: 0; }
.paper .hand { font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: 12.5px; color: #2B3A67; transform: rotate(-2deg); display: inline-block; }
.paper table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.paper th { font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--paper-muted); text-align: left; font-weight: 600; padding: 4px 4px 4px 0; border-bottom: 1px solid var(--paper-ink); }
.paper td { padding: 5px 4px 5px 0; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.paper .r { text-align: right; padding-right: 0; padding-left: 8px; white-space: nowrap; }
.paper .p-tot { margin-top: 8px; margin-left: auto; width: 60%; }
.paper .p-tot div { display: flex; justify-content: space-between; padding: 2px 0; font-variant-numeric: tabular-nums; }
.paper .p-tot .grand { border-top: 1px solid var(--paper-ink); margin-top: 4px; padding-top: 5px; font-weight: 700; }
.paper .mail-h { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--paper-line); }
.paper .mail-h dt { color: var(--paper-muted); }
.paper .mail-h dd { margin: 0; }
.paper .mail-b p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.55; }
.paper mark { background: transparent; color: inherit; box-shadow: inset 0 -0.55em 0 rgba(163, 53, 43, .16); transition: box-shadow var(--t) var(--ease); }
.paper mark.off { box-shadow: none; }

.de-entry { position: relative; display: flex; flex-direction: column; padding: var(--s4) var(--s4) 0; }
.de-entry-head { display: flex; flex-direction: column; gap: 2px; min-height: 58px; padding-right: 130px; margin-bottom: var(--s2); }
.de-entry-head h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; }
.de-entry-head .to { font-size: 12.5px; color: var(--muted); }
.fields { margin: 0; border-top: 1px solid var(--line); }
.field { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 36px; padding: 5px 8px; margin: 0 -8px; border-bottom: 1px solid var(--line); border-radius: 0; transition: background-color var(--t-slow) var(--ease); }
.field dt { font-size: 12.5px; color: var(--muted); }
.field dd { margin: 0; min-width: 0; font-size: 13.5px; }
.field dd.v { overflow-wrap: anywhere; }
.field .c { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; min-width: 64px; }
.field .why { grid-column: 2 / -1; font-size: 12px; line-height: 1.4; color: var(--flag); margin-top: -2px; }
.field.is-flagged { background: var(--flag-bg); }
.field.is-flagged .c { color: var(--flag); font-weight: 600; }
.field.is-checked .c { color: var(--ok); font-weight: 600; }
.field.is-checked .why, .field .why.note { color: var(--muted); }
.field.is-focus { box-shadow: inset 0 0 0 2px var(--ink); }
.sk { display: inline-block; height: 9px; border-radius: 2px; background: var(--line); vertical-align: middle; }
.fill-in { animation: fill-in var(--t-slow) var(--ease) both; }
@keyframes fill-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.lines { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; margin-top: 2px; }
.lines td { padding: 3px 0; border-bottom: 1px dotted var(--line-strong); }
.lines tr:last-child td { border-bottom: 0; }
.lines .r { text-align: right; padding-left: 8px; white-space: nowrap; }
.lines .q { color: var(--muted); padding-left: 8px; white-space: nowrap; text-align: right; }
.field.lines-row { align-items: start; row-gap: 2px; }
.field.lines-row dt { grid-column: 1 / 3; grid-row: 1; }
.field.lines-row .c { grid-column: 3; grid-row: 1; }
.field.lines-row > dd:nth-of-type(1) { grid-column: 1 / -1; grid-row: 2; }
.field.lines-row .why { grid-column: 1 / -1; }

.de-actions { display: flex; align-items: center; gap: var(--s2); margin-top: auto; padding: var(--s3) 0 var(--s4); }
.de-status { font-size: 12.5px; color: var(--muted); margin-right: auto; min-height: 18px; }
.de-status b { color: var(--ink); font-weight: 600; }
.btn-approve { height: 34px; padding: 0 14px; border-radius: var(--r-ctl); border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font: 600 13.5px/1 var(--sans); white-space: nowrap; cursor: default; transition: background-color var(--t) var(--ease), opacity var(--t) var(--ease), transform var(--t-fast) var(--ease); }
.btn-approve:disabled { opacity: .35; }
.btn-approve.is-done { opacity: 1; background: var(--ok-bg); border-color: var(--ok-bg); color: var(--ok); }
.btn-approve.is-press { transform: scale(.97); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--ink); }
.btn-edit { height: 34px; padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 13.5px/1 var(--sans); cursor: default; }

.postmark { position: absolute; right: 12px; top: -10px; width: 150px; height: 120px; color: var(--accent); pointer-events: none; opacity: 0; transform: rotate(-14deg) scale(1.08); mix-blend-mode: multiply; }
.postmark.is-struck { animation: strike 260ms var(--ease) both; }
.postmark.is-static { opacity: .92; transform: rotate(-14deg); }
@keyframes strike { from { opacity: 0; transform: rotate(-14deg) scale(1.08); } to { opacity: .92; transform: rotate(-14deg) scale(1); } }
.postmark text { font-family: var(--sans); fill: currentColor; }

.de-ledger { border-top: 1px solid var(--line); background: var(--surface); }
.de-ledger-head { display: flex; justify-content: space-between; align-items: center; padding: 10px var(--s4) 6px; font-size: 12px; color: var(--muted); }
.de-ledger-head b { color: var(--ink); font-weight: 600; font-size: 12.5px; }
.ledger-list { list-style: none; margin: 0; padding: 0 var(--s4) var(--s2); }
.ledger-list li { display: grid; grid-template-columns: 22px 92px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; height: 34px; border-top: 1px solid var(--line); font-size: 12.5px; overflow: hidden; }
.ledger-list li.is-new { animation: row-in 220ms var(--ease) both; }
@keyframes row-in { from { height: 0; opacity: 0; } to { height: 34px; opacity: 1; } }
.ledger-list .mini { width: 20px; height: 20px; color: var(--accent); }
.ledger-list .id { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger-list .who { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ledger-list .amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.ledger-list .by { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) and (min-width: 701px) { .de-body { min-height: 460px; } }
@media (max-width: 700px) {
  .screen { font-size: 14px; }
  .de-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .de-doc { border-right: 0; border-bottom: 1px solid var(--line); padding: var(--s3); }
  .paper { font-size: 12px; padding: 14px; }
  .paper .p-meta, .paper .mail-h { font-size: 12px; }
  .paper table .col-each { display: none; }
  .de-entry { padding: var(--s3) var(--s3) 0; }
  .field { grid-template-columns: 84px minmax(0, 1fr) auto; margin: 0 -6px; padding: 6px; }
  .field dd { font-size: 14px; }
  .field .c { min-width: 0; }
  .postmark { width: 130px; height: 104px; top: -4px; right: -4px; }
  .de-entry-head { padding-right: 110px; }
  .ledger-list li { grid-template-columns: 20px minmax(0, 1fr) auto; height: auto; padding: 7px 0; row-gap: 0; }
  .ledger-list .mini { grid-row: 1 / 3; align-self: start; }
  .ledger-list .id { grid-row: 1; grid-column: 2; }
  .ledger-list .amt { grid-row: 1; grid-column: 3; }
  .ledger-list .who { grid-row: 2; grid-column: 2; font-size: 12px; }
  .ledger-list .by { grid-row: 2; grid-column: 3; font-size: 12px; text-align: right; }
  .ledger-list li.is-new { animation: fade-in 220ms var(--ease) both; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Proof report ---------- */
.report { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-panel); box-shadow: var(--float); }
.report-head { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s4); align-items: center; padding: var(--s5); border-bottom: 1px solid var(--line); }
.report-head img { width: 56px; height: 56px; }
.report-head h3 { font-size: 22px; }
.report-head p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.report-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.report-sum div { padding: var(--s4) var(--s5); border-left: 1px solid var(--line); }
.report-sum div:first-child { border-left: 0; }
.report-sum dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.report-sum dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.report-sum dd .big { display: block; font-family: var(--serif-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.report-body { padding: var(--s5); }
.report-body h4 { font-size: 15px; color: var(--ink); margin: 0 0 var(--s3); }
.acc { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; margin-bottom: var(--s6); }
.acc th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 var(--s3) 8px 0; border-bottom: 1px solid var(--ink); }
.acc td { padding: 10px var(--s3) 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.acc .r { text-align: right; }
.acc .grp th { padding: var(--s4) 0 6px; border-bottom: 1px solid var(--line-strong); color: var(--ink); }
.acc tbody .grp:first-child th { padding-top: var(--s3); }
.acc td.bar-cell { width: 34%; }
.bar { display: flex; height: 10px; border-radius: 2px; overflow: hidden; background: var(--sunk); }
.bar i { display: block; height: 100%; }
.bar .b-ok { background: var(--ok); }
.bar .b-flag { background: var(--warn); }
.bar .b-miss { background: var(--flag); }
.bar-legend { display: flex; flex-wrap: wrap; gap: var(--s4); font-size: 13px; color: var(--muted); margin: calc(-1 * var(--s4)) 0 var(--s6); }
.bar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bar-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.flag-list { list-style: none; margin: 0 0 var(--s6); padding: 0; border-top: 1px solid var(--line); }
.flag-list li { display: grid; grid-template-columns: 70px 120px minmax(0, 1fr) auto; gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; align-items: baseline; }
.flag-list .doc { font-weight: 600; font-variant-numeric: tabular-nums; }
.flag-list .fld { color: var(--muted); }
.report-cost { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.report-cost div { padding: var(--s4); background: var(--sunk); border-radius: var(--r-ctl); }
.report-cost dt { font-size: 13px; color: var(--muted); }
.report-cost dd { margin: 4px 0 0; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.report-cost dd small { font-size: 13px; font-weight: 400; color: var(--muted); }
.report-foot { padding: var(--s4) var(--s5); border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) {
  .report-head { grid-template-columns: auto 1fr; }
  .report-head .pill { grid-column: 1 / -1; justify-self: start; }
  .report-sum { grid-template-columns: 1fr 1fr; }
  .report-sum div:nth-child(3) { border-left: 0; }
  .report-sum div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .report-body, .report-head { padding: var(--s4); }
  .report-sum div { padding: var(--s3) var(--s4); }
  .acc td.bar-cell, .acc th.bar-cell { display: none; }
  .flag-list li { grid-template-columns: 56px minmax(0, 1fr); }
  .flag-list .fld { grid-column: 2; }
  .flag-list .what { grid-column: 1 / -1; }
  .flag-list .pill { grid-column: 1 / -1; justify-self: start; }
  .report-cost { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Calculator & chooser & forms ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: var(--s6); }
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; padding: 0; overflow: hidden; }
.calc-in { padding: var(--s6); border-right: 1px solid var(--line); }
.calc-out { padding: var(--s6); background: var(--surface); }
.calc-out .figure { font-family: var(--serif-display); font-size: 48px; line-height: 1.05; font-variant-numeric: lining-nums; }
.calc-out .figure small { font-family: var(--sans); font-size: 16px; color: var(--muted); margin-left: 6px; }
.calc-out dl { margin: 0; }
.calc-out .row { padding: var(--s4) 0; border-top: 1px solid var(--line); }
.calc-out .row:first-child { border-top: 1px solid var(--ink); }
.calc-out dt { font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.calc-out dd { margin: 0; }
.calc-out .note { margin-top: var(--s4); font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc-in { border-right: 0; border-bottom: 1px solid var(--line); } .calc-in, .calc-out { padding: var(--s5); } }

.field-group { margin-bottom: var(--s5); }
.field-group:last-child { margin-bottom: 0; }
label, .label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.hint { display: block; margin: -2px 0 8px; font-size: 13.5px; font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="number"], select {
  width: 100%; height: 46px; padding: 0 12px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--field); border-radius: var(--r-ctl); font: 400 16px/1.2 var(--sans);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
input:hover, select:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint), 0 0 0 1px var(--accent); }
input:disabled, select:disabled { background: var(--sunk); color: var(--muted); cursor: not-allowed; border-color: var(--field); }
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%235F5850' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input-unit { position: relative; }
.input-unit input { padding-left: 26px; }
.input-unit span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

.chooser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.q { margin-bottom: var(--s5); }
.q legend { font-weight: 600; font-size: 16px; margin-bottom: var(--s2); }
.opts { display: grid; gap: 6px; }
.opt { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); font-size: 15px; font-weight: 400; line-height: 1.4; margin: 0; cursor: pointer; transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease); }
.opt:hover { border-color: var(--field); }
.opt input { margin: 3px 0 0; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.verdicts { border-top: 1px solid var(--ink); }
.verdict { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); transition: opacity var(--t-slow) var(--ease); }
.verdict::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * var(--s4)); border-radius: var(--r-ctl); transition: background-color var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease); }
.verdict h3 { font-size: 22px; }
.verdict p { margin: 0; font-size: 16px; }
.verdict .when { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 6px; }
.verdicts.has-pick .verdict { opacity: .5; }
.verdicts.has-pick .verdict.is-pick { opacity: 1; }
.verdicts.has-pick .verdict.is-pick::before { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.verdict .pick-label { display: none; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent); }
.verdict.is-pick .pick-label { display: block; }
@media (max-width: 900px) { .chooser { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }
@media (max-width: 600px) { .verdict { grid-template-columns: minmax(0, 1fr); gap: var(--s2); } }

/* Booking */
.book { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.steps { display: flex; gap: var(--s5); margin: 0 0 var(--s5); padding: 0 0 var(--s3); list-style: none; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps li b { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.steps li[aria-current="step"] b { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s5); }
.form-foot p { margin: 0; font-size: 14px; color: var(--muted); max-width: 30em; }
.notice { display: flex; gap: 10px; padding: var(--s3) var(--s4); margin-bottom: var(--s5); background: var(--sunk); border: 1px solid var(--line); border-radius: var(--r-ctl); font-size: 15px; }
.notice svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--muted); }
.cal-frame { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.error-text { display: block; margin-top: 6px; font-size: 14px; color: var(--flag); }
.contact-line { margin-top: var(--s5); font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .book { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } }

/* CTA band (subpages) */
.section-cta { padding: 0 0 var(--s9); }
.cta-band { display: grid; grid-template-columns: minmax(0, 7fr) auto; gap: var(--s6); align-items: center; padding: var(--s7) 0; border-top: 1px solid var(--ink); }
.cta-band p { margin: var(--s3) 0 0; color: var(--muted); max-width: 34em; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) 0; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; transition: color var(--t) var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .plus { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform var(--t) var(--ease); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0deg); }
.faq .a { padding: 0 0 var(--s5); max-width: 40em; color: var(--ink); }
.faq details[open] .a { animation: fade-in var(--t-slow) var(--ease); }

/* About */
.about { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--s7); align-items: start; }
.about img { width: 200px; height: 200px; object-fit: cover; border-radius: var(--r-panel); }
.about .sig { margin-top: var(--s4); font-size: 15px; color: var(--muted); }
@media (max-width: 700px) { .about { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } .about img { width: 120px; height: 120px; } }

/* ---------- Document pages (security, privacy) ---------- */
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s8); align-items: start; }
.toc { position: sticky; top: 96px; font-size: 14.5px; }
.toc p { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: var(--s2); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; color: var(--muted); text-decoration: none; border-left: 1px solid transparent; transition: color var(--t) var(--ease), border-color var(--t) var(--ease); }
.toc a:hover { color: var(--ink); border-left-color: var(--line-strong); }
.legal { max-width: 40em; }
.legal section { padding: var(--s6) 0; border-top: 1px solid var(--line); }
.legal section:first-child { border-top: 1px solid var(--ink); }
.legal h2 { font-size: 30px; margin-bottom: var(--s4); }
.legal ul { padding-left: 1.1em; }
.legal li { margin-bottom: var(--s2); }
.legal .src { font-size: 14px; color: var(--muted); }
.updated { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } .toc { position: static; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--ink); padding: var(--s8) 0 var(--s6); background: var(--bg); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: var(--s6); }
.foot-brand { display: flex; gap: var(--s4); align-items: flex-start; }
.foot-brand picture { flex: none; }
.foot-brand img { width: 88px; height: 88px; }
.foot-brand .wordmark { margin-bottom: var(--s3); }
.foot-brand p { margin: 0; color: var(--muted); max-width: 22em; }
.foot-col h2 { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: var(--s3); }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 6px; }
.foot-col a { color: var(--ink); text-decoration: none; }
.foot-col a:hover { color: var(--accent); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-base p { margin: 0; }
.foot-base a { color: var(--muted); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* 404 */
.nf { padding: var(--s9) 0; min-height: 60vh; }
.nf-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s7); align-items: center; }
.nf-grid img { width: 200px; height: 200px; }
@media (max-width: 600px) { .nf-grid { grid-template-columns: minmax(0, 1fr); } .nf-grid img { width: 120px; height: 120px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .hero-art, .skip { display: none; }
  body { background: #fff; }
}

/* Lists that carry their own rules never take prose indents */
.prose ul.quote-lines, .prose ul.rule-list { padding-left: 0; }
.prose .quote-lines li, .prose .rule-list li { margin-bottom: 0; }
@media (max-width: 700px) {
  .de-ledger-head span { display: none; }
}
.form-grid .field-group { margin-bottom: 0; }
@media (max-width: 700px) {
}

/* Theme: light by default, dark on request */
.only-dark { display: none !important; }
[data-theme="dark"] .only-dark { display: block !important; }
[data-theme="dark"] .only-light { display: none !important; }
.theme-toggle { font: inherit; font-size: 14px; color: var(--muted); background: none; border: 1px solid var(--line-strong); border-radius: 6px; padding: 6px 10px; min-height: 36px; cursor: pointer; transition: color var(--t) var(--ease), border-color var(--t) var(--ease); }
.theme-toggle:hover { color: var(--ink); border-color: var(--field); }

/* Touch targets: at least 44px tall on phones and touch screens (phone QA, 2026-11-26) */
@media (pointer: coarse), (max-width: 600px) {
  .brand, .mobile-menu summary { min-height: 44px; }
  .mobile-menu .menu-panel a { min-height: 44px; display: flex; flex-direction: column; justify-content: center; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs { margin-bottom: var(--s3); }
  .foot-col li { margin-bottom: 0; }
  .foot-col a { display: inline-flex; align-items: center; min-height: 44px; }
  .text-link { min-height: 44px; }
  .toc a { padding-top: 11px; padding-bottom: 11px; }
  .icon-btn { min-height: 44px; min-width: 44px; }
  .opt { min-height: 48px; align-items: center; }
  .opt input { margin-top: 0; }
  .theme-toggle { min-height: 44px; }
  .faq summary, .reveal summary { min-height: 44px; }
}

/* ====================================================================
   2026-11-26 (evening): motion, guided sequence, systems, demo frame and product looks
   ==================================================================== */
:root { --hh: 72px; --paper-read: #F4E9EC; --stamp: #5C1F33; }
[data-theme="dark"] { --stamp: #E3A6B5; }
@media (max-width: 600px) { :root { --hh: 64px; } }

/* ---------- Page-to-page: cross-document view transitions (no-op where unsupported) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out var(--t-fast) var(--ease) both; }
::view-transition-new(root) { animation: vt-in var(--t-slow) var(--ease) 60ms both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Reading progress: a 2px wine hairline under the header ---------- */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); pointer-events: none; }
@keyframes sp { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) { .site-header::after { animation: sp linear both; animation-timeline: scroll(root block); } }
}
.nav a.is-here { color: var(--accent); }

/* ---------- Row reveal: scroll-driven where supported, IntersectionObserver otherwise ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
  .no-sda .rv { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
  .no-sda .rv.is-in { opacity: 1; transform: none; }
}

/* ---------- Chapters rail (home, wide screens) ---------- */
.chapters { display: none; }
@media (min-width: 1400px) and (min-height: 640px) {
  .js .chapters { display: block; position: fixed; z-index: 30; right: var(--s4); top: 50%; transform: translateY(-50%); }
  .chapters ol { list-style: none; margin: 0; padding: 0; }
  .chapters a { display: flex; align-items: center; justify-content: flex-end; gap: var(--s2); height: 26px; font-size: 13px; color: var(--muted); text-decoration: none; }
  .chapters a::after { content: ""; flex: none; width: 14px; height: 1px; background: var(--field); transition: width var(--t) var(--ease), background-color var(--t) var(--ease); }
  .chapters a span { padding: 2px var(--s2); background: var(--bg); border-radius: 2px; white-space: nowrap; opacity: 0; transform: translateX(4px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
  .chapters:hover a span, .chapters:focus-within a span { opacity: 1; transform: none; }
  .chapters a:hover { color: var(--ink); }
  .chapters a:hover::after { width: 20px; background: var(--ink); }
  .chapters a[aria-current="true"] { color: var(--ink); font-weight: 600; }
  .chapters a[aria-current="true"]::after { width: 26px; height: 2px; background: var(--accent); }
}
@media (min-width: 1640px) and (min-height: 640px) { .chapters a[aria-current="true"] span { opacity: 1; transform: none; } }
@media print { .chapters { display: none !important; } }

/* ---------- Systems index ---------- */
.systems { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr); gap: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--ink); }
.sys-group h3 { margin-bottom: var(--s2); font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--muted); }
.sys-names { list-style: none; margin: 0; padding: 0; }
.sys-names li { padding: var(--s2) 0; border-bottom: 1px solid var(--line); font-family: var(--serif-text); font-size: 20px; line-height: 1.3; break-inside: avoid; }
.sys-names.lead li { padding: var(--s3) 0; font-family: var(--serif-display); font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; }
.sys-names.two { columns: 2; column-gap: var(--s6); }
.sys-note { margin: var(--s6) 0 0; max-width: 48em; color: var(--muted); }
.sys-note .tiny { display: block; margin-top: var(--s2); }
@media (max-width: 900px) { .systems { grid-template-columns: 1fr 1fr; gap: var(--s6); } .sys-group:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .systems { grid-template-columns: minmax(0, 1fr); } .sys-names.two { columns: 1; } }

/* ---------- Demo frame: the Kildrum part around every example screen ---------- */
.frame-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 0 var(--s3); min-height: 40px; margin-bottom: var(--s2); }
.frame-tag { font-family: var(--serif-text); font-style: italic; font-size: 16px; color: var(--accent); }
.frame-what { min-width: 0; padding-left: var(--s3); border-left: 1px solid var(--line-strong); font-size: 13.5px; line-height: 1.2; color: var(--muted); }
.frame-ctl { display: flex; align-items: center; gap: var(--s1); margin-left: auto; }
.frame-btn { height: 32px; padding: 0 var(--s2); border: 0; border-radius: 0; background: none; font: 500 13.5px/1 var(--sans); color: var(--muted); white-space: nowrap; cursor: pointer; transition: color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.frame-btn:hover { color: var(--ink); }
.frame-btn[aria-pressed="true"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.frame-btn.act { margin-left: var(--s2); padding: 0 var(--s3); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); }
.frame-btn.act:hover { border-color: var(--field); }
.frame-btn:disabled { opacity: .5; cursor: default; }
html:not(.js) .frame-ctl { display: none; }
@media (max-width: 700px) { .frame-what { display: none; } .frame-bar { min-height: 44px; } .frame-btn { height: 44px; } .frame-btn.act { height: 36px; } }

/* Every example screen is a product with its own fixed look. It does not follow the site theme: it is a picture of someone else's tool. */
.app { color-scheme: light; color: var(--ink); --stamp: #5C1F33; --paper: #FFFFFF; --paper-ink: #24211D; --paper-muted: #6A635A; --paper-line: #E6E1D8; }
.app [data-step], .app .typing-row { transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.app [data-step].is-hidden { opacity: 0; transform: translateY(6px); }
.postmark { color: var(--stamp); }
.av { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: 10.5px; font-weight: 700; letter-spacing: .01em; }

/* Look 1. Ashby & Lowe, purchases desk: white, navy, system type, tab navigation */
.app-ledger { --bg: #F5F7F9; --surface: #FFFFFF; --sunk: #F3F5F8; --ink: #16202B; --muted: #566473; --line: #E1E5EA; --line-strong: #C7CED7; --field: #8793A1; --accent: #23406B; --accent-tint: #E7EDF6; --ok: #1D6A42; --ok-bg: #E2F1E8; --warn: #855600; --warn-bg: #FBF1DC; --flag: #A8321F; --flag-bg: #FCECE8; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; container-type: inline-size; }
.al-top { display: flex; align-items: stretch; gap: 10px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.al-top > * { align-self: center; }
.al-logo { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--accent); color: #FFFFFF; font-size: 10px; font-weight: 700; }
.al-name { font-size: 13.5px; font-weight: 650; white-space: nowrap; }
.al-nav { display: flex; align-self: stretch; min-width: 0; margin-left: 6px; overflow: hidden; }
.al-nav span { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 2px solid transparent; font-size: 13px; color: var(--muted); white-space: nowrap; }
.al-nav .on { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.al-nav i { min-width: 18px; padding: 1px 5px; border-radius: 9px; background: var(--sunk); font-size: 11px; font-style: normal; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.al-user { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.app-ledger .av { background: var(--accent-tint); color: var(--accent); }
.de-doc-meta { display: flex; justify-content: space-between; gap: var(--s3); padding: 7px 14px; border-bottom: 1px solid var(--line); background: var(--sunk); font-size: 12px; color: var(--muted); white-space: nowrap; }
.de-doc-meta b { color: var(--ink); font-weight: 600; }
.de-doc-meta i { margin: 0 5px; font-style: normal; color: var(--line-strong); }
.app-ledger .btn-approve { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.app-ledger .btn-approve.is-done { background: var(--ok-bg); border-color: var(--ok-bg); color: var(--ok); }
.app-ledger .ledger-list .mini { color: var(--ok); }
@container (max-width: 1150px) { .al-nav span:nth-child(n+5) { display: none; } }
@container (max-width: 760px) { .al-nav span:nth-child(n+4), .al-sync { display: none; } }
@container (max-width: 520px) { .al-nav span:not(.on) { display: none; } .de-doc-meta span:last-child { display: none; } }

/* Look 2. Hollins & Rae, purchasing system: dense ERP, charcoal bar, Tahoma, square corners, assistant docked on the right */
.app-erp { --surface: #FFFFFF; --sunk: #EEF0F2; --ink: #1B1F24; --muted: #59616B; --line: #DADEE3; --line-strong: #BCC3CB; --field: #808A95; --accent: #1F5A8A; --ok: #1F6B3E; --warn: #8A5A00; --flag: #A52A1C; --flag-bg: #FBE9E6; font: 12.5px/1.4 Tahoma, Verdana, "Segoe UI", Geneva, sans-serif; border-radius: 3px; }
.erp-top { display: flex; align-items: stretch; gap: 14px; height: 38px; padding: 0 12px; background: #2A3038; color: #E9ECEF; }
.erp-top > b, .erp-user { align-self: center; white-space: nowrap; }
.erp-mods { display: flex; }
.erp-mods span { display: flex; align-items: center; padding: 0 11px; color: #B9C1CA; }
.erp-mods .on { background: #3A424C; color: #FFFFFF; box-shadow: inset 0 -2px 0 #D9914A; }
.erp-user { margin-left: auto; color: #B9C1CA; }
.erp-body { display: grid; grid-template-columns: minmax(0, 1fr) 336px; min-height: 470px; }
.erp-main { min-width: 0; }
.erp-crumb { display: flex; justify-content: space-between; gap: var(--s3); padding: 9px 12px 0; font-size: 11.5px; color: var(--muted); }
.erp-title { margin: 0; padding: 1px 12px 9px; font: 700 16px/1.3 inherit; font-family: inherit; }
.erp-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 7px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--sunk); }
.erp-filters .f { padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 2px; background: #FFFFFF; white-space: nowrap; }
.erp-filters .n { margin-left: auto; color: var(--muted); }
.erp-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.erp-table th { padding: 6px 12px; border-bottom: 1px solid var(--line-strong); font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: left; white-space: nowrap; }
.erp-table td { padding: 6px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; transition: background-color var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease); }
.erp-table tbody tr:nth-child(even) td { background: #F7F8F9; }
.erp-table .r { text-align: right; }
.erp-table .po { color: var(--accent); }
.erp-table tbody tr.is-hit td { background: #FFF3D4; }
.erp-table tbody tr.is-hit td:first-child { box-shadow: inset 3px 0 0 #D9914A; }
.st { display: inline-flex; align-items: center; gap: 6px; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.late { color: var(--flag); font-weight: 700; }
.st.part { color: var(--warn); }
.st.open { color: var(--muted); }
.erp-foot { display: flex; justify-content: space-between; padding: 7px 12px; font-size: 11.5px; color: var(--muted); }
.erp-assist { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--line-strong); background: var(--sunk); }
.as-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding: 9px 12px; border-bottom: 1px solid var(--line); background: #FFFFFF; }
.as-head b { font-size: 13px; }
.as-head span { font-size: 11.5px; color: var(--muted); }
.as-log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.as-q .who { font-size: 11.5px; color: var(--muted); }
.as-q p { margin: 1px 0 0; font-weight: 700; }
.as-card { border: 1px solid var(--line-strong); border-radius: 2px; background: #FFFFFF; }
.as-card h5 { margin: 0; padding: 7px 10px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }
.as-card table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.as-card td { padding: 5px 0 5px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.as-card { overflow: hidden; }
.as-card td .sub { display: block; font-size: 11.5px; color: var(--muted); }
.as-card td.r { padding-right: 10px; text-align: right; }
.as-card p { margin: 0; padding: 7px 10px; }
.as-card .src { padding: 6px 10px; border-top: 1px solid var(--line); background: var(--sunk); font-size: 11.5px; color: var(--muted); }
.as-card.denied h5 { color: var(--flag); }
.as-wait { font-size: 11.5px; color: var(--muted); }
.as-perm { margin: 0; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.as-input { margin: 0 12px 12px; padding: 7px 9px; border: 1px solid var(--field); border-radius: 2px; background: #FFFFFF; color: var(--muted); }
@media (max-width: 1000px) {
  .erp-body { grid-template-columns: minmax(0, 1fr); }
  .erp-assist { border-left: 0; border-top: 1px solid var(--line-strong); }
  .erp-mods span:not(.on) { display: none; }
}
@media (max-width: 700px) {
  .erp-table :is(th, td):is(:nth-child(3), :nth-child(5)) { display: none; }
  .erp-table :is(th, td) { padding: 6px 8px; }
  .erp-table tbody tr:nth-child(n+7) { display: none; }
  .erp-user { display: none; }
}
@media (max-width: 480px) { .erp-table :is(th, td):is(:nth-child(4), :nth-child(6)) { display: none; } .erp-filters .f:nth-child(n+3) { display: none; } }

/* Look 3. Northgate Freight, work chat: neutral greys, teal, Segoe-style type, round avatars, answers as cards */
.app-chat { --surface: #FFFFFF; --sunk: #F3F2F1; --ink: #201F1E; --muted: #605E5C; --line: #E1DFDD; --line-strong: #C8C6C4; --field: #8A8886; --accent: #17706A; --accent-tint: #DDEFEC; --ok: #1F6B3E; --warn: #8A5A00; --flag: #A52A1C; font: 13.5px/1.45 "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif; border-radius: 8px; }
.ch { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 520px; }
.ch-rail { min-width: 0; border-right: 1px solid var(--line); background: var(--sunk); }
.ch-org { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px 8px; font-weight: 600; }
.ch-org span, .ch-sec { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.ch-sec { padding: 6px 14px 4px; }
.ch-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 0 10px; align-items: center; padding: 7px 14px; }
.ch-row.on { background: #FFFFFF; box-shadow: inset 3px 0 0 var(--accent); }
.ch-row .av { grid-row: 1 / 3; }
.ch-row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-row .t { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ch-row .s { grid-column: 2 / 4; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-chat .av { width: 32px; height: 32px; background: #E1DFDD; color: #3B3A39; font-size: 11.5px; font-weight: 600; }
.app-chat .av.bot { border-radius: 6px; background: var(--accent); color: #FFFFFF; }
.app-chat .av.b { background: #E6E0EC; color: #4B3A66; }
.app-chat .av.c { background: #F1E3D3; color: #6B4423; }
.ch-main { display: flex; flex-direction: column; min-width: 0; }
.ch-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px 0; border-bottom: 1px solid var(--line); }
.ch-head > div { padding-bottom: 9px; min-width: 0; }
.ch-head b { display: block; font-size: 14.5px; font-weight: 600; }
.ch-head .sub { font-size: 12px; color: var(--muted); }
.ch-tabs { display: flex; align-self: flex-end; gap: 16px; margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ch-tabs span { padding-bottom: 9px; }
.ch-tabs .on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.ch-log { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 14px 16px; }
.ch-day { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); }
.ch-day::before, .ch-day::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ch-msg { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0 10px; }
.ch-msg .who { font-size: 12px; color: var(--muted); }
.ch-msg .who b { margin-right: 6px; font-weight: 600; color: var(--ink); }
.ch-msg p { margin: 2px 0 0; max-width: 46em; }
.ch-card { max-width: 430px; margin-top: 6px; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.ch-card h5 { margin: 0; padding: 9px 12px 0; font-size: 13.5px; font-weight: 600; }
.ch-card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 18px; margin: 0; padding: 7px 12px 10px; }
.ch-card dt { color: var(--muted); }
.ch-card dd { margin: 0; font-variant-numeric: tabular-nums; }
.ch-card .sum { padding-top: 4px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.ch-card .src { padding: 7px 12px; border-top: 1px solid var(--line); background: var(--sunk); font-size: 12px; color: var(--muted); }
.ch-wait { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--warn); }
.ch-wait::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ch-typing { margin-left: 42px; font-size: 12px; color: var(--muted); }
.ch-input { margin: 0 16px 14px; padding: 9px 12px; border: 1px solid var(--line-strong); border-bottom: 2px solid var(--accent); border-radius: 4px; color: var(--muted); }
@media (max-width: 900px) { .ch { grid-template-columns: minmax(0, 1fr); } .ch-rail { display: none; } .ch-tabs span:not(.on) { display: none; } }

/* Look 4. Larchfield, automation console: dark, monospace where a log would use it, amber selection */
.app-ops { color-scheme: dark; --surface: #1B1F24; --sunk: #15181C; --ink: #E4E7EA; --muted: #98A2AD; --line: #2B3138; --line-strong: #3B434C; --field: #6B7682; --accent: #E0A84A; --ok: #74C69D; --warn: #E0A84A; --flag: #F2877B; --flag-bg: #33211F; font: 13px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; border-color: #0E1013; }
.ops-top { display: flex; align-items: baseline; gap: 12px; padding: 11px 14px 0; }
.ops-top b { font-size: 14.5px; font-weight: 600; }
.ops-top .org { font-size: 12px; color: var(--muted); }
.ops-top .sched { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.ops-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); white-space: nowrap; }
.ops-state::before, .ex .d { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.ops-tabs { display: flex; gap: 18px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.ops-tabs span { padding: 9px 0 8px; }
.ops-tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.ops-body { display: grid; grid-template-columns: 348px minmax(0, 1fr); min-height: 430px; }
.ops-list { min-width: 0; border-right: 1px solid var(--line); background: var(--sunk); }
.ops-filter { display: flex; justify-content: space-between; gap: var(--s2); padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); white-space: nowrap; }
.ex { display: grid; grid-template-columns: 7px 42px 62px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 7px 14px; border-bottom: 1px solid var(--line); font: 12px/1.4 var(--mono); color: var(--muted); }
.ex .id { color: var(--ink); }
.ex .w { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex.fail .d { background: var(--flag); }
.ex.fail .w { color: var(--flag); }
.ex.on { background: var(--surface); box-shadow: inset 2px 0 0 var(--accent); }
.ops-detail { min-width: 0; padding: 14px 16px; }
.ops-detail h4 { margin: 0; font-size: 15px; font-weight: 600; }
.ops-meta { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 4px 0 12px; padding: 0; font-size: 12px; color: var(--muted); }
.ops-meta b { font: 500 12px/1.5 var(--mono); color: var(--ink); }
.ops-meta .bad { color: var(--flag); }
.ops-meta .good { color: var(--ok); }
.ops-steps { width: 100%; border-collapse: collapse; }
.ops-steps th { padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line-strong); font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: left; white-space: nowrap; }
.ops-steps td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ops-steps .n, .ops-steps .ms { font: 12px/1.6 var(--mono); color: var(--muted); white-space: nowrap; }
.ops-steps .r { text-align: right; }
.ops-steps .r:last-child { padding-right: 0; }
.ops-steps .ok { color: var(--ok); }
.ops-steps .err { color: var(--flag); font-weight: 600; }
.ops-steps .ops-skip, .ops-steps .ops-skip td { color: var(--muted); }
.ops-steps .sub { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.ops-steps .sub b { font-weight: 600; color: var(--ink); }
.ops-err td { padding: 9px 10px; background: var(--flag-bg); box-shadow: inset 2px 0 0 var(--flag); }
.ops-err .code { margin-right: 10px; font: 12px/1.5 var(--mono); color: var(--flag); }
.ops-err .acts { display: flex; gap: 6px; margin-top: 7px; }
.ops-btn { padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); font-size: 12px; color: var(--ink); }
@media (max-width: 900px) {
  .ops-body { grid-template-columns: minmax(0, 1fr); }
  .ops-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .ex:nth-of-type(n+6) { display: none; }
  .ops-top .sched, .ops-top .org { display: none; }
}
@media (max-width: 600px) { .ops-steps :is(th, td):nth-child(4) { display: none; } .ops-detail { padding: 12px; } }
@media (max-width: 700px) { .frame-ctl { flex: 1 0 100%; margin-left: calc(-1 * var(--s2)); } .frame-btn { padding: 0 var(--s2); font-size: 13px; } .frame-btn.act { margin-left: auto; } }

/* ====================================================================
   2026-11-26 (night): authority round. Logos, named offer, founder first, engraving caption, three steps
   ==================================================================== */
.assure span { display: block; font-weight: 400; color: var(--muted); }
.assure + .founder { margin-top: var(--s5); padding-top: var(--s4); }
.founder + .route { margin-top: var(--s4); }
.page-hero .founder { margin-bottom: 0; }
@media (max-width: 600px) {
  .hero { padding-bottom: var(--s8); }
  .kicker-more { display: none; }
  .hero .kicker { margin-bottom: var(--s3); }
  .hero h1 { margin-bottom: var(--s4); }
  .hero .lede { margin-bottom: var(--s5); font-size: 18px; }
  .page-hero { padding-top: var(--s5); }
  .crumbs li { display: flex; align-items: center; }
  .crumbs li + li::before { margin-right: 6px; }
  .nf { padding: var(--s7) 0 var(--s9); }
  .nf .btn-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .nf .btn-row .btn { margin-bottom: var(--s3); }
}

/* Logos of systems I connect to: official files, unaltered, original colours, never as clients (DESIGN-SYSTEM section 2) */
.logo-band { padding: var(--s6) 0; border-top: 1px solid var(--line); }
.logos { display: flex; align-items: center; gap: var(--s5) var(--s6); flex-wrap: wrap; }
.logos-label { margin: 0; flex: none; font-family: var(--serif-text); font-style: italic; font-size: 16px; color: var(--accent); }
.logo-row { display: flex; flex: 1 1 0; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5) var(--s6); margin: 0; padding: 0; list-style: none; }
.logo-row li { display: flex; align-items: center; }
.logo-row img { display: block; height: auto; max-width: none; }
[data-theme="dark"] .logo-row { padding: var(--s4) var(--s5); background: var(--paper); border-radius: var(--r-panel); }
.logos-note { margin: var(--s4) 0 0; max-width: 62em; font-size: 15px; color: var(--muted); }
.logos-note .tiny { display: block; margin-top: var(--s1); }
.section .logos { margin-bottom: var(--s7); }
@media (max-width: 900px) { .logo-row { flex-basis: 100%; justify-content: flex-start; gap: var(--s5) var(--s6); } }
@media (max-width: 600px) { .logo-row { gap: var(--s4) var(--s5); } .logo-row img { transform: scale(.86); transform-origin: left center; } .logo-row li { margin-right: -8px; } }

/* Offer: what's included, and the report thumbnail */
.incl-h { margin: var(--s3) 0 var(--s1); font-size: 13px; font-weight: 600; color: var(--muted); }
.incl { margin: 0 0 var(--s3); padding: 0; list-style: none; }
.incl li { position: relative; padding: 3px 0 3px var(--s4); }
.incl li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--accent); }
.report-thumb { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s6); align-items: center; margin-top: var(--s6); padding: var(--s5); max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); color: var(--ink); text-decoration: none; transition: border-color var(--t) var(--ease); }
.report-thumb:hover { border-color: var(--field); color: var(--ink); }
.report-thumb img { width: 220px; height: 200px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--paper); }
.rt-text { display: grid; gap: var(--s2); font-size: 16px; color: var(--muted); }
.rt-text strong { font-family: var(--serif-text); font-weight: 400; font-size: 22px; color: var(--ink); }
.rt-text .text-link { color: var(--accent); min-height: 0; }
.report-thumb:hover .arrow { transform: translateX(2px); }
@media (max-width: 600px) { .report-thumb { grid-template-columns: minmax(0, 1fr); gap: var(--s4); padding: var(--s4); } .report-thumb img { width: 100%; height: 180px; } }

/* Three steps */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); margin: 0; padding: var(--s6) 0 0; list-style: none; border-top: 1px solid var(--ink); }
.steps3 li { position: relative; }
.steps3 li + li::before { content: ""; position: absolute; left: calc(-1 * var(--s7) + var(--s3)); top: 32px; width: calc(var(--s7) - 2 * var(--s3)); height: 1px; background: var(--line-strong); }
.steps3 svg { display: block; width: 64px; height: 64px; margin-bottom: var(--s4); fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.steps3 svg .flag { stroke: var(--warn); stroke-width: 3; }
.steps3 h3 { font-size: 22px; margin-bottom: var(--s2); }
.steps3 .n { margin-right: .4em; color: var(--accent); }
.steps3 p { margin: 0; color: var(--muted); font-size: 16px; }
.steps3 + .report-thumb { margin-top: var(--s7); }
@media (max-width: 760px) {
  .steps3 { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .steps3 li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--s4); }
  .steps3 li + li::before { display: none; }
  .steps3 svg { width: 48px; height: 48px; grid-row: span 2; margin: 0; }
}
.calc-pay { margin: var(--s4) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); font-weight: 600; }
.calc-pay:empty { display: none; }
.foot-base .tm { flex-basis: 100%; max-width: 78em; font-size: 12.5px; }

/* ---------- 2026-11-26 (late): short home page ---------- */
.about-line { margin: var(--s5) 0 0; max-width: 46em; color: var(--muted); }
.about-line strong { color: var(--ink); }
.more-links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); margin: var(--s3) 0 0; padding: 0; list-style: none; font-size: 15px; }
.more-links a { display: inline-flex; align-items: center; min-height: 44px; }
.offer-note { margin: var(--s4) 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 700px) { #problem .fit-line { padding-top: 0; border-top: 0; } }

/* ====================================================================
   2026-11-26 (later still): compact home hero demo on phones; full systems index
   ==================================================================== */
/* Home hero only, phones only: the document shows as a cropped preview above a shorter entry; the posted log is left to /documents */
@media (max-width: 600px) {
  .hero { padding-bottom: var(--s7); }
  .hero .demo-fig .frame-bar { margin-bottom: 0; }
  .hero .de-doc { padding: var(--s2) var(--s3) 0; overflow: hidden; }
  .hero .de-doc .paper { max-height: 146px; overflow: hidden; padding: var(--s3) var(--s3) 0; border-bottom: 0; border-radius: 2px 2px 0 0; box-shadow: none; }
  .hero .de-doc .paper .p-head { padding-bottom: 6px; margin-bottom: 6px; }
  .hero .de-entry { padding-top: var(--s2); }
  .hero .de-entry-head { min-height: 0; margin-bottom: var(--s2); }
  .hero .field { min-height: 32px; padding: 4px 6px; }
  .hero .field dd { font-size: 13.5px; }
  .hero .field.f-opt { display: none; }
  .hero .field .why { font-size: 11.5px; }
  .hero .lines td { padding: 2px 0; }
  .hero .de-actions { padding: var(--s2) 0 var(--s3); }
  .hero .de-ledger { display: none; }
  .hero .postmark { width: 112px; height: 90px; top: -34px; }
  .hero .demo-fig .caption { margin-top: var(--s2); font-size: 13px; }
  .hero .caption .cap-more { display: none; }
}

/* Systems index: every group as a ruled row, label left, typeset names running on */
.sys-index { margin: var(--s6) 0 0; border-top: 1px solid var(--ink); }
.sys-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--s5); align-items: baseline; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.sys-row h3 { margin: 0; font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--muted); }
.sys-run { list-style: none; margin: 0; padding: 0; font-family: var(--serif-text); font-size: 19px; line-height: 1.55; }
.sys-run li { display: inline; }
.sys-run li span { white-space: nowrap; }
.sys-run li:not(:last-child) span::after { content: "\00A0\00A0\00B7\00A0"; color: var(--field); }
.sys-lead { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); margin: 0; padding: var(--s5) 0 0; list-style: none; font-family: var(--serif-display); font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; }
.logos-more { white-space: nowrap; }
@media (max-width: 760px) {
  .sys-row { grid-template-columns: minmax(0, 1fr); gap: var(--s1); padding: var(--s3) 0; }
  .sys-run { font-size: 17px; }
}

/* ====================================================================
   2026-11-26 (authority and demos): document picker, "When it's wrong", richer report,
   two sign-ins on /claude, method, paperwork, company details
   ==================================================================== */
/* Pick a document like yours: tabs sit in the Kildrum frame, above the customer's screen */
.doc-pick { display: grid; gap: var(--s2); margin-bottom: var(--s2); }
.pick-h { min-width: 0; padding-left: var(--s3); border-left: 1px solid var(--line-strong); font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.pick-tabs { display: flex; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); overflow: hidden; }
.de-tab { flex: 1 1 auto; display: grid; gap: 2px; align-content: center; min-height: 50px; padding: 6px var(--s3); border: 0; border-left: 1px solid var(--line); background: none; font: 400 12px/1.25 var(--sans); color: var(--muted); text-align: left; cursor: pointer; transition: background-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.de-tab:first-child { border-left: 0; }
.de-tab b { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.de-tab:hover { background: var(--sunk); }
.de-tab[aria-pressed="true"] { background: var(--accent-tint); box-shadow: inset 0 -2px 0 var(--accent); }
.de-tab[aria-pressed="true"] b { color: var(--accent); }
html:not(.js) .doc-pick, html:not(.js) .de-progress { display: none; }
.demo-lead { margin: 0 0 var(--s3); max-width: 44em; font-size: 16px; line-height: 1.45; color: var(--ink); }
.de-progress { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: var(--s2) var(--s4); align-items: center; margin-bottom: var(--s2); }
.de-step-now { margin: 0; font-size: 15px; color: var(--ink); }
.de-step-now b { display: inline-block; margin-right: var(--s2); font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.de-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 0; list-style: none; }
.de-step { display: grid; align-items: center; width: 100%; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
.de-step::before { content: ""; height: 3px; border-radius: 1px; background: var(--line-strong); transition: background-color var(--t) var(--ease); }
.de-step.is-done::before { background: var(--accent); }
.de-step:hover::before { background: var(--field); }
.seq-now { margin: 0 0 var(--s2); font-size: 15px; color: var(--ink); min-height: 1.5em; }
.seq-now b { margin-right: var(--s2); font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
html:not(.js) .seq-now { display: none; }
.demo-note { margin: var(--s3) 0 0; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--muted); }
.demo-note strong { font-weight: 600; color: var(--ink); }
.demo-note a { margin-left: var(--s2); white-space: nowrap; }
.paper .src { border-radius: 2px; transition: background-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.paper .src.on { background: var(--paper-read); box-shadow: 0 0 0 2px var(--paper-read); }
.paper tbody.src.on { box-shadow: none; }
.paper tbody.src td { transition: background-color var(--t) var(--ease); }
.paper tbody.src.on td { background: var(--paper-read); }
.paper .p-more { color: var(--paper-muted); font-style: italic; }
.paper .r .hand { transform: rotate(-4deg); }
.field.is-coded { background: var(--accent-tint); }
.field.is-flagged .c, .field.is-checked .c { white-space: nowrap; }
.field s { color: var(--muted); margin-right: 6px; }
.postmark.is-struck { animation-duration: 240ms; }
@media (max-width: 700px) {
  .pick-tabs { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .pick-tabs::-webkit-scrollbar { display: none; }
  .de-tab { flex: none; min-height: 48px; }
  .de-progress { grid-template-columns: minmax(0, 1fr) 84px; }
  .de-step { pointer-events: none; }
  .demo-lead { font-size: 15px; }
}
@media (max-width: 600px) {
  .hero .doc-pick { margin-bottom: var(--s2); }
  .hero .dn-more { display: none; }
  .hero .demo-note { margin-top: var(--s2); padding-top: var(--s2); }
}

/* When it's wrong: three frames, each a crop of the customer's own screen */
.wrong { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); margin: 0; padding: 0; list-style: none; counter-reset: w; }
.wrong > li { counter-increment: w; display: grid; grid-template-rows: auto 1fr; gap: var(--s3); min-width: 0; }
.wr-h h3 { font-size: 22px; }
.wr-h h3::before { content: counter(w) "."; margin-right: .4em; color: var(--accent); }
.wr-h p { margin: var(--s1) 0 0; font-size: 16px; color: var(--muted); }
.wr-card { align-self: start; font-size: 13.5px; }
.wr-card .wr-strip { padding: 10px 14px; background: var(--sunk); border-bottom: 1px solid var(--line); }
.wr-card .paper { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: 8px 12px; font-size: 12px; }
.wr-card .paper .lbl { display: block; font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--paper-muted); }
.wr-card .paper .hand { font-size: 15px; }
.wr-card .fields { margin: 0; padding: 0 14px; border-top: 0; }
.wr-card .field { border-bottom: 0; min-height: 44px; }
.wr-foot { display: flex; align-items: center; gap: var(--s2); min-height: 36px; padding: 6px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.wr-foot .mini { flex: none; width: 18px; height: 18px; color: var(--ok); }
.wr-foot b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .wrong { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .wrong > li { gap: var(--s2); }
}
@media (max-width: 600px) {
  .wr-h h3 { font-size: 20px; }
  .wr-h p, .wr-card .wr-strip, .wrong-fig .caption { display: none; }
}

/* Proof report: pass mark against result, and the 20 documents */
.acc.pass td:first-child, .acc.docs td:first-child { font-weight: 600; }
.acc.docs { font-size: 14px; }
.acc.docs td { padding: 6px var(--s3) 6px 0; }
.acc .res { font-weight: 600; white-space: nowrap; }
.acc .res.ok { color: var(--ok); }
.acc .res.warn { color: var(--warn); }
.acc .res.miss { color: var(--flag); }
.acc td.note { color: var(--muted); }
.report-body > h4 + .small { margin: calc(-1 * var(--s2)) 0 var(--s3); color: var(--muted); }
@media (max-width: 760px) { .acc .c-wide { display: none; } }
/* Home: the report thumbnail sits under the offer, small on phones */
.home-offer .report-thumb { margin-top: var(--s5); }
@media (max-width: 600px) {
  .home-offer .report-thumb { grid-template-columns: 84px minmax(0, 1fr); gap: var(--s3); padding: var(--s3); align-items: center; }
  .home-offer .report-thumb img { width: 84px; height: 100px; }
  .home-offer .rt-text { font-size: 15px; gap: 2px; }
  .home-offer .rt-text strong { font-size: 19px; }
  .home-offer .rt-text > span:not(.text-link) { display: none; }
}

/* /claude: one question, two sign-ins, side by side in the Hollins & Rae look */
.erp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 430px; }
.erp-split .erp-assist { border-left: 0; }
.erp-split .erp-assist + .erp-assist { border-left: 1px solid var(--line-strong); }
.as-who { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #FFFFFF; }
.as-who .av { background: #2A3038; color: #FFFFFF; border-radius: 2px; }
.as-who b { display: block; font-size: 13px; }
.as-who span { font-size: 11.5px; color: var(--muted); }
.as-who .ro { margin-left: auto; white-space: nowrap; }
.as-card td:last-child { padding-right: 10px; }
@media (max-width: 760px) {
  .erp-split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .erp-split .erp-assist + .erp-assist { border-left: 0; border-top: 1px solid var(--line-strong); }
}

/* Method (how we work): numbered rows, what happens, what you get */
.method { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); counter-reset: m; }
.method-row { counter-increment: m; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: var(--s6); padding: var(--s5) 0; border-bottom: 1px solid var(--line); align-items: start; }
.method-row h3 { font-size: 24px; }
.method-row h3::before { content: "Step " counter(m); display: block; margin-bottom: var(--s1); font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--accent); }
.method-row .m-when { margin: var(--s1) 0 0; font-size: 15px; color: var(--muted); }
.method-row p { margin: 0 0 var(--s2); }
.method-row .incl { margin: 0; font-size: 16px; }
.method-row .incl-h { margin-top: 0; }
@media (max-width: 760px) { .method-row { grid-template-columns: minmax(0, 1fr); gap: var(--s3); } }
/* Paperwork: the documents a client gets, with when each one arrives */
.paperwork { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.pw-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pw-row h3 { font-size: 20px; }
.pw-row p { margin: 0; font-size: 16px; color: var(--muted); }
.pw-row .pw-when { font-size: 14px; font-weight: 600; color: var(--ink); text-align: right; }
@media (max-width: 760px) { .pw-row { grid-template-columns: minmax(0, 1fr); gap: var(--s1); } .pw-row .pw-when { text-align: left; } }
/* Company details: each line hidden until config.js has its value */
.co-facts { margin: 0; border-top: 1px solid var(--ink); }
.co-facts > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.co-facts dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.co-facts dd { margin: 0; }
@media (max-width: 600px) { .co-facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.foot-col .muted { color: var(--muted); }
.foot-base [data-co] { flex-basis: 100%; }
.app-ledger { --paper-read: #DCE7F7; }
/* Reserve the tallest state so nothing below the demo moves while it plays */
@media (min-width: 701px) { .doc-demo .de-body { min-height: 480px; } }
@media (max-width: 600px) {
  .hero .doc-demo .screen { display: flex; flex-direction: column; min-height: 586px; }
  .hero .doc-demo .de-body { flex: 1; grid-template-rows: auto 1fr; }
  .wrong > li:nth-child(2) .de-doc-meta { display: none; }
  .home-offer .report-thumb img { width: 64px; height: 76px; }
}
.doc-demo .frame-bar { margin-bottom: var(--s1); }

/* Phone budget for the home page (11 screens at 390 x 664): the depth lives on /documents and /how-we-work */
@media (max-width: 600px) {
  .hero .demo-note, .hero .de-doc-meta { display: none; }
  .hero .de-doc .paper { max-height: 118px; }
  #how .section-head p, .logo-band .logos-note .tiny { display: none; }
  .wrong > li:not(:nth-child(2)) .wr-foot { display: none; }
  .home-built .built-row:nth-child(n+3) { display: none; }
}
.foot-brand .foot-where { margin-top: var(--s2); font-size: 14px; }
@media (min-width: 901px) { .foot-grid { grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); } }

.doc-demo .frame-bar { flex-wrap: nowrap; }
.doc-demo .pick-h { white-space: nowrap; }
@media (min-width: 901px) {
  .wrong { grid-template-rows: auto auto; }
  .wrong > li { grid-row: span 2; grid-template-rows: subgrid; }
}
.acc.docs td.note { padding-left: var(--s3); }
.acc.docs th.c-wide:not(.r) { padding-left: var(--s3); }
@media (max-width: 760px) { .acc.docs td, .acc.pass td { overflow-wrap: anywhere; } .acc.pass { font-size: 14px; } }
@media (max-width: 700px) {
  .doc-demo .pick-h { white-space: normal; }
  .acc.docs { font-size: 13px; }
  .acc.docs td, .acc.docs th { padding-right: var(--s2); }
  .acc.docs th { letter-spacing: .02em; }
}
.doc-demo .pick-h { flex: 1 1 0; }
.doc-demo .frame-ctl { flex: none; }
@media (max-width: 700px) { .de-progress { grid-template-columns: minmax(0, 1fr) 60px; } .de-step-now { font-size: 14.5px; white-space: nowrap; } }

/* ---------- 2026-11-26 offer architecture ---------- */
/* Ladder strip: the four steps with one price each. One per offer page. */
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.ladder li { position: relative; padding: var(--s5) var(--s5) var(--s5) 0; }
.ladder li + li { padding-left: var(--s5); border-left: 1px solid var(--line); }
.ladder li + li::before { content: ""; position: absolute; left: -6px; top: 34px; width: 10px; height: 10px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); background: var(--bg); transform: rotate(45deg); }
.ladder h3 { font-size: 22px; }
.ladder .l-price { margin: var(--s1) 0 var(--s2); font-weight: 600; color: var(--accent); }
.ladder p { margin: 0; font-size: 16px; color: var(--muted); }
.ladder-note { margin: var(--s4) 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .ladder { grid-template-columns: minmax(0, 1fr); }
  .ladder li, .ladder li + li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s4); align-items: baseline; padding: var(--s3) 0; border-left: 0; }
  .ladder li + li { border-top: 1px solid var(--line); }
  .ladder li + li::before { display: none; }
  .ladder h3 { font-size: 20px; }
  .ladder .l-price { margin: 0; text-align: right; }
  .ladder li > p:last-child { grid-column: 1 / -1; font-size: 15px; }
}
/* Who it's for: one row of links (home logo band) */
.who-for { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s5); margin: var(--s3) 0 0; font-size: 15px; }
.who-for span { color: var(--muted); }
.who-for a { display: inline-flex; align-items: center; min-height: 44px; }
/* Folded detail (/documents#detail): the FAQ pattern holding wider content */
.faq .a.wide { max-width: none; }
.folds .chooser { margin-top: var(--s4); }
.folds .sys-index { margin-top: var(--s5); }
.reveal > .demo-fig { margin: var(--s3) 0 var(--s6); }
/* Price list (/pricing): the ledger with a pounds line under each price */
.ledger .price-alt { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); white-space: nowrap; }
.buy-line { margin: var(--s3) 0 0; font-size: 15px; color: var(--muted); }
.buy-line strong { color: var(--ink); }
.site-footer .foot-grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); }
@media (max-width: 900px) { .site-footer .foot-grid { grid-template-columns: 1fr 1fr; } }
/* Look: Calder & Finch Lettings compliance tracker (still, /for/letting-agents) */
.app-lets { --surface: #FFFFFF; --sunk: #F3F5F1; --ink: #20261F; --muted: #5C665A; --line: #DFE4DB; --line-strong: #C3CBBD; --accent: #2F5D45; --ok: #2F6B3F; --ok-bg: #E6F1E7; --warn: #8A5A00; --warn-bg: #FBF0D9; --flag: #A12C20; --flag-bg: #FBE8E5; color: var(--ink); font: 13.5px/1.45 "Trebuchet MS", "Lucida Grande", "Segoe UI", sans-serif; border-radius: 8px; }
.lt-top { display: flex; align-items: center; gap: var(--s4); padding: 12px 16px; border-bottom: 2px solid var(--accent); }
.lt-top b { font-size: 15px; }
.lt-top .lt-mod { color: var(--muted); }
.lt-top .lt-sync { margin-left: auto; font-size: 12px; color: var(--muted); }
.lt-bar { display: flex; gap: var(--s5); padding: 8px 16px; background: var(--sunk); font-size: 12.5px; color: var(--muted); }
.lt-bar b { color: var(--ink); }
.lt-table { width: 100%; border-collapse: collapse; }
.lt-table th { padding: 8px 16px; font-size: 11.5px; font-weight: 600; text-align: left; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.lt-table td { padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lt-table tr:last-child td { border-bottom: 0; }
.lt-table .sub { display: block; font-size: 12px; color: var(--muted); }
.lt-table .num { white-space: nowrap; }
@media (max-width: 700px) { .lt-table .lt-src, .lt-top .lt-sync, .lt-bar span:nth-child(n+3) { display: none; } .lt-table th, .lt-table td { padding: 8px 10px; } }
@media (max-width: 700px) { .lt-table { font-size: 12.5px; } .lt-table th, .lt-table td { padding: 8px 6px; } .lt-table th:first-child, .lt-table td:first-child { padding-left: 10px; } .lt-table .sub { display: none; } .lt-table .num { white-space: normal; } .lt-table .pill { padding: 0 6px; font-size: 11.5px; } }

/* ---------- One currency at a time (data-cur set in <head>; UK-only pages are pounds only) ---------- */
span.c-usd, span.c-gbp, span.c-eur { display: inline !important; margin: 0 !important; padding: 0 !important; font: inherit !important; color: inherit !important; }
:root:not([data-cur="gbp"]) span.c-gbp, :root:not([data-cur="eur"]) span.c-eur, :root[data-cur="gbp"] span.c-usd, :root[data-cur="eur"] span.c-usd { display: none !important; }
.foot-toggles { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cur-switch { display: inline-flex; gap: 4px; }
.cur-switch [aria-pressed="true"] { color: var(--ink); border-color: var(--field); }
:root[data-cur-fixed] .cur-switch { display: none; }

/* ---------- 2026-11-28: simple, multi-service, confidence first ---------- */
/* Services row: the buyer's problem as the title, one line, the service name. Home hero (right column) only. */
.hero-services { padding-top: var(--s5); }
.hero-services h2 { font-size: 24px; margin-bottom: var(--s3); }
.products.services .product-row { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2) var(--s5); padding: var(--s4) 0; align-items: center; }
.products.services .product-row h3 { font-size: 21px; margin-bottom: 2px; }
.products.services .product-row p { font-size: 15.5px; }
.services-note { margin: var(--s3) 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 1100px) { .hero-home .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .products.services .product-row { grid-template-columns: minmax(0, 1fr); padding: var(--s3) 0; }
  .products.services .product-row p { font-size: 15px; }
  .hero-services { padding-top: 0; }
}
/* Promises: six ruled lines, each a promise and the one sentence behind it. No icons. */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s7); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.promises li { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.promises strong { display: block; font-family: var(--serif-text); font-weight: 400; font-size: 20px; line-height: 1.25; }
.promises p { margin: var(--s1) 0 0; font-size: 15.5px; color: var(--muted); }
@media (max-width: 900px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s5); } }
@media (max-width: 600px) { .promises { grid-template-columns: minmax(0, 1fr); } .promises li { padding: var(--s3) 0; } .promises strong { font-size: 18px; } .promises p { font-size: 15px; } }
/* What happens next: numbered steps with what you send and what you get */
.next { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); counter-reset: nx; }
.next > li { counter-increment: nx; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s2) var(--s7); padding: var(--s4) 0; border-bottom: 1px solid var(--line); align-items: start; }
.next h3 { font-size: 22px; }
.next h3::before { content: counter(nx) "."; margin-right: var(--s2); color: var(--accent); font-variant-numeric: lining-nums; }
.next .n-when { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.next dl { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: var(--s1) var(--s3); margin: 0; font-size: 16px; }
.next dt { padding-top: 3px; font-size: 13px; font-weight: 600; color: var(--muted); }
.next dd { margin: 0; }
@media (max-width: 760px) { .next > li { grid-template-columns: minmax(0, 1fr); padding: var(--s3) 0; } .next h3 { font-size: 20px; } .next dl { font-size: 15.5px; } }
/* Cross-links under the call band: every service one click from every page */
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s5); margin: 0; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 15px; }
.also span { color: var(--muted); }
.also a { display: inline-flex; align-items: center; min-height: 44px; }
.section .paperwork + .report-thumb { margin-top: var(--s6); }
@media (max-width: 600px) { .site-footer { padding-top: var(--s7); } .foot-base { margin-top: var(--s6); } }
.hero-services { padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); }
.hero-services .products { border-top-color: var(--line-strong); }
.hero-services .product-row:last-child { border-bottom: 0; }
.hero-services .services-note { margin-top: 0; padding-top: var(--s3); border-top: 1px solid var(--line); }
.book-after { margin: 0; font-size: 16px; }
#book-later .notice { margin-bottom: var(--s4); }
@media (max-width: 600px) {
  .section { padding: var(--s7) 0; }
  .section-head { margin-bottom: var(--s5); }
  .hero-services { padding: var(--s4); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s4); }
  .promises strong { font-size: 17px; } .promises p { font-size: 14.5px; line-height: 1.45; }
  #see .report-thumb { display: none; }
  .foot-brand div > p:first-of-type { display: none; }
  .pw-row { padding: var(--s3) 0; }
}
@media (max-width: 600px) { #see .pw-row p { display: none; } #see .pw-row { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--s3); } #see .pw-row h3 { font-size: 18px; } #see .pw-row .pw-when { max-width: 11em; text-align: right; font-size: 13px; } }
.page-hero-grid.solo { grid-template-columns: minmax(0, 1fr); } .page-hero-grid.solo h1 { max-width: 20em; }

/* ====================================================================
   2026-11-28: demos as production tools. Payout reconciliation (new look), richer chrome on the
   purchases desk, run history with failed step and fix, access log on the Claude example.
   ==================================================================== */
/* Look 6. Pellow & Vane, payouts: warm white, petrol accent, left sidebar, dense money tables, Avenir-style type */
.app-recon { --bg: #FAF9F7; --surface: #FFFFFF; --sunk: #F5F4F1; --ink: #1C1F21; --muted: #5E6468; --line: #E6E4DF; --line-strong: #CFCCC5; --field: #8B8F92; --accent: #0E6478; --accent-hover: #0A5163; --accent-tint: #E3F0F2; --ok: #1E6B45; --ok-bg: #E3F2E9; --warn: #855600; --warn-bg: #FBF1DC; --flag: #A3301F; --flag-bg: #FCEBE7; font: 13px/1.45 "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif; border-radius: 8px; container-type: inline-size; }
.app-recon :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pv { display: grid; grid-template-columns: 188px minmax(0, 1fr); }
.pv-side { display: flex; flex-direction: column; padding: 14px 10px; border-right: 1px solid var(--line); background: var(--sunk); }
.pv-org { display: flex; align-items: center; gap: 9px; padding: 0 6px 14px; }
.pv-org > span:last-child { display: grid; line-height: 1.25; }
.pv-org b { font-size: 13px; font-weight: 600; white-space: nowrap; }
.pv-org b + span { font-size: 11.5px; color: var(--muted); }
.pv-mark { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 6px; background: var(--ink); color: #FFFFFF; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.pv-side ul { margin: 0; padding: 0; list-style: none; }
.pv-side li { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 8px; border-radius: 5px; color: var(--muted); }
.pv-side li.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); }
.pv-side i { min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--flag-bg); color: var(--flag); font-size: 11px; font-style: normal; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; transition: background-color var(--t) var(--ease), color var(--t) var(--ease); }
.pv-side i.is-zero { background: var(--line); color: var(--muted); }
.pv-sync { display: flex; align-items: center; gap: 6px; margin-top: auto; padding: 12px 8px 0; font-size: 11.5px; color: var(--muted); }
.pv-sync .dot { color: var(--ok); }
.pv-main { min-width: 0; }
.pv-bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.pv-crumb { margin-right: auto; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-crumb i { margin: 0 6px; font-style: normal; color: var(--line-strong); }
.pv-crumb b { color: var(--ink); font-weight: 600; }
.pv-env { padding: 1px 7px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 11px; color: var(--muted); }
.app-recon .av { background: var(--accent-tint); color: var(--accent); }
.pv-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px 12px; }
.pv-head h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 16px; font-weight: 600; }
.pv-head p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.pv-pill { transition: background-color var(--t) var(--ease), color var(--t) var(--ease); }
.pv-acts { display: flex; gap: 8px; flex: none; }
.pv-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink); font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: default; transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t-fast) var(--ease); }
button.pv-btn { cursor: pointer; }
button.pv-btn:hover { border-color: var(--field); }
.pv-primary { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
button.pv-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.pv-btn:active { transform: scale(.98); }
.pv-approve.is-done, .pv-approve.is-done:hover { background: var(--ok-bg); border-color: var(--ok-bg); color: var(--ok); cursor: default; }
.pv-confirm { position: absolute; z-index: 3; top: 52px; right: 16px; width: 300px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); box-shadow: 0 12px 28px -12px rgba(20, 24, 28, .28), 0 1px 2px rgba(20, 24, 28, .08); animation: pv-pop var(--t) var(--ease) both; }
.pv-confirm p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.pv-confirm p b { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; }
.pv-confirm div { display: flex; justify-content: flex-end; gap: 8px; }
@keyframes pv-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.pv-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 16px; border: 1px solid var(--line); border-radius: 6px; }
.pv-sum > div { padding: 8px 12px; border-left: 1px solid var(--line); }
.pv-sum > div:first-child { border-left: 0; }
.pv-sum dt { font-size: 11.5px; color: var(--muted); }
.pv-sum dd { margin: 1px 0 0; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; transition: color var(--t-slow) var(--ease); }
.pv-sum .is-bad dd { color: var(--flag); }
.pv-sum .is-good dd { color: var(--ok); }
.pv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 14px; padding: 14px 16px; }
.app-recon table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.app-recon th { position: sticky; top: 0; padding: 6px 10px; border-bottom: 1px solid var(--line-strong); background: var(--surface); font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: left; white-space: nowrap; }
.app-recon td { padding: 7px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; transition: background-color var(--t-slow) var(--ease), color var(--t-slow) var(--ease); }
.app-recon :is(th, td):first-child { padding-left: 0; }
.app-recon :is(th, td):last-child { padding-right: 0; }
.app-recon .r { text-align: right; }
.pv-acct { margin-left: 4px; font-size: 11.5px; color: var(--muted); }
.pv-z { color: var(--muted); }
.pv-off td { background: var(--flag-bg); }
.pv-off td:last-child { color: var(--flag); font-weight: 600; }
.pv-off td:first-child { box-shadow: inset 2px 0 0 var(--flag); padding-left: 8px; }
.pv-fixed td:last-child { color: var(--ok); font-weight: 600; }
.pv-total td { border-top: 1px solid var(--ink); font-weight: 600; }
.pv-vat td { color: var(--muted); border-bottom: 0; }
.pv-ex { position: relative; align-self: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--sunk); font-size: 12.5px; }
.pv-ex-h { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.pv-ex-h b { font-variant-numeric: tabular-nums; }
.pv-ex-st { color: var(--warn); font-weight: 600; transition: color var(--t) var(--ease); }
.pv-ex-st.is-done { color: var(--ok); }
.pv-ex-t { margin: 4px 0 2px; font-size: 13.5px; font-weight: 600; }
.pv-ex p { margin: 0 0 8px; color: var(--muted); }
.pv-ex p.pv-ex-t { color: var(--ink); }
.pv-jnl caption { padding-bottom: 4px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: left; }
.app-recon .pv-jnl td { padding: 4px 0; background: transparent; font-size: 12px; }
.pv-ex-foot { position: relative; display: flex; align-items: center; min-height: 72px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); }
.pv-ex-foot b { color: var(--ink); font-weight: 600; }
.pv-pm { right: -4px; top: -4px; width: 100px; height: 80px; }
.pv-low { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 14px; padding: 0 16px 14px; }
.pv-low h5 { margin: 0 0 4px; font-size: 12.5px; font-weight: 600; }
.pv-recent tr.on td { background: var(--accent-tint); }
.pv-id { font-weight: 600; }
.pv-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.pv-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pv-st.ok { color: var(--ok); }
.pv-st.bad { color: var(--flag); font-weight: 600; }
.pv-log ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.pv-log li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.pv-log .t { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv-log li.pv-new { animation: fill-in var(--t-slow) var(--ease) both; }
@container (max-width: 900px) {
  .pv { grid-template-columns: minmax(0, 1fr); }
  .pv-side { display: none; }
  .pv-grid, .pv-low { grid-template-columns: minmax(0, 1fr); }
  .pv-ex { align-self: stretch; }
}
@container (max-width: 600px) {
  .pv-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-sum > div:nth-child(3) { border-left: 0; }
  .pv-sum > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pv-head { flex-direction: column; }
  .pv-acts .pv-btn:not(.pv-approve) { display: none; }
  .pv-confirm { position: static; width: auto; }
  .app-recon .pv-n { display: none; }
  .pv-env { display: none; }
  .pv-recent tbody tr:nth-child(n+5) { display: none; }
  .app-recon td, .app-recon th { padding-left: 6px; padding-right: 6px; }
  .pv-tbl td:first-child { white-space: normal; }
  .pv-tbl .pv-acct, .pv-long { display: none; }
  .pv-tbl td { font-size: 12.5px; }
}
@container (max-width: 400px) { .pv-acct { display: none; } .pv-sum dd { font-size: 15px; } }

/* Purchases desk (Ashby & Lowe): module label, sync status, document status, field status, confirm, activity */
.al-mod { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--line-strong); font-weight: 500; color: var(--muted); }
.al-sync { display: inline-flex; align-items: center; gap: 6px; }
.al-sync .dot { color: var(--ok); }
.al-nav i.al-ex { background: var(--warn-bg); color: var(--warn); transition: background-color var(--t) var(--ease); }
.de-doc-meta { align-items: center; }
.de-crumb { overflow: hidden; text-overflow: ellipsis; }
.de-meta-r { display: inline-flex; align-items: center; gap: 10px; }
.de-doc-meta .pill { height: 20px; font-size: 11.5px; transition: background-color var(--t) var(--ease), color var(--t) var(--ease); }
.field.is-read .c { color: var(--muted); font-weight: 400; white-space: nowrap; }
.field.is-read .c::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--ok); vertical-align: 1px; }
.de-confirm { position: absolute; z-index: 2; right: var(--s4); bottom: 58px; width: 290px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); box-shadow: 0 12px 28px -12px rgba(16, 24, 36, .3), 0 1px 2px rgba(16, 24, 36, .08); animation: pv-pop var(--t) var(--ease) both; }
.de-confirm p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.de-confirm p b { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; }
.de-confirm div { display: flex; justify-content: flex-end; gap: 8px; }
.de-confirm .btn-edit, .de-confirm .btn-approve { display: inline-flex; align-items: center; height: 30px; font-size: 13px; }
.app-ledger .de-confirm .btn-approve { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.de-ledger { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.de-activity { border-left: 1px solid var(--line); }
.act-list { min-height: 136px; margin: 0; padding: 0 var(--s4) var(--s2); list-style: none; }
.act-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; align-items: center; height: 34px; border-top: 1px solid var(--line); font-size: 12.5px; }
.act-list li > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-list .t { color: var(--muted); font-variant-numeric: tabular-nums; }
.act-list li.is-new { animation: fill-in var(--t-slow) var(--ease) both; }
.act-list .act-empty { color: var(--muted); }
@container (max-width: 760px) {
  .de-ledger { grid-template-columns: minmax(0, 1fr); }
  .de-activity { border-left: 0; border-top: 1px solid var(--line); }
  .de-src { display: none; }
  .de-confirm { left: var(--s3); right: var(--s3); width: auto; }
}
@container (max-width: 760px) { .app-ledger .al-sync { display: none; } }
@container (max-width: 520px) { .al-mod { display: none; } .de-doc-meta span.de-meta-r, .de-doc-meta span.de-pill { display: inline-flex; } .de-crumb { min-width: 0; } }
@media (min-width: 701px) { .de-entry .postmark { top: -16px; width: 130px; height: 104px; } }

/* Automation console (Larchfield): app bar, header actions, clickable runs, fix note, exceptions queue */
.ops-app { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #121519; font-size: 12px; color: var(--muted); white-space: nowrap; }
.ops-ws { color: var(--ink); font-weight: 600; }
.ops-mod { padding-left: 12px; border-left: 1px solid var(--line-strong); }
.ops-crumb { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ops-crumb i { margin: 0 6px; font-style: normal; color: var(--line-strong); }
.ops-envb { margin-left: auto; padding: 1px 7px; border: 1px solid #5A4A2A; border-radius: 4px; color: var(--accent); font-size: 11px; }
.app-ops .av { background: #2B3138; color: var(--ink); }
.ops-top { align-items: center; padding-top: 12px; }
.ops-hbtns { display: flex; gap: 6px; }
.app-ops :focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ops-tabs button { padding: 9px 0 8px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; transition: color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.ops-tabs button:hover { color: var(--ink); }
.ops-tabs i { margin-left: 4px; padding: 0 6px; border-radius: 9px; background: #23402F; color: var(--ok); font-size: 11px; font-style: normal; }
.app-ops button.ex { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; transition: background-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.app-ops button.ex:hover { background: #1F242A; }
.app-ops button.ex.on { background: var(--surface); }
.ops-detail { animation: fill-in var(--t-slow) var(--ease) both; }
.ops-changed td { background: rgba(116, 198, 157, .06); }
.ops-fix { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 12.5px; color: var(--muted); }
.ops-fix b { color: var(--ink); font-weight: 600; }
.ops-fix.ok b { color: var(--ok); }
.ops-fix .ops-btn { margin-left: auto; font: inherit; font-size: 12px; cursor: pointer; transition: border-color var(--t) var(--ease); }
.ops-fix .ops-btn:hover { border-color: var(--field); }
.ops-exq { min-height: 430px; }
.ops-extable td, .ops-extable th { padding-left: 14px; }
.ops-extable td:last-child, .ops-extable th:last-child { padding-right: 14px; }
@media (max-width: 900px) { .ops-crumb, .ops-sync, .ops-hbtns { display: none; } .ops-exq { min-height: 0; } }
@media (max-width: 600px) { .ops-extable :is(th, td):is(:nth-child(2), :nth-child(5)) { display: none; } .ops-extable :is(th, td):nth-child(4) { display: table-cell; } .ops-tabs > span { display: none; } .ops-extable :is(th, td) { padding-left: 10px; } .ops-mod { display: none; } }

/* Hollins & Rae: access log under the two sign-ins */
.erp-log { border-top: 1px solid var(--line-strong); }
.erp-log-h { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--sunk); border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.erp-log-h b { color: var(--ink); font-size: 12.5px; }
.erp-log .erp-table tbody tr.lg td { transition: opacity var(--t-slow) var(--ease), background-color var(--t-slow) var(--ease); }
.erp-log .erp-table tbody tr.lg.is-pending td { opacity: 0; }
@media (max-width: 700px) { .erp-log-h span { display: none; } .erp-log .erp-table :is(th, td):is(:nth-child(3), :nth-child(4)) { display: none; } .erp-log .erp-table :is(th, td):is(:nth-child(2), :nth-child(5)) { display: table-cell; } .erp-log .erp-table tbody tr { display: table-row; } }
@media (pointer: coarse), (max-width: 600px) {
  .app-ops button.ex, .ops-tabs button { min-height: 44px; }
  .ops-fix .ops-btn, button.pv-btn { min-height: 44px; }
}

/* ====================================================================
   2026-11-28: free 10-invoice check (/free-check) and the 12-checks list (/checklist)
   ==================================================================== */
/* Places card: a true cap (three free checks), set by freeCheckSlotsLeft in config.js. No timer, no countdown. */
.slots-card h2 { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.4; margin: 0 0 var(--s3); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); margin: 0 0 var(--s4); padding: 0; list-style: none; }
.slots li { display: flex; flex-direction: column; align-items: center; gap: var(--s1); padding: var(--s3) var(--s2); border: 1px solid var(--accent); border-radius: var(--r-ctl); color: var(--accent); transition: border-color var(--t) var(--ease), color var(--t) var(--ease); }
.slots li b { font-family: var(--serif-display); font-weight: 400; font-size: 28px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.slots li span { font-size: 13px; font-weight: 600; }
.slots li.is-taken { border-color: var(--line-strong); border-style: dashed; color: var(--muted); }
.slots-card p { margin: 0 0 var(--s3); font-size: 15px; line-height: 1.5; color: var(--muted); }
.slots-card p:last-child { margin-bottom: 0; }
.slots-card p strong { color: var(--ink); }
.slots-card .big { font-family: var(--serif-display); font-size: 28px; line-height: 1.1; color: var(--ink); margin-bottom: var(--s2); }

/* Twelve checks: a numbered, ruled list with a box to tick and a line to write on (printable). */
.checks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); counter-reset: ck; }
.checks > li { counter-increment: ck; display: grid; grid-template-columns: 28px minmax(0, 4fr) minmax(0, 7fr); gap: var(--s2) var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); align-items: start; break-inside: avoid; }
.checks .box { width: 22px; height: 22px; margin-top: 4px; border: 1.5px solid var(--field); border-radius: 3px; }
.checks h3 { font-size: 22px; line-height: 1.25; }
.checks h3::before { content: counter(ck) ". "; color: var(--accent); font-variant-numeric: lining-nums; }
.checks p { margin: 0 0 var(--s2); }
.checks .ask { margin: var(--s2) 0 0; font-size: 15px; color: var(--muted); }
.checks .ask strong { color: var(--ink); font-weight: 600; }
.checks .write { display: block; height: 28px; margin-top: var(--s2); border-bottom: 1px dotted var(--field); }
.checks .write + .write { margin-top: 0; }
@media (max-width: 760px) {
  .checks > li { grid-template-columns: 28px minmax(0, 1fr); padding: var(--s4) 0; }
  .checks > li > :nth-child(3) { grid-column: 2; }
  .checks h3 { font-size: 20px; }
}
.check-tools { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; margin-top: var(--s5); }
.print-only { display: none; }

@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  :root, :root[data-theme="dark"] { --bg: #fff; --surface: #fff; --ink: #1E1B18; --muted: #4F4942; --line: #D9D1C3; --line-strong: #BFB5A4; --field: #7E7568; --accent: #5C1F33; }
  html { color-scheme: light; }
  body { color: var(--ink); background: #fff; }
  .mobile-cta, .section-cta, .no-print, .btn-row, .check-tools, .site-header::after { display: none !important; }
  .print-only { display: block; }
  .page-hero { padding: 0 0 var(--s5); }
  .page-hero h1 { font-size: 30px; max-width: none; margin-bottom: var(--s3); }
  .page-hero .lede { font-size: 14px; margin-bottom: 0; max-width: none; }
  .section { padding: var(--s5) 0; }
  .wrap { max-width: none; padding: 0; }
  .crumbs { display: none; }
  .checks > li { grid-template-columns: 20px minmax(0, 4fr) minmax(0, 7fr); gap: 2px var(--s4); padding: 9px 0; font-size: 12.5px; line-height: 1.45; }
  .checks h3 { font-size: 15.5px; }
  .checks .box { width: 14px; height: 14px; margin-top: 3px; }
  .checks .ask { font-size: 11.5px; margin-top: 2px; }
  .checks .write { height: 18px; margin-top: 2px; }
  .print-foot { margin-top: var(--s4); font-size: 11px; color: var(--muted); }
  a { color: inherit; text-decoration: none; }
  .rv { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ====================================================================
   2026-11-28 (customer review): product imagery on the home page.
   Real renders of the example screens (assets/shots, made by Playwright from the demos), never mock-ups.
   ==================================================================== */
/* One hero image per market: Xero, pounds and VAT for UK and Irish visitors, QuickBooks and dollars otherwise. */
:root[data-cur="gbp"] .cur-us, :root[data-cur="eur"] .cur-us, :root:not([data-cur="gbp"]):not([data-cur="eur"]) .cur-uk { display: none; }
.hero-home .hero-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: var(--s7); align-items: center; }
.hero-home h1 { font-size: clamp(36px, 4.1vw, 52px); }
.hero-shot { margin: 0; min-width: 0; }
.hero-shot .frame-bar { margin-bottom: var(--s2); }
.shot { display: block; border: 1px solid var(--line-strong); border-radius: var(--r-panel); background: var(--paper); box-shadow: var(--float); overflow: hidden; transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.shot:hover { border-color: var(--field); }
.shot img { display: block; width: 100%; height: auto; }
.hero-shot .caption a { white-space: nowrap; }
.free-line { margin: var(--s3) 0 0; max-width: 30em; font-size: 15px; line-height: 1.5; color: var(--muted); }
.free-line a { color: var(--ink); font-weight: 600; }
.free-line a:hover { color: var(--accent); }
@media (max-width: 1100px) {
  .hero-home .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .hero-shot { max-width: 760px; }
}
@media (max-width: 600px) { .hero-shot .caption a { display: none; } }

/* Services grid: four cards, each with a crop of its own example screen (home #services). */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
.svc { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); color: var(--ink); text-decoration: none; overflow: hidden; transition: border-color var(--t) var(--ease); }
.svc:hover { color: var(--ink); border-color: var(--field); }
.svc-shot { display: block; aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.svc-shot img { display: block; width: 128%; max-width: none; height: auto; }
.svc-body { display: flex; flex-direction: column; flex: 1; gap: var(--s2); padding: var(--s5); }
.svc-name { font-size: 14px; font-weight: 600; color: var(--accent); }
.svc h3 { font-size: 24px; }
.svc p { margin: 0; font-size: 16px; color: var(--muted); }
.svc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); margin-top: auto; padding-top: var(--s4); font-size: 15px; font-weight: 600; }
.svc-foot .text-link { min-height: 0; color: var(--accent); }
.svc:hover .arrow { transform: translateX(3px); }
.svc-cap { margin: var(--s3) 0 var(--s5); }
@media (max-width: 760px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .svc-shot { aspect-ratio: 16 / 7; }
  .svc-shot img { width: 150%; }
  .svc-body { padding: var(--s4); }
  .svc h3 { font-size: 21px; }
  .svc p { font-size: 15px; }
}

/* Sample proof report: page one of the PDF beside what it is and the paperwork list (home #see). */
.sample { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.sample-img { display: block; max-height: 620px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--r-panel); box-shadow: var(--float); background: var(--paper); transition: border-color var(--t) var(--ease); }
.sample-img:hover { border-color: var(--field); }
.sample-img img { display: block; width: 100%; height: auto; }
.sample-side h3 { margin-bottom: var(--s2); }
.sample-side > p { margin: 0 0 var(--s4); max-width: 36em; }
.sample-side .btn { white-space: normal; text-align: left; padding-top: 10px; padding-bottom: 10px; }
.sample-side .btn .muted { font-weight: 400; }
.sample-side .paperwork { margin-top: var(--s6); }
@media (max-width: 900px) {
  .sample { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .sample-img { max-height: 380px; max-width: 520px; }
}

/* Who you deal with: what Matt has built as an engineer, under the photo block. */
.who-built { margin-top: var(--s5); border-top-color: var(--line-strong); }
.who-built .built-row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); padding: var(--s3) 0; }
.who-built .built-row h3 { font-size: 19px; }
.who-built .built-row p { font-size: 16px; color: var(--muted); }
@media (max-width: 700px) { .who-built .built-row { grid-template-columns: minmax(0, 1fr); gap: var(--s1); } }
.report-pdf { margin: var(--s3) 0 0; font-size: 15px; }
.calc-presets { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); }
.calc-presets .frame-btn.act { margin-left: 0; height: auto; min-height: 36px; padding: 6px var(--s3); white-space: normal; text-align: left; line-height: 1.25; }
@media (max-width: 700px) { .calc-presets .frame-btn.act { min-height: 44px; } }
.sample-side .btn { flex-wrap: wrap; justify-content: flex-start; }
.built-h { margin: var(--s6) 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.built-h + .who-built { margin-top: var(--s2); }

/* ====================================================================
   Guides (/guides, /guides/<slug>): long-form reading. Built from src/guides/*.md by tools/build.py.
   ==================================================================== */
.guide-wrap { max-width: calc(760px + 2 * var(--gutter)); }
.guide-hero { padding-bottom: var(--s6); }
.guide-hero h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.12; }
.guide-hero .lede { margin: var(--s5) 0 0; max-width: none; color: var(--muted); }
.byline { display: flex; align-items: center; gap: var(--s3); margin: var(--s5) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--muted); }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.byline a { color: var(--ink); font-weight: 600; }
.guide-body { padding-bottom: var(--s9); font-size: 18px; line-height: 1.7; }
.guide-body > * { max-width: 68ch; }
.guide-body p { margin: 0 0 var(--s5); }
.guide-body h2 { margin: var(--s8) 0 var(--s4); font-family: var(--serif-text); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; letter-spacing: 0; scroll-margin-top: 96px; }
.guide-body h3 { margin: var(--s6) 0 var(--s3); font-size: 21px; }
.guide-body ul, .guide-body ol { margin: 0 0 var(--s5); padding-left: 1.3em; }
.guide-body li { margin-bottom: var(--s2); padding-left: 2px; }
.guide-body li::marker { color: var(--accent); }
.guide-body strong { font-weight: 600; }
.guide-body code { padding: 1px 5px; border: 1px solid var(--line); border-radius: 3px; background: var(--sunk); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86em; overflow-wrap: anywhere; }
.guide-body a { overflow-wrap: anywhere; }
.guide-body .table-wrap { margin: 0 0 var(--s5); overflow-x: auto; }
.guide-body table { width: 100%; max-width: 30em; border-collapse: collapse; font-size: 17px; font-variant-numeric: lining-nums tabular-nums; }
.guide-body th, .guide-body td { padding: var(--s2) 0; border-bottom: 1px solid var(--line); text-align: left; }
.guide-body th { border-bottom-color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.guide-body .num { text-align: right; white-space: nowrap; }
.guide-body #sources { margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--line); font-family: var(--sans); font-size: 17px; font-weight: 600; }
.guide-body #sources + ul { padding-left: 1.1em; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.guide-body #sources + ul a { color: var(--muted); }
.guide-body #sources + ul a:hover { color: var(--accent); }
.guide-note { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.guide-list { border-top: 1px solid var(--ink); }
.guide-row { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: var(--s2) var(--s6); align-items: baseline; padding: var(--s5) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color var(--t) var(--ease); }
.guide-row:hover { color: var(--ink); background: var(--surface); }
.guide-row h3 { font-size: 22px; }
.guide-row:hover h3 { color: var(--accent); }
.guide-row p { margin: 0; font-size: 16px; color: var(--muted); }
.guide-row .g-meta { font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) { .guide-row { grid-template-columns: minmax(0, 1fr); padding: var(--s4) 0; } .guide-row h3 { font-size: 20px; } }
@media (max-width: 600px) { .guide-body { font-size: 17px; line-height: 1.65; padding-bottom: var(--s8); } .guide-body h2 { margin-top: var(--s7); } }
.related { margin: var(--s5) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.related a { margin-right: var(--s3); }
.related-band .related { margin: 0; padding: var(--s4) 0; }
.related strong { margin-right: var(--s2); color: var(--ink); font-weight: 600; }
.related a { display: inline-block; padding: 4px 0; }
@media (max-width: 600px) { .guide .crumbs li[aria-current] { display: none; } }
