:root {
  --ink: #111312;
  --muted: #4a514e;
  --paper: #fbfaf7;
  --line: #e2ded6;
  --accent: #0b3d2e;
  --accent-ink: #f3efe6;
  --bad: #8a2b22;
  --good: #1f6b45;
  /* One serif stack for the whole site: the app's headlines and this site's
     h1 have to be the same face on the same machine, or the page that sells
     and the page you land on look like two companies. */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main, header.site, footer.site {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

/* The lockup is the whole identity - fox and outlined wordmark in one SVG -
   so the header never types the name in a different face. It is 36px tall,
   about 203px wide; below 620px that leaves no room for the three links, so
   the fox stands alone. */
.brand img { display: block; width: auto; }
.brand .brand-lockup { height: 36px; }
.brand .brand-icon { display: none; height: 32px; width: 32px; }

/* The link's accessible text: present for a screen reader and for the
   no-image case, invisible on the page. */
.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 620px) {
  .brand .brand-lockup { display: none; }
  .brand .brand-icon { display: block; }
}

header nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.9rem;
}

header nav a:hover { color: var(--ink); }

/* The app's own pages set their headline in a serif (app/static/style.css,
   --serif), and the marketing site did not - so the page that sells and the
   page you land on after clicking the button looked like two different
   companies. Same stack, so a visitor's machine picks the same face in both. */
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}

h2 {
  font-size: 1.15rem;
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.lede { font-size: 1.12rem; color: #333936; }

a { color: var(--accent); }

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.7rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}

.cta.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

ul.checks { padding-left: 1.1rem; }
ul.checks li { margin: 0.3rem 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0.5rem 0 1rem;
}

th, td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.86em;
  background: #f1eee7;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

.tool { border: 1px solid var(--line); border-radius: 8px; padding: 1rem; margin: 1.25rem 0; background: #fff; }
.tool input[type=file] { display: block; margin-bottom: 0.75rem; }
.tool textarea { width: 100%; font-family: ui-monospace, monospace; font-size: 0.8rem; padding: 0.5rem; border: 1px solid var(--line); border-radius: 4px; }
.tool button { margin-top: 0.6rem; background: var(--accent); color: var(--accent-ink); border: 0; padding: 0.55rem 1rem; border-radius: 5px; font-weight: 600; cursor: pointer; }
.tool-out { margin-top: 1rem; }
.tool-out h3 { font-size: 1rem; margin: 0 0 0.5rem; }

.bad { color: var(--bad); }
.good { color: var(--good); }
.muted { color: var(--muted); font-size: 0.88rem; }

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding-top: 1.25rem;
  padding-bottom: 3rem;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 520px) {
  html { font-size: 17px; }
  h1 { font-size: 1.75rem; }
}

/* Guide pages. The content is data (web_site/src/guides.ml); these classes
   only give the shared blocks a readable shape. */
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin: 0 0 0.9rem; }
.breadcrumb a { color: var(--muted); }
.note {
  border-left: 3px solid var(--line);
  padding: 0.1rem 0 0.1rem 0.9rem;
  color: var(--muted);
  margin: 1rem 0;
}
.example {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin: 1rem 0;
}
.example p { margin: 0.45rem 0; }
.example-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.25rem;
}
.faq { border-top: 1px solid var(--line); padding-top: 0.4rem; }
.faq h3 { font-size: 1rem; margin: 1.1rem 0 0.3rem; }
.guide-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin: 2.5rem 0 0;
}
.guide-cta p:first-child { margin-top: 0; }
.guide-cta p:last-child { margin-bottom: 0; }
.guide-list { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
.guide-list li { border-bottom: 1px solid var(--line); padding: 0.8rem 0; }
.guide-list li:last-child { border-bottom: 0; }
.guide-list a { font-weight: 600; }
.guide-list p { margin: 0.3rem 0 0; }
ol { padding-left: 1.2rem; }
ol li { margin: 0.3rem 0; }

/* Interactive tools. The markup is static; the plain scripts in view.ml fill
   these containers. Keep the controls usable on a phone. */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.tool-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.tool-grid input, .tool-grid select {
  font: inherit;
  font-size: 0.9rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}
.hex-row { display: flex; gap: 0.5rem; }
.hex-row input {
  flex: 1;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.hex-row button {
  margin-top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  padding: 0.55rem 1rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}
.audit-score { font-size: 2rem; font-weight: 700; margin: 0; }
.audit-list { list-style: none; padding: 0; margin: 1rem 0; }
.audit-list li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.audit-list li:last-child { border-bottom: 0; }
.audit-list label { display: flex; gap: 0.5rem; align-items: baseline; cursor: pointer; }
.audit-list input { margin-top: 0.2rem; }
.audit-list p { margin: 0.25rem 0 0 1.5rem; }
.audit-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.audit-actions button { margin-top: 0; }
.audit-actions #fa-reset { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.tool-verdict { margin-top: 1rem; }
.tool-verdict h3 { font-size: 1rem; margin: 0 0 0.5rem; }
.size-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin: 1.25rem 0 0;
}
.size-cell { text-align: center; }
.size-cell p { margin: 0.3rem 0 0; }
.pixel-preview {
  image-rendering: pixelated;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.swatch {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  vertical-align: -0.2rem;
}

/* The footer capture. One field and a button, because a form that asks for
   two things to hand over one document is a form that gets filled in on the
   second visit, which is the visit that never comes. */
.capture {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1rem 1.1rem 0.9rem;
  margin: 0 0 1.6rem;
}
.capture label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}
.capture-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.capture-row input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
}
.capture-row button {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border: 0;
  border-radius: 5px;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
}
.capture p { margin: 0.55rem 0 0; font-size: 0.78rem; }

/* ---------------------------------------------------------------------------
   The home page (rebuilt 2026-11-16). Everything above this block is the
   reading system: a 44rem column of text with one button per idea. That is
   right for a guide and wrong for the page that has to sell, so the home page
   is built to docs/24-landing.md's section order instead.

   Three rules, and they are the answer to "it looks AI-generated":

   * **Two faces.** The serif carries the headline, the price and the step
     numerals; the sans carries everything you read. A page where every level
     is the same weight and the same face is the tell.
   * **One accent, used as blocks.** Dark green appears as the demo card and
     the price block, never as a wash or a gradient.
   * **Evidence instead of adjectives.** A real file tree, a real 16px icon
     beside the 96px one, real counts ($149, 27 files, six versions, ten
     gates) - and no invented customer number anywhere, because we have two
     delivered packs and both are ours.
*/

/* §1 The hero. Text at the left of the measure, the live demo as a dark block
   at the right. On a phone the grid stacks and the block follows the
   headline: the claim, then the proof of it. */
/* The home page is the shop window, so it is wider than the reading column;
   the prose sections inside it are not. */
main.home, header.site.wide, footer.site.wide { max-width: 64rem; }
footer.wide .capture, footer.wide p { max-width: 44rem; }

.hero { margin: 0 0 2.8rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.2rem;
  align-items: start;
}
.hero h1 {
  font-size: 3.2rem;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede {
  max-width: 33rem;
  font-size: 1.14rem;
  line-height: 1.45;
  color: #2e3532;
  margin: 0;
}
.hero-facts {
  margin: 1.25rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--muted);
}
.hero-facts b { color: var(--ink); font-size: 1.08rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.7rem; }
  .hero h1 { font-size: 2.45rem; }
  .hero .lede { font-size: 1.08rem; }
}

/* §2 The spread band. Two rows of marks that drift, in opposite directions,
   because six tiles in a grid said "six samples" and twelve in motion say
   "every kind of trade". Slow on purpose (80s a row: about 4px a second, read
   not watched), paused under the pointer and on keyboard focus, and stopped
   entirely under `prefers-reduced-motion`, where the rows become ordinary
   horizontal scrollers. Each tile keeps the paper colour its pack was drawn
   for: three lockups on one near-black background read as one company however
   different the marks are. */
.band {
  margin: 3.2rem calc(50% - 50vw) 0;
  padding: 0;
}
.band-inner { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.band-head {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
/* The pause control, and the state it is in: "Pause" while the rows drift,
   "Play" once they are stopped. A checkbox does the work, so the band still
   works with scripts off. */
.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;
}
.marquee-pause {
  flex: none;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6d6d66;
  cursor: pointer;
  border: 1px solid rgba(17, 19, 18, 0.16);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  user-select: none;
}
.marquee-pause:hover { border-color: rgba(17, 19, 18, 0.4); color: var(--ink); }
.marquee-pause .when-paused { display: none; }
#pause-marks:checked ~ .band-head .marquee-pause .when-moving { display: none; }
#pause-marks:checked ~ .band-head .marquee-pause .when-paused { display: inline; }
#pause-marks:checked ~ .marquee-row .marquee-track { animation-play-state: paused; }
#pause-marks:focus-visible ~ .band-head .marquee-pause {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.marquee-row {
  overflow: hidden;
  margin-top: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.marquee-row:first-of-type { margin-top: 0; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: drift 120s linear infinite;
}
.marquee-row.reverse .marquee-track { animation-direction: reverse; }
.marquee-row:hover .marquee-track,
.marquee-row:focus-within .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; }
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-row { overflow-x: auto; }
}
.spread {
  flex: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20rem;
  min-height: 10.5rem;
  margin-right: 12px;
  padding: 1.2rem 1.2rem 2.2rem;
  border: 1px solid rgba(17, 19, 18, 0.09);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease;
}
.spread:hover { border-color: rgba(17, 19, 18, 0.35); }
.spread img {
  display: block;
  max-width: 100%;
  max-height: 7.5rem;
  width: auto;
  height: auto;
}
.spread-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6d6d66;
}
.spread-tag strong { color: var(--ink); font-weight: 700; }
@media (max-width: 640px) {
  .spread { width: 15rem; min-height: 8.5rem; padding: 1rem 1rem 2rem; }
  .spread img { max-height: 5.5rem; }
  .spread-tag { font-size: 0.62rem; }
}
.band-note {
  max-width: 52rem;
  margin: 1.2rem auto 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}
.band-note a { color: var(--accent); font-weight: 600; text-decoration: none; }
.band-note a:hover { text-decoration: underline; }

/* §3 The zip. A file tree with the reason each file exists is evidence; a list
   of extensions is a sentence. */
.box-lede {
  margin: 0 0 1.2rem;
  max-width: 38rem;
  font-size: 1.02rem;
  line-height: 1.5;
}
.box {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 1rem;
  align-items: start;
}
pre.tree {
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: #14110f;
  color: #ede7dc;
  font-size: 0.72rem;
  line-height: 1.7;
  border-radius: 2px;
  overflow-x: auto;
  white-space: pre;
}
.sizes {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.1rem 1.2rem;
}
.sizes-row { display: flex; align-items: center; justify-content: center; gap: 1.4rem; }
.sizes-row img { display: block; }
.sizes-note {
  margin: 0.85rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}
.srcnote {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 760px) {
  .box { grid-template-columns: minmax(0, 1fr); }
  /* The tree is a picture of a file listing: it may scroll, but it should not
     look cut. One size down and the longest line fits the phone. */
  pre.tree { font-size: 0.62rem; padding: 0.9rem 0.8rem; }
  table.compare { font-size: 0.82rem; }
  table.compare th, table.compare td { padding: 0.6rem 0.35rem; }
  table.compare tbody td:first-child { width: 18%; font-size: 0.7rem; }
}

/* §4 The steps. Four stops, the numeral in the accent at the serif's own size:
   a sequence with numbers is easier to follow than four paragraphs that happen
   to be in order. */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  column-gap: 1.1rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
/* Three children in a two-column grid: the numeral spans both rows and the two
   lines of text sit in the second column. Left to auto-placement, the help
   line lands back in column one and is 4rem wide. */
.step-n { grid-column: 1; grid-row: 1 / span 2; }
.step-t, .step-h { grid-column: 2; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.step-t {
  display: block;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.step-h {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.97rem;
  line-height: 1.4;
  color: var(--muted);
}

/* §5 The comparison. The buyer is already making it in their head, so it goes
   on the page where the decision happens. The left column describes the class
   of product, not a named competitor: a claim about a named company is one
   they can dispute and we would have to defend. */
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.compare th,
table.compare td {
  text-align: left;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.compare thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid #cfc9bd;
}
table.compare thead th.us { color: var(--accent); }
table.compare tbody td:first-child {
  width: 22%;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
table.compare td.us { color: var(--ink); font-weight: 500; }

/* §6 The price. One dark block on a page of paper: the accent is a block, not
   a wash, and this is the block the eye goes back up to. */
.priceblock {
  margin: 3.6rem calc(50% - 50vw) 0;
  padding: 2.6rem 1.25rem 2.4rem;
  background: var(--accent);
  color: var(--accent-ink);
}
.priceblock-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.8rem;
  align-items: center;
  max-width: 52rem;
  /* Left edge on the page's reading column, not on the window: the band is
     full-bleed, the things inside it are not. 64rem is main.home's measure and
     1.25rem is its padding, both repeated here because a full-bleed element is
     outside that box and cannot inherit its margin. */
  margin-left: max(0px, calc((100vw - 64rem) / 2));
}
.big-price {
  margin: 0;
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.big-price span {
  margin-left: 0.55rem;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  opacity: 0.75;
}
.priceblock p.once {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  color: #cfd8d1;
}
.priceblock ul.checks {
  margin: 0.9rem 0 0;
  padding-left: 1.05rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.priceblock .cta {
  margin: 0;
  background: var(--accent-ink);
  color: var(--accent);
}
.priceblock .fine {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #cfd8d1;
  text-align: center;
}
@media (max-width: 700px) {
  .priceblock-inner { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  .big-price { font-size: 3.5rem; }
  .priceblock .cta { display: block; text-align: center; }
  .priceblock .fine { text-align: left; }
}

/* §7 The questions. The site has answered these across 22 guides and on no
   page where they are asked. */
.faq h3 { font-size: 1.02rem; margin: 1.35rem 0 0.35rem; }
.faq p { max-width: 38rem; margin: 0; color: #333936; }

/* A link that is only a link gets a pill, not a sentence about itself. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0;
}
.pill {
  display: inline-block;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.6rem 1.05rem;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }

.fine {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.endnote { margin: 2.4rem 0 0; font-size: 0.95rem; }

.guides-line {
  margin: 2.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.guides-line a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: #cfc9bd;
  text-underline-offset: 2px;
}
.guides-line a:hover { color: var(--accent); }

/* Sections: a rule, a small uppercase label, then the thing itself. The label
   is the only text a scanner has to read to know where they are. */
.block {
  max-width: 52rem;
  margin-top: 3.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #414845;
}

/* The agent box on every guide. It is deliberately small and server-rendered:
   an agent reading the HTML gets the contract, the machine-readable links and
   the x402 price without running JavaScript. */
.agent-box {
  margin: 2.2rem 0;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  background: #FAF8F3;
}
.agent-box h2 { margin-top: 0; font-size: 1.1rem; }
.agent-box p { margin: 0.5rem 0; }

pre.code {
  overflow-x: auto;
  padding: 1rem 1.1rem;
  background: #14110F;
  color: #F2EDE6;
  font-size: 0.82rem;
  line-height: 1.5;
  border-radius: 2px;
  white-space: pre;
}
pre.code code { color: inherit; background: transparent; }

/* The demo card, in the hero. It is the one place on the page that *does*
   something rather than describes, so it gets the accent colour as a solid
   block — the tell of a generated page is a page where every band is the same
   weight, and this is the band that is not. */
.demo-card {
  display: grid;
  gap: 0.6rem;
  padding: 1.4rem 1.4rem 1.2rem;
  border-radius: 3px;
  background: var(--accent);
  color: var(--accent-ink);
}
.demo-label {
  margin-bottom: 0.2rem;
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.2;
}
.demo-card input {
  width: 100%;
  min-width: 0;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}
.demo-card input::placeholder { color: #8b8b83; }
.demo-card input:focus { outline: 2px solid var(--accent-ink); outline-offset: 1px; }
.demo-card button {
  font: inherit;
  font-weight: 650;
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent-ink);
  border-radius: 3px;
  background: var(--accent-ink);
  color: var(--accent);
  cursor: pointer;
}
.demo-card button:hover { background: #fff; }
.demo-note {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #cfd8d1;
}
.demo-note a { color: var(--accent-ink); }
