:root {
  --chrome: #f4f2ed;
  --surface: #fbfaf7;
  --desk: #e9e6df;
  --recessed: #f0ede6;
  --chip: #eceade;
  --border: #d8d4cb;
  --hairline: #efece5;
  --darkBorder: #3a3730;
  --ink: #211f1b;
  --secondary: #5c574d;
  --muted: #8a857a;
  --faint: #a39d90;
  --greyed: #c4bfb3;
  --accent: #2b5fa3;
  --accentHover: #1d4478;
  --selected: #e4ecf7;
  --success: #1e6b3a;
  --successFill: #e2efe6;
  --warning: #b4552d;
  --warningFill: #fbe9d9;
  --warningFillStrong: #f6d5b9;
  --dark: #211f1b;
  --dark2: #26241f;
  --dark3: #2b2925;
  --darkText: #cfc9bc;
  --accentOnDark: #7fa8e0;
  --refusalOnDark: #e8a87c;
  --darkMuted: #6d685e;
  --unitFill: #f4f1ea;
  --paneRule: #e5e1d8;
  --stage: #171512;
  --signOffOnDark: #e8a37a;
  --successOnDark: #6fae84;
  --fieldOnDark: #4a463f;
}
/*
 * Kishtin's website, in the app's brand (docs/brand/README.md): warm greys, the one blue for what acts, Archivo for
 * what a person reads and JetBrains Mono for what a person types. The colours are the variables the build writes
 * above this from @christoff/ui; nothing here restates one. Sizes are larger than the app's, for reading at leisure.
 */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--chrome); color: var(--ink); font: 400 16px/1.55 Archivo, system-ui, sans-serif; }
a { color: var(--accent); }
a:hover { color: var(--accentHover); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
kbd, .mono, code { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 18px; color: var(--secondary); max-width: 640px; }
.note { font-size: 14px; color: var(--muted); }

/* Buttons, as the app's: the blue for the one that acts. */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--ink); font: 600 15px Archivo, system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--secondary); color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.btn.primary:hover { background: var(--accentHover); border-color: var(--accentHover); color: var(--surface); }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Until Philip's plans, details and a review: said on every page. */
.preview { padding: 8px 24px; background: var(--warningFill); color: var(--warning); font-size: 13.5px; font-weight: 600; text-align: center; }
mark.blank { padding: 0 4px; border-radius: 4px; background: var(--warningFill); color: var(--warning); font-weight: 600; }

/* The header and footer: the mark beside the wordmark, as the app's header has it. */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand { gap: 12px; }
.brand .mark { width: 42px; height: 42px; flex: none; }
.foot .brand .mark { width: 36px; height: 36px; }
.wordmark { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.foot .wordmark { font-size: 20px; }
.top { background: var(--surface); border-bottom: 1px solid var(--hairline); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 80px; }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a { color: var(--secondary); text-decoration: none; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }
.foot { margin-top: 0; padding: 40px 0 48px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a { color: var(--secondary); text-decoration: none; }
.foot p { flex-basis: 100%; }

figure { margin: 0; }
.questions h2 { font-size: 30px; font-weight: 700; margin-bottom: 14px; }

/* A page's own heading, for the plans, sign in and not found. */
.page-head { padding: 64px 0 36px; }
.page-head h1 { margin-bottom: 14px; font-size: 40px; font-weight: 700; }
.page-head.narrow .wrap { max-width: 640px; }

/* The plans, a card each, the suggested one in the blue. */
.plans { padding: 8px 0 64px; }
.plans .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.currency { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; padding: 0; border: 0; font-size: 14px; }
.currency legend { float: left; margin-right: 4px; padding: 0; color: var(--muted); }
.currency label { position: relative; padding: 6px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--secondary); font-weight: 600; cursor: pointer; }
.currency input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.currency label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.currency label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.plan.suggested { border: 2px solid var(--accent); box-shadow: 0 6px 18px rgba(20, 18, 14, 0.12); }
.plan .chip { position: absolute; top: -12px; left: 22px; padding: 2px 10px; border-radius: 5px; background: var(--accent); color: var(--surface); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.plan h2 { font-size: 22px; font-weight: 700; }
.plan .summary { margin-top: 8px; min-height: 4.65em; font-size: 15px; color: var(--secondary); }
.plan .price { margin-top: 18px; font-size: 16px; color: var(--secondary); }
.plan .price b { font-size: 36px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.plan .year { font-size: 14px; color: var(--muted); }
.plan ul { flex: 1; margin: 20px 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 6px; height: 11px; border: solid var(--success); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan li.not { color: var(--faint); text-decoration: line-through; }
.plan li.not::before { top: 11px; width: 10px; height: 0; border-width: 2px 0 0; border-color: var(--greyed); transform: none; }
.plan .btn { width: 100%; }

.questions { padding: 56px 0 80px; border-top: 1px solid var(--border); }
.questions dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin: 28px 0 0; }
.questions dt { font-weight: 700; }
.questions dd { margin: 6px 0 0; color: var(--secondary); }

/* Sign in: the company's word, before its address, as the app's sign-up has it. */
.address-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 28px; max-width: 460px; }
.address-form label { font-size: 14px; font-weight: 600; color: var(--secondary); }
.address { display: flex; align-items: center; height: 46px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); }
.address:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--selected); }
.address input { flex: 1; min-width: 0; height: 100%; padding: 0 2px 0 14px; border: 0; background: transparent; font: 400 16px 'JetBrains Mono', ui-monospace, monospace; color: var(--ink); outline: none; }
.address span { padding: 0 14px 0 0; font: 400 15px 'JetBrains Mono', ui-monospace, monospace; color: var(--muted); white-space: nowrap; }
.address-form .said { min-height: 1.4em; font-size: 14px; color: var(--warning); }
.address-form .btn { justify-self: start; }
.page-head .note { margin-top: 28px; }

/* The terms and the privacy notice: a reading column. */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin-bottom: 18px; font-size: 38px; font-weight: 700; }
.legal h2 { margin: 36px 0 10px; font-size: 19px; font-weight: 700; }
.legal p, .legal li { color: var(--secondary); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal .note { margin-top: 40px; }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 14px; height: 64px; }
  .brand .mark { width: 36px; height: 36px; }
  .top nav { gap: 16px; }
  .top nav a:first-child { display: none; }
  .top .brand .wordmark { display: none; }
  .lead { font-size: 16.5px; }
  .questions h2 { font-size: 24px; }
  .questions dl { grid-template-columns: minmax(0, 1fr); }
  .page-head { padding: 44px 0 28px; }
  .page-head h1, .legal h1 { font-size: 30px; }
  .actions .btn { flex: 1 1 100%; }
}
/*
 * The home page (pages/home.ts), in the redesign agreed on 16 October (docs/website-redesign/README.md): the opening on
 * ink with the render beside the words, the AI assistant large on the stage's dark straight after it, then sections in
 * the warm greys with the workshop and the close on ink again. Headings are Archivo Bold; JetBrains Mono for the
 * numbers, the tags and what is typed. Larchmoor's letterhead is set in Larchmoor's own face, Fraunces, served with
 * the site, and its forest green, as it is Larchmoor's paper being shown.
 */

@font-face { font-family: Fraunces; font-style: normal; font-weight: 600; font-display: swap; src: url(/demo/fraunces-600.woff2) format("woff2"); }

/* On the home page the header sits on the ink of the opening. */
.home .top { background: var(--ink); border-bottom-color: var(--dark3); }
.home .top .wordmark { color: var(--chrome); }
.home .top .brand .mark rect { fill: var(--dark3); }
.home .top nav a { color: var(--darkText); }
.home .top nav a:hover, .home .top nav a[aria-current="page"] { color: var(--chrome); }
.home .foot { background: var(--stage); border-top-color: var(--dark3); color: var(--darkText); }
.home .foot .wordmark { color: var(--chrome); }
.home .foot nav a { color: var(--darkText); }
.home .foot .brand .mark rect { fill: var(--dark3); }

.home .wrap { max-width: 1240px; padding: 0 24px; }
.home section > .wrap { padding-top: 96px; padding-bottom: 96px; }
.home h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; }
.home h3 { font-weight: 700; }
.home .label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.home .lead { font-size: 18px; line-height: 1.6; color: var(--secondary); }
.home .icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.home figure img, .home section > .wrap > img, .home .close img { display: block; width: 100%; height: auto; }
.home .credit { font-size: 13px; color: var(--muted); }
.home .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.btn.large { height: 52px; padding: 0 24px; font-size: 16px; }
.btn.ghost { background: transparent; border-color: var(--darkMuted); color: var(--chrome); }
.btn.ghost:hover { border-color: var(--chrome); color: var(--chrome); }

/* A section's heading on the left, its lead beside it. */
.home .intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.home .intro.single { grid-template-columns: minmax(0, 760px); }
.home .intro.single .lead { margin-top: 4px; }

/* The opening: Delaney's render the full width, darkened to the left and below for the words over it. */
.opening { position: relative; overflow: hidden; background: var(--stage); color: var(--chrome); }
.opening > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.opening::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 21, 18, 0.92) 0%, rgba(23, 21, 18, 0.78) 34%, rgba(23, 21, 18, 0.2) 68%, rgba(23, 21, 18, 0) 100%), linear-gradient(0deg, rgba(23, 21, 18, 0.75) 0%, rgba(23, 21, 18, 0) 32%); }
.opening .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; min-height: min(820px, 92vh); }
.home .opening .wrap { padding-top: 96px; padding-bottom: 40px; }
.opening .pitch { display: flex; flex-direction: column; gap: 22px; max-width: 640px; }
.opening .label { margin: 0; color: var(--accentOnDark); }
.opening .slogan { margin: 0; font-size: clamp(44px, 6vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.opening .slogan span { color: var(--accentOnDark); }
.opening .lead { max-width: 34em; color: var(--darkText); font-size: 19px; }
.opening .pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border: 1px solid var(--darkMuted); border-radius: 999px; background: rgba(43, 41, 37, 0.85); font-size: 15px; }
.opening .pill span { padding: 3px 8px; border-radius: 999px; background: var(--accentOnDark); color: var(--ink); font-size: 12px; font-weight: 700; }
.opening .actions { margin-top: 0; }
.command { display: flex; flex-wrap: wrap; gap: 4px 10px; font: 400 14px 'JetBrains Mono', ui-monospace, monospace; color: var(--faint); }
.command .prompt { color: var(--darkMuted); }
.command .typed { color: var(--chrome); }
.home .opening .credit { align-self: flex-end; max-width: 520px; text-align: right; color: var(--darkText); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }

/* The five things one design gives. */
.outputs { background: var(--surface); border-bottom: 1px solid var(--border); }
.home .outputs ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 24px; margin: 0 auto; padding-top: 22px; padding-bottom: 22px; list-style: none; }
.outputs li { display: flex; align-items: baseline; gap: 10px; font-weight: 600; }
.outputs .n { color: var(--accent); font: 400 13px 'JetBrains Mono', ui-monospace, monospace; }

/* The AI assistant: large, on the stage's dark, with the example conversation beside it. */
.assistant { background: var(--stage); color: var(--chrome); }
.assistant .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.home .assistant .wrap { padding-top: 104px; padding-bottom: 104px; }
.assistant .words { display: flex; flex-direction: column; gap: 22px; }
.assistant .label { margin: 0; color: var(--accentOnDark); }
.assistant h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; }
.assistant .lead { color: var(--darkText); font-size: 19px; }
.abilities { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.abilities li { padding: 18px; border: 1px solid var(--dark3); border-radius: 8px; background: var(--ink); }
.abilities h3 { margin-bottom: 6px; font-size: 18px; }
.abilities p { font-size: 15px; color: var(--faint); }
.assistant .small { font-size: 14px; color: var(--muted); }
.chat { margin: 0; overflow: hidden; border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45); }
.chat .bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.chat .bar b { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.chat .bar span { color: var(--muted); }
.chat .said { display: flex; flex-direction: column; gap: 14px; padding: 20px 18px; font-size: 15px; }
.chat .you { align-self: flex-end; max-width: 80%; padding: 10px 14px; border-radius: 12px 12px 4px 12px; background: var(--accent); color: #fff; }
.chat .it { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--border); border-radius: 12px 12px 12px 4px; background: #fff; }
.chat .card-head { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--secondary); }
.chat .card-head .mono { color: var(--ink); font-weight: 500; }
.chat .parts { display: grid; gap: 2px; margin: 0; padding: 8px 10px; border-radius: 6px; background: var(--recessed); list-style: none; font-size: 13px; }
.chat .parts li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.chat .parts .mono { color: var(--secondary); }
.chat .actions-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chat .open { padding: 5px 10px; border-radius: 5px; background: var(--selected); color: var(--accentHover); font-size: 13px; font-weight: 600; }
.chat .note { padding: 5px 10px; border-radius: 5px; background: var(--chip); color: var(--secondary); font-size: 13px; }
.chat .check { display: flex; gap: 8px; align-items: baseline; }
.chat .chip { flex: none; padding: 3px 7px; border-radius: 4px; background: var(--warningFill); color: var(--warning); font-size: 12px; font-weight: 700; }
.chat .ask { margin: 0 18px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); font-size: 14px; }
.chat figcaption { padding: 14px 18px 16px; font-size: 12.5px; color: var(--muted); }

/* Three pictures across, with their captions under them. */
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.three figure { display: flex; flex-direction: column; gap: 10px; }
.three img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.three figcaption { font-size: 14px; color: var(--secondary); }
.three figcaption b { color: var(--ink); }
.three figcaption span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.three figcaption.mono { font-size: 13px; }
.photos .wrap { display: flex; flex-direction: column; gap: 0; }
.home .photos .wrap { padding-bottom: 40px; }
.home .finishes .wrap { padding-top: 56px; }
.finishes .credit { margin-top: 14px; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--border); list-style: none; }
.points li { display: grid; gap: 2px; }
.points span { color: var(--secondary); }

/* Every job on one track: the ten stages, then a card each for the customer, the office and the owner. */
.track { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stages { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.stages ol { display: grid; grid-template-columns: repeat(10, minmax(92px, 1fr)); gap: 6px; min-width: 960px; margin: 0; padding: 20px; list-style: none; }
.stages li { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
.stages i { height: 6px; border-radius: 3px; background: var(--success); }
.stages .now i { background: var(--accent); }
.stages .now span { color: var(--accent); font-weight: 700; }
.stages .next i { background: var(--border); }
.stages .next span { color: var(--secondary); font-weight: 400; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 40px; }
.cards > div { padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.cards .tag { margin-bottom: 6px; font: 400 12px 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.cards h3 { margin-bottom: 8px; font-size: 20px; }
.cards p:last-child { color: var(--secondary); }

/* The presentation pack's pages, from Larchmoor's pack. */
.pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.pages figure { display: flex; flex-direction: column; gap: 8px; }
.pages img { border-radius: 4px; box-shadow: 0 6px 18px rgba(20, 18, 14, 0.12); }
.pages figcaption { font-size: 13px; color: var(--secondary); }
/* Present's four screens two by two, large enough to read the words on them. */
.presentation .pages { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.presentation .credit { margin-top: 18px; }

/* Two columns: words beside a picture. */
.own-name .wrap, .library .wrap, .workshop .wrap, .close .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 56px; align-items: center; }
.own-name .words, .library .words, .workshop .words, .close .words { display: flex; flex-direction: column; gap: 16px; }
.own-name .label, .library .label, .workshop .label { margin: 0; }
.own-name .at { font-size: 14px; color: var(--secondary); }

/* Larchmoor's letterhead, in its own face and green: the quote as the customer is sent it. */
.letterhead { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 36px; border: 1px solid var(--border); border-radius: 8px; background: #fff; box-shadow: 0 6px 18px rgba(20, 18, 14, 0.12); }
.letterhead .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; }
.letterhead .head img { width: auto; height: 52px; }
.letterhead .head p { font-size: 12px; text-align: right; color: var(--secondary); }
.letterhead .title { font: 600 26px/1.2 Fraunces, Georgia, serif; color: #2f4a3a; }
.letterhead .lines { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.letterhead .lines p { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--hairline); }
.letterhead .lines b { margin-right: 6px; }
.letterhead .lines .total { padding-top: 4px; border-bottom: 0; font-weight: 700; }
.letterhead figcaption { font-size: 12px; color: var(--muted); }

/* Your library: the words beside the door style editor as it is. */
.library { background: var(--surface); border-top: 1px solid var(--border); }
.library ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-left: 18px; color: var(--secondary); }
.library ul b { color: var(--ink); }
.screen { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.screen img { border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 6px 18px rgba(20, 18, 14, 0.12); }
.screen figcaption { font-size: 13px; color: var(--muted); }

/* For the workshop, on ink. */
.workshop { background: var(--ink); color: var(--chrome); }
.workshop .wrap > img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.workshop .label { color: var(--accentOnDark); }
.workshop .lead { color: var(--darkText); }
.workshop .made { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; margin: 6px 0 0; padding: 0; list-style: none; }
.workshop .made li { display: grid; gap: 2px; }
.workshop .made span { color: var(--faint); }
.workshop .credit { color: var(--darkMuted); }

/* The plans in brief. */
.teaser { background: var(--surface); border-top: 1px solid var(--border); }
.home .teaser .wrap { padding-top: 80px; padding-bottom: 80px; }
.teaser .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.teaser .row h2 { font-size: clamp(28px, 3vw, 38px); }
.teaser .row a { font-weight: 600; }
.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.mini { padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.mini.suggested { padding: 23px; border: 2px solid var(--accent); }
.mini h3 { margin-bottom: 4px; font-size: 20px; }
.mini p { color: var(--secondary); }
.mini .price { margin-top: 10px; color: var(--ink); }
.mini .price b { font-size: 26px; }
.teaser .note { margin-top: 18px; }

/* The close: Moran's render beside the call to action, on ink. */
.close { background: var(--ink); color: var(--chrome); }
.close h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; }
.close .lead { color: var(--darkText); }
.close .actions { margin-top: 4px; }
.close .wrap > img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.close .demo-blank { font-size: 14px; }
.home .close > .fine { padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--dark3); font-size: 13px; color: var(--darkMuted); }

@media (max-width: 760px) {
  .home section > .wrap, .home .assistant .wrap { padding-top: 64px; padding-bottom: 64px; }
  .home .opening .wrap { min-height: 0; padding-top: 250px; padding-bottom: 28px; }
  .opening > img { height: 340px; object-position: 70% 50%; }
  .opening::after { background: linear-gradient(180deg, rgba(23, 21, 18, 0) 0, rgba(23, 21, 18, 0.2) 120px, rgba(23, 21, 18, 0.85) 250px, var(--stage) 340px); }
  .home .opening .credit { align-self: flex-start; text-align: left; }
  .home .wrap { padding-left: 16px; padding-right: 16px; }
  .opening .lead, .assistant .lead { font-size: 17px; }
  .letterhead { padding: 22px; }
  .letterhead .head p { text-align: left; }
  .chat .parts li { grid-template-columns: minmax(0, 1fr) auto; }
  .chat .parts li span:last-child { display: none; }
}
/*
 * The plans page's add-ons, its table of what every plan gives and its questions (pages/plans.ts), in the redesign of
 * 16 October. The cards and the questions' grid are style.css's; these are the sections the redesign adds.
 */

.add-ons, .every { padding: 0 0 64px; }
.add-ons h2, .every h2 { margin-bottom: 20px; font-size: 30px; font-weight: 700; }
.add-ons .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.add-on { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px dashed var(--border); border-radius: 12px; background: var(--surface); }
.add-on h3 { font-size: 18px; font-weight: 700; }
.add-on p { color: var(--secondary); font-size: 15px; }
.add-on .price { margin-top: auto; padding-top: 8px; color: var(--ink); font-weight: 600; }
.every .table { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.every table { width: 100%; border-collapse: collapse; font-size: 15px; }
.every th, .every td { padding: 14px 18px; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.every tbody tr:last-child th, .every tbody tr:last-child td { border-bottom: 0; }
.every thead th { background: var(--recessed); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--secondary); }
.every tbody th { width: 160px; font-weight: 700; white-space: nowrap; }
.every td { color: var(--secondary); }

@media (max-width: 600px) {
  .add-ons h2, .every h2 { font-size: 24px; }
  .every tbody th { width: auto; white-space: normal; }
  .every th, .every td { padding: 12px 14px; }
}

/* The currency, discreet at the top of the page: EUR or GBP, chosen by the browser's time zone and changed here. */
.page-head .currency { justify-content: flex-end; gap: 4px; margin: -36px 0 20px; font-size: 12.5px; }
.page-head .currency legend { margin-right: 6px; }
.page-head .currency label { padding: 3px 10px; border-color: var(--border); background: transparent; font: 600 12px 'JetBrains Mono', ui-monospace, monospace; }
.page-head .currency label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.add-on .in { margin-top: auto; }
@media (max-width: 600px) {
  .page-head .currency { margin-top: -20px; }
}
/*
 * The pages for each thing Kishtin does (pages/features.ts), and the footer's row of links to them on every page. The
 * assistant's example and Larchmoor's letterhead keep their home.css styles; the rest is set here.
 */

.foot nav.features { flex-basis: 100%; gap: 8px 20px; font-size: 13.5px; }

.feature .page-head .label { margin-bottom: 12px; }
.feature .page-head h1 { max-width: 820px; }
.feature .page-head .lead { max-width: 760px; }
.feature .shows { padding: 0 0 48px; }
.feature .shows .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.row-pictures img, .feature .screen img, .feature .sheet svg { display: block; width: 100%; height: auto; }
.feature .chat .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature .shows .chat, .feature .shows .letterhead { max-width: 640px; }
.row-pictures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.row-pictures figure { display: flex; flex-direction: column; gap: 8px; }
.row-pictures img { border-radius: 8px; box-shadow: 0 6px 18px rgba(20, 18, 14, 0.12); }
.row-pictures figcaption, .feature .shows figcaption { font-size: 13px; color: var(--muted); }
.feature .credit { font-size: 13px; color: var(--muted); }
.feature .screen { display: flex; flex-direction: column; gap: 10px; max-width: 960px; }
.feature .screen img { border: 1px solid var(--border); border-radius: 12px; }
.feature .sheet { max-width: 820px; display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.feature .sheet svg { max-height: 360px; }
.feature .cut { display: flex; flex-direction: column; gap: 8px; }
.feature .cut .table { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.feature .cut table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15px; }
.feature .cut th { padding: 12px 18px; background: var(--recessed); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-align: left; text-transform: uppercase; color: var(--secondary); }
.feature .cut td { padding: 11px 18px; border-top: 1px solid var(--hairline); }
.feature .cut td.mono { white-space: nowrap; }
.feature .facts { padding: 48px 0 80px; border-top: 1px solid var(--border); background: var(--surface); }
.feature .facts ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 40px; margin: 0; padding: 0; list-style: none; }
.feature .facts h2 { margin-bottom: 6px; font-size: 19px; font-weight: 700; }
.feature .facts p { color: var(--secondary); }
.feature .facts .actions { margin-top: 40px; }
