/* Harrowell: the lender pages (home, /lenders, /try, /examples, /deal-teams).
   Paper and ink, one accent (ledger blue), serif headlines, plain sans body,
   small monospace for labels and numbers, thin rules, generous space.
   The older guide pages still use /styles.css. */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Hanken+Grotesk:wght@400;500;600&display=swap");

@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/eb-garamond-latin.woff2") format("woff2");
}

:root {
  --paper: #f6f2ea;
  --sunk: #f6f2ea;
  --card: #f6f2ea;
  --ink: #1d1b17;
  --ink-2: #47433b;
  --muted: #857f73;
  --rule: #e1d9ca;
  --accent: #7b2d22;
  --accent-deep: #5f2219;
  --accent-soft: rgba(123, 45, 34, 0.06);
  --brass: #7b2d22;
  --highlight: transparent;
  --ok: #2f6a45;
  --warn: #9a5a17;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --serif-italic: "Cormorant Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --wide: 72rem;
  --gutter: 1.25rem;
  color-scheme: light;
}


* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { text-wrap: balance; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.2; margin: 0 0 0.5rem; }
em, .accent-italic { font-family: var(--serif-italic); font-style: italic; color: var(--accent); font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
html:not(.js) .needs-js { display: none; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 48rem) { :root { --gutter: 2.5rem; } }

/* Small labels: monospace, small caps feel */
.label, .tag, .eyebrow, .col-head, .when {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header: sticky, one button */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 1.6rem; font-size: 0.9rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:not(.nav-cta) { display: none; }
@media (min-width: 54rem) { .nav a:not(.nav-cta) { display: inline; } }
.nav .nav-cta { color: var(--paper); background: var(--ink); padding: 0.45rem 0.9rem; border-radius: 2px; white-space: nowrap; }
.nav .nav-cta:hover { background: var(--accent); color: var(--paper); }

/* Buttons */
.button, .button-line {
  display: inline-block;
  font: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  border: 1px solid var(--ink);
  cursor: pointer;
  line-height: 1.3;
}
.button { background: var(--ink); color: var(--paper); }
.button:hover { background: var(--accent); border-color: var(--accent); }
.button-line { background: transparent; color: var(--ink); }
.button-line:hover { color: var(--accent); border-color: var(--accent); }
.cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.cta .button, .cta .button-line { max-width: 100%; }
.cta-note { margin: 1rem 0 0; max-width: 34rem; font-size: 0.9rem; color: var(--muted); }

/* Hero */
.hero { padding: 4rem 0 4rem; }
@media (min-width: 48rem) { .hero { padding: 7rem 0 6rem; } }
.hero .wrap > * { max-width: 46rem; }
.eyebrow { margin: 0 0 1.5rem; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 1.45rem + 3.7vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0;
  max-width: 15.5em;
}
.hero .wrap > h1 { max-width: 15.5em; }
.live { color: var(--accent); font-family: var(--serif-italic); font-style: italic; }
.js .live.rotating { display: inline-block; transition: opacity 0.35s ease, transform 0.35s ease; }
.js .live.out { opacity: 0; transform: translateY(0.18em); }
@media (prefers-reduced-motion: reduce) { .js .live.rotating { transition: none; } }
.lede { margin: 1.75rem 0 0; max-width: 36rem; font-size: 1.15rem; color: var(--ink-2); }
.hero-meta { margin: 2rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.hero-meta li { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); }
.hero-meta li::before { content: ""; display: inline-block; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); margin-right: 0.55rem; vertical-align: 0.1em; }
.status-line { margin: 1.5rem 0 0; color: var(--muted); font-size: 0.92rem; max-width: 40rem; }
.calc-hero { padding-bottom: 2.5rem; }
@media (min-width: 48rem) { .calc-hero { padding: 5.5rem 0 3rem; } }
.calc-hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); }

/* Sections */
section { border-top: 1px solid var(--rule); padding: 4.5rem 0; }
@media (min-width: 48rem) { section { padding: 6.5rem 0; } }
section.calc { border-top: 0; padding-top: 0; }
.tag { margin: 0 0 1rem; }
.headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 1.3rem + 2vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 1.25rem;
  max-width: 19em;
}
.intro { color: var(--ink-2); max-width: 38rem; margin: 0 0 2.5rem; }
.headline + .cards, .headline + .steps, .headline + .faq, .headline + .spec, .headline + .two-col, .headline + .plain-list, .headline + .rows, .headline + .price, .headline + .panel, .headline + .drawn { margin-top: 2.5rem; }
.note { color: var(--muted); font-size: 0.85rem; margin: 1rem 0 0; max-width: 46rem; }
.muted { color: var(--muted); }

/* Proof wall: real catches from the demo run */
.proof-head { display: grid; gap: 0.5rem 2rem; }
.demo-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); border: 1px solid currentColor; border-radius: 2px; padding: 0.3rem 0.6rem;
  margin: 0 0 1.25rem;
}
.wall { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.catch { background: var(--card); border: 1px solid var(--rule); border-radius: 3px; padding: 1.15rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.catch-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.catch h3 { font-size: 1.22rem; margin: 0; }
.catch p { margin: 0; font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; }
.pill {
  align-self: flex-start; margin-top: auto;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.02em;
  border: 1px solid var(--rule); border-radius: 999px; padding: 0.22rem 0.65rem; color: var(--ink);
  background: var(--paper); font-variant-numeric: tabular-nums;
}
.pill.decl { border-color: var(--warn); color: var(--warn); }
.pill.wait { border-color: var(--accent); color: var(--accent); }
.pill.person { border-color: var(--ink); }
.catch.miss { background: transparent; border-style: dashed; }
.catch.run { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.catch.run .catch-top { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.catch.run p { color: color-mix(in srgb, var(--paper) 82%, transparent); }
.run-figs { margin: 0.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.run-figs div { min-width: 0; }
.run-figs dt { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 62%, transparent); }
.run-figs dd { margin: 0.15rem 0 0; font-family: var(--serif); font-size: 1.85rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.wall-foot { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: baseline; }
.wall-foot .note { margin: 0; max-width: 44rem; }
.wall-foot a { font-size: 0.92rem; white-space: nowrap; }

/* Cards: pain-first label, name, two sentences */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 56rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 56rem) { .cards.cards-two { grid-template-columns: repeat(2, 1fr); max-width: 54rem; } }
.cards li { background: var(--card); border: 1px solid var(--rule); border-radius: 3px; padding: 1.5rem; min-width: 0; }
.cards .pain { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); margin: 0 0 2.25rem; line-height: 1.45; }
.cards .n { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.cards p { margin: 0; color: var(--ink-2); }
.cards h3 a { text-decoration-color: var(--rule); }

/* Numbered rows (fuller lists on /lenders) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows > li { display: grid; gap: 0.35rem 2rem; padding: 1.35rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 52rem) { .rows > li { grid-template-columns: 3.5rem 15rem 1fr; align-items: baseline; } }
.rows .n { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.rows h3 { font-size: 1.3rem; margin: 0; }
.rows p { margin: 0; color: var(--ink-2); max-width: 42rem; }

/* Drawn interface: broker email into a checked case and a chase draft */
.drawn { margin: 0; }
.drawn-grid { display: grid; gap: 0.5rem; align-items: stretch; }
@media (min-width: 64rem) { .drawn-grid { grid-template-columns: minmax(0, 0.9fr) 2.25rem minmax(0, 1.25fr) 2.25rem minmax(0, 0.95fr); gap: 0; } }
.pane { background: var(--card); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.pane-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--rule); background: var(--sunk); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pane-bar i { width: 0.45rem; height: 0.45rem; border-radius: 50%; border: 1px solid var(--rule); display: inline-block; }
.pane-bar span { margin-left: 0.35rem; }
.pane-body { padding: 0.9rem 1rem 1rem; font-size: 0.86rem; line-height: 1.5; flex: 1; }
.pane-body p { margin: 0 0 0.6rem; }
.pane-body p:last-child { margin-bottom: 0; }
.mail-meta { display: grid; gap: 0.15rem; padding-bottom: 0.7rem; margin-bottom: 0.7rem; border-bottom: 1px solid var(--rule); font-size: 0.8rem; color: var(--muted); }
.mail-meta b { color: var(--ink); font-weight: 600; }
.mail-files { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.8rem; }
.mail-files span { font-family: var(--mono); font-size: 0.68rem; border: 1px solid var(--rule); border-radius: 2px; padding: 0.15rem 0.4rem; color: var(--muted); background: var(--paper); }
.arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); min-height: 2rem; }
.arrow svg { width: 1.4rem; height: 1.4rem; transform: rotate(90deg); }
@media (min-width: 64rem) { .arrow svg { transform: none; } }
.case-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1rem; align-items: baseline; margin-bottom: 0.8rem; }
.case-head h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; line-height: 1.2; }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 0.9rem; border-top: 1px solid var(--rule); }
.figs div { padding: 0.45rem 0.6rem 0.45rem 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.figs dt { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.figs dd { margin: 0.1rem 0 0; font-family: var(--mono); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.figs .key dd { color: var(--accent); }
.mini-head { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.35rem; }
.ticks { list-style: none; margin: 0 0 0.9rem; padding: 0; font-size: 0.82rem; }
.ticks:last-child { margin-bottom: 0; }
.ticks li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.22rem 0; border-bottom: 1px dotted var(--rule); }
.ticks li:last-child { border-bottom: 0; }
.ticks b { font-family: var(--mono); font-size: 0.66rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.ticks .pass b { color: var(--ok); }
.ticks .gap b { color: var(--warn); }
.draft-pane .pane-body { font-size: 0.85rem; }
.draft-flag { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--warn); margin: 0 0 0.7rem !important; }
.draft-pane ul { margin: 0 0 0.6rem; padding-left: 1.1rem; }
.draft-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; padding: 0.7rem 1rem; border-top: 1px solid var(--rule); }
.draft-actions span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; border: 1px solid var(--rule); border-radius: 2px; padding: 0.3rem 0.6rem; color: var(--muted); }
.draft-actions span:first-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.drawn figcaption { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); max-width: 46rem; }

/* How it works: week-marked rows */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: step; }
.steps > li { display: grid; gap: 0.5rem 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 52rem) { .steps > li { grid-template-columns: 11rem 14rem 1fr; padding: 2.25rem 0; } }
.week { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0.35rem 0 0; }
.steps h3 { margin: 0; font-size: 1.55rem; }
.steps h3 .num { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.35rem; }
.promise { font-family: var(--serif-italic); font-style: italic; color: var(--accent); font-size: 1.2rem; line-height: 1.35; margin: 0 0 0.6rem; }
.steps p { margin: 0; color: var(--ink-2); max-width: 40rem; }
.steps .promise { color: var(--accent); }

/* Older timeline markup (kept for /deal-teams) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 2rem 1.75rem; border-left: 1px solid var(--rule); margin-left: 0.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -0.4rem; top: 0.35rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--paper); border: 1px solid var(--accent); }
.timeline li:last-child::before { background: var(--accent); }
@media (min-width: 56rem) {
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .timeline li { border-left: 0; margin: 0; padding: 1.75rem 1.5rem 0 0; border-top: 1px solid var(--rule); }
  .timeline li::before { left: 0; top: -0.42rem; }
}
.when { margin: 0 0 0.5rem; color: var(--accent); }
.timeline p:last-child { margin: 0; color: var(--ink-2); }

/* Contrast line */
.contrast { padding: 4.5rem 0; background: var(--sunk); }
@media (min-width: 48rem) { .contrast { padding: 6rem 0; } }
.contrast p { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); line-height: 1.18; max-width: 22em; text-wrap: balance; }
.contrast .muted-line { color: var(--muted); }

/* Price and terms */
.price { display: grid; gap: 0.75rem; margin: 0 0 2.5rem; max-width: 54rem; }
@media (min-width: 40rem) { .price { grid-template-columns: 1fr 1fr; } }
.price > div { border: 1px solid var(--rule); background: var(--card); border-radius: 3px; padding: 1.4rem 1.5rem; }
.price .figure { font-family: var(--serif); font-size: clamp(2.4rem, 1.9rem + 1.8vw, 3.2rem); line-height: 1; margin: 0.6rem 0 0.4rem; font-variant-numeric: lining-nums; }
.price p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.price .usd, .price .per { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.spec { margin: 0; border-top: 1px solid var(--ink); max-width: 54rem; }
.spec > div { display: grid; gap: 0.2rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 40rem) { .spec > div { grid-template-columns: 13rem 1fr; gap: 1.5rem; } }
.spec dt { font-weight: 600; }
.spec dd { margin: 0; color: var(--ink-2); }

/* Lists and two columns */
.plain-list { margin: 0; padding-left: 1.2rem; max-width: 46rem; }
.plain-list li { margin-bottom: 0.6rem; }
.plain-list li::marker { color: var(--accent); }
.two-col { display: grid; gap: 2rem; max-width: 62rem; }
@media (min-width: 52rem) { .two-col { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.two-col h3 { margin-bottom: 0.9rem; }

/* FAQ */
.faq { max-width: 54rem; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1rem; color: var(--accent); font-family: var(--mono); font-size: 1.1rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary .q { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); margin-right: 0.75rem; vertical-align: 0.2em; letter-spacing: 0.04em; }
.faq details p { margin: 0 0 1.1rem; color: var(--ink-2); max-width: 44rem; }

/* Closing call */
.contact { padding: 5rem 0 5.5rem; }
@media (min-width: 48rem) { .contact { padding: 7rem 0; } }
.contact .headline { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); max-width: 14em; }
.contact .email { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 2.25rem 0 3rem; color: var(--muted); font-size: 0.85rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: baseline; }
.site-footer .wordmark { color: var(--ink); font-size: 0.85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer a { color: inherit; }

/* Readers (/try, /examples) */
.tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem; margin: 0 0 1.5rem; }
@media (min-width: 48rem) { .tabs { display: flex; gap: 0.5rem; } }
.tabs button { font: inherit; font-size: 0.95rem; color: var(--muted); background: transparent; border: 1px solid var(--rule); border-radius: 2px; padding: 0.6rem 1rem; cursor: pointer; text-align: left; line-height: 1.3; }
.tabs button span { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.85; margin-top: 0.15rem; }
.tabs button:hover { color: var(--ink); border-color: var(--muted); }
.tabs button[aria-selected="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
@media (max-width: 30rem) { .tabs button { font-size: 0.85rem; padding: 0.55rem 0.6rem; } }
html:not(.js) .tabs { display: none; }
html:not(.js) .panel + .panel { margin-top: 1.5rem; }

.panel { border: 1px solid var(--rule); background: var(--card); border-radius: 3px; padding: 1.25rem; }
@media (min-width: 48rem) { .panel { padding: 1.75rem; } }
.reader-panel { border: 0; background: none; padding: 0; }
.reader { display: grid; gap: 1.5rem; }
.reader > div { min-width: 0; }
@media (min-width: 60rem) { .reader { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; } }
.reader-samples { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; }
.reader-samples button, .reader-btn { font: inherit; font-size: 0.9rem; border: 1px solid var(--rule); background: transparent; color: var(--ink); padding: 0.5rem 0.8rem; border-radius: 2px; cursor: pointer; }
.reader-samples button:hover { border-color: var(--accent); color: var(--accent); }
.reader-btn { background: var(--ink); color: var(--paper); border-color: var(--ink); padding: 0.75rem 1.2rem; }
.reader-btn:hover { background: var(--accent); border-color: var(--accent); }
.reader-btn[disabled] { opacity: 0.6; cursor: wait; }
.reader textarea { width: 100%; min-height: 13rem; font: inherit; font-size: 0.95rem; line-height: 1.5; padding: 0.9rem 1rem; border: 1px solid var(--rule); border-radius: 3px; background: var(--card); color: var(--ink); resize: vertical; }
.reader textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.reader-actions { margin: 0.75rem 0 0; }
.reader-result { border: 1px solid var(--rule); background: var(--card); border-radius: 3px; padding: 1.25rem; min-height: 12rem; min-width: 0; }
.reader-result h3 { font-size: 1.15rem; margin: 0 0 0.75rem; }
.reader-result .col-head { margin-top: 1.1rem; }
.reader-result .draft { margin-top: 0.25rem; }
.reader-empty { color: var(--muted); margin: 0; }
.reader-next { margin-top: 1rem; }
.reader-next p { margin: 0 0 0.75rem; max-width: 34rem; }
.reader-spec { max-width: none; margin-bottom: 0.5rem; }
.reader-spec > div { padding: 0.6rem 0; }
@media (min-width: 40rem) { .reader-spec > div { grid-template-columns: 7.5rem 1fr; gap: 1rem; } }
.reader-spec dd strong { color: var(--accent); font-family: var(--mono); font-weight: 400; }
.col-head { margin: 0 0 0.85rem; display: block; }
.checks { list-style: none; margin: 0; padding: 0; font-size: 0.93rem; }
.checks li { position: relative; padding: 0 0 0.6rem 1.6rem; line-height: 1.45; }
.checks li::before { position: absolute; left: 0; top: 0.05rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; font-size: 0.7rem; line-height: 1.05rem; text-align: center; font-weight: 700; }
.checks .ok::before { content: "\2713"; color: var(--ok); border: 1px solid var(--ok); }
.checks .warn::before { content: "!"; color: var(--warn); border: 1px solid var(--warn); }
.checks .item::before { content: ""; width: 0.4rem; height: 0.4rem; top: 0.5rem; left: 0.3rem; background: var(--accent); }
.draft { border: 1px solid var(--ink); border-radius: 3px; padding: 1rem; background: var(--paper); }
.draft p { margin: 0; }
.draft-body { font-size: 0.93rem; }
.draft .draft-note { margin-top: 0.7rem; font-size: 0.8rem; color: var(--muted); }
.memo { margin: 0; padding-left: 1.2rem; font-size: 0.93rem; }
.memo li { margin-bottom: 0.35rem; }

.flow { display: grid; gap: 1.5rem; }
.flow .col { min-width: 0; }
@media (min-width: 60rem) {
  .flow { grid-template-columns: 1fr 1.1fr 1fr; gap: 0; }
  .flow .col { padding-right: 1.5rem; }
  .flow .col + .col { border-left: 1px solid var(--rule); padding-left: 1.5rem; }
  .flow .col:last-child { padding-right: 0; }
}
.msg { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px 10px 10px 2px; padding: 0.9rem 1rem; font-size: 0.93rem; }
.msg p { margin: 0; }
.msg .msg-meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.03em; color: var(--muted); margin-bottom: 0.5rem; }
.msg .files { margin: 0.75rem 0 0; padding-top: 0.6rem; border-top: 1px solid var(--rule); font-size: 0.8rem; color: var(--muted); }
pre.sample { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.example-run { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.example-run .note { margin: 0; }
.adds { margin: 1.75rem 0 0; max-width: 46rem; }
.adds p { margin: 0 0 0.75rem; color: var(--ink-2); }

/* Print */
@media print {
  :root { --paper: #fff; --card: #fff; --sunk: #fff; --ink: #111; --ink-2: #222; --muted: #444; --rule: #ccc; --accent: #2a4c9e; }
  .site-header { position: static; backdrop-filter: none; }
  .nav, .cta, .needs-js, #try { display: none !important; }
  section { padding: 6mm 0; }
  .catch.run { background: #fff; color: #111; }
}

/* Pages whose hero sits on the .wrap itself (/try, /examples, /deal-teams) */
.wrap.hero { padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap.hero > * { max-width: 46rem; }
.wrap.hero > h1 { max-width: 16em; }
.catch-top span:first-child { white-space: nowrap; }
.catch-top span:last-child { text-align: right; }
.pane-bar { margin: 0; }

/* ------------------------------------------------------------------
   The try-it box (try-it.js): pick or paste an email, get it back done.
   Used on home, /lenders, /try and /examples. Mobile first.
   ------------------------------------------------------------------ */
.tryit { display: grid; gap: 1rem; margin: 2.25rem 0 0; min-width: 0; }
.hero .wrap > .tryit, .wrap.hero > .tryit { max-width: none; }
@media (min-width: 60rem) { .tryit.is-ready { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: start; } }
.tryit-in { min-width: 0; }
.tryit-label { display: block; margin: 0 0 0.6rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tryit-samples { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; }
.tryit-samples button {
  font: inherit; font-size: 0.95rem; line-height: 1.25; cursor: pointer;
  color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: 999px;
  padding: 0.6rem 1rem; min-height: 2.75rem;
}
.tryit-samples button:hover { border-color: var(--accent); color: var(--accent); }
.tryit-samples button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.tryit textarea {
  display: block; width: 100%; height: 9.5rem; min-height: 6rem; resize: vertical;
  font: inherit; font-size: 0.92rem; line-height: 1.5; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule); border-radius: 3px; padding: 0.85rem 1rem;
}
.tryit textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (min-width: 60rem) { .tryit textarea { height: 16rem; } }
.tryit-go { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0.9rem 0 0; }
.tryit-btn { font-size: 1.05rem; padding: 0.85rem 2rem; min-width: 9rem; }
.tryit-btn[disabled] { opacity: 0.7; cursor: wait; }
.tryit-note { margin: 0; font-size: 0.82rem; color: var(--muted); }
.tryit-noscript { margin: 2rem 0 0; padding: 1rem 1.25rem; border: 1px solid var(--rule); background: var(--card); border-radius: 3px; max-width: 40rem; }

/* The result card */
.tryit-out { min-width: 0; scroll-margin-top: 5rem; }
.done { background: var(--card); border: 1px solid var(--ink); border-radius: 4px; padding: 1.25rem; min-width: 0; }
@media (min-width: 48rem) { .done { padding: 1.6rem 1.75rem; } }
.done-empty { border-color: var(--rule); border-style: dashed; background: transparent; }
.done-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; margin: 0 0 0.9rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase; }
.done-kind { color: var(--accent); }
.done-time { color: var(--ok); font-variant-numeric: tabular-nums; }
.done-busy .done-time { color: var(--muted); }
.done-wait { margin: 0; color: var(--ink-2); }
.done-step { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.done-bar { height: 3px; background: var(--rule); overflow: hidden; border-radius: 2px; }
.done-bar span { display: block; height: 100%; width: 35%; background: var(--accent); animation: done-slide 1.2s ease-in-out infinite; }
@keyframes done-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .done-bar span { animation: none; width: 100%; opacity: 0.4; } }
.done-summary { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; margin: 0 0 1.1rem; }
.done-facts { margin: 0 0 0.5rem; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule); }
@media (min-width: 30rem) { .done-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; } }
.done-facts div { padding: 0.55rem 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.done-facts dt { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.done-facts dd { margin: 0.15rem 0 0; font-size: 0.95rem; color: var(--ink); }
.done-head { margin: 1.25rem 0 0.6rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.done-checks, .done-missing { list-style: none; margin: 0; padding: 0; font-size: 0.93rem; }
.done-checks li, .done-missing li { position: relative; padding: 0 0 0.5rem 1.75rem; line-height: 1.45; }
.done-checks li::before { position: absolute; left: 0; top: 0.08rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; font-size: 0.72rem; line-height: 1.15rem; text-align: center; font-weight: 700; }
.done-checks .ok::before { content: "\2713"; color: var(--paper); background: var(--ok); }
.done-checks .flag::before { content: "!"; color: var(--paper); background: var(--warn); }
.done-missing li::before { content: ""; position: absolute; left: 0.3rem; top: 0.45rem; width: 0.5rem; height: 0.5rem; border: 1px solid var(--warn); border-radius: 50%; }
.done-reply { margin: 1.25rem 0 0; padding: 1rem 1.1rem 1.1rem; background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 3px; }
.done-reply .done-head { margin-top: 0; }
.done-reply-body { margin: 0; font-size: 1rem; line-height: 1.55; white-space: pre-line; }
.done-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; }
.done-actions button { font: inherit; font-size: 0.9rem; cursor: pointer; border-radius: 2px; padding: 0.55rem 1rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.done-actions .done-approve { background: var(--ink); color: var(--paper); }
.done-said { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--muted); }
.tryit-after { margin: 1rem 0 0; font-size: 0.95rem; color: var(--ink-2); }
.tryit-after a { color: var(--accent); text-decoration-color: currentColor; }

/* Simple pages built around the try-it box */
.hero-try { padding: 2.75rem 0 3.5rem; }
@media (min-width: 48rem) { .hero-try { padding: 4.5rem 0 5rem; } }
.hero-try h1 { max-width: 14em; }
.outcomes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; border-top: 1px solid var(--ink); }
@media (min-width: 52rem) { .outcomes { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.outcomes li { padding-top: 1.1rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.outcomes li span { display: block; margin-top: 0.4rem; font-family: var(--sans); font-size: 0.95rem; color: var(--ink-2); line-height: 1.45; }
.examples-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 56rem) { .examples-list { grid-template-columns: repeat(3, 1fr); } }
.examples-list li { background: var(--card); border: 1px solid var(--rule); border-radius: 3px; padding: 1.35rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
.examples-list h3 { margin: 0; font-size: 1.35rem; }
.examples-list p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.examples-list .before b, .examples-list .after b { display: inline-block; min-width: 3.4rem; font-family: var(--mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.examples-list .after b { color: var(--accent); }
.examples-list .sample-tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.examples-list button { align-self: flex-start; margin-top: auto; font: inherit; font-size: 0.9rem; cursor: pointer; color: var(--accent); background: transparent; border: 1px solid var(--accent); border-radius: 2px; padding: 0.5rem 0.9rem; }
.examples-list button:hover { background: var(--accent); color: var(--paper); }
.proof-line { margin: 1.5rem 0 0; font-size: 0.95rem; color: var(--ink-2); max-width: 46rem; }
.proof-line b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.simple-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); counter-reset: s; }
.simple-steps li { display: grid; gap: 0.2rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 52rem) { .simple-steps li { grid-template-columns: 12rem 1fr; align-items: baseline; } }
.simple-steps .week { margin: 0; }
.simple-steps p { margin: 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; }
.section-tight { padding: 3.5rem 0; }
@media (min-width: 48rem) { .section-tight { padding: 5rem 0; } }

/* ------------------------------------------------------------------
   One example, already done (home and /lenders). No buttons, no API:
   the message on the left, the finished work on the right.
   ------------------------------------------------------------------ */
.hero .wrap > .pair { max-width: none; }
.pair { display: grid; gap: 0.5rem; margin: 2.25rem 0 0; align-items: start; }
@media (min-width: 60rem) {
  .pair { grid-template-columns: minmax(0, 0.85fr) 2.5rem minmax(0, 1.15fr); gap: 0.75rem; }
  .pair .arrow { align-self: center; }
  .pair .arrow svg { transform: none; }
}
.pair-in, .pair-out { min-width: 0; }
.pair-label { margin: 0 0 0.6rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pair-out .pair-label { color: var(--accent); }
.pair .msg { background: var(--card); }
.pair .done-summary { margin-bottom: 1rem; }
.pair .done-facts { margin-bottom: 0.9rem; }
.pair .done-checks { margin-top: 0.25rem; }
.done-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); font-size: 0.95rem; }
.done-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
.done-lines b { font-family: var(--mono); font-size: 0.88rem; font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; }
.done-lines small { display: block; margin-top: 0.1rem; font-size: 0.82rem; color: var(--accent); }
p.done-actions span { font-size: 0.9rem; border-radius: 2px; padding: 0.5rem 1rem; border: 1px solid var(--ink); color: var(--ink); }
p.done-actions span:first-child { background: var(--ink); color: var(--paper); }
.pair + .note { margin-top: 0.9rem; }
.pair-more { margin: 1.5rem 0 0; font-size: 1.05rem; color: var(--ink-2); max-width: 40rem; }
.pair-more a { color: var(--accent); text-decoration-color: currentColor; white-space: nowrap; }

/* Lenders page: line that introduces the worked example */
.pair-intro { margin: 2.25rem 0 0; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }


/* ==== Identity v4, boutique (2026-10-13): warm ivory, refined serif, one oxblood accent,
   thin rules, no boxes, no colour blocks. Chosen over a bold SaaS-looking v3.
   Overrides the rules above. ==== */
body { font-family: var(--sans); background: var(--paper); color: var(--ink); }
.hero h1, .headline { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.hero h1 { font-size: clamp(2.8rem, 1.6rem + 4.6vw, 5.4rem); line-height: 1.02; }
.headline { font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.3rem); line-height: 1.08; }
h3, .catch h3 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: 0; }
em, .accent-italic, .live { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); background: none; padding: 0; }

/* Labels: small, spaced, quiet */
.label, .tag, .eyebrow, .col-head, .when, .week, .catch-top, .cards .pain, .pair-intro {
  font-family: var(--sans); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.catch-top span:last-child { color: var(--accent); }
.hero-meta { gap: 0.5rem 1.1rem; }
.hero-meta li { font-family: var(--sans); font-weight: 500; font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.hero-meta li::before { display: none; }
.hero-meta li + li::before { display: inline-block; content: ""; width: 1px; height: 0.85em; background: var(--rule); margin: 0 1.1rem 0 0; vertical-align: -0.1em; border-radius: 0; }

/* Header and wordmark */
.site-header { background: rgba(246, 242, 234, 0.92); border-bottom: 1px solid var(--rule); }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.22em; margin-right: -0.22em; text-transform: uppercase; color: var(--ink); }
.nav a { font-weight: 500; }

/* Buttons: ink squares; the secondary is an underlined link */
.button, .nav .nav-cta { background: var(--ink); border-color: var(--ink); color: var(--paper); border-radius: 0; font-weight: 500; letter-spacing: 0.04em; }
.button:hover, .nav .nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.button-line { background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; color: var(--ink); padding-left: 0; padding-right: 0; }
.button-line:hover { color: var(--accent); border-color: var(--accent); }

/* Sections and blocks: rules, not boxes */
.hero { background: none; border-bottom: 1px solid var(--rule); }
section { border-top: 1px solid var(--rule); }
.cards { gap: 2.5rem; }
.cards li { background: transparent; border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 1.5rem 0 0; }
.wall { gap: 2rem; }
@media (min-width: 40rem) { .wall { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .wall { grid-template-columns: repeat(4, 1fr); } }
.catch { background: transparent; border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 1.25rem 0 0; }

/* Steps */
.steps .num, .promise { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); }
.promise { font-size: 1.25rem; }

/* Promise line: large serif, no colour block */
section.contrast { background: transparent; color: var(--ink); }
section.contrast p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); line-height: 1.2; color: var(--ink); max-width: 30em; }

/* FAQ */
.faq summary { font-weight: 500; }

/* Footer */
.site-footer { background: transparent; color: var(--muted); border-top: 1px solid var(--rule); }
.site-footer a, .site-footer .wordmark { color: var(--ink); }
@media (max-width: 40rem) { .hero-meta { flex-direction: column; gap: 0.35rem; } .hero-meta li + li::before { display: none; } }
