/* Proposeful design system (redesign 13 Nov 2026). One stylesheet for every page; articles add article.css.
   Identity: Bricolage Grotesque (headings, interface) with Newsreader (reading text), warm paper, terracotta accent.
   House rules: no hairlines or 1px dividers (separate with space, tints and weight), no eyebrow labels, no accent bars,
   no icon tiles, no benefit grids, left-aligned sections. Visuals are real screenshots of published sample documents. */

@font-face { font-family: "Bricolage"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --ink: #1e1b17;
  --text: #36312a;
  --muted: #6b6358;
  --bg: #fbf8f2;
  --paper: #f3ede2;
  --tint: #e9dfcd;
  --accent: #b4432a;
  --accent-hover: #93351f;
  --accent-soft: #f6e1d8;
  --deep: #221e19;
  --deep-2: #2e2922;
  --deep-text: #d8cebf;
  --head: "Bricolage", "Segoe UI", -apple-system, Roboto, Arial, sans-serif;
  --read: "Newsreader", Georgia, "Times New Roman", serif;
  --serif: var(--head);   /* aliases used by article.css */
  --sans: var(--head);
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
  --shadow: 0 1px 2px rgba(30, 27, 23, .06), 0 12px 32px -8px rgba(30, 27, 23, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 19px/1.6 var(--read); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: var(--accent-soft); }
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); }

h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); font-weight: 650; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; }
h3 { font-size: clamp(21px, 2.2vw, 25px); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(20px, 2vw, 23px); line-height: 1.5; color: var(--text); max-width: 34em; }
.small, .muted { font-size: 16px; color: var(--muted); }

.container { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: 1200px; }
.container--narrow { max-width: 680px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; font-family: var(--head); }
.skip:focus { left: 12px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 var(--head); color: #fff; background: var(--accent); padding: 16px 24px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn--small { font-size: 15px; padding: 11px 18px; }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: var(--paper); color: var(--ink); }
.btn--ghost:hover { background: var(--tint); color: var(--ink); }
.textlink { font: 600 17px/1.3 var(--head); color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.textlink::after { content: "\2192"; color: var(--accent); transition: transform .15s; }
.textlink:hover { color: var(--accent); }
.textlink:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 30px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 242, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 700 23px/1 var(--head); letter-spacing: -0.035em; color: var(--ink); text-decoration: none; }
.wordmark img { width: 28px; height: 28px; }
.wordmark:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 6px; font: 500 16px/1 var(--head); }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; padding: 10px 12px; border-radius: 999px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.site-nav .btn { margin-left: 8px; }
@media (max-width: 760px) {
  .site-nav a:not(.btn) { display: none; }
  .site-nav a.nav-keep { display: inline-block; }
}
@media (max-width: 400px) { .site-nav a.nav-keep { display: none; } }

/* Footer */
.site-footer { background: var(--deep); color: var(--deep-text); padding: 64px 0 40px; font-family: var(--head); font-size: 16px; }
.site-footer .wordmark { color: #fff; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: center; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.site-footer__links a:not(.btn) { color: var(--deep-text); text-decoration: none; }
.site-footer__links a:not(.btn):hover { color: #fff; }
.site-footer__base { margin: 44px 0 0; color: #a99f90; font-size: 15px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--paper { background: var(--paper); }
.section--deep { background: var(--deep); color: var(--deep-text); }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep a:not(.btn) { color: #f2b9a6; }

/* Screenshots */
.shot { margin: 0; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shot img { width: 100%; }
.shot--phone { border-radius: 30px; border: 8px solid var(--ink); background: var(--ink); }
.shot--phone img { border-radius: 22px; }
.cap { font: 400 15px/1.45 var(--head); color: var(--muted); margin-top: 14px; }

/* Home hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 11em; }
.hero .lead { margin-top: 22px; }
.hero__visual { position: relative; padding: 0 0 48px 0; }
.hero__visual .shot--desk { transform: rotate(-1.2deg); }
.hero__visual .shot--phone { position: absolute; width: 34%; right: -10px; bottom: 0; transform: rotate(2.4deg); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { padding-bottom: 32px; margin-right: 12px; }
  .hero__visual .shot--phone { width: 36%; right: -8px; }
}

/* Document viewer: pick a sample on the left, see it on the right (Buyerful-style handover, own look) */
.viewer__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.viewer__head p { margin: 0; max-width: 32em; }
.viewer { display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.viewer__list { display: flex; flex-direction: column; gap: 8px; }
.viewer__tab { text-align: left; font: inherit; color: inherit; background: transparent; border: 0; border-radius: var(--r); padding: 18px 20px; cursor: pointer; transition: background .15s; }
.viewer__tab:hover { background: rgba(233, 223, 205, .55); }
.viewer__tab[aria-selected="true"] { background: #fff; box-shadow: var(--shadow); }
.viewer__tab b { display: block; font: 650 19px/1.25 var(--head); color: var(--ink); letter-spacing: -0.01em; }
.viewer__tab span { display: block; font: 400 15px/1.45 var(--head); color: var(--muted); margin-top: 6px; }
.viewer__tab[aria-selected="true"] b { color: var(--accent); }
.viewer__stage { position: relative; }
.viewer__panel[hidden] { display: none; }
.viewer__panel { display: grid; grid-template-columns: minmax(0, 1fr) 30%; gap: 22px; align-items: start; }
.viewer__panel .shot--phone { margin-top: 48px; }
.viewer__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; }
.viewer__foot p { margin: 0; font: 400 16px/1.5 var(--head); color: var(--muted); flex: 1 1 280px; }
@media (max-width: 900px) {
  .viewer__head, .viewer { grid-template-columns: 1fr; }
  .viewer__list { flex-direction: row; overflow-x: auto; gap: 8px; padding: 4px 4px 12px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); scroll-snap-type: x mandatory; }
  .viewer__tab { flex: 0 0 72%; scroll-snap-align: start; background: rgba(233, 223, 205, .5); }
  .viewer__panel { grid-template-columns: minmax(0, 1fr) 34%; gap: 12px; }
  .viewer__panel .shot--phone { margin-top: 24px; border-width: 5px; border-radius: 20px; }
}

/* On the page: one large crop with text beside it, side switches per row */
.moment { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.moment + .moment { margin-top: clamp(56px, 8vw, 104px); }
.moment--flip .moment__shot { order: 2; }
.moment__text p { max-width: 30em; }
.moment__text h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: .55em; }
@media (max-width: 860px) {
  .moment { grid-template-columns: 1fr; }
  .moment--flip .moment__shot { order: 0; }
}

/* Document range: the examples as large lines of type */
.range { margin: 40px 0 0; padding: 0; list-style: none; }
.range li { margin: 0; }
.range a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 16px 20px; margin: 0 -20px; border-radius: var(--r); text-decoration: none; color: var(--ink); transition: background .15s; }
.range a:hover { background: var(--tint); }
.range b { font: 650 clamp(23px, 3vw, 36px)/1.15 var(--head); letter-spacing: -0.025em; }
.range span { font: 400 17px/1.4 var(--head); color: var(--muted); }
.range a:hover b { color: var(--accent); }

/* Questions */
.qa { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.qa__list { display: flex; flex-direction: column; gap: 10px; }
.qa details { background: #fff; border-radius: var(--r); padding: 0 24px; }
.qa summary { list-style: none; cursor: pointer; font: 600 19px/1.35 var(--head); color: var(--ink); padding: 20px 36px 20px 0; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 0; top: 16px; font: 400 26px/1 var(--head); color: var(--accent); transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { margin: 0 0 22px; font-size: 18px; }
@media (max-width: 860px) { .qa { grid-template-columns: 1fr; } }

/* Closing apply band */
.closing { background: var(--accent); color: #fff; }
.closing__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: end; padding: clamp(56px, 8vw, 96px) var(--gutter); }
.closing h2 { color: #fff; margin: 0 0 14px; max-width: 16em; }
.closing p { margin: 0; color: #fbe6de; max-width: 34em; }
@media (max-width: 760px) { .closing__inner { grid-template-columns: 1fr; } }

/* Page heads (inner pages) */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { max-width: 14em; }
.page-head .lead { margin-top: 18px; }

/* Examples index */
.ex-list { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 28px); padding-bottom: clamp(64px, 9vw, 120px); }
.ex-item { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(18px, 3vw, 32px); border-radius: calc(var(--r) + 6px); background: var(--paper); text-decoration: none; color: inherit; transition: background .15s; }
.ex-item:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.ex-item:nth-child(even) .ex-item__shot { order: 2; }
.ex-item:hover { background: var(--tint); }
.ex-item h2 { font-size: clamp(25px, 3vw, 34px); margin-bottom: .4em; }
.ex-item p { margin: 0 0 18px; }
.ex-item .textlink { pointer-events: none; }
@media (max-width: 760px) {
  .ex-item, .ex-item:nth-child(even) { grid-template-columns: 1fr; }
  .ex-item:nth-child(even) .ex-item__shot { order: 0; }
}

/* Example page */
.ex-hero { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.ex-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ex-hero h1 { font-size: clamp(34px, 4.8vw, 58px); }
.ex-back { display: inline-block; font: 500 16px/1 var(--head); color: var(--muted); text-decoration: none; margin-bottom: 26px; }
.ex-back::before { content: "\2190  "; }
.ex-back:hover { color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 30px 0 0; padding: 22px 24px; background: var(--paper); border-radius: var(--r); font-family: var(--head); }
.facts div { min-width: 0; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .ex-hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* Inside the document: tabs over real crops */
.inside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.inside__tabs { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.inside__tab { text-align: left; font: inherit; color: inherit; background: transparent; border: 0; border-radius: var(--r); padding: 16px 18px; cursor: pointer; }
.inside__tab:hover { background: rgba(255, 255, 255, .06); }
.inside__tab[aria-selected="true"] { background: var(--deep-2); }
.inside__tab b { display: block; font: 600 18px/1.3 var(--head); color: #fff; }
.inside__tab span { display: block; font: 400 15px/1.5 var(--head); color: var(--deep-text); margin-top: 6px; }
.inside__tab[aria-selected="true"] b { color: #f2b9a6; }
.inside__panel[hidden] { display: none; }
.inside__panel .shot { box-shadow: 0 20px 48px -12px rgba(0, 0, 0, .5); }
@media (max-width: 900px) { .inside { grid-template-columns: 1fr; } }

/* Brief and context: text column with the phone beside it */
.brief { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.brief .shot--phone { position: sticky; top: 100px; max-width: 300px; }
.brief h2 { font-size: clamp(26px, 3vw, 36px); }
.brief h2:not(:first-child) { margin-top: 1.6em; }
.sources { font: 400 15px/1.5 var(--head); color: var(--muted); padding-left: 20px; margin: 18px 0 0; }
.sources li + li { margin-top: 6px; }
sup a { text-decoration: none; font-family: var(--head); font-size: 13px; }
@media (max-width: 860px) {
  .brief { grid-template-columns: 1fr; }
  .brief .shot--phone { position: static; max-width: 240px; }
}
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-bottom: clamp(56px, 8vw, 96px); }
.pager a { flex: 1 1 280px; padding: 22px 24px; background: var(--paper); border-radius: var(--r); text-decoration: none; color: var(--ink); font: 600 19px/1.35 var(--head); }
.pager a:hover { background: var(--tint); }
.pager a span { display: block; font: 400 15px/1.4 var(--head); color: var(--muted); margin-bottom: 6px; }
.pager a:last-child { text-align: right; }

/* Getting started */
.steps { counter-reset: s; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 20px; padding: 26px 28px 22px; background: #fff; border-radius: calc(var(--r) + 4px); box-shadow: var(--shadow); }
.steps > li::before { content: counter(s); grid-row: 1 / span 2; font: 700 44px/1 var(--head); color: var(--accent); letter-spacing: -0.04em; }
.steps h3 { margin: 4px 0 6px; }
.steps p { margin: 0; }
@media (max-width: 520px) { .steps > li { grid-template-columns: 1fr; padding: 22px 20px; } .steps > li::before { grid-row: auto; font-size: 34px; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Prose and legal pages */
.prose { padding-bottom: clamp(56px, 8vw, 96px); }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.legal { font-size: 18px; }

/* Forms */
.apply { padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 9vw, 112px); }
.apply__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .apply__grid { grid-template-columns: 1fr; } }
.form { background: #fff; border-radius: calc(var(--r) + 6px); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); font-family: var(--head); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; font: 600 15px/1.3 var(--head); color: var(--ink); margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 400 17px/1.4 var(--head); color: var(--ink); background: var(--paper); border: 2px solid transparent; border-radius: 10px; padding: 13px 14px; transition: border-color .15s, background .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form .btn { margin-top: 6px; }
.form__note { font-size: 15px; color: var(--muted); margin: 16px 0 0; }
.notice { background: var(--accent-soft); color: var(--ink); border-radius: 10px; padding: 14px 16px; font: 500 16px/1.45 var(--head); margin: 0 0 20px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Resources hub */
.hub-list { display: flex; flex-direction: column; gap: 16px; padding-bottom: clamp(56px, 8vw, 96px); }
.hub-card { display: block; padding: clamp(22px, 4vw, 36px); background: var(--paper); border-radius: calc(var(--r) + 4px); text-decoration: none; color: inherit; }
.hub-card:hover { background: var(--tint); }
.hub-card__title { display: block; font: 650 clamp(23px, 2.8vw, 30px)/1.2 var(--head); letter-spacing: -0.02em; color: var(--ink); }
.hub-card__text { display: block; margin: 10px 0 16px; max-width: 36em; }
.hub-card__more { font: 600 16px/1 var(--head); color: var(--accent); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .closing { display: none; } body { background: #fff; } }
.section--deep .range a { color: #fff; }
.section--deep .range a:hover { background: var(--deep-2); }
.section--deep .range b { color: #fff; }
.section--deep .range span { color: var(--deep-text); }
.section--deep .range a:hover b { color: #f2b9a6; }
/* Section crops: breathing room inside the frame so the crop never touches the edge */
.moment__shot .shot, .inside__panel .shot { padding: clamp(12px, 2.4vw, 28px); }
.hero, .section { overflow-x: clip; }
