/* The site look, 17 Nov 2026. Used by the pages build_site.py makes, and for the menu and footer on
   Privacy and Terms. The older pages keep css/style.css. */

/* Fonts, self hosted, OFL licences beside them in assets/fonts */
@font-face { font-family: 'Inter'; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Patrick Hand'; src: url(/assets/fonts/patrick-hand-latin.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mrs Saint Delafield'; src: url(/assets/fonts/mrs-saint-delafield-latin.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: block; }

/* Palette C, his pick 17 Nov 2026 10.20: white, black and a yellow mark */
:root { --paper: #FFFFFF; --ink: #0B0B0B; --text: #1A1A1A; --blue: #1B3FD1; --blue-dark: #142F9E; --line: #0B0B0B;
  --hair: rgba(11,11,11,.18); --mark: #FFE14D; --desk: #FFF6CC;
  --hand: 'Patrick Hand', cursive; --sans: Inter, Helvetica, Arial, sans-serif; --serif: Georgia, 'New York', serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
/* The yellow mark: an inline highlight behind each eyebrow and label line, the text in ink (right padding
   less the letter spacing, so the mark sits even on both sides) */
.eyebrow, .hero .label, .livehead { background: var(--mark); color: var(--ink); padding: 3px calc(8px - .14em) 2px 8px; }

/* Top menu */
.bar { position: sticky; top: 0; z-index: 50; display: flex; gap: 18px; align-items: center; padding: 12px 18px; background: var(--paper); border-bottom: 2px solid var(--ink); font: 600 14px var(--sans); }
.bar .brand { letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-size: 12px; font-weight: 700; margin-right: auto; }
.bar .links { display: flex; gap: 18px; }
.bar a[aria-current="page"] { border-bottom: 2px solid var(--blue); }
.bar a:not(.brand):hover { color: var(--blue); }
/* On a phone the name takes its own row and the five links share the next one */
@media (max-width: 640px) { .bar { flex-wrap: wrap; row-gap: 8px; padding: 10px 16px; } .bar .brand { flex-basis: 100%; }
  .bar .links { width: 100%; justify-content: space-between; gap: 10px; white-space: nowrap; } }
@media (max-width: 380px) { .bar { padding: 10px 14px; } .bar .links { font-size: 13px; } }

/* Mail buttons, plain mailto links */
.btn { display: inline-block; margin-top: 24px; padding: 14px 22px; background: var(--blue); color: #fff; font: 600 16px/1.2 var(--sans); border-radius: 8px; }
.btn:hover { background: var(--blue-dark); }
/* Two mail buttons side by side, the same size, the wider one setting the width */
.btn-pair { display: inline-grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.btn-pair .btn { text-align: center; white-space: nowrap; }
@media (max-width: 420px) { .btn-pair { display: grid; column-gap: 10px; } .btn-pair .btn { padding: 14px 8px; } }
.btn:focus-visible, .bar a:focus-visible, .door-link:focus-visible, .live .more:focus-visible { outline: 3px solid rgba(27,63,209,.45); outline-offset: 3px; }

/* Home, the letter beside photo 01 */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 45px); }
.hero .txt { padding: 9vh 7vw; display: flex; flex-direction: column; justify-content: center; }
.hero .label { align-self: flex-start; font: 700 15px var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 3vh; }
.hero .headline { font: 800 clamp(26px, 2.6vw, 34px)/1.12 var(--sans); letter-spacing: -.015em; margin: 0 0 4vh; max-width: 18em; }
.hero p { font: 19px/1.6 var(--serif); margin: 0 0 24px; max-width: 34em; }
.hero .ph { position: relative; overflow: hidden; }
.hero .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* A short landscape screen (a phone on its side): the letter runs far taller than the screen, so the photo
   stays a screen high and pinned beside it, rather than stretching and showing only sky */
@media (min-width: 701px) and (max-height: 600px) { .hero .ph { position: sticky; top: 45px; height: calc(100vh - 45px); align-self: start; } }
.sigwrap { position: relative; height: 120px; width: min(420px, 100%); margin-top: 4px; overflow: visible; }
.sigwrap .sw { position: absolute; left: -6px; top: 6px; width: 100%; height: 90px; }
/* The two door buttons repeated straight after the letter (his pick 11.45), same words and links as below */
.hero-btns { align-self: flex-start; margin-top: 4px; }
.hero-btns .btn { margin-top: 0; }
.sigwrap .sigtxt { position: absolute; left: 50px; top: 4px; font-family: 'Mrs Saint Delafield', cursive; font-size: 72px; transform: rotate(-7deg); transform-origin: left center; white-space: nowrap; color: var(--ink); }

/* Home, the two blocks */
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door { padding: 48px 7vw; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.door + .door { border-left: 1px solid var(--line); }
.door-link { display: block; flex: 1; }
.dk { display: block; font: 800 32px var(--sans); color: var(--ink); }
.door-link:hover .dk { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; }
.dd { display: block; font: 17px/1.5 var(--sans); color: var(--text); margin-top: 8px; }
.builds-pointer { grid-column: 1 / -1; margin: 0; padding: 22px 7vw 26px; border-top: 1px solid var(--line); font: 17px/1.5 var(--sans); color: var(--text); }
.builds-pointer a { display: inline-block; font: 600 16px var(--sans); color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 2px; }

/* Home, the photo essay */
.essay figure { margin: 0; }
/* A light stone tint fills each essay frame until its photo arrives, so a fast scroll on a slow line shows a tint, not a white gap */
.essay img { width: 100%; height: 70vh; object-fit: cover; display: block; background: #ECEAE5; }
.essay .arch img { object-position: 50% 63%; }
.essay .smiling img { object-position: 10% 30%; }
/* Under each photo, its line or lines (the arch carries two, his pick 15.53) */
.essay .essay-cap { padding: 26px 7vw 54px; background: var(--paper); }
.essay .line { margin: 0; font: 800 clamp(28px, 4vw, 56px)/1.02 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.essay .line span { display: block; text-wrap: balance; }
.essay .line span + span { margin-top: .14em; }
/* One short explaining paragraph under the line, body text in the serif, so each reads photo, line, sentence */
.essay .explain { margin: 18px 0 0; max-width: 34em; font: 19px/1.6 var(--serif); color: var(--text); text-wrap: pretty; }
@media (max-width: 700px) { .essay .essay-cap { padding: 22px 22px 52px; } .essay .explain { margin-top: 14px; font-size: 16.5px; } }

/* Home, the Live Desk */
.live { background: var(--desk); padding: 70px 7vw 80px; border-top: 1px solid var(--line); }
.livehead { font: 700 14px var(--sans); letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 30px; }
.livehead .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(27,63,209,.18); }
.live .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.live .cols.one { grid-template-columns: minmax(0, 46em); }
.live h3 { font: 800 26px var(--sans); margin: 0 0 18px; letter-spacing: -.01em; }
.live .entry { border-top: 1px solid var(--hair); padding: 18px 0 20px; }
.live .entry .date { font-family: var(--hand); color: var(--blue); font-size: 17px; margin-bottom: 4px; }
.live .entry p { font: 18px/1.55 var(--serif); margin: 0; }
.live .more { display: inline-block; margin-top: 10px; font: 600 16px var(--sans); color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 2px; }

@media (max-width: 700px) {
  .hero, .doors { grid-template-columns: 1fr; }
  .hero .ph { min-height: 46vh; order: -1; }
  .hero .txt { padding: 32px 22px; }
  .hero p { font-size: 16.5px; }
  .sigwrap { height: 96px; }
  .sigwrap .sigtxt { font-size: 56px; left: 34px; }
  .sigwrap .sw { height: 72px; }
  .door + .door { border-left: 0; }
  .door { padding: 30px 22px; }
  .builds-pointer { padding: 20px 22px 24px; }
  .dk { font-size: 26px; }
  .live { padding: 44px 22px 56px; }
  .live .cols { grid-template-columns: 1fr; gap: 36px; }
  .live h3 { font-size: 22px; }
  .live .entry p { font-size: 16.5px; }
}

/* Building and Consulting pages */
.wrap { max-width: 1180px; margin: 0 auto; padding: 70px 6vw 80px; }
.eyebrow { display: inline-block; font: 700 14px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.page h1 { font: 800 clamp(34px, 4vw, 54px)/1.02 var(--sans); letter-spacing: -.02em; margin: 10px 0 40px; max-width: 14ch; }
.page.consulting h1 { margin-bottom: 18px; max-width: 16ch; }

/* Building, one real week by hand and now (his words 16.34, picked 16.45): a hand drawn map like the Consulting
   drawing, the eight steps a side paired off in rows, a blue arrow from each By hand step to its Now step, and each
   column's time at its foot on the yellow mark. On a phone each pair is one drawn frame, By hand above Now. */
.map h2 { font: 800 clamp(24px, 2.6vw, 32px)/1.1 var(--sans); letter-spacing: -.01em; margin: 0 0 12px; }
.map-lead { font: 18px/1.6 var(--serif); max-width: 40em; margin: 0 0 26px; text-wrap: pretty; }
.map-board { border: 2px solid var(--ink); border-radius: 6px; padding: 26px 30px 30px; }
.map-heads, .map-pair, .map-totals { display: grid; grid-template-columns: 34px minmax(0, 1fr) 76px minmax(0, 1fr); }
.map-heads { margin-bottom: 16px; }
.map-heads .hand, .map-total.hand { grid-column: 2; }
.map-heads .now, .map-total.now { grid-column: 4; }
.map-col { justify-self: start; margin: 0; font: 700 14px var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--mark); padding: 3px calc(8px - .14em) 2px 8px; }
.map-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.map-n { font: 26px/1 var(--hand); color: var(--blue); padding-top: 13px; }
/* Each step a drawn box, two strokes like the Consulting boxes: the ink line, and a fainter one a touch off it */
.map-step { position: relative; border: 2px solid var(--ink); border-radius: 14px 4px 12px 5px / 5px 12px 4px 14px; padding: 12px 18px 14px; }
.map-step::after { content: ""; position: absolute; inset: -4px -3px -2px -2px; border: 1px solid var(--ink); opacity: .5;
  border-radius: 4px 14px 5px 12px / 12px 5px 14px 4px; transform: rotate(-.4deg); pointer-events: none; }
.map-pair:nth-child(even) .map-step { border-radius: 5px 13px 4px 12px / 12px 4px 13px 5px; }
.map-pair:nth-child(even) .map-step::after { inset: -2px -4px -3px -3px; transform: rotate(.35deg); }
.map-line { margin: 0; font: 20px/1.32 var(--hand); color: var(--ink); text-wrap: pretty; }
.map-arrow { display: flex; align-items: center; justify-content: center; }
.map-arrow svg { display: block; width: 56px; height: auto; }
/* The By hand and Now label on each step: read out everywhere, shown on a phone, where the column heads go */
.map-who { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.map-total { position: relative; }
.map-totals { margin-top: 24px; }
.map-time { margin: 0; font: 24px/1.4 var(--hand); color: var(--ink); text-wrap: balance; }
.map-time span { background: var(--mark); padding: 1px 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (max-width: 1000px) {
  .map-board { padding: 22px 20px 24px; }
  .map-heads, .map-pair, .map-totals { grid-template-columns: 28px minmax(0, 1fr) 52px minmax(0, 1fr); }
  .map-arrow svg { width: 40px; }
  .map-line { font-size: 19px; }
  .map-time { font-size: 22px; }
}
@media (max-width: 800px) {
  .map-lead { font-size: 16px; margin-bottom: 20px; }
  .map-board { border: 0; border-radius: 0; padding: 0; }
  .map-heads { display: none; }
  .map-steps { gap: 18px; }
  .map-pair, .map-totals { position: relative; grid-template-columns: 26px minmax(0, 1fr); border: 2px solid var(--ink);
    border-radius: 14px 4px 12px 5px / 5px 12px 4px 14px; padding: 14px 16px 16px 12px; }
  .map-pair:nth-child(even) { border-radius: 5px 13px 4px 12px / 12px 4px 13px 5px; }
  .map-pair::after, .map-totals::after { content: ""; position: absolute; inset: -4px -3px -2px -2px; border: 1px solid var(--ink); opacity: .5;
    border-radius: 4px 14px 5px 12px / 12px 5px 14px 4px; transform: rotate(-.4deg); pointer-events: none; }
  .map-pair:nth-child(even)::after { inset: -2px -4px -3px -3px; transform: rotate(.35deg); }
  .map-n { grid-column: 1; grid-row: 1 / span 3; padding-top: 1px; font-size: 24px; }
  .map-step { grid-column: 2; border: 0; border-radius: 0; padding: 0; }
  .map-step::after { display: none; }
  .map-step.hand { grid-row: 1; }
  .map-arrow { grid-column: 2; grid-row: 2; justify-content: flex-start; height: 36px; padding-left: 2px; }
  .map-arrow svg { width: 32px; transform: rotate(90deg); }
  .map-step.now { grid-row: 3; }
  .map-who { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal;
    margin: 0 0 3px; font: 700 11.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
  .map-line { font-size: 19px; }
  .map-totals { grid-template-columns: minmax(0, 1fr); row-gap: 14px; margin-top: 18px; padding: 14px 16px 16px; }
  .map-total.hand, .map-total.now { grid-column: 1; }
  .map-time { font-size: 21px; }
}

/* Building, one card per client build */
.builds { margin-top: 56px; }
.builds h2 { font: 800 clamp(24px, 2.6vw, 32px)/1.1 var(--sans); letter-spacing: -.01em; margin: 0 0 24px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 24px 26px 26px; }
.card .kind { font: 700 19px/1.3 var(--sans); margin: 0; }
.card .status { font: 20px/1.3 var(--hand); color: var(--blue); margin: 6px 0 10px; }
.card .line { font: 16px/1.55 var(--serif); margin: 0; }
@media (max-width: 800px) { .builds { margin-top: 44px; } .builds h2 { font-size: 24px; } .cards { grid-template-columns: 1fr; gap: 14px; } .card { padding: 20px 20px 22px; } }

/* Building and How it works, the line under the h1 */
.page.building h1, .page.how h1, .page.about h1 { margin-bottom: 18px; }
.page.about h1 { max-width: 18ch; text-wrap: balance; }
.page.how h1 { max-width: 24ch; text-wrap: balance; }   /* a full sentence, so a wider measure than the short headings */
.builds-more { margin: 22px 0 0; }
.builds-more a { display: inline-block; font: 600 16px var(--sans); color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 2px; }

/* How it works, our four latest jobs, one card each (layout B, his pick 10.33). The rows line up across the
   cards (subgrid), so each layer reads straight across; four across on desktop, two by two in between, stacked on a phone */
.page.how .how-lead { margin-bottom: 8px; }
.how-starky { font: 18px/1.6 var(--serif); margin: 0 0 32px; max-width: 40em; }
.job-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.job { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 18px 18px 8px; }
.job-head { padding-bottom: 12px; }
.job-title { font: 800 18px/1.25 var(--sans); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.job .status { font: 18px/1.3 var(--hand); color: var(--blue); margin: 4px 0 0; text-wrap: balance; }
.job-row { border-top: 1px solid var(--hair); padding: 10px 0 11px; }
.job-label { font: 700 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 3px; }
.job-line { font: 15px/1.45 var(--serif); margin: 0; }
@media (max-width: 1099px) { .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .job-grid { grid-template-columns: 1fr; gap: 14px; } .how-starky { font-size: 16.5px; } .job-line { font-size: 16px; } }

/* How it works, the layers (the rings map carried from the old system page) */
.layers { margin-top: 56px; }
.layers-lead { font: 18px/1.6 var(--serif); max-width: 40em; margin: 0 0 24px; }
.layers h2, .method h2, .sys h2 { font: 800 clamp(24px, 2.6vw, 32px)/1.1 var(--sans); letter-spacing: -.01em; margin: 0 0 16px; }
.layers-fig { margin: 0 auto; max-width: 440px; text-align: center; }
.layers-pic { display: block; width: 100%; height: auto; margin: 0 auto; }
.layers-fig figcaption { font: 16px/1.5 var(--serif); color: var(--text); margin-top: 12px; }

/* How it works, How it learns, You own it. and How it's guarded (carried from the old system page) */
.sys { margin-top: 56px; }
.sys > p { font: 18px/1.6 var(--serif); max-width: 40em; margin: 0 0 18px; }
.sys-list { list-style: none; margin: 0 0 18px; padding: 0; max-width: 46em; }
.sys-list > li { border-top: 1px solid var(--hair); padding: 14px 0 16px; font: 17px/1.6 var(--serif); }
.sys-list > li:last-child { border-bottom: 1px solid var(--hair); }
.sys-list b { font: 700 16px/1.4 var(--sans); }
.sys-list ul { margin: 8px 0 0; padding-left: 22px; }
.sys-list ul li { margin: 4px 0; }
@media (max-width: 700px) { .sys > p { font-size: 16.5px; } .sys-list > li { font-size: 16px; } }

/* How it works, Method, Mac Mini or cloud (concept 9; his kit photo still to come) */
.method { margin-top: 56px; }
.method-line { font: 18px/1.6 var(--serif); max-width: 40em; margin: 0 0 20px; }
.method-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.method-box { background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 22px 24px 24px; }
.method-label { display: block; font: 700 19px/1.3 var(--sans); margin-bottom: 6px; }
.method-box p { font: 20px/1.35 var(--hand); color: var(--blue); margin: 0; }
@media (max-width: 800px) { .method-pair { grid-template-columns: 1fr; gap: 14px; } }

/* Consulting, the drawn model */
.lead { font: 18px/1.6 var(--serif); max-width: 40em; margin: 0 0 40px; }
.board { background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 30px 26px 20px; }
.board svg { display: block; width: 100%; height: auto; }
.board .tall { display: none; }
.first-step { font: 18px/1.6 var(--serif); max-width: 40em; margin: 48px 0 0; }
.first-step strong { font-weight: 700; }

@media (max-width: 800px) {
  .lead, .first-step { font-size: 16px; }
  .first-step { margin-top: 32px; }
  .board { padding: 14px 8px 8px; }
  .board .wide { display: none; }
  .board .tall { display: block; max-width: 420px; margin: 0 auto; }
}

/* About, his words beside his photo */
.about-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: start; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 6px; }
.about-text h2 { font: 800 clamp(24px, 2.6vw, 32px)/1.1 var(--sans); letter-spacing: -.01em; margin: 0 0 14px; }
.about-text p { font: 18px/1.6 var(--serif); margin: 0 0 16px; max-width: 36em; }
.about-text a { color: var(--blue); text-decoration: underline; }
.end .end-note { margin-bottom: 10px; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 26px; } .about-photo { max-width: 420px; } .about-text p { font-size: 16.5px; } }

/* Free builds, the library page and one page per build (rendered by build_library.py) */
.page.builds-lib h1, .page.build-detail h1 { margin-bottom: 18px; max-width: 22ch; text-wrap: balance; }
.file-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.file-card { display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 18px 18px 16px; }
.fc-name { font: 12.5px/1.4 ui-monospace, Menlo, Consolas, monospace; color: var(--text); margin: 0 0 8px; overflow-wrap: anywhere; }
.fc-title { font: 800 19px/1.25 var(--sans); letter-spacing: -.01em; margin: 0; }
.fc-title a:hover { text-decoration: underline; }
.fc-desc { font: 16px/1.5 var(--serif); margin: 6px 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 600 11px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--ink); border-radius: 4px; padding: 2px 6px; }
.fc-links { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.dl, .fc-read, .back { display: inline-flex; align-items: center; gap: 6px; font: 600 15px var(--sans); color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
.dl svg { width: 15px; height: 15px; }
.signup { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 40px; }
.signup h2 { font: 800 clamp(24px, 2.6vw, 32px)/1.1 var(--sans); letter-spacing: -.01em; margin: 0 0 12px; }
.signup p { font: 18px/1.6 var(--serif); margin: 0; max-width: 40em; }
.signup .signup-note { font-size: 16px; margin-top: 14px; }
.signup-note a, .builds-lib .lead a, .build-article a { color: var(--blue); text-decoration: underline; }
.build-detail .back { border-bottom: 0; text-decoration: underline; margin-bottom: 20px; }
.build-detail .tags { margin-bottom: 4px; }
.dl-row { margin: 18px 0 36px; }
.build-article { max-width: 46em; }
.build-article h2 { font: 800 clamp(22px, 2.2vw, 28px)/1.15 var(--sans); letter-spacing: -.01em; margin: 40px 0 12px; }
.build-article h3 { font: 700 19px/1.3 var(--sans); margin: 28px 0 10px; }
.build-article p, .build-article li { font: 17px/1.65 var(--serif); overflow-wrap: anywhere; }
.build-article p { margin: 0 0 16px; }
.build-article ul, .build-article ol { margin: 0 0 16px; padding-left: 22px; }
.build-article li { margin: 0 0 6px; }
.build-article code { font: .88em/1.5 ui-monospace, Menlo, Consolas, monospace; background: var(--desk); border-radius: 3px; padding: 1px 4px; }
.build-article pre { border: 2px solid var(--ink); border-radius: 6px; padding: 14px 16px; margin: 0 0 20px; overflow-x: auto; max-width: 100%; }
.build-article pre code { font-size: 14px; background: none; padding: 0; border-radius: 0; }
.build-article table { border-collapse: collapse; margin: 0 0 20px; display: block; overflow-x: auto; }
.build-article th, .build-article td { border: 1px solid var(--hair); padding: 6px 10px; text-align: left; font: 15px/1.5 var(--serif); }
@media (max-width: 1099px) { .file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .file-grid { grid-template-columns: 1fr; gap: 14px; } .build-article p, .build-article li { font-size: 16.5px; } .build-article pre code { font-size: 13px; } .signup p { font-size: 16.5px; } }

/* 404, Page not found and a link home */
.page.notfound { min-height: 55vh; }
.nf-home a { display: inline-block; font: 600 18px var(--sans); color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 2px; }

/* End of page, a line and a mail button */
.end { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 40px; }
.end p { font: 19px/1.6 var(--serif); margin: 0; max-width: 34em; }
@media (max-width: 700px) { .end p { font-size: 16.5px; } }

/* Privacy and Terms, which load this sheet after style.css: their text in the palette's colours, no grey */
main.legal p, main.legal li, main.legal .updated { color: var(--text); }
main.legal a { color: var(--blue); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 30px 7vw 40px; background: var(--paper); font: 13px/1.6 var(--sans); color: var(--text); }
.foot-links { display: flex; gap: 22px; margin-bottom: 12px; }
.foot-links a { color: var(--text); font-weight: 600; }
.foot-links a:hover { color: var(--blue); }
.foot p { margin: 0; max-width: 60em; }
/* On Building and Consulting the footer lines up with the content column of .wrap */
main.wrap + .foot { padding-left: max(6vw, calc((100% - 1180px) / 2 + 6vw)); padding-right: max(6vw, calc((100% - 1180px) / 2 + 6vw)); }
/* On Privacy and Terms it lines up with the text column of .legal (style.css, 760px wide with 24px padding) */
main.legal + .foot { padding-left: max(24px, calc((100% - 760px) / 2 + 24px)); padding-right: max(24px, calc((100% - 760px) / 2 + 24px)); }
