:root {
  --paper: #F4F1EA;           /* Linen: the ground */
  --white: #FFFFFF;           /* Paper: cards and surfaces */
  --ink: #1B1B1B;             /* text */
  --night: #121212;           /* dark ground */
  --gold: #E8B33A;            /* the one accent: ink text on it, never gold text on light */
  --gold-tint: rgba(232, 179, 58, .30);
  --stone: #66625A;           /* quiet text, 5.4:1 on linen */
  --stone-line: #8A857B;      /* lines only, never small text */
  --rule: rgba(138, 133, 123, .14);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --line: 1.75rem;            /* one ruled line of the ledger */
  --gutter: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
  margin: 0;
  color: var(--ink);
  font: 400 1.0625rem/var(--line) var(--body);
  background-color: var(--paper);
  /* faint ruled ledger lines over paper grain */
  background-image:
    linear-gradient(to bottom, transparent calc(var(--line) - 1px), var(--rule) calc(var(--line) - 1px)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .1 0 0 0 0 .09 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 100% var(--line), 180px 180px;
}

h1, h2, h3, p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band :focus-visible { outline-color: var(--paper); }

.skip { position: absolute; left: var(--gutter); top: -4rem; background: var(--ink); color: var(--paper); padding: .75rem 1rem; z-index: 20; }
.skip:focus { top: .5rem; }

/* placeholders the owner must fill */
.fill { background: var(--gold-tint); border-bottom: 1px dashed var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .625rem 1.5rem;
  font: 600 1.0625rem/1.2 var(--body);
  color: var(--ink); background: var(--gold);
  border: 2px solid var(--ink); border-radius: 2px;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.ghost { color: var(--ink); background: transparent; border-color: var(--ink); min-height: 2.75rem; padding: .5rem 1.125rem; font-size: 1rem; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.ghost.is-hot { color: var(--ink); background: var(--gold); border-color: var(--ink); }
.btn.ghost.is-hot:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.on-dark { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.btn.on-dark:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.opt { display: none; }
@media (min-width: 40rem) { .opt { display: inline; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; }
.logo { font: 800 1.875rem/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.logo i { font-style: normal; color: var(--gold); }

/* ---------- hero ---------- */
.hero { padding-block: 3.5rem 4.5rem; }
.hero h1 { font-family: var(--display); letter-spacing: -.03em; text-wrap: balance; }
.hero h1 span { display: block; }
.hero .big { font-weight: 800; font-size: clamp(4.25rem, 19vw, 9.5rem); line-height: .92; font-variation-settings: "opsz" 144; }
.hero .small { font-weight: 300; font-size: clamp(1.75rem, 5.2vw, 3.5rem); line-height: 1.1; margin-top: .75rem; max-width: 18ch; letter-spacing: -.02em; }
.hero .sub { margin-top: 2.25rem; max-width: 34rem; font-size: 1.1875rem; line-height: 1.75rem; }
.hero .go { margin-top: 2.25rem; }
/* wide screens: the offer and button sit beside the headline, level with its last line */
@media (min-width: 72rem) {
  .hero { padding-block: 4rem 5rem; }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; column-gap: 3rem; align-items: end; }
  .hero .sub { margin-top: 0; font-size: 1.125rem; }
  .hero .go { margin-top: 1.75rem; }
}

/* the one page-load moment: each line is written in from the left, then the rest settles */
@keyframes write { from { clip-path: inset(-.15em 100% -.15em -.15em); } to { clip-path: inset(-.15em -.15em -.15em -.15em); } }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .big   { animation: write .9s cubic-bezier(.65, 0, .2, 1) .1s both; }
  .hero .small { animation: write 1s cubic-bezier(.65, 0, .2, 1) .6s both; }
  .hero .sub   { animation: settle .6s ease-out 1.3s both; }
  .hero .go    { animation: settle .6s ease-out 1.5s both; }
}

/* ---------- sections: ledger headings hang in a left rail ---------- */
.sec { border-top: 2px solid var(--ink); padding-block: 3rem 3.5rem; }
.sec > .wrap { display: grid; gap: 1.75rem; }
.sec h2 { font: 600 1.75rem/1.15 var(--display); letter-spacing: -.01em; text-wrap: balance; }
@media (min-width: 64rem) {
  .sec { padding-block: 3.5rem 4.5rem; }
  .sec > .wrap { grid-template-columns: 11rem minmax(0, 1fr); column-gap: 3rem; align-items: start; }
  .sec h2 { font-size: 1.5rem; }
}

/* how I work */
.points { display: grid; gap: 2rem; }
.points h3 { font: 600 1.375rem/1.25 var(--display); margin-bottom: .5rem; text-wrap: balance; }
@media (min-width: 48rem) {
  .points { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .points li { padding-inline: 1.5rem; border-left: 1px dotted var(--stone); }
  .points li:first-child { padding-left: 0; border-left: 0; }
  .points li:last-child { padding-right: 0; }
}

/* proof: the ledger page */
.proof { background: var(--paper); }
.proof h3.case { font: 300 clamp(1.75rem, 4vw, 2.5rem)/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.proof .intro { margin-top: .75rem; max-width: 38rem; }
.ledger { margin-top: 2rem; border-top: 1px solid var(--ink); }
.entry { display: grid; gap: .5rem 2rem; padding-block: 1.5rem; border-bottom: 1px dotted var(--stone); grid-template-areas: "fig" "what"; }
.entry .what { grid-area: what; max-width: 36rem; }
.entry .what strong { font-weight: 600; }
.entry .note { color: var(--stone); font-size: .9375rem; line-height: 1.5rem; margin-top: .25rem; }
.entry .amt { grid-area: fig; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.fig { font: 500 2.25rem/1.1 var(--mono); letter-spacing: -.03em; white-space: nowrap; }
.fig small { font-size: 1rem; letter-spacing: 0; margin-left: .25rem; font-weight: 400; }
.entry.lead .fig { font-size: clamp(2.5rem, 9vw, 3.5rem); }
.tag { display: inline-block; font: 500 .8125rem/1 var(--mono); padding: .375rem .5rem; border: 1px solid; white-space: nowrap; }
.tag.measured { color: var(--ink); border-color: var(--ink); background: var(--gold-tint); }
.tag.estimate { color: var(--ink); border: 1px dashed var(--ink); }
@media (min-width: 48rem) {
  .entry { grid-template-columns: minmax(0, 1fr) 16rem; grid-template-areas: "what fig"; align-items: start; }
  .entry .amt { flex-direction: column; align-items: flex-end; justify-content: flex-start; text-align: right; }
}

.runs { display: flex; height: .875rem; margin-top: 1rem; max-width: 36rem; border: 1px solid var(--ink); }
.runs span { display: block; height: 100%; }
.runs .ok { background: var(--gold); }
.runs .ask { background: repeating-linear-gradient(135deg, var(--stone) 0 3px, var(--paper) 3px 6px); }
.runs .fail { background: var(--ink); min-width: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .5rem; font-size: .9375rem; line-height: 1.5rem; }
.legend li::before { content: ""; display: inline-block; width: .75rem; height: .75rem; margin-right: .375rem; border: 1px solid var(--ink); vertical-align: -1px; }
.legend .l-ok::before { background: var(--gold); }
.legend .l-ask::before { background: repeating-linear-gradient(135deg, var(--stone) 0 2px, var(--paper) 2px 4px); }
.legend .l-fail::before { background: var(--ink); }
.legend b { font: 500 .9375rem var(--mono); }

/* the estimate sits last and apart, drawn with a dashed rule */
.entry.est { margin-top: 1.5rem; border-top: 1px dashed var(--ink); border-bottom: 3px double var(--ink); }
.entry.est .fig { text-decoration: underline dashed 2px; text-underline-offset: .3em; }

.pending { margin-top: 1.75rem; padding: .25rem 0 .25rem 1rem; border-left: 3px solid var(--stone); max-width: 40rem; }
.pending em { font-family: var(--display); font-size: 1.125rem; }

/* steps */
.steps { display: grid; gap: 1.75rem; counter-reset: step; }
.steps li { position: relative; padding-top: 2.75rem; border-top: 1px solid var(--ink); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: .5rem; left: 0; font: 500 1.375rem/1 var(--mono); }
.steps h3 { font: 600 1.25rem/1.25 var(--display); margin-bottom: .5rem; text-wrap: balance; }
.steps .optional { position: absolute; top: .5rem; right: 0; font: 500 .8125rem/1 var(--mono); padding: .375rem .5rem; border: 1px dashed var(--ink); }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 2rem; } }
@media (min-width: 80rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* fit */
.fit { display: grid; gap: 2rem; }
.fit h3 { font: 600 1.5rem/1.2 var(--display); margin-bottom: .5rem; }
.fit .yes { padding-top: 1rem; border-top: 3px solid var(--ink); }
.fit .no { padding-top: 1rem; border-top: 3px dashed var(--stone-line); }
@media (min-width: 40rem) { .fit { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* about */
.about p { font: 300 clamp(1.375rem, 3.2vw, 1.75rem)/1.5 var(--display); max-width: 36rem; }

/* closing band + footer */
.band { background: var(--night); color: var(--paper); padding-block: 4.5rem 2rem; }
.band .say { font: 300 clamp(2rem, 6vw, 3.75rem)/1.1 var(--display); letter-spacing: -.02em; max-width: 18ch; text-wrap: balance; }
.band .go { margin-top: 2rem; }
.band footer { margin-top: 4rem; padding-top: 1.25rem; border-top: 1px solid var(--paper); display: flex; flex-wrap: wrap; gap: .25rem 2rem; font-size: .9375rem; line-height: 1.5rem; }
.band footer a { text-underline-offset: .2em; }
.band .fill { background: rgba(232, 179, 58, .25); border-bottom-color: var(--gold); }

/* ---------- multi-page additions ---------- */
.nav { display: none; margin-left: auto; margin-right: 1.5rem; gap: 1.5rem; }
@media (min-width: 40rem) { .nav { display: flex; } }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 500; text-decoration: none; text-underline-offset: .3em; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

.textlink { font-weight: 600; text-underline-offset: .25em; }
.more { margin-top: 1.5rem; max-width: 40rem; }
.plain { max-width: 38rem; }

.page-head { padding-block: 3rem 3.5rem; }
.page-head h1 { font: 300 clamp(2.25rem, 7vw, 4.75rem)/1.05 var(--display); letter-spacing: -.03em; text-wrap: balance; max-width: 20ch; }
.page-head .lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.1875rem; }
.asof { margin-top: 1rem; font: 400 .9375rem/1.5rem var(--mono); color: var(--stone); }
@media (min-width: 64rem) { .page-head { padding-block: 4rem 4.5rem; } }

.keys { display: grid; gap: 1rem; }
.keys li { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; }
.keys .tag { flex: none; }

.tag.pending { color: var(--stone); border: 1px dashed var(--stone); white-space: normal; }
.entry.usecase { grid-template-areas: "what" "fig"; }
.entry.usecase h3 { font: 600 1.375rem/1.25 var(--display); margin-bottom: .25rem; }
.entry.usecase .amt { justify-content: flex-start; }
@media (min-width: 48rem) {
  .entry.usecase { grid-template-columns: minmax(0, 1fr) 16rem; grid-template-areas: "what fig"; }
  .entry.usecase .amt { align-items: flex-end; }
}
.proof .intro a, .about a { text-underline-offset: .2em; }
.proof .intro { margin-bottom: 0; }

/* ---------- messaging update (2026-12-06) ---------- */
.hero .big { font-size: clamp(3.25rem, 12vw, 7rem); line-height: .95; max-width: 11ch; }
.hero .small { font-size: clamp(1.375rem, 3.4vw, 2.125rem); line-height: 1.2; max-width: 26ch; letter-spacing: -.01em; }
.band .say { max-width: 24ch; font-size: clamp(1.875rem, 5vw, 3.25rem); }
.band .verdict { margin-top: 1.5rem; max-width: 34rem; font-size: 1.1875rem; }
.btn { text-align: center; }
.opt { margin-left: .3em; }

/* use-case tags: whether an idea needs AI, and whether it is built already */
.tag.ai { color: var(--ink); border: 1px solid var(--ink); }
.tag.noai { color: var(--ink); border: 1px dashed var(--ink); }
.tag.built { color: var(--ink); border: 1px solid var(--ink); background: var(--gold-tint); }
.entry.usecase .amt { gap: .5rem; flex-wrap: wrap; }
