/* Generated by internal/themes: faces, base.css, then diarium.css, diarium-plus.css, asymco.css, asymco-pages.css, diarium-plus-dark.css, asymco-dark.css. */
@font-face { font-display: swap; font-family: "Timeless Serif"; font-style: normal; font-weight: 100 900; src: url("/theme/fonts/timeless/1.094/TimelessSerifVF.8d63fb19982087ff.woff2") format("woff2"); }
@font-face { font-display: swap; font-family: "Timeless Serif"; font-style: italic; font-weight: 100 900; src: url("/theme/fonts/timeless/1.094/TimelessSerifItalicVF.82fff1584c338894.woff2") format("woff2"); }
@font-face { font-display: swap; font-family: "Timeless Sans"; font-style: normal; font-weight: 100 900; src: url("/theme/fonts/timeless/1.094/TimelessSansVF.353b3fbb75b8e9b9.woff2") format("woff2"); }
@font-face { font-display: swap; font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; src: url("/theme/fonts/dm-sans/4.004/DMSans-VF.aa530716b0d35186.woff2") format("woff2"); }

/* base.css */
/* base.css: what every theme shares. Structure and sensible defaults,
   all of it driven by the custom properties below, so a theme is mostly
   a new set of values plus whatever it does differently. Properties are
   alphabetised within a rule. */

:root {
  --accent: #2353b8;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-heading: var(--font-body);
  --font-ui: var(--font-body);
  --gap: clamp(1rem, 3vw, 2rem);
  --ink: #17212b;
  --leading: 1.6;
  --measure: 38rem;
  --muted: #55606c;
  --paper: #ffffff;
  --rule: #e6ebf0;
  --size: clamp(1.0625rem, 0.4vw + 0.98rem, 1.1875rem);
  --wide: 60rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--size);
  line-height: var(--leading);
  margin: 0;
  overflow-wrap: break-word;
}

a { color: var(--accent); text-decoration-thickness: 0.06em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.12em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

img { block-size: auto; display: block; max-inline-size: 100%; }

/* The site's chrome. */

header[data-site], main, footer[data-site] {
  margin-inline: auto;
  max-inline-size: var(--wide);
  padding-inline: var(--gap);
}

header[data-site] {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding-block: calc(var(--gap) * 1.25) var(--gap);
}

a[data-site-title] {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 0.45em;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

img[data-site-mark] { block-size: 1.1em; border-radius: 22%; flex: none; inline-size: 1.1em; }
/* A site's own logo (Branding) keeps its shape: as tall as the title's
   line, as wide as that makes it. */
picture[data-site-mark-frame] { display: contents; }
img[data-site-mark][data-site-logo] { block-size: 1.6em; border-radius: 0; inline-size: auto; }
ul[data-social] { display: flex; flex-wrap: wrap; gap: 0.4em 1em; list-style: none; margin: 0.5em 0 0; padding: 0; }

p[data-site-tagline] { color: var(--muted); font-family: var(--font-ui); font-size: 0.9rem; margin: 0; }

nav[data-site-nav] { flex-basis: 100%; font-family: var(--font-ui); font-size: 0.95rem; }
nav[data-site-nav] ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
nav[data-site-nav] a { color: var(--muted); text-decoration: none; }
nav[data-site-nav] a:hover, nav[data-site-nav] a[aria-current] { color: var(--ink); text-decoration: underline; }
div[data-today] { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; font-family: var(--font-ui); font-size: 0.9rem; color: var(--muted); }
[data-today-title] { font-weight: 600; color: var(--ink); }
div[data-today] ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; list-style: none; margin: 0; padding: 0; }
div[data-today] li span::after { content: ":"; }
div[data-today] a { color: var(--ink); }

main { padding-block: var(--gap) calc(var(--gap) * 3); }

footer[data-site] {
  border-block-start: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding-block: var(--gap) calc(var(--gap) * 2);
}
footer[data-site] a { color: inherit; }

/* A hosted site whose plan has lapsed says so, quietly, under every
   theme's footer. */
p[data-lapsed] {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  margin: 0 auto;
  max-inline-size: var(--measure);
  padding: 0 var(--gap) var(--gap);
  text-align: center;
}

p[data-notice] {
  background: color-mix(in oklch, var(--accent) 10%, var(--paper));
  border-inline-start: 3px solid var(--accent);
  font-family: var(--font-ui);
  margin-block: 0 var(--gap);
  padding: 0.75rem 1rem;
}
p[data-test-mode] {
  border: 2px dashed var(--accent);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  margin-block: 0 var(--gap);
  padding: 0.5rem 1rem;
}

nav[data-preview-bar] {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  margin: 0;
  padding: 0.5rem var(--gap);
}
nav[data-preview-bar] [data-preview-group] { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
nav[data-preview-bar] a { border: 1px solid transparent; border-radius: 999px; color: var(--paper); padding: 0.1rem 0.6rem; text-decoration: none; }
nav[data-preview-bar] a:hover { border-color: var(--paper); }
nav[data-preview-bar] a[aria-current] { background: var(--paper); color: var(--ink); }
/* The admin bar, for staff (public/core/adminbar.go): a thin dark strip
   as WordPress.com draws over a published page, each way in a small
   icon (a CSS mask, so it takes the link's colour) beside a short label,
   and at its end a white +. Patrix's own colours, not the theme's, so it
   reads the same over every theme. On a phone the labels go and the
   icons stay; a label stays the link's accessible name either way. */
nav[data-admin-bar] {
  align-items: center;
  background: #1d2327;
  box-sizing: border-box;
  color: #f0f0f1;
  display: flex;
  flex-wrap: wrap;
  font: 400 0.8125rem/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  gap: 0 0.125rem;
  letter-spacing: normal;
  margin: 0;
  min-block-size: 32px;
  padding: 0 0.5rem;
  position: relative;
  text-transform: none;
  z-index: 1000;
}
nav[data-admin-bar] a {
  align-items: center;
  block-size: 32px;
  box-sizing: border-box;
  color: inherit;
  display: inline-flex;
  gap: 0.375rem;
  padding: 0 0.5rem;
  text-decoration: none;
  white-space: nowrap;
}
nav[data-admin-bar] a:hover { background: #2c3338; color: #72aee6; }
nav[data-admin-bar] :focus-visible { outline: 2px solid #72aee6; outline-offset: -2px; }
nav[data-admin-bar] [data-admin-site] { font-weight: 600; }
nav[data-admin-bar] [data-admin-site] img { block-size: 20px; border-radius: 3px; inline-size: 20px; object-fit: contain; }
:is(nav[data-admin-bar] [data-admin-home], nav[data-admin-bar] [data-admin-new], nav[data-admin-bar] [data-admin-edit], nav[data-admin-bar] [data-admin-comments], nav[data-admin-bar] [data-admin-me], nav[data-admin-bar] [data-admin-devices] a, nav[data-admin-bar] [data-admin-plus])::before { background: currentColor; block-size: 16px; content: ""; display: inline-block; flex: none; inline-size: 16px; -webkit-mask: var(--px-bar-icon) center / contain no-repeat; mask: var(--px-bar-icon) center / contain no-repeat; }
nav[data-admin-bar] [data-admin-home] { --px-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 17a8.5 8.5 0 1 1 17 0'/%3E%3Cpath d='M12 17l4.5-6'/%3E%3Ccircle cx='12' cy='17' r='1.2'/%3E%3C/svg%3E"); }
nav[data-admin-bar] [data-admin-new] { --px-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
nav[data-admin-bar] [data-admin-new][href="/admin/pages/new"] { --px-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
nav[data-admin-bar] [data-admin-edit] { --px-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19.5 8.5l-4-4L4 16z'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E"); }
nav[data-admin-bar] [data-admin-edit]:not([href^="/admin"]) { --px-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
nav[data-admin-bar] [data-admin-comments] { --px-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H10l-5 4v-4H4z'/%3E%3C/svg%3E"); }
nav[data-admin-bar] [data-admin-me] { --px-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
nav[data-admin-bar] [data-admin-devices] a:nth-child(1) { --px-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='1.5'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
nav[data-admin-bar] [data-admin-devices] a:nth-child(2) { --px-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
nav[data-admin-bar] [data-admin-devices] a:nth-child(3) { --px-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='3' width='10' height='18' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
nav[data-admin-bar] [data-admin-plus] { --px-bar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E"); }
nav[data-admin-bar] [data-admin-count] {
  background: #d63638;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.1rem;
  min-inline-size: 1.1rem;
  padding: 0 0.35rem;
  text-align: center;
}
nav[data-admin-bar] [data-admin-end] { align-items: center; display: inline-flex; gap: 0 0.125rem; margin-inline-start: auto; }
nav[data-admin-bar] [data-admin-devices] { display: inline-flex; margin-inline-end: 0.25rem; }
/* The devices are icons alone, their names a tooltip. */
nav[data-admin-bar] [data-admin-devices] a { font-size: 0; padding: 0 0.4rem; }
nav[data-admin-bar] [data-admin-devices] a[aria-current] { color: #72aee6; box-shadow: inset 0 -2px #72aee6; }
nav[data-admin-bar] [data-admin-me] { color: #c3c4c7; }
/* The + that opens the composer, at the bar's end: white, no badge. */
nav[data-admin-bar] [data-admin-plus] { color: #fff; font-size: 0; justify-content: center; padding: 0; inline-size: 36px; }
nav[data-admin-bar] [data-admin-plus]::before { block-size: 20px; inline-size: 20px; transition: transform 0.15s; }
nav[data-admin-bar] [data-admin-plus]:hover, nav[data-admin-bar] [data-admin-plus][aria-expanded="true"] { background: #2c3338; color: #fff; }
nav[data-admin-bar] [data-admin-plus][aria-expanded="true"]::before { transform: rotate(45deg); }
/* On a phone the bar is the ways into admin, icons only: the page is
   already at a phone's width. */
@media (max-width: 40rem) {
  nav[data-admin-bar] [data-admin-devices] { display: none; }
  nav[data-admin-bar] :is([data-admin-home], [data-admin-new], [data-admin-edit], [data-admin-comments], [data-admin-me]) { font-size: 0; gap: 0.25rem; }
  nav[data-admin-bar] [data-admin-site] { max-inline-size: 40vw; overflow: hidden; text-overflow: ellipsis; }
}
/* The composer (public/compose): a new post written here, under the bar,
   which its + New post opens. Patrix's own panel, light whatever the
   theme or the reader's scheme, in rastrillo's tokens, which the
   editor's stylesheet (editor.css, loaded when it opens) reads; the body
   is written in the theme's own face. */
section[data-admin-compose] {
  --rst-radius-sm: 4px;
  --rst-surface: #ffffff;
  --rst-surface-2: #f3f3f5;
  --rst-line: #e6e6ea;
  --rst-line-strong: #868691;
  --rst-text: #18181b;
  --rst-text-muted: #52525c;
  --rst-accent: #1f56d6;
  --rst-accent-strong: #1a46ab;
  --rst-accent-soft: #ecf1ff;
  --rst-tone-negative-fg: #b91c1c;
  --rst-fs-sm: 0.8125rem;
  --rst-fs-xs: 0.75rem;
  background: #f6f7f7;
  border-block-end: 1px solid #c3c4c7;
  color: var(--rst-text);
  color-scheme: light;
  font: 400 0.9375rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: normal;
  padding: 1rem var(--gap) 1.25rem;
  position: relative;
  text-transform: none;
  z-index: 999;
}
section[data-admin-compose][hidden] { display: none; }
section[data-admin-compose] form { display: grid; gap: 0.75rem; margin: 0 auto; max-inline-size: 48rem; }
section[data-admin-compose] .px-compose-sr { block-size: 1px; clip-path: inset(50%); inline-size: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
section[data-admin-compose] .px-compose-head { align-items: baseline; display: flex; gap: 1rem; margin: 0; }
section[data-admin-compose] .px-compose-head strong { font-size: 1rem; }
section[data-admin-compose] .px-compose-head a { color: var(--rst-accent); font-size: 0.875rem; }
section[data-admin-compose] [data-compose-close] { background: transparent; border: 1px solid transparent; border-radius: var(--rst-radius-sm); color: var(--rst-text-muted); cursor: pointer; font: inherit; font-size: 1.25rem; line-height: 1; margin-inline-start: auto; padding: 0.1rem 0.5rem; }
section[data-admin-compose] [data-compose-close]:hover { background: var(--rst-surface-2); border-color: var(--rst-line); color: var(--rst-text); }
section[data-admin-compose] input[type="text"], section[data-admin-compose] textarea { background: var(--rst-surface); border: 1px solid var(--rst-line-strong); border-radius: var(--rst-radius-sm); box-sizing: border-box; color: inherit; font: inherit; inline-size: 100%; padding: 0.45rem 0.6rem; }
section[data-admin-compose] :is(input, textarea, select, button):focus-visible { outline: 2px solid var(--rst-accent); outline-offset: 1px; }
section[data-admin-compose] #compose-title { font-size: 1.375rem; font-weight: 600; }
section[data-admin-compose] .px-body-field textarea { line-height: 1.6; min-block-size: 12rem; resize: vertical; }
section[data-admin-compose] .px-body-field .rte-editor { color: var(--rst-text); font-family: var(--font-body); }
section[data-admin-compose] .px-compose-meta { align-items: center; display: flex; flex-wrap: wrap; font-size: 0.875rem; gap: 0.5rem 1.5rem; }
section[data-admin-compose] .px-compose-cats { border: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0; min-inline-size: 0; padding: 0; }
section[data-admin-compose] .px-compose-cats legend { float: inline-start; font-weight: 600; margin-inline-end: 0.5rem; padding: 0; }
section[data-admin-compose] .px-compose-cats label, section[data-admin-compose] .px-compose-check { align-items: center; display: inline-flex; gap: 0.35rem; }
section[data-admin-compose] .px-compose-cats .px-depth-1 { padding-inline-start: 1rem; }
section[data-admin-compose] .px-compose-cats .px-depth-2 { padding-inline-start: 2rem; }
section[data-admin-compose] .px-compose-tags { align-items: center; display: flex; flex: 1; gap: 0.5rem; min-inline-size: 14rem; }
section[data-admin-compose] .px-compose-tags input { font-size: 0.875rem; padding: 0.3rem 0.5rem; }
section[data-admin-compose] .px-compose-actions { align-items: center; display: flex; gap: 0.5rem; margin: 0; }
section[data-admin-compose] .px-compose-actions button { background: var(--rst-surface); border: 1px solid var(--rst-line-strong); border-radius: var(--rst-radius-sm); color: var(--rst-text); cursor: pointer; font: inherit; font-weight: 600; padding: 0.45rem 1rem; }
section[data-admin-compose] .px-compose-actions button:hover { background: var(--rst-surface-2); }
section[data-admin-compose] .px-compose-actions [data-compose-publish] { background: var(--rst-accent); border-color: var(--rst-accent); color: #fff; }
section[data-admin-compose] .px-compose-actions [data-compose-publish]:hover { background: var(--rst-accent-strong); }
/* The pencil at the end of a title, for staff who may edit the entry
   (public/core's markEditable): its link is admin's editor, and a click
   edits the post where it is read (patrix-inplace.js). */
a[data-entry-edit] { color: var(--muted); display: inline-block; line-height: 1; margin-inline-start: 0.35em; opacity: 0.55; text-decoration: none; vertical-align: middle; }
a[data-entry-edit]:hover, a[data-entry-edit]:focus-visible { color: var(--accent); opacity: 1; }
a[data-entry-edit][aria-busy] { opacity: 0.3; }
a[data-entry-edit] svg { block-size: 0.6em; inline-size: 0.6em; }
/* The in-place editor (public/compose's Edit): while an article is
   edited, the form stands where it was, set in the theme's own type
   and colours, so the post is edited as it reads; the editor's own
   chrome (the toolbar, its panels) reads rastrillo's tokens, mapped
   onto the theme's. */
article[data-entry][data-editing] > :not(form[data-inplace]) { display: none; }
form[data-inplace] {
  --rst-radius-sm: 4px;
  --rst-surface: var(--paper);
  --rst-surface-2: color-mix(in oklch, var(--ink) 6%, var(--paper));
  --rst-line: var(--rule);
  --rst-line-strong: var(--muted);
  --rst-text: var(--ink);
  --rst-text-muted: var(--muted);
  --rst-accent: var(--accent);
  --rst-accent-strong: color-mix(in oklch, var(--accent) 85%, var(--ink));
  --rst-accent-soft: color-mix(in oklch, var(--accent) 12%, var(--paper));
  --rst-tone-negative-fg: #b91c1c;
  --rst-fs-sm: 0.8125rem;
  --rst-fs-xs: 0.75rem;
  display: grid;
  gap: 0.75rem;
  max-inline-size: var(--measure);
}
form[data-inplace] .px-compose-sr { block-size: 1px; clip-path: inset(50%); inline-size: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
form[data-inplace] .px-inplace-title input { background: transparent; border: 0; border-block-end: 1px solid var(--rule); border-radius: 0; box-sizing: border-box; color: var(--ink); font-family: var(--font-heading); font-size: clamp(1.5rem, 2.5vw, 1.9rem); font-weight: 600; inline-size: 100%; letter-spacing: -0.015em; line-height: 1.3; padding: 0.2em 0; }
form[data-inplace] .px-inplace-title input:focus-visible { border-block-end-color: var(--accent); outline: none; }
form[data-inplace] .px-body-field textarea { background: transparent; border: 1px solid var(--rule); border-radius: 4px; box-sizing: border-box; color: inherit; font: inherit; inline-size: 100%; line-height: var(--leading); min-block-size: 12rem; padding: 0.75rem 1rem; resize: vertical; }
article[data-entry] form[data-inplace] .px-toolbar { background: var(--paper); font-family: var(--font-ui); }
article[data-entry] form[data-inplace] .px-body-field .rte-editor { background: transparent; border-color: var(--rule); color: var(--ink); font-family: var(--font-body); font-size: var(--size); line-height: var(--leading); max-block-size: none; min-block-size: 8rem; overflow: visible; padding: 0.75rem 1rem; }
article[data-entry] form[data-inplace] .px-body-field .rte-editor a { color: var(--accent); }
form[data-inplace] .px-inplace-actions { align-items: center; display: flex; flex-wrap: wrap; font-family: var(--font-ui); font-size: 0.9375rem; gap: 0.5rem 1rem; margin: 0; }
form[data-inplace] .px-inplace-actions button { background: var(--paper); border: 1px solid var(--muted); border-radius: 4px; color: var(--ink); cursor: pointer; font: inherit; font-weight: 600; padding: 0.45rem 1rem; }
form[data-inplace] .px-inplace-actions button:hover { background: color-mix(in oklch, var(--ink) 6%, var(--paper)); }
form[data-inplace] .px-inplace-actions [data-inplace-save] { background: var(--accent); border-color: var(--accent); color: var(--paper); }
form[data-inplace] .px-inplace-actions [data-inplace-save]:hover { background: color-mix(in oklch, var(--accent) 85%, var(--ink)); }
form[data-inplace] .px-inplace-actions a { color: var(--muted); font-size: 0.875rem; margin-inline-start: auto; }
form[data-inplace] :is(input, textarea, select, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* A device frame: the page at a phone's or a tablet's width. */
body[data-preview-framed] { margin: 0; }
[data-preview-device] { display: flex; justify-content: center; padding: 1.5rem var(--gap); }
[data-preview-device] iframe { block-size: calc(100vh - 7rem); border: 1px solid var(--muted); border-radius: 18px; max-inline-size: 100%; }
/* Read as staff, a preview shows where protected sections are. */
body[data-preview-as="staff"] section[data-px-protected] {
  outline: 2px dashed var(--accent);
  outline-offset: 0.5rem;
  margin-block: 1.75rem;
  position: relative;
}
body[data-preview-as="staff"] section[data-px-protected]::before {
  background: var(--accent);
  border-radius: 4px;
  color: #fff;
  content: "Protected: " attr(data-px-protected);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  inset-block-start: -1.6rem;
  padding: 0.05rem 0.45rem;
  position: absolute;
}
body[data-preview-as="staff"] section[data-px-protected][data-px-quiet]::before { content: "Protected: " attr(data-px-protected) " (no notice)"; }
/* Read as staff, a page drawn from a template's layout wraps what each
   slot drew with a link to that field in admin's Editor view
   (templating.PreviewBody), shown on hover or focus; preview.js makes a
   click anywhere in the slot follow it. */
[data-px-field] { border-radius: 4px; outline: 1px dashed transparent; outline-offset: 0.35rem; position: relative; }
[data-px-field]:hover, [data-px-field]:focus-within { outline-color: var(--accent); }
body[data-px-click-edit] [data-px-field] { cursor: pointer; }
[data-px-field-edit] {
  background: var(--accent);
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  inset-block-start: -1.1rem;
  inset-inline-end: 0;
  opacity: 0;
  padding: 0.05rem 0.45rem;
  position: absolute;
  text-decoration: none;
  z-index: 1;
}
[data-px-field]:hover > [data-px-field-edit], [data-px-field-edit]:focus { opacity: 1; }

/* Lists of posts. */

ol[data-entries] { display: grid; gap: calc(var(--gap) * 1.5); list-style: none; margin: 0; padding: 0; }
ol[data-entries] h2[data-entry-title] { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.2; margin: 0 0 0.35rem; }
ol[data-entries] h2[data-entry-title] a { color: var(--ink); text-decoration: none; }
ol[data-entries] h2[data-entry-title] a:hover { text-decoration: underline; }
p[data-entry-excerpt] { margin: 0.5rem 0 0; max-inline-size: var(--measure); }

p[data-entry-meta] { color: var(--muted); font-family: var(--font-ui); font-size: 0.875rem; margin: 0; }
p[data-entry-meta] a { color: inherit; }

section[data-archive] { margin-block-end: calc(var(--gap) * 1.5); }
section[data-archive] h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; margin: 0; }
ul[data-subscribe] { display: flex; flex-wrap: wrap; font-family: var(--font-ui); font-size: 0.85rem; gap: 0.5rem 1rem; list-style: none; margin: 0.75rem 0 0; padding: 0; }
ul[data-feeds] { display: grid; gap: calc(var(--gap) * 1.5); list-style: none; margin: 0; padding: 0; }
ul[data-feeds] h2 { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.2; margin: 0 0 0.35rem; }
ul[data-feeds] p { margin: 0; }
p[data-archive-kind] { color: var(--muted); font-family: var(--font-ui); font-size: 0.8rem; letter-spacing: 0.08em; margin: 0 0 0.25rem; text-transform: uppercase; }

nav[data-pager] {
  align-items: baseline;
  display: flex;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  gap: 1.5rem;
  justify-content: space-between;
  margin-block-start: calc(var(--gap) * 2);
}
nav[data-pager] span { color: var(--muted); }

section[data-empty], section[data-notfound], section[data-account-page] { max-inline-size: var(--measure); }

/* /signin: Patrix's sign-in card (rastrillo's signin partial) in the
   theme's own type, colours and buttons. The site header above it
   already carries the logo and name, so the card's own brand side goes. */
section[data-signin-page] { font-family: var(--font-ui); margin-block: calc(var(--gap) * 1.5) calc(var(--gap) * 2); margin-inline: auto; max-inline-size: 26rem; }
section[rst-signin] { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(1.25rem, 5vw, 2.25rem); }
section[rst-signin] [rst-signin-brand] { display: none; }
[rst-signin-door] { display: grid; gap: 1rem; }
[rst-signin-door] > * { margin: 0; }
[rst-signin-door] h1 { font-family: var(--font-heading); font-size: clamp(1.35rem, 2.5vw, 1.62rem); line-height: 1.25; }
[rst-signin-door] p { color: var(--ink); line-height: var(--leading); }
[rst-signin-door] bdi { font-weight: 600; }
form[rst-signin-form] { display: grid; gap: 0.9rem; margin: 0; }
[rst-field] { display: grid; gap: 0.35rem; }
[rst-field-label] { font-size: 0.9rem; font-weight: 600; }
[rst-field-hint], [rst-field-help] { color: var(--muted); font-size: 0.85rem; }
[rst-field-error] { color: #b3261e; font-size: 0.85rem; }
input[rst-input] {
  background: var(--paper);
  border: 1px solid color-mix(in oklch, var(--ink) 25%, var(--paper));
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  inline-size: 100%;
  padding: 0.6rem 0.75rem;
}
input[rst-input]:focus-visible { border-color: var(--accent); outline: 2px solid color-mix(in oklch, var(--accent) 35%, transparent); outline-offset: 1px; }
input[rst-input][aria-invalid="true"] { border-color: #b3261e; }
[rst-signin] [rst-btn] {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 600;
  inline-size: 100%;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  text-decoration: none;
}
[rst-signin] [rst-btn~="primary"] { background: var(--accent); color: #fff; }
[rst-signin] [rst-btn~="primary"]:hover { filter: brightness(0.9); }
[rst-signin] [rst-btn~="ghost"] { color: var(--muted); font-size: 0.9rem; font-weight: 500; padding-block: 0.35rem; }
[rst-signin] [rst-btn~="ghost"]:hover { color: var(--ink); text-decoration: underline; }
[rst-signin] [rst-btn]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[rst-signin] [rst-btn]:disabled { cursor: progress; opacity: 0.6; }
[rst-signin] [rst-btn][hidden] { display: none; }
/* tokens.css's rule, which public pages don't load: pow keeps its status
   line out of sight with it until the form cannot work. */
.rst-sr-only {
  block-size: 1px;
  clip-path: inset(50%);
  inline-size: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}
[rst-signin] [data-pow-status], p[rst-signin-remembered], p[rst-signin-passkey-msg] { color: var(--muted); font-size: 0.85rem; }
p[rst-signin-passkey-msg]:empty { display: none; }
p[rst-signin-or] { color: var(--muted); font-size: 0.85rem; text-align: center; }
[rst-signin-passkey]:has(> [rst-btn][hidden]) + p[rst-signin-or], p[rst-signin-or]:has(+ [rst-signin-passkey] > [rst-btn][hidden]) { display: none; }
/* A button's glyph (signin-glyph) at the size of its words. */
[rst-signin] [rst-btn] > svg { block-size: 1.1em; flex: none; inline-size: 1.1em; }
[rst-signin] [rst-btn] > svg + span { margin-inline-start: 0.5rem; }
/* The passkey's offer and the sign-in options (internal/patrix/waysin):
   a list of ways in, each row its glyph, its name over a line of
   detail, and a chevron. */
[rst-signin-ways] { border: 1px solid var(--rule); border-radius: 6px; display: flex; flex-direction: column; overflow: hidden; }
[rst-signin-ways] > :not(:first-child) { border-block-start: 1px solid var(--rule); }
[rst-signin-ways] form { margin: 0; }
[rst-signin] [rst-signin-ways] [rst-btn] { border-radius: 0; gap: 0.75rem; justify-content: flex-start; padding: 0.65rem 0.9rem; text-align: start; }
[rst-signin] [rst-signin-ways] [rst-btn] > svg + span { margin-inline-start: 0; }
[rst-signin] [rst-signin-ways] a[rst-btn]:hover, [rst-signin] [rst-signin-ways] button[rst-btn]:hover { background: color-mix(in oklch, var(--ink) 5%, var(--paper)); }
[rst-signin-ways] [rst-btn] > svg { color: var(--muted); }
[rst-signin-ways] [rst-btn] > span { display: grid; flex: 1; gap: 0.1rem; min-inline-size: 0; }
[rst-signin-ways] [rst-btn] bdi { color: var(--muted); font-size: 0.85rem; font-weight: 400; }
[dir="rtl"] [rst-signin-ways] [rst-btn] > svg:last-child { transform: scaleX(-1); }
[rst-signin] [rst-badge] { border: 1px solid currentColor; border-radius: 999px; color: var(--muted); font-size: 0.72rem; font-weight: 600; margin-inline-start: 0.4rem; padding: 0 0.45rem; vertical-align: 0.1em; white-space: nowrap; }
[rst-signin] [rst-badge~="positive"] { color: #2e7d32; }
section[data-signin-page] [rst-callout] { border: 1px solid var(--rule); border-inline-start: 3px solid var(--accent); border-radius: 6px; display: flex; gap: 0.6rem; margin-block-end: 1rem; padding: 0.75rem 0.9rem; }
section[data-signin-page] [rst-callout][rst-tone="warning"] { border-inline-start-color: #b26b00; }
section[data-signin-page] [rst-callout][rst-tone="negative"] { border-inline-start-color: #b3261e; }
section[data-signin-page] [rst-callout][rst-tone="positive"] { border-inline-start-color: #2e7d32; }
[rst-callout-ic] svg { block-size: 1.1em; inline-size: 1.1em; }
[rst-callout-body] p { margin: 0; }
[rst-callout-body] strong { display: block; margin-block-end: 0.15rem; }
dl[data-feeds] dt { font-weight: 600; margin-block-start: 1rem; }
dl[data-feeds] dt span { font-weight: 400; opacity: 0.7; }
dl[data-feeds] dd { margin: 0.25rem 0 0; }
input[data-feed-address] { inline-size: 100%; font: inherit; font-size: 0.85rem; padding: 0.4rem 0.5rem; }
p[data-podcast-apps] { font-size: 0.85rem; margin-block: 0.4rem 0; }
.px-podcast { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: flex-start; margin-block: 1.5rem; padding: 1rem; border: 1px solid color-mix(in srgb, currentColor 15%, transparent); border-radius: 0.5rem; }
.px-podcast-cover { inline-size: 7.5rem; block-size: 7.5rem; object-fit: cover; border-radius: 0.375rem; flex: none; }
.px-podcast-body { flex: 1 1 16rem; min-inline-size: 0; }
.px-podcast-title { margin-block: 0 0.25rem; }
.px-podcast-author { margin-block: 0 0.5rem; opacity: 0.75; }
.px-podcast-apps, .px-podcast-signin { font-size: 0.9rem; margin-block: 0.5rem 0; }
.px-feeds dd { margin: 0.25rem 0 0.75rem; overflow-wrap: anywhere; font-size: 0.9rem; }
.px-feeds dt { font-weight: 600; }

/* One post or page. */

article[data-entry] > header { margin-block-end: var(--gap); max-inline-size: var(--measure); }
h1[data-entry-title] {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.08;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

figure[data-featured] { margin: 0 0 var(--gap); }
figure[data-featured] img { inline-size: 100%; }

div[data-prose] { max-inline-size: var(--measure); }
div[data-prose] > * { margin-block: 0 1em; }
div[data-prose] h2, div[data-prose] h3 { font-family: var(--font-heading); line-height: 1.2; margin-block: 1.75em 0.5em; text-wrap: balance; }
div[data-prose] h2 { font-size: 1.55em; }
div[data-prose] h3 { font-size: 1.2em; }
div[data-prose] ul, div[data-prose] ol { padding-inline-start: 1.4em; }
div[data-prose] li + li { margin-block-start: 0.35em; }
div[data-prose] figure { margin-inline: 0; }
/* An image's own width and place (doc: Width, Align): the width is a
   most, never more than the column, and its caption keeps the column's
   width; left and right let the words flow round it on a wide screen
   and stack on a phone. */
div[data-prose] figure[data-px-align="center"] { margin-inline: auto; }
div[data-prose] figure[data-px-align="center"] img { margin-inline: auto; }
@media (min-width: 40rem) {
  div[data-prose] figure[data-px-align="left"] { float: left; margin-block: 0.3rem 1rem; margin-inline: 0 1.5rem; max-inline-size: 50%; }
  div[data-prose] figure[data-px-align="right"] { float: right; margin-block: 0.3rem 1rem; margin-inline: 1.5rem 0; max-inline-size: 50%; }
}
div[data-prose]::after { clear: both; content: ""; display: table; }
div[data-prose] h2, div[data-prose] h3, div[data-prose] hr, div[data-prose] table { clear: both; }
div[data-prose] img[data-zoomable] { cursor: zoom-in; }
div[data-prose] img[data-zoomable]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
div[data-prose] figcaption { color: var(--muted); font-family: var(--font-ui); font-size: 0.85rem; margin-block-start: 0.5rem; }
div[data-prose] hr { border: 0; border-block-start: 1px solid var(--rule); margin-block: 2.5em; }
div[data-prose] blockquote { border-inline-start: 3px solid var(--accent); margin-inline: 0; padding-inline-start: 1.1em; }
div[data-prose] blockquote p { margin-block: 0 0.6em; }
div[data-prose] blockquote p:last-child { margin-block-end: 0; }
/* A table is compact: smaller type on tight rows, as wide as its words
   need (never more than the column), and a wide one scrolls sideways
   inside itself on a phone rather than squeezing every word. */
div[data-prose] table { border-collapse: collapse; display: block; font-size: 0.85em; font-variant-numeric: tabular-nums; inline-size: fit-content; line-height: 1.4; margin-block: 1.5em; max-inline-size: 100%; overflow-x: auto; }
div[data-prose] caption { caption-side: bottom; color: var(--muted); font-family: var(--font-ui); font-size: 0.85rem; margin-block-start: 0.5rem; text-align: start; }
div[data-prose] th, div[data-prose] td { border-block-end: 1px solid var(--rule); overflow-wrap: break-word; padding: 0.3em 0.9em; text-align: start; vertical-align: top; }
div[data-prose] :is(th, td):first-child { padding-inline-start: 0; }
div[data-prose] :is(th, td):last-child { padding-inline-end: 0; }
div[data-prose] th { border-block-end: 1.5px solid var(--ink); font-family: var(--font-ui); font-size: 0.95em; font-weight: 600; white-space: nowrap; }
div[data-prose] tbody tr:last-child :is(th, td) { border-block-end: 0; }
div[data-prose] .px-embed iframe { border: 0; display: block; inline-size: 100%; }
div[data-prose] .px-embed-video iframe { aspect-ratio: 16 / 9; block-size: auto; }
div[data-prose] .px-embed video { block-size: auto; display: block; inline-size: 100%; }
div[data-prose] .px-embed audio { display: block; inline-size: 100%; }
div[data-prose] .px-recent { padding-inline-start: 1.4em; }

dl[data-fields] { display: grid; gap: 0.35rem 1.25rem; grid-template-columns: minmax(6rem, max-content) 1fr; margin: var(--gap) 0 0; max-inline-size: var(--measure); }
dl[data-fields] dt { color: var(--muted); font-family: var(--font-ui); font-size: 0.85rem; padding-block-start: 0.2rem; }
dl[data-fields] dd { margin: 0; }
dl[data-fields] dd > :first-child { margin-block-start: 0; }
dl[data-fields] dd > :last-child { margin-block-end: 0; }
@media (max-width: 30rem) { dl[data-fields] { grid-template-columns: 1fr; } dl[data-fields] dd { margin-block-end: 0.5rem; } }
ul[data-tags] { display: flex; flex-wrap: wrap; font-family: var(--font-ui); font-size: 0.85rem; gap: 0.5rem; list-style: none; margin: var(--gap) 0 0; max-inline-size: var(--measure); padding: 0; }
ul[data-tags] a { border: 1px solid var(--rule); border-radius: 999px; color: var(--muted); display: inline-block; padding: 0.15rem 0.7rem; text-decoration: none; }
ul[data-tags] a:hover { border-color: var(--accent); color: var(--accent); }

/* Comments. */

section[data-comments] {
  border-block-start: 1px solid var(--rule);
  margin-block-start: calc(var(--gap) * 2);
  max-inline-size: var(--measure);
  padding-block-start: var(--gap);
}
section[data-comments] h2 { font-family: var(--font-heading); font-size: 1.3rem; margin: 0 0 var(--gap); }
section[data-comments] ol { display: grid; gap: var(--gap); list-style: none; margin: 0 0 calc(var(--gap) * 1.5); padding: 0; }
section[data-comments] li p { margin: 0 0 0.5em; }
/* Replies sit under what they answer, a rule to their left; on a phone
   the indent stays small however deep the thread goes. */
section[data-comments] li > ol { border-inline-start: 2px solid var(--rule); margin: var(--gap) 0 0; padding-inline-start: clamp(0.6rem, 3vw, 1.25rem); }
p[data-comment-reply] { font-family: var(--font-ui); font-size: 0.85rem; }
p[data-comment-replying] { color: var(--muted); font-family: var(--font-ui); font-size: 0.9rem; }
p[data-comment-meta] { color: var(--muted); font-family: var(--font-ui); font-size: 0.875rem; }
p[data-comment-meta] b { color: var(--ink); }
li[data-staff] > article p[data-comment-meta] b::after { color: var(--accent); content: " · author"; font-weight: 400; }

form[data-comment-form] { font-family: var(--font-ui); }
form[data-comment-form] h3 { font-family: var(--font-heading); font-size: 1.1rem; margin: 0 0 0.75rem; }
form[data-comment-form] label { display: block; font-size: 0.9rem; font-weight: 600; margin-block-end: 0.25rem; }
form[data-comment-form] label span { color: var(--muted); font-weight: 400; }
form[data-comment-form] input, form[data-comment-form] textarea {
  background: var(--paper);
  border: 1px solid color-mix(in oklch, var(--ink) 25%, var(--paper));
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  inline-size: 100%;
  padding: 0.55rem 0.7rem;
}
form[data-comment-form] [aria-invalid] { border-color: #b3261e; }
form[data-comment-form] [data-error] { color: #b3261e; display: block; font-size: 0.85rem; margin-block-start: 0.25rem; }
form[data-comment-form] button {
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
}
form[data-comment-form] button:disabled { cursor: progress; opacity: 0.6; }
form[data-comment-form] [data-pow-status], p[data-comment-note] { color: var(--muted); font-size: 0.85rem; }

/* /subscribe/{plan}: the plan's price, what it includes, and the
   promotion code field, set as the comment form is. */
p[data-plan-price] { font-family: var(--font-ui); font-size: 1.1rem; }
form[data-subscribe-form] { font-family: var(--font-ui); margin-block: var(--gap); }
form[data-subscribe-form] label { display: block; font-size: 0.9rem; font-weight: 600; margin-block-end: 0.25rem; }
form[data-subscribe-form] label span, form[data-subscribe-form] [data-hint] { color: var(--muted); font-weight: 400; }
form[data-subscribe-form] [data-hint] { display: block; font-size: 0.85rem; margin-block-end: 0.35rem; }
form[data-subscribe-form] input {
  background: var(--paper);
  border: 1px solid color-mix(in oklch, var(--ink) 25%, var(--paper));
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  inline-size: min(100%, 20rem);
  padding: 0.55rem 0.7rem;
}
form[data-subscribe-form] [aria-invalid] { border-color: #b3261e; }
form[data-subscribe-form] [data-error] { color: #b3261e; display: block; font-size: 0.85rem; margin-block-end: 0.35rem; }
form[data-subscribe-form] button {
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
}

/* The lightbox (assets/lightbox.js): a body image shown full screen. */
dialog[data-lightbox] { background: rgb(0 0 0 / 0.92); block-size: 100dvh; border: 0; cursor: zoom-out; inline-size: 100vw; inset: 0; margin: 0; max-block-size: none; max-inline-size: none; padding: 0; }
dialog[data-lightbox]::backdrop { background: rgb(0 0 0 / 0.92); }
dialog[data-lightbox][open] { align-items: center; display: flex; justify-content: center; }
dialog[data-lightbox] img { block-size: auto; inline-size: auto; max-block-size: calc(100dvh - 2rem); max-inline-size: calc(100vw - 2rem); object-fit: contain; }
dialog[data-lightbox] button { background: rgb(0 0 0 / 0.5); border: 1px solid rgb(255 255 255 / 0.4); border-radius: 999px; color: #fff; cursor: pointer; font: 1.6rem/1 system-ui, sans-serif; block-size: 2.5rem; inline-size: 2.5rem; inset-block-start: 1rem; inset-inline-end: 1rem; position: absolute; }
dialog[data-lightbox] button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html[data-lightbox-open] { overflow: hidden; }

/* The account line (layout.html "account"): Log out is a form, drawn as
   a link beside the reader's name. */
[data-account] { font-family: var(--font-ui); font-size: 0.85rem; margin: 0; }
form[data-signout] { display: inline; margin: 0; }
form[data-signout] button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}
p[data-comment-gate], p[data-comment-as] { font-family: var(--font-ui); }
footer[data-site] [data-account] { margin-block-start: 0.5rem; }
/* Who is signed in, under the title and tagline. */
p[data-reader] { color: var(--muted); font-family: var(--font-ui); font-size: 0.85rem; margin: 0.25rem 0 0; }
[data-reader-name] { color: var(--ink); font-weight: 600; }

/* A protected section the reader may not see (blocks "locked"). */
aside.px-locked {
  border: 1px dashed var(--muted);
  border-radius: 6px;
  font-family: var(--font-ui);
  margin-block: 1.5rem;
  padding: 0.9rem 1.1rem;
}
aside.px-locked p { margin: 0; }

/* Search (layout.html "search-form"): on the results page, the 404 and
   a theme's sidebar. The label is for screen readers; the placeholder
   and the button say what it is to everyone else. */
form[data-search] { display: flex; gap: 0.4rem; font-family: var(--font-ui); margin-block: 0.75rem; max-inline-size: 32rem; }
form[data-search] label { block-size: 1px; clip-path: inset(50%); inline-size: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
form[data-search] input { flex: 1; font: inherit; font-size: 0.9rem; min-inline-size: 0; padding: 0.4rem 0.6rem; border: 1px solid var(--muted); border-radius: 4px; background: transparent; color: inherit; }
form[data-search] button { font: inherit; font-size: 0.85rem; padding: 0.4rem 0.8rem; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; cursor: pointer; }
aside[data-sidebar] form[data-search] { margin-block: 1rem; }

/* Around a post (layout.html "post-nav", "share", "related"). */
nav[data-post-nav] { display: flex; flex-wrap: wrap; gap: var(--gap); justify-content: space-between; font-family: var(--font-ui); margin-block: calc(var(--gap) * 1.5); max-inline-size: var(--measure); }
nav[data-post-nav] a { display: grid; gap: 0.15rem; max-inline-size: 22rem; text-decoration: none; }
nav[data-post-nav] a span { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
nav[data-post-nav] a[rel="prev"] span::before { content: "‹ "; }
nav[data-post-nav] a[rel="next"] { margin-inline-start: auto; text-align: end; }
nav[data-post-nav] a[rel="next"] span::after { content: " ›"; }
nav[data-share] { font-family: var(--font-ui); font-size: 0.9rem; margin-block: var(--gap); }
nav[data-share] p { margin: 0 0 0.4rem; }
nav[data-share] ul { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
nav[data-share] a { border: 1px solid var(--rule); border-radius: 999px; display: inline-block; padding: 0.2rem 0.7rem; text-decoration: none; }
nav[data-share] a:hover, nav[data-share] a:focus-visible { border-color: currentColor; }
section[data-related] { font-family: var(--font-ui); margin-block: var(--gap); }
section[data-related] h2 { font-size: 0.78rem; letter-spacing: 0.2em; margin: 0 0 0.5rem; text-transform: uppercase; }
section[data-related] ul { display: grid; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }

/* The topics and issues blocks (blocks/indexes.go). */
section.px-topics h2.px-topics-group { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
ul.px-topics-list { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; list-style: none; margin: 0; padding: 0; }
span.px-topics-count { color: var(--muted); font-family: var(--font-ui); font-size: 0.8em; font-variant-numeric: tabular-nums; }
ol.px-issues-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); list-style: none; margin: 0; padding: 0; }
.px-issue { align-items: center; aspect-ratio: 1; border: 1.5px solid currentColor; border-radius: 14px; display: flex; flex-direction: column; justify-content: center; padding: 1rem; text-align: center; text-decoration: none; }
span.px-issue { color: var(--muted); }
.px-issue-kind, .px-issue-date { font-family: var(--font-ui); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.px-issue-number { font-size: clamp(2.4rem, 6vw, 4rem); font-variant-numeric: tabular-nums; line-height: 1; margin-block: 0.3rem 0.8rem; }
p.px-issues-locked { text-align: center; }

/* codeblocks.css */
/* codeblocks.css: the code block extension (internal/patrix/extensions/
   codeblocks). Laid after base.css and before a theme's own files, so a
   theme restyles a code block by setting these properties (or rules) of
   its own. The token colours are a light palette with at least 4.5:1
   contrast on --code-paper's default. */

:root {
  --code-font: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --code-paper: color-mix(in srgb, var(--ink) 4%, var(--paper));
  --code-ink: var(--ink);
  --code-rule: var(--rule);
  --code-comment: #5c6670;
  --code-keyword: #b3135a;
  --code-type: #1f5f9e;
  --code-string: #1d6b2e;
  --code-number: #8a4b00;
  --code-function: #6a3fb5;
  --code-builtin: #0f6670;
  --code-tag: #22863a;
  --code-attr: #6f42c1;
  --code-inserted: #1d6b2e;
  --code-deleted: #b31d28;
}

div[data-prose] .px-code {
  margin-block: 1.5em;
  margin-inline: 0;
}

div[data-prose] .px-code figcaption {
  align-items: baseline;
  color: var(--muted);
  display: flex;
  font-family: var(--font-ui);
  font-size: 0.8em;
  gap: 1em;
  justify-content: space-between;
  margin-block-end: 0.35em;
}

div[data-prose] .px-code-title { font-family: var(--code-font); }
div[data-prose] .px-code-lang { margin-inline-start: auto; }

div[data-prose] .px-code pre {
  background: var(--code-paper);
  border: 1px solid var(--code-rule);
  border-radius: 6px;
  color: var(--code-ink);
  font-family: var(--code-font);
  font-size: 0.85em;
  line-height: 1.5;
  margin: 0;
  max-block-size: 40em;
  overflow: auto;
  padding: 0.9em 1.1em;
  tab-size: 4;
  white-space: pre;
}

div[data-prose] .px-code pre:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
div[data-prose] .px-code code { background: none; font: inherit; padding: 0; }

.px-code .px-c, .px-code .px-cp { color: var(--code-comment); font-style: italic; }
.px-code .px-cp { font-style: normal; }
.px-code .px-k { color: var(--code-keyword); }
.px-code .px-kt, .px-code .px-kc { color: var(--code-type); }
.px-code .px-s { color: var(--code-string); }
.px-code .px-se { color: var(--code-number); }
.px-code .px-m { color: var(--code-number); }
.px-code .px-nf { color: var(--code-function); }
.px-code .px-nb, .px-code .px-nv, .px-code .px-nd { color: var(--code-builtin); }
.px-code .px-nt { color: var(--code-tag); }
.px-code .px-na { color: var(--code-attr); }
.px-code .px-gi { background: color-mix(in srgb, var(--code-inserted) 10%, transparent); color: var(--code-inserted); }
.px-code .px-gd { background: color-mix(in srgb, var(--code-deleted) 10%, transparent); color: var(--code-deleted); }
.px-code .px-gh { color: var(--code-type); font-weight: 600; }
.px-code .px-gp { color: var(--code-comment); user-select: none; }

/* pagecards.css */
/* pagecards.css: the pages block (internal/patrix/extensions/pagecards),
   pages as a grid of linked cards. Laid after base.css and before a
   theme's own files, so a theme restyles the cards by setting these
   properties (or rules) of its own. */

:root {
  --card-min: 13rem;
  --card-gap: 1.25rem;
  --card-rule: var(--rule);
  --card-radius: 10px;
  --card-image-ratio: 4 / 3;
}

ul.px-cards {
  display: grid;
  gap: var(--card-gap);
  grid-template-columns: repeat(auto-fill, minmax(min(var(--card-min), 100%), 1fr));
  list-style: none;
  margin-block: 1.5em;
  margin-inline: 0;
  padding: 0;
}

ul.px-cards > li.px-card {
  margin: 0;
  padding: 0;
}

.px-card > a {
  border: 1px solid var(--card-rule);
  border-radius: var(--card-radius);
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.px-card > a:hover .px-card-title,
.px-card > a:focus-visible .px-card-title {
  text-decoration: underline;
}

.px-card img {
  aspect-ratio: var(--card-image-ratio);
  display: block;
  height: auto;
  margin: 0;
  object-fit: cover;
  width: 100%;
}

.px-card-title {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.8rem 1rem 0;
}

.px-card-excerpt {
  color: var(--muted);
  font-size: 0.9em;
  line-height: 1.5;
  padding: 0.4rem 1rem 0;
}

.px-card > a > :last-child {
  padding-bottom: 1rem;
}

/* host.css */
/* A hosted site's address as Patrix shows it (<slug>.patrix.site): in a
   typewriter face, the parent in bold at the same size as the name
   before it. One copy, for every place that shows one: patrix.cc's
   start-site form (extensions/startsite, which lays this before its own
   stylesheet) and the root's sign-up and waiting pages
   (home/templates, served among the root's own files). */
.px-host { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.px-host-parent { font-weight: 700; white-space: nowrap; }

/* startsite.css */
/* extensions/startsite: the start-site form, the theme gallery, and a
   page holding a start-site laid out as a landing page
   (docs/design/2026-11-28-landing-flow.md). Everything is drawn in the
   site theme's own properties, so it follows the theme. */

/* The form. */
.px-start { margin-block: 1rem 2.5rem; }
div[data-prose] .px-start-title, .px-start-title {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw + 1rem, 3.4rem);
  letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 1rem; max-inline-size: 18ch;
}
div[data-prose] .px-start-lede, .px-start-lede { color: var(--muted); font-size: 1.15em; margin: 0 0 1.75rem; max-inline-size: 36rem; }
.px-start-form { margin: 0; }
.px-start-fields {
  align-items: end; display: grid; gap: 0.75rem 1rem;
  grid-template-columns: minmax(12rem, 1fr) minmax(16rem, 1.4fr) auto;
}
.px-start-field { display: grid; gap: 0.35rem; min-inline-size: 0; }
.px-start-field[hidden] { display: none; }
/* With start.js, one field: the name, the address it makes shown under
   it, edited there in place when pressed. */
.px-start-form[data-px-one] .px-start-fields { grid-template-columns: minmax(0, 1fr) auto; max-inline-size: 36rem; }
.px-start-swap { color: var(--muted); font-family: var(--font-ui); font-size: 0.9rem; grid-column: 1; margin: -0.25rem 0 0; }
.px-start-swap[hidden] { display: none; }
.px-start-swap-waiting { visibility: hidden; }
.px-start-swap button {
  background: none; border: 0; border-radius: 0.3rem; color: var(--ink); cursor: pointer;
  font: 1rem/1.4 var(--font-ui); overflow-wrap: anywhere; padding: 0.1rem 0.25rem; text-align: start;
}
.px-start-swap button:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.px-start-swap button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.px-start-swap-placeholder { color: color-mix(in srgb, var(--muted) 75%, var(--paper)); }
.px-start-swap-icon { color: var(--muted); flex: none; margin-inline-start: 0.5rem; vertical-align: -0.15em; }
/* The address's face and its bold parent are .px-host's (host.css). */
.px-start-swap-edit { color: var(--ink); font-size: 1rem; line-height: 1.4; padding-inline: 0.25rem; }
.px-start-swap-edit[hidden] { display: none; }
.px-start .px-start-swap-edit input {
  background: color-mix(in srgb, var(--paper) 55%, #fff); border: 0;
  border-block-end: 2px solid var(--accent); border-radius: 0; font: inherit;
  inline-size: auto; min-block-size: 0; padding: 0 0.15rem;
}
.px-start .px-start-swap-edit input:focus-visible { outline: 0; }
.px-start-label { color: var(--muted); font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600; }
.px-start input, .px-start-domain {
  background: color-mix(in srgb, var(--paper) 55%, #fff);
  border: 1px solid color-mix(in srgb, var(--ink) 30%, var(--paper));
  border-radius: 0.4rem; box-sizing: border-box; color: var(--ink);
  font: 1rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  inline-size: 100%; min-block-size: 3rem; padding: 0.6rem 0.75rem;
}
.px-start .px-start-name input { font: 700 1.5rem/1.2 var(--font-heading); min-block-size: 3.6rem; }
.px-start-form[data-px-one] button[type="submit"] { min-block-size: 3.6rem; }
.px-start input::placeholder { color: color-mix(in srgb, var(--muted) 75%, var(--paper)); }
.px-start input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* The address reads as it will: what is typed against its parent. */
.px-start-domain { align-items: center; display: flex; padding-block: 0; padding-inline-end: 0.75rem; }
.px-start-domain:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.px-start-domain > input {
  background: transparent; border: 0; flex: 1 1 0; font: inherit; min-inline-size: 3ch;
  padding-inline: 0; text-align: end;
}
.px-start-domain > input:focus-visible { outline: 0; }
.px-start-suffix { flex: none; }
.px-start button[type="submit"] {
  background: var(--accent); border: 0; border-radius: 0.4rem; color: var(--paper);
  cursor: pointer; font: 600 1rem/1.2 var(--font-ui); min-block-size: 3rem; padding: 0.6rem 1.25rem;
  white-space: nowrap;
}
.px-start button[type="submit"]:hover { background: color-mix(in srgb, var(--accent) 85%, var(--ink)); }
.px-start button[type="submit"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.px-start-hint { color: var(--muted); font-family: var(--font-ui); font-size: 0.85rem; margin: 0.5rem 0 0; }
.px-start-hint[hidden] { display: none; }
.px-start-note { color: var(--muted); font-family: var(--font-ui); font-size: 0.85rem; margin: 0.75rem 0 0; }
@media (max-width: 44rem) {
  .px-start-fields { grid-template-columns: 1fr; }
  .px-start-form:not([data-px-one]) button[type="submit"] { inline-size: 100%; }
  .px-start-form[data-px-one] button[type="submit"] { padding-inline: 1rem; }
}

/* The gallery: a row that scrolls sideways on a phone, a grid wider. */
.px-gallery { margin-block: 1.5rem 2rem; }
.px-gallery-cards {
  display: grid; gap: 2.5rem 2rem; list-style: none; margin: 0; padding: 4px 4px 0.75rem;
  grid-auto-flow: column; grid-auto-columns: min(16rem, 80%);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
}
@media (min-width: 52rem) {
  .px-gallery-cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
}
.px-gallery-card {
  border: 1.5px solid transparent; border-radius: 1rem; display: flex; flex-direction: column;
  margin: 0; min-inline-size: 0; padding: 0.9rem; scroll-snap-align: start;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
/* The card the pointer is over, or that holds focus, is drawn round whole. */
.px-gallery-card:is(:hover, :focus-within) {
  background: color-mix(in srgb, var(--paper) 55%, #fff); border-color: var(--accent);
  box-shadow: 0 0.5rem 1.5rem color-mix(in srgb, var(--ink) 8%, transparent);
}
.px-gallery-picture { border: 1px solid var(--rule); border-radius: 0.5rem; display: block; overflow: hidden; position: relative; }
.px-gallery-picture img { aspect-ratio: 8 / 5; inline-size: 100%; object-fit: cover; transition: transform 0.3s; }
.px-gallery-picture:hover img { transform: scale(1.03); }
.px-gallery-hidden { block-size: 1px; clip-path: inset(50%); inline-size: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
div[data-prose] .px-gallery-title { font-size: 1.6rem; margin: 0 0 0.6rem; text-align: center; }
.px-gallery-picture { margin-block-end: 0.75rem; }
.px-gallery-desc { color: var(--muted); margin: 0 0 0.5rem; }
.px-gallery-links { font-family: var(--font-ui); margin: auto 0 0; padding-block-start: 0.5rem; text-align: center; }
/* The picture opens the sample site: an arrow in a circle at its corner. */
.px-gallery-open {
  align-items: center; background: color-mix(in srgb, var(--paper) 88%, transparent);
  border: 1px solid var(--rule); border-radius: 50%; block-size: 2.25rem; color: var(--ink);
  display: flex; inline-size: 2.25rem; inset: 0.6rem 0.6rem auto auto; justify-content: center;
  position: absolute; transition: background 0.2s, color 0.2s;
}
.px-gallery-picture:hover .px-gallery-open, .px-gallery-picture:focus-visible .px-gallery-open { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.px-gallery-picture:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
div[data-prose] a.px-gallery-use, a.px-gallery-use {
  background: var(--accent); border: 1px solid var(--accent); border-radius: 0.4rem; box-sizing: border-box;
  color: var(--paper); display: inline-block; font-size: 0.95rem; font-weight: 600; padding: 0.55rem 1rem;
  text-align: center; text-decoration: none; transition: background 0.2s;
}
div[data-prose] a.px-gallery-use:hover, a.px-gallery-use:hover, a.px-gallery-use:focus-visible { background: color-mix(in srgb, var(--accent) 85%, var(--ink)); color: var(--paper); }
a.px-gallery-use:focus-visible { background: var(--accent); color: var(--paper); }
a.px-gallery-use:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .px-gallery-card, .px-gallery-picture img, .px-gallery-open, a.px-gallery-use { transition: none; } }

/* A page holding a start-site is a landing page: the column widens, the
   entry's own title steps aside for the form's, each h2 starts a band,
   steps and features become rows of cards, the table is the pricing and
   each h3 with its paragraph a question. The words are the page's own. */
body:has(.px-start) { overflow-x: clip; }
body:has(.px-start) :is(header[data-site], main, footer[data-site]) { max-inline-size: 72rem; }
/* A landing page's header is the site's name alone: no tagline, no
   signed-in line, no page menu (the page itself says where to go). */
body:has(.px-start) header[data-site] :is([data-site-tagline], [data-reader], [data-site-nav]) { display: none; }
body:has(.px-start) article[data-entry] > header {
  block-size: 1px; clip-path: inset(50%); inline-size: 1px; margin: 0; overflow: hidden; position: absolute; white-space: nowrap;
}
/* The landing page reads a size smaller than a post; the name typed in
   the form keeps its own size (rem). */
body:has(.px-start) main div[data-prose] { font-size: 0.85em; max-inline-size: none; }
body:has(.px-start) main div[data-prose] > :is(p, ul, ol) { max-inline-size: 40rem; }
body:has(.px-start) main div[data-prose] > h2 {
  border-block-start: 1px solid var(--rule);
  font-family: var(--font-heading); font-size: clamp(1.7rem, 2.5vw + 1rem, 2.6rem);
  letter-spacing: -0.015em; line-height: 1.1; margin: 4rem 0 1rem;
  padding-block-start: 3.5rem; position: relative;
}
/* The band's rule runs the window's width. */
body:has(.px-start) main div[data-prose] > h2::before {
  border-block-start: 1px solid var(--rule); content: ""; inset-block-start: -1px;
  inset-inline: calc(50% - 50vw); position: absolute;
}
body:has(.px-start) main div[data-prose] > h2 + p { color: var(--muted); font-size: 1.1em; }

/* Steps: an ordered list, three across, numbered large. */
body:has(.px-start) main div[data-prose] > ol {
  counter-reset: px-step; display: grid; gap: 1.5rem 2rem; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); max-inline-size: none; padding: 0;
}
body:has(.px-start) main div[data-prose] > ol > li { counter-increment: px-step; margin: 0; }
body:has(.px-start) main div[data-prose] > ol > li::before {
  color: var(--accent); content: counter(px-step); display: block;
  font: 700 2.5rem/1 var(--font-heading); margin-block-end: 0.5rem;
}

/* Features: a list whose items lead with bold words, as cards. */
body:has(.px-start) main div[data-prose] > ul:has(> li > strong:first-child) {
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  list-style: none; max-inline-size: none; padding: 0;
}
body:has(.px-start) main div[data-prose] > ul:has(> li > strong:first-child) > li {
  background: color-mix(in srgb, var(--paper) 55%, #fff);
  border: 1px solid var(--rule); border-radius: 0.5rem; margin: 0; padding: 1rem 1.15rem;
}
body:has(.px-start) main div[data-prose] > ul > li > strong:first-child {
  display: block; font-family: var(--font-heading); font-size: 1.1em; margin-block-end: 0.25rem;
}
/* Each card leads with an icon (themes/assets/landing), chosen by its place
   on patrix.cc's front page (docs/patrixcc/home.html): the three lists of
   cards, in order. Reordering the page's cards means reordering these; a
   card with no rule here has no icon. */
body:has(.px-start) main div[data-prose] > ul:has(> li > strong:first-child) > li::before {
  background: var(--accent); block-size: 1.6rem; display: block; inline-size: 1.6rem;
  margin-block-end: 0.6rem; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
body:has(.px-start) main div[data-prose] > ul:nth-of-type(1) > li:nth-child(1)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/writing.svg"); mask-image: url("/theme/assets/landing/writing.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(1) > li:nth-child(2)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/paid.svg"); mask-image: url("/theme/assets/landing/paid.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(1) > li:nth-child(3)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/private.svg"); mask-image: url("/theme/assets/landing/private.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(1) > li:nth-child(4)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/embeds.svg"); mask-image: url("/theme/assets/landing/embeds.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(1) > li:nth-child(5)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/tables.svg"); mask-image: url("/theme/assets/landing/tables.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(1) > li:nth-child(6)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/comments.svg"); mask-image: url("/theme/assets/landing/comments.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(1) > li:nth-child(7)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/feeds.svg"); mask-image: url("/theme/assets/landing/feeds.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(1) > li:nth-child(8)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/analytics.svg"); mask-image: url("/theme/assets/landing/analytics.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(1) > li:nth-child(9)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/move.svg"); mask-image: url("/theme/assets/landing/move.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(2) > li:nth-child(1)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/writers.svg"); mask-image: url("/theme/assets/landing/writers.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(2) > li:nth-child(2)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/members.svg"); mask-image: url("/theme/assets/landing/members.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(2) > li:nth-child(3)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/podcasts.svg"); mask-image: url("/theme/assets/landing/podcasts.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(2) > li:nth-child(4)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/business.svg"); mask-image: url("/theme/assets/landing/business.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(3) > li:nth-child(1)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/safe.svg"); mask-image: url("/theme/assets/landing/safe.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(3) > li:nth-child(2)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/agents.svg"); mask-image: url("/theme/assets/landing/agents.svg"); }
body:has(.px-start) main div[data-prose] > ul:nth-of-type(3) > li:nth-child(3)::before { content: ""; -webkit-mask-image: url("/theme/assets/landing/leave.svg"); mask-image: url("/theme/assets/landing/leave.svg"); }

/* Pricing: the table, full width, a column per way of running it. */
body:has(.px-start) main div[data-prose] table {
  display: table; font-size: 0.95em; inline-size: 100%; line-height: 1.5; table-layout: fixed;
}
body:has(.px-start) main div[data-prose] table :is(th, td) {
  border: 0; border-block-end: 1px solid var(--rule); padding: 0.65rem 1rem 0.65rem 0; text-align: start; vertical-align: top;
  white-space: normal;
}
body:has(.px-start) main div[data-prose] table thead th {
  border-block-end: 2px solid var(--ink); font-family: var(--font-heading); font-size: 1.25em;
}
@media (max-width: 36rem) {
  body:has(.px-start) main div[data-prose] table { font-size: 0.85em; }
}

/* Questions: each h3 and its answer, two across when there is room. */
body:has(.px-start) main div[data-prose] > h3 { font-size: 1.1em; margin: 1.75rem 0 0.35rem; }
body:has(.px-start) main div[data-prose] > h3 + p { color: var(--muted); }

/* The closing form: a band of the accent's tint. */
body:has(.px-start) main div[data-prose] > .px-start:last-child {
  background: color-mix(in srgb, var(--accent) 9%, var(--paper));
  border-radius: 0.75rem; margin-block: 4rem 0; padding: clamp(1.5rem, 4vw, 3rem);
}
body:has(.px-start) main div[data-prose] > .px-start:last-child .px-start-title, body:has(.px-start) main div[data-prose] > .px-start:last-child h2.px-start-title { font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem); }

/* social.css */
/* The social extension's sidebar box (internal/patrix/extensions/social):
   a community's threads as a short feed, each a link into the social
   service: what was said, when, and how far it has gone. */

section[data-social] { margin: 0 0 2.5rem; }
section[data-social] h2 a { color: inherit; text-decoration: none; }
section[data-social] ol { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
section[data-social] li + li { border-block-start: 1px solid color-mix(in oklch, var(--ink, currentColor) 12%, transparent); }
section[data-social] li > a {
  color: var(--ink, inherit);
  display: grid;
  font-weight: 400;
  padding-block: 0.75rem;
  row-gap: 0.2rem;
  text-decoration: none;
}
section[data-social] li > a:hover { color: var(--ink, inherit); text-decoration: none; }
section[data-social] li > a:hover [data-text] { text-decoration: underline; text-decoration-thickness: 1px; }
section[data-social] li > a:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 2px; }

section[data-social] [data-text] {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  font-size: 0.9rem;
  line-height: 1.4;
  overflow: hidden;
}
section[data-social] [data-counts] {
  align-items: center;
  color: var(--muted, #6b7280);
  display: flex;
  font-size: 0.78rem;
  gap: 0.9rem;
}
section[data-social] [data-counts] span { align-items: center; display: inline-flex; gap: 0.3rem; }
section[data-social] [data-counts] svg {
  block-size: 0.9rem;
  fill: none;
  inline-size: 0.9rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
section[data-social] p[data-social-more] { font-size: 0.85rem; margin: 0.5rem 0 0; }
section[data-social] p[data-social-more] a { color: var(--accent, inherit); font-weight: 700; }

/* The field to ask a question: a closed <details> drawn as a one-line
   field with its ▾ inside; open, the form under it. */
section[data-social] details[data-social-ask] { margin: 0 0 0.75rem; }
section[data-social] details[data-social-ask] summary {
  align-items: center;
  background: #fff;
  border: 1px solid color-mix(in oklch, var(--ink, #000) 25%, #fff);
  border-radius: 2px;
  color: var(--muted, #6b7280);
  cursor: pointer;
  display: flex;
  font-size: 0.9rem;
  gap: 0.5rem;
  justify-content: space-between;
  list-style: none;
  padding: 0.5rem 0.6rem;
}
section[data-social] details[data-social-ask] summary::-webkit-details-marker { display: none; }
section[data-social] details[data-social-ask] summary:hover { border-color: var(--ink, #000); }
section[data-social] details[data-social-ask] summary:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 2px; }
section[data-social] details[data-social-ask] summary svg {
  block-size: 1.1rem;
  fill: none;
  flex: none;
  inline-size: 1.1rem;
  stroke: var(--ink, currentColor);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 0.15s;
}
section[data-social] details[data-social-ask][open] summary svg { transform: rotate(180deg); }
section[data-social] details[data-social-ask][open] summary { border-end-end-radius: 0; border-end-start-radius: 0; }
section[data-social] details[data-social-ask] form { display: grid; gap: 0.5rem; justify-items: start; margin-block-start: 0.5rem; }
section[data-social] details[data-social-ask] textarea {
  background: #fff;
  border: 1px solid color-mix(in oklch, var(--ink, #000) 25%, #fff);
  border-radius: 2px;
  box-sizing: border-box;
  color: var(--ink, inherit);
  font: inherit;
  font-size: 0.94rem;
  inline-size: 100%;
  padding: 0.5rem 0.6rem;
  resize: vertical;
}
section[data-social] details[data-social-ask] button {
  background: #000;
  border: 0;
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 15px;
  text-transform: uppercase;
}
section[data-social] details[data-social-ask] button:hover { filter: brightness(0.85); }
section[data-social] details[data-social-ask] button:disabled { cursor: wait; opacity: 0.6; }
section[data-social] details[data-social-ask] form p,
section[data-social] p[data-social-note] { color: var(--muted, #6b7280); font-size: 0.85rem; margin: 0.5rem 0 0; }

/* "Your question is posted", small, under the question it started. */
section[data-social] p[data-social-asked] { color: var(--muted, #6b7280); font-size: 0.78rem; margin: -0.4rem 0 0.75rem; }
section[data-social] p[data-social-asked] a { color: var(--accent, inherit); font-weight: 700; }

/* diarium.css */
/* Diarium: an old-school blog, after Automattic's WordPress theme
   Bitácora (and named so until 2026-11-10). The
   pages menu on top, the mark and an uppercase title between two rules,
   then a column on white with a
   sidebar of recent posts to its right (templates/diarium). Timeless
   Grotesk stands in for its Montserrat (titles, menu, furniture) and
   Timeless Sans for its Inter (reading). Categories are pills, in
   a colour of their own for a few common slugs and the accent otherwise. */

:root {
  --accent: #273da1;
  --font-body: "Timeless Sans", "DM Sans", system-ui, sans-serif;
  --font-heading: "Timeless Sans", "DM Sans", system-ui, sans-serif;
  --font-ui: "Timeless Sans", "DM Sans", system-ui, sans-serif;
  --ink: #000000;
  --leading: 1.5;
  --measure: 34rem;
  --muted: #7f9099;
  --paper: #ffffff;
  --rule: #e5e7eb;
  --size: clamp(0.9375rem, 0.2vw + 0.9rem, 1.0625rem);
  --wide: 59.25rem;
}

a[data-site-title], nav[data-site-nav], h1[data-entry-title], h2[data-entry-title], section[data-archive] h1,
div[data-prose] h2, div[data-prose] h3, p[data-archive-kind], p[data-entry-meta] a, nav[data-pager] a,
section[data-comments] h2, form[data-comment-form] h3, form[data-comment-form] button {
  font-variation-settings: "STYL" 0;
}

body { letter-spacing: -0.0125em; }

/* The header: menu, then the mark over the title between two rules, then
   the tagline, all centred. The rules are the header's own ::before and
   ::after, placed in the grid either side of the title. */

header[data-site] {
  column-gap: clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding-block: 1.5rem clamp(2rem, 6vw, 3.5rem);
  row-gap: 0;
  text-align: center;
}
header[data-site]::before, header[data-site]::after {
  align-self: end;
  border-block-start: 1px solid var(--ink);
  content: "";
  grid-row: 2;
  margin-block-end: clamp(0.675rem, 1.25vw, 0.81rem);
}
header[data-site]::before { grid-column: 1; }
header[data-site]::after { grid-column: 3; }

nav[data-site-nav] { font-size: 0.94rem; font-weight: 500; grid-column: 1 / -1; grid-row: 1; margin-block-end: clamp(2rem, 6vw, 3.5rem); }
nav[data-site-nav] ul { gap: 0.4rem 1.25rem; justify-content: center; }
nav[data-site-nav] a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
nav[data-site-nav] a:hover, nav[data-site-nav] a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }

a[data-site-title] {
  flex-direction: column;
  font-size: clamp(1.35rem, 2.5vw, 1.62rem);
  font-weight: 800;
  gap: 0.75rem;
  grid-column: 2;
  grid-row: 2;
  letter-spacing: 0.3em;
  line-height: 1;
  padding-inline-start: 0.3em;
  text-transform: uppercase;
}
img[data-site-mark] { block-size: 3.5rem; border-radius: 18%; inline-size: 3.5rem; }

p[data-site-tagline] { color: var(--ink); font-size: 0.94rem; grid-column: 1 / -1; grid-row: 3; margin-block-start: 0.65rem; }

main { max-inline-size: calc(var(--measure) + var(--gap) * 2); }

/* The sidebar: below the column on a phone, beside it from 56rem. The
   body becomes a grid there, header and footer across it, and dense
   packing lifts the sidebar into main's row. */

aside[data-sidebar] {
  font-family: var(--font-ui);
  font-size: 0.94rem;
  margin-inline: auto;
  max-inline-size: calc(var(--measure) + var(--gap) * 2);
  padding: 0 var(--gap) var(--gap);
}
aside[data-sidebar] h2 {
  font-size: 0.8rem;
  font-variation-settings: "STYL" 0;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
aside[data-sidebar] ul { display: grid; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
aside[data-sidebar] a { color: var(--ink); font-weight: 500; text-decoration: none; }
aside[data-sidebar] a:hover { color: var(--accent); text-decoration: underline; }

@media (min-width: 56rem) {
  body:has(> aside[data-sidebar]) {
    display: grid;
    grid-auto-flow: row dense;
    grid-template-columns: minmax(var(--gap), 1fr) minmax(0, var(--measure)) clamp(2.5rem, 5vw, 5rem) minmax(12rem, 17rem) minmax(var(--gap), 1fr);
  }
  body:has(> aside[data-sidebar]) > * { grid-column: 1 / -1; }
  body:has(> aside[data-sidebar]) > main { grid-column: 2; margin-inline: 0; max-inline-size: none; padding-inline: 0; }
  body:has(> aside[data-sidebar]) > aside[data-sidebar] {
    grid-column: 4;
    margin-inline: 0;
    max-inline-size: none;
    padding: var(--gap) 0;
  }
  body:has(> aside[data-sidebar]) > header[data-site], body:has(> aside[data-sidebar]) > footer[data-site] { inline-size: 100%; justify-self: center; }
}

/* Lists of posts: the date first, then the title, as Diarium's post
   list has them. */

section[data-archive] h1 { font-size: clamp(1.35rem, 2.5vw, 1.62rem); font-weight: 600; letter-spacing: -0.01em; }
p[data-archive-kind] { color: var(--ink); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; }

ol[data-entries] { gap: 4.5rem; }
ol[data-entries] article { display: flex; flex-direction: column; }
ol[data-entries] article > p[data-entry-meta] { margin-block-end: 0.5rem; order: -1; }
ol[data-entries] article > a { order: 1; }
ol[data-entries] article > p[data-entry-excerpt] { order: 2; }
ol[data-entries] h2[data-entry-title] { font-size: clamp(1.25rem, 2vw, 1.35rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; margin-block-end: 0.75rem; }
ol[data-entries] figure[data-featured] { margin-block: 0.25rem 0.75rem; }

h1[data-entry-title] { font-size: clamp(1.62rem, 3vw, 1.944rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
article[data-entry] > header { display: flex; flex-direction: column; }
article[data-entry] > header > p[data-entry-meta] { margin-block-end: 0.5rem; order: -1; }

p[data-entry-meta] { font-size: 0.94rem; }
p[data-entry-meta] a { color: var(--ink); font-weight: 500; text-decoration: none; }
p[data-entry-meta] a:hover { text-decoration: underline; }

/* Categories as pills. */

p[data-entry-meta] a[href^="/category/"] {
  background: var(--accent);
  border-radius: 1em;
  color: #fff;
  display: inline-block;
  line-height: 1.45;
  padding-inline: 0.5em;
}
p[data-entry-meta] a[href^="/category/"]:hover { text-decoration: none; filter: brightness(1.15); }

/* Bodies. */

div[data-prose] a { color: var(--accent); }
div[data-prose] a:hover { text-decoration: none; }
div[data-prose] h2 { font-size: 1.35em; font-weight: 700; letter-spacing: -0.02em; }
div[data-prose] h3 { font-size: 1.15em; font-weight: 700; letter-spacing: -0.02em; }
div[data-prose] hr { border-block-start-color: var(--ink); }

ul[data-tags] a { border: 0; color: #888; padding: 0; }
ul[data-tags] a::before { content: "#"; }
ul[data-tags] a:hover { color: #333; }

nav[data-pager] { font-weight: 500; }
nav[data-pager] a { color: var(--accent); text-decoration: none; }
nav[data-pager] a[rel="prev"]::before { content: "‹ "; }
nav[data-pager] a[rel="next"]::after { content: " ›"; }

/* The footer: a full rule, then the line, centred. */

footer[data-site] { border-block-start-color: var(--ink); margin-block-start: 3rem; padding-block: 3rem; text-align: center; }

form[data-comment-form] button {
  background: var(--ink);
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
form[data-comment-form] button:hover { background: var(--accent); }
form[data-comment-form] input, form[data-comment-form] textarea { border-color: var(--muted); border-radius: 2px; }

/* diarium-plus.css */
/* Diarium's extras, laid after diarium.css (and templates/diarium-plus
   after templates/diarium) by Diarium and any theme built on it:
   the reader's menu, lists of whole posts, the post line, the sidebar's
   related posts, conversation and recent posts, full-width pages, the
   notice in place of a protected section and calls to join. */

.visually-hidden {
  block-size: 1px;
  clip-path: inset(50%);
  inline-size: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

/* The reader's menu (diarium-plus/parts.html "user-menu"): a person icon at
   the header's top right, opening a small panel under it, its right
   edge on the icon's. */
header[data-site] { position: relative; }
details[data-user-menu] { font-family: var(--font-ui); font-size: 0.875rem; inset-block-start: 0.75rem; inset-inline-end: var(--gap); position: absolute; text-align: start; z-index: 20; }
details[data-user-menu] > summary {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  list-style: none;
  padding: 0.35rem;
}
details[data-user-menu] > summary::-webkit-details-marker { display: none; }
details[data-user-menu] > summary:hover, details[data-user-menu][open] > summary { border-color: var(--rule); }
details[data-user-menu] > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
details[data-user-menu] svg { fill: none; flex: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
@media (max-width: 40rem) { details[data-user-menu] { inset-inline-end: 0.5rem; } }
p[data-user-hello] { font-size: 1rem; font-weight: 600; margin: 0; overflow-wrap: anywhere; padding-inline: 0.25rem; }
p[data-user-email] { border-block-end: 1px solid var(--rule); color: var(--muted); margin: -0.6rem 0 0; overflow-wrap: anywhere; padding: 0 0.25rem 0.75rem; }
div[data-user-panel] {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.12);
  display: grid;
  gap: 0.75rem;
  inline-size: 16rem;
  inset-block-start: calc(100% + 0.4rem);
  inset-inline-end: 0;
  padding: 0.75rem;
  position: absolute;
}
div[data-user-panel] a { color: var(--ink); text-decoration: none; }
div[data-user-panel] a:hover { text-decoration: underline; }
ul[data-user-links] { display: grid; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
ul[data-user-links] a { border-radius: 6px; display: block; padding: 0.3rem 0.25rem; }
p[data-user-login] { margin: 0; }
p[data-user-login] a { background: var(--ink); border-radius: 999px; color: var(--paper); display: block; font-weight: 700; padding: 0.5rem 1rem; text-align: center; }
fieldset[data-scheme-picker] { border: 0; margin: 0; min-inline-size: 0; padding: 0; }
fieldset[data-scheme-picker][hidden] { display: none; }
fieldset[data-scheme-picker] legend { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.12em; margin-block-end: 0.4rem; padding: 0; text-transform: uppercase; }
fieldset[data-scheme-picker] { display: grid; gap: 0; grid-template-columns: repeat(3, 1fr); }
fieldset[data-scheme-picker] legend { grid-column: 1 / -1; }
fieldset[data-scheme-picker] label { border: 1px solid var(--rule); cursor: pointer; display: block; margin-inline-start: -1px; padding: 0.35rem 0; position: relative; text-align: center; }
fieldset[data-scheme-picker] label:first-of-type { border-radius: 6px 0 0 6px; margin-inline-start: 0; }
fieldset[data-scheme-picker] label:last-of-type { border-radius: 0 6px 6px 0; }
fieldset[data-scheme-picker] input { inset: 0; margin: 0; opacity: 0; position: absolute; }
fieldset[data-scheme-picker] label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 600; z-index: 1; }
fieldset[data-scheme-picker] label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; z-index: 2; }
div[data-user-panel] form[data-signout] { border-block-start: 1px solid var(--rule); display: block; margin: 0; padding-block-start: 0.6rem; }
div[data-user-panel] form[data-signout] button { background: none; border: 0; color: var(--ink); cursor: pointer; font: inherit; padding: 0.15rem 0.25rem; text-decoration: none; }
div[data-user-panel] form[data-signout] button:hover { text-decoration: underline; }

/* Lists: the front page's title or the archive's name, small and spaced. */

h1[data-list-title], section[data-archive] h1 {
  font-size: 0.94rem;
  font-variation-settings: "STYL" 0;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin: 0 0 1.5rem;
  padding-block: 6px;
  text-transform: uppercase;
}
section[data-archive] { margin-block-end: 1.5rem; }
section[data-archive] h1 { margin: 0; }
section[data-archive] p { font-size: 0.94rem; margin: 0.5rem 0 0; }

ol[data-entries] { gap: 4.5rem; }
ol[data-entries] h2[data-entry-title] { font-size: clamp(1.125rem, 1.6vw, 1.35rem); font-weight: 600; margin-block-end: 1rem; }
ol[data-entries] h2[data-entry-title] a:hover { text-decoration-thickness: 1pt; }
ol[data-entries] article > div[data-prose] { order: 2; }

/* A post's line. */
p[data-entry-meta] { color: #888; font-size: 0.94rem; }
p[data-entry-meta] a[rel="tag"] { color: #888; font-weight: 400; }
p[data-entry-meta] a[rel="tag"]:hover { color: #333; }

/* The sidebar: the community's conversation (extensions/social), then
   what was published last. The way to join, above the box's "Join the
   conversation →", is set like the sidebar's headings, but underlined,
   being a link. */

aside[data-sidebar] section[data-social] p[data-subscribe] {
  font-size: 0.8rem;
  font-variation-settings: "STYL" 0;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin: 1.25rem 0 0;
  text-transform: uppercase;
}
aside[data-sidebar] section[data-social] p[data-subscribe] a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
aside[data-sidebar] section[data-social] p[data-subscribe] a:hover { text-decoration-thickness: 2px; }
aside[data-sidebar] section[data-recent] a { color: #4e4d4d; }
aside[data-sidebar] section[data-recent] a::after { content: " →"; font-weight: 700; }

/* Pages: full width under the header, no sidebar. */

body[data-kind="page"] main { max-inline-size: calc(var(--wide) + var(--gap) * 2); }
body[data-kind="page"] div[data-prose], body[data-kind="page"] article > header { max-inline-size: none; }
body[data-kind="page"] h1[data-entry-title] { font-size: clamp(1.35rem, 2.5vw, 1.62rem); }

/* Where a protected section is that the reader may not read: the
   notice in a dashed box. */
aside.px-locked { background: rgba(250, 187, 0, 0.2); border: 2px dashed #fabb00; border-radius: 0; font-family: inherit; }
aside.px-locked a { color: inherit; }

/* Calls to join (diarium-plus/parts.html "join-prompt"): a dashed box in
   the colour of the category (a theme sets --c per [data-prompt]), drawn
   with gradients, so the dash keeps its length whatever the line's thickness. */
[data-prompt] { --c: var(--accent); list-style: none; }
li[data-prompt] { margin-block: -1rem 1.5rem; }
aside[data-prompt] { margin-block: 1.5rem; }
a.join-prompt { color: var(--c); display: block; text-decoration: none; }
a.join-prompt p {
  background-image: linear-gradient(90deg, var(--c) 60%, transparent 60%), linear-gradient(90deg, var(--c) 60%, transparent 60%),
    linear-gradient(0deg, var(--c) 60%, transparent 60%), linear-gradient(0deg, var(--c) 60%, transparent 60%);
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 8px 1px, 8px 1px, 1px 8px, 1px 8px;
  font-size: 0.95em; font-style: italic; letter-spacing: -0.02em; line-height: 1.25; margin: 0; padding: 0.5em 0.6em; text-align: center;
}
a.join-prompt:hover p, a.join-prompt:focus-visible p { background-color: color-mix(in srgb, var(--c) 6%, transparent); }

/* asymco.css */
/* Asymco: asymco.com on Diarium (diarium.css, then diarium-plus.css).
   Its own header (the mark, a turning tagline, its section menu), its
   colours, footer, its post page and the way in to Asymco One after a
   post, ported from the site editor's templates and
   assets/asymco-overrides.css. The One and Horace pages are asymco-pages.css. */

:root {
  --accent: #273da1;
  --cat-research: #3b4bc8;
  --cat-nb: #c04840;
  --cat-podcast: #6b40a0;
  --cat-officehours: #5f8a43;
  --cat-bulletin: #b85a1c;
  --cat-event: #00807f;
  --muted: #7f9099;
}

/* Its categories' pills (Diarium colours them all with --accent). */
p[data-entry-meta] a[href^="/category/research"] { background: var(--cat-research); }
p[data-entry-meta] a[href^="/category/nb"], p[data-entry-meta] a[href^="/category/nota-bene"] { background: var(--cat-nb); }
p[data-entry-meta] a[href^="/category/podcast"] { background: var(--cat-podcast); }
p[data-entry-meta] a[href^="/category/officehours"] { background: var(--cat-officehours); }
p[data-entry-meta] a[href^="/category/bulletin"] { background: var(--cat-bulletin); }
p[data-entry-meta] a[href^="/category/event"], p[data-entry-meta] a[href^="/category/conference"] { background: var(--cat-event); }

/* The header: no rules either side, the mark over the name, then the
   tagline, then the menu. */

header[data-site] { align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; padding-block: 1.875rem 1.25rem; }
header[data-site]::before, header[data-site]::after { content: none; }
a[data-site-title] { font-size: 1.1rem; font-weight: 800; gap: 0.35rem; letter-spacing: 0.25em; order: 1; }
svg[data-site-mark] { block-size: auto; inline-size: 5.6rem; }
img[data-site-mark][data-site-logo] { block-size: 6rem; }
p[data-site-tagline] { font-size: 0.94rem; margin-block: 0.5rem 1.5rem; order: 3; }
nav[data-site-nav] { flex-basis: auto; font-weight: 500; margin: 0; order: 4; }

/* The tagline turns through six lines in one grid cell, 9s each. Only the
   first is read out; without motion it is the only one shown. */
a[data-rotator] { color: inherit; display: inline-grid; max-inline-size: 56ch; text-decoration: none; }
a[data-rotator] > span { animation: asymco-tagline 54s infinite both; grid-area: 1 / 1; opacity: 0; }
a[data-rotator] > span:nth-child(1) { animation-delay: -0.5s; }
a[data-rotator] > span:nth-child(2) { animation-delay: 8.5s; }
a[data-rotator] > span:nth-child(3) { animation-delay: 17.5s; }
a[data-rotator] > span:nth-child(4) { animation-delay: 26.5s; }
a[data-rotator] > span:nth-child(5) { animation-delay: 35.5s; }
a[data-rotator] > span:nth-child(6) { animation-delay: 44.5s; }
@keyframes asymco-tagline {
  0%, 17.6% { opacity: 0; visibility: hidden; }
  1%, 15% { opacity: 1; visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  a[data-rotator] > span { animation: none; }
  a[data-rotator] > span:first-child { opacity: 1; }
  a[data-rotator] > span:not(:first-child) { display: none; }
}

/* The menu: an underline in the section's colour on hover. */
nav[data-site-nav] ul { gap: 0.4rem 1.5rem; }
nav[data-site-nav] a:hover { text-decoration-color: var(--ink); }
nav[data-site-nav] a[href^="/category/research"]:hover { color: var(--cat-research); text-decoration-color: var(--cat-research); }
nav[data-site-nav] a[href^="/category/nb"]:hover { color: var(--cat-nb); text-decoration-color: var(--cat-nb); }
nav[data-site-nav] a[href^="/category/podcast"]:hover { color: var(--cat-podcast); text-decoration-color: var(--cat-podcast); }
nav[data-site-nav] a[href^="/category/officehours"]:hover { color: var(--cat-officehours); text-decoration-color: var(--cat-officehours); }
nav[data-site-nav] a[href^="/bulletin"]:hover { color: var(--cat-bulletin); text-decoration-color: var(--cat-bulletin); }
nav[data-site-nav] a[href^="/category/conference"]:hover { color: var(--cat-event); text-decoration-color: var(--cat-event); }

/* A post's line: the categories' colours. */
p[data-entry-meta] a[href^="/category/research"] { background: var(--cat-research); }
p[data-entry-meta] a[href^="/category/nb"], p[data-entry-meta] a[href^="/category/nota-bene"] { background: var(--cat-nb); }
p[data-entry-meta] a[href^="/category/podcast"] { background: var(--cat-podcast); }
p[data-entry-meta] a[href^="/category/officehours"] { background: var(--cat-officehours); }
p[data-entry-meta] a[href^="/category/bulletin"] { background: var(--cat-bulletin); }
p[data-entry-meta] a[href^="/category/event"], p[data-entry-meta] a[href^="/category/conference"] { background: var(--cat-event); }

/* One post. */

p[data-byline] { color: var(--muted); font-family: var(--font-ui); font-size: 0.94rem; margin: 0; text-align: end; }
p[data-byline] a { color: inherit; }
div[data-prose] blockquote { border-inline-start: 2px solid darkred; font-style: italic; margin-inline: 0; padding-inline-start: 1rem; }

footer[data-entry-cta] { margin-block-start: 1.5rem; max-inline-size: var(--measure); }
footer[data-entry-cta] svg { block-size: 2.5rem; color: var(--ink); display: block; inline-size: auto; }
footer[data-entry-cta] hr { border: 0; border-block-start: 1px solid var(--muted); margin-block: 1.5rem; }
footer[data-entry-cta] p { margin: 0 0 1rem; }
footer[data-entry-cta] a { color: var(--accent); }
p[data-boxed] { border: 1px solid var(--accent); padding: 1rem 1.25rem; }
p[data-byline-foot] { color: var(--muted); font-family: var(--font-ui); font-size: 0.94rem; }

/* The One page, full width. */
body[data-kind="page"] main:has(> .asymco-one-page) { max-inline-size: none; padding: 0; }

article[data-login] { margin-inline: auto; max-inline-size: 28rem; text-align: center; }
p[data-login-link] a { background: #000; border-radius: 999px; color: #fff; display: inline-block; font-weight: 700; padding: 0.6rem 1.5rem; text-decoration: none; }

/* /signin: the card as the login page draws its way in, black pills on
   a quiet card, centred under the header. */
section[rst-signin] { border-radius: 4px; text-align: center; }
[rst-field] { text-align: start; }
[rst-signin] [rst-btn~="primary"] { background: #000; border-radius: 999px; font-weight: 700; }

/* What WordPress's alignment classes did on the One and Horace pages. */
.asymco-one-page :is(.asymco-hero, .asymco-tagline, .asymco-cta-band, .asymco-final-cta, .asymco-pricing-section__title, .asymco-pricing-section__signin),
.asymco-one-page section > h2, .asymco-one-page .asymco-inside > p, .asymco-one-page .asymco-inside__bundle-title { text-align: center; }
.asymco-press-logos { list-style: none; margin: 0; padding: 0; }
.asymco-one-page .asymco-final-cta { background: var(--accent); color: #e5e5e5; }

/* The footer: a rule, the menu again, the small print, then account links. */

footer[data-site] { border-block-start-color: var(--rule); color: var(--muted); display: grid; gap: 1.25rem; justify-items: center; padding-block: 2.25rem 1rem; }
footer[data-site] nav[data-site-nav] { font-size: 0.94rem; }
footer[data-site] nav[data-site-nav] a { color: var(--ink); }
footer[data-site] p { margin: 0; max-inline-size: 48rem; }
footer[data-site] [data-utility] { margin: 0; max-inline-size: 48rem; }
[data-utility] a, [data-utility] form[data-signout] button { color: var(--ink); text-decoration: none; }
[data-utility] a:hover, [data-utility] form[data-signout] button:hover { text-decoration: underline; }

/* Calls to join, in the colour of the category. */
[data-prompt="research"] { --c: var(--cat-research); }
[data-prompt="nb"] { --c: var(--cat-nb); }
[data-prompt="podcast"] { --c: var(--cat-podcast); }
[data-prompt="officehours"] { --c: var(--cat-officehours); }
[data-prompt="event"], [data-prompt="conference"] { --c: var(--cat-event); }

/* asymco-pages.css */
/* Asymco's own pages, ported from the WordPress theme's assets/css: one.css
   (the One landing page, templates/asymco/page-one.html) and about.css
   (Horace, page-horace.html), each scoped to its page's wrapper class.
   Changed from the originals only where WordPress showed through: its
   block wrappers are sections here, its Montserrat is Timeless Grotesk,
   and the rules for the WordPress-only free sign-up form are gone. The
   subscribe pills and the praise strip came from two of asymco.com's
   plugins (asymco-sub-button, asymco-praise-rotator) and sit at the end. */

/* ---- one.css ---- */
/* ==========================================================================
   /one/ — Asymco One landing page styles. Scoped to .asymco-one-page.
   ========================================================================== */

.asymco-one-page {
	--card-border:   #1f2740;
	--card-shadow:   0 8px 32px rgba(0, 0, 0, 0.12);
	--accent:        #273DA1;
	--accent-dark:   #18266a;
	--muted:         #666;
	--bg-alt:        #f7f7f5;
	--cat-bulletin:  #D97030;
}

.asymco-one-page * { box-sizing: border-box; }

/* Subscribe pills on /one/ are always black, regardless of which color
   modifier class (--research, --nb, --podcast, --event, etc.) the markup uses. */
.asymco-one-page .asymco-sub-btn,
.asymco-one-page .asymco-sub-btn--research,
.asymco-one-page .asymco-sub-btn--nb,
.asymco-one-page .asymco-sub-btn--podcast,
.asymco-one-page .asymco-sub-btn--officehours,
.asymco-one-page .asymco-sub-btn--bulletin,
.asymco-one-page .asymco-sub-btn--event { background: #000; }

/* Theme's contentSize is 543px (very narrow). Bypass that on /one/ so every
   section uses our own widths and stays visually centered on the page. */
.asymco-one-page > section,
.asymco-one-page > * > section {
	max-width: none !important;
	width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
}
.asymco-one-page .asymco-pricing-section,
.asymco-one-page .asymco-tagline,
.asymco-one-page .asymco-hero,
.asymco-one-page .asymco-final-cta {
	max-width: none !important;
}

/* /membership-levels: the page's title, the plans, then its own body,
   at the reading width. */
.asymco-levels-page .asymco-levels-page__head,
.asymco-levels-page .asymco-levels-page__body {
	max-width: 42rem !important;
	padding: 0 1.25rem;
}
.asymco-levels-page .asymco-levels-page__head h1 { margin: 1.5rem 0 0; text-align: center; }

/* /subscribe/{plan}: what the plan includes, as the cards list it. */
.asymco-plan-includes .asymco-card__features { list-style: none; padding: 0; }
.asymco-plan-includes .asymco-card__feature { margin-block: 0.35rem; }
.asymco-plan-includes .asymco-card__feature::before { color: #273DA1; content: "✓ "; font-weight: 700; }
.asymco-plan-includes .asymco-card__feature.is-bonus::before { color: #D97030; content: "★ "; }

/* Hide Greatest Hits section if present in markup. */
.asymco-one-page .asymco-samples { display: none !important; }

/* ---------- Hero (folded with press strip) ---------- */
.asymco-one-page .asymco-hero {
	background: #000 !important;
	color: #f5f5f5 !important;
	padding: clamp(1.75rem, 4.5vw, 3.25rem) 1.5rem clamp(1.5rem, 3.5vw, 2.25rem);
	text-align: center;
}
.asymco-one-page .asymco-hero > * {
	margin-left: auto !important;
	margin-right: auto !important;
}
.asymco-one-page .asymco-hero,
.asymco-one-page .asymco-hero * {
	color: #f5f5f5 !important;
}
.asymco-one-page .asymco-hero__title {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	font-size: clamp(2rem, 5vw, 3.5rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	margin: 0 auto 0.4em !important;
	line-height: 1.1;
	text-align: center !important;
	max-width: 22ch;
}
.asymco-one-page .asymco-hero__title-text {
	display: inline-block;
	transition: opacity 0.6s ease, transform 0.6s ease;
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.asymco-one-page .asymco-hero__title-text {
		transition: opacity 0.2s linear;
		transform: none !important;
	}
}
.asymco-one-page .asymco-hero__byline {
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
	opacity: 0.85;
	margin: 0 auto 2.5rem !important;
	text-align: center !important;
	letter-spacing: 0.01em;
}
.asymco-one-page .asymco-hero__byline a {
	color: inherit !important;
	border-bottom: 1px dotted currentColor;
}

/* Press strip absorbed into hero band */
.asymco-one-page .asymco-press__label {
	text-transform: uppercase;
	letter-spacing: 0.25em;
	font-size: 0.7rem !important;
	opacity: 0.55;
	margin: 0 0 1rem !important;
}
.asymco-one-page .asymco-press__caption {
	font-size: 0.92rem !important;
	opacity: 0.65;
	margin: 1.5rem 0 0 !important;
}

/* Press strip on dark band: light wordmarks, low-contrast at rest. */
.asymco-one-page .asymco-press-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.75rem 2.5rem;
	margin: 0.5rem auto;
	max-width: 1100px;
	padding: 0 1rem;
	filter: grayscale(1);
}
.asymco-one-page .press-logo {
	display: inline-flex;
	align-items: center;
	height: 28px;
	color: #d8d8d8 !important;
	opacity: 0.55;
	transition: opacity 0.15s;
	font-weight: 700;
	white-space: nowrap;
	line-height: 1;
}
.asymco-one-page .press-logo:hover {
	opacity: 1;
	color: #fff !important;
}
/* When user uploads PNG/SVG logos: <img class="press-logo" src="..."> */
.asymco-one-page img.press-logo {
	max-height: 28px;
	width: auto;
	filter: grayscale(1);
}
.asymco-one-page img.press-logo:hover { filter: grayscale(0); opacity: 1; }

/* Per-outlet typographic treatment — typeface only, no brand colors.
   Color is forced to grayscale via parent .asymco-press-logos. */
.asymco-one-page .press-logo--bloomberg {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}
.asymco-one-page .press-logo--ft {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	font-size: 1.6rem;
	letter-spacing: -0.02em;
}
.asymco-one-page .press-logo--economist {
	font-family: "Times New Roman", Times, serif;
	font-weight: 700;
	font-size: 0.95rem;
	border: 1px solid currentColor;
	padding: 0.35em 0.6em;
	letter-spacing: 0.02em;
}
.asymco-one-page .press-logo--fortune {
	font-family: "Times New Roman", Times, serif;
	font-weight: 900;
	font-size: 1.05rem;
	letter-spacing: 0.18em;
}
.asymco-one-page .press-logo--forbes {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 800;
	font-size: 1.4rem;
	font-style: italic;
	letter-spacing: -0.01em;
}
.asymco-one-page .press-logo--wsj {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	padding: 0.2em 0;
}
.asymco-one-page .press-logo--cnbc {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: -0.04em;
}
.asymco-one-page .press-logo--verge {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 900;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	border: 1px solid currentColor;
	padding: 0.3em 0.6em;
	transform: skew(-8deg);
}
.asymco-one-page .press-logo--stratechery {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	font-size: 1.1rem;
	font-style: italic;
	letter-spacing: -0.01em;
}
.asymco-one-page .press-logo--df {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: -0.01em;
}
.asymco-one-page .press-logo--9to5 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: -0.02em;
}
.asymco-one-page .press-logo--macrumors {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: -0.01em;
}

/* ---------- Tagline (between hero and pricing) ---------- */
.asymco-one-page .asymco-tagline {
	background: #000;
	padding: 0 1.5rem 3rem;
	margin: 0;
}
.asymco-one-page .asymco-tagline__text {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	font-size: clamp(1.25rem, 2.5vw, 1.65rem) !important;
	font-weight: 600 !important;
	font-style: italic;
	letter-spacing: -0.01em;
	color: #f5f5f5 !important;
	max-width: 820px;
	margin: 0 auto !important;
	line-height: 1.4;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 2.25rem;
}

/* ---------- Pricing section ---------- */
.asymco-one-page .asymco-pricing-section {
	padding: 4rem 1rem 1rem;
	max-width: 1280px;
	margin: 0 auto;
}
.asymco-one-page .asymco-pricing-section__title {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	margin: 0 auto 0.5rem !important;
	color: #0f172a;
	text-align: center !important;
}
.asymco-one-page .asymco-pricing-section__signin {
	font-size: 0.92rem !important;
	color: #555 !important;
	text-align: center !important;
	margin: 0 auto 1.5rem !important;
}
.asymco-one-page .asymco-pricing-section__signin a {
	color: #555 !important;
	text-decoration: underline !important;
	text-underline-offset: 0.18em;
}
.asymco-one-page .asymco-pricing-section__signin a:hover {
	color: #000 !important;
}
.asymco-one-page .asymco-pricing-section__intro {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.asymco-one-page .asymco-pricing-section__intro {
	font-size: 1.05rem;
	color: #555;
	max-width: 640px;
	margin: 0 auto 2.5rem !important;
	line-height: 1.5;
}

/* ---------- Pricing cards ---------- */
.asymco-one-page .asymco-pricing-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	align-items: stretch;
	margin: 0 auto 3rem;
	padding: 1.25rem 0.5rem;
	max-width: 1200px;
}
@media (min-width: 720px) {
	.asymco-one-page .asymco-pricing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.asymco-one-page .asymco-pricing-grid--two {
	max-width: 880px;
}

/* ---------- Not convinced yet? — free email reveal under the paid cards ---------- */

.asymco-one-page .asymco-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 2rem 1.75rem 2rem;
	display: flex;
	flex-direction: column;
	position: relative;
	text-align: left;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: box-shadow 0.2s, transform 0.2s;
}
.asymco-one-page .asymco-card:hover {
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Featured (Annual) */
.asymco-one-page .asymco-card--featured {
	border: 2px solid var(--accent);
	box-shadow: 0 12px 32px rgba(39, 61, 161, 0.15);
}
@media (min-width: 1000px) {
	.asymco-one-page .asymco-card--featured {
		transform: translateY(-12px);
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}
	.asymco-one-page .asymco-card--featured:hover {
		box-shadow: 0 16px 40px rgba(39, 61, 161, 0.22);
	}
}

.asymco-one-page .asymco-card__ribbon {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--cat-bulletin);
	color: #fff;
	padding: 6px 16px;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 4px 10px rgba(217, 112, 48, 0.3);
}

/* Card head */
.asymco-one-page .asymco-card__head {
	margin: 0 0 1.5rem;
	min-height: 4.5rem;
}
.asymco-one-page .asymco-card__eyebrow {
	font-size: 0.7rem !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 0.5rem !important;
	font-weight: 700 !important;
}

.asymco-one-page .asymco-card__name {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	font-size: 1.5rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	color: #0f172a !important;
	margin: 0 0 0.5rem !important;
	line-height: 1.2;
}
.asymco-one-page .asymco-card__lede {
	font-size: 0.95rem;
	color: #555;
	margin: 0;
	line-height: 1.5;
}

/* Price block — fixed min-height so CTAs align across cards */
.asymco-one-page .asymco-card__price-block {
	margin: 0 0 1.25rem;
	min-height: 11rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.asymco-one-page .asymco-card__price-eyebrow {
	font-size: 0.78rem;
	color: var(--muted);
	margin: 0 0 0.25rem;
	letter-spacing: 0.02em;
}
.asymco-one-page .asymco-card__price-eyebrow strong {
	color: var(--accent);
	letter-spacing: 0.08em;
	font-weight: 700;
}
.asymco-one-page .asymco-card__price {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	display: flex;
	align-items: flex-start;
	color: #0f172a;
	line-height: 1;
	margin: 0;
}
.asymco-one-page .asymco-card__currency {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0.4rem 0.15rem 0 0;
	letter-spacing: -0.02em;
}
.asymco-one-page .asymco-card__amount {
	font-size: clamp(3rem, 6vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.04em;
}
.asymco-one-page .asymco-card__suffix {
	font-size: 1rem;
	font-weight: 600;
	color: var(--muted);
	margin: 0.65rem 0 0 0.25rem;
	letter-spacing: 0.01em;
	align-self: flex-end;
	padding-bottom: 0.5rem;
}
.asymco-one-page .asymco-card__price--word .asymco-card__amount {
	font-size: clamp(2.5rem, 5vw, 3.25rem);
	letter-spacing: -0.03em;
}
.asymco-one-page .asymco-card__price-equiv {
	font-size: 0.95rem;
	color: #0f172a;
	margin: 0.6rem 0 0;
	line-height: 1.4;
}
.asymco-one-page .asymco-card__price-equiv strong {
	background: rgba(217, 112, 48, 0.12);
	color: var(--cat-bulletin);
	padding: 0.15em 0.5em;
	border-radius: 4px;
	font-weight: 800;
	letter-spacing: -0.01em;
}
.asymco-one-page .asymco-card__price-period {
	font-size: 0.9rem;
	color: var(--muted);
	margin: 0.5rem 0 0;
	line-height: 1.4;
}
.asymco-one-page .asymco-card__price-strike {
	color: #94a3b8;
	text-decoration: line-through;
	text-decoration-color: rgba(148, 163, 184, 0.8);
	text-decoration-thickness: 1.5px;
	margin-right: 0.35rem;
}
.asymco-one-page .asymco-card__savings {
	font-size: 0.85rem;
	color: var(--cat-bulletin);
	font-weight: 700;
	margin: 0.5rem 0 0;
}

/* CTA */
.asymco-one-page .asymco-card__cta {
	display: block;
	width: 100%;
	margin: 0 0 0.75rem;
	padding: 0.95rem 1.25rem;
	font-size: 0.98rem;
}
.asymco-one-page .asymco-card__cta-area { margin-bottom: 0.75rem; }
.asymco-one-page .asymco-card__cta-area .asymco-card__cta {
	margin-bottom: 0;
}

/* Stretched-link: make the entire paid card a click target for its CTA.
   Card is already position:relative; the ::after overlay catches clicks
   anywhere on the card and routes them to the CTA's href. */
.asymco-one-page .asymco-card--monthly,
.asymco-one-page .asymco-card--annual {
	cursor: pointer;
}
.asymco-one-page .asymco-card--monthly .asymco-card__cta::after,
.asymco-one-page .asymco-card--annual .asymco-card__cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
/* Keep the ribbon visually above the overlay (it's non-interactive but
   shouldn't appear dimmed by stacking). */
.asymco-one-page .asymco-card__ribbon {
	z-index: 2;
}
.asymco-one-page .asymco-card__subtext {
	font-size: 0.8rem;
	color: var(--muted);
	margin: 0 0 1.5rem;
	text-align: center;
}

/* Feature list with checkmarks (parallel across all cards) */
.asymco-one-page .asymco-card__features {
	list-style: none !important;
	padding: 1.25rem 0 0 !important;
	margin: auto 0 0 !important;
	border-top: 1px solid #eef0f3;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}
.asymco-one-page .asymco-card__features li {
	position: relative;
	padding-left: 1.65rem;
	font-size: 0.92rem;
	line-height: 1.45;
	color: #1f2937;
}
.asymco-one-page .asymco-card__features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 999px;
	background-color: rgba(39, 61, 161, 0.1);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23273DA1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5,8.5 6.5,11.5 12.5,5'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 0.85rem 0.85rem;
}
.asymco-one-page .asymco-card__features li.is-bonus {
	font-weight: 600;
	color: #0f172a;
}
.asymco-one-page .asymco-card__features li.is-bonus::before {
	background-color: rgba(217, 112, 48, 0.15);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D97030'><path d='M8 1l1.9 4.6L15 6.3l-3.7 3.4 1 5L8 12.6 3.7 14.7l1-5L1 6.3l5.1-.7z'/></svg>");
	background-size: 0.95rem 0.95rem;
}

/* Buttons */
.asymco-one-page .asymco-btn {
	display: inline-block;
	padding: 0.85rem 1.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 999px;
	text-decoration: none !important;
	text-align: center;
	cursor: pointer;
	border: 0;
	transition: background 0.15s, color 0.15s, transform 0.05s, box-shadow 0.15s;
}
.asymco-one-page .asymco-btn--primary {
	background: var(--accent);
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(39, 61, 161, 0.25);
}
.asymco-one-page .asymco-btn--primary:hover {
	background: var(--accent-dark);
	box-shadow: 0 6px 20px rgba(39, 61, 161, 0.35);
}
.asymco-one-page .asymco-btn--secondary {
	background: #1f2740;
	color: #fff !important;
}
.asymco-one-page .asymco-btn--secondary:hover {
	background: #000;
}
.asymco-one-page .asymco-btn--ghost {
	background: transparent;
	color: #1f2740 !important;
	border: 1px solid #1f2740;
}
.asymco-one-page .asymco-btn--ghost:hover {
	background: #1f2740;
	color: #fff !important;
}
.asymco-one-page .asymco-btn--ghost-on-dark {
	background: transparent;
	color: #fff !important;
	border: 1px solid rgba(255,255,255,0.5);
}
.asymco-one-page .asymco-btn--ghost-on-dark:hover {
	background: rgba(255,255,255,0.1);
}
.asymco-one-page .asymco-btn:active { transform: translateY(1px); }

/* Free-form (email signup inside Free card) — input + button side by side */

/* Already-on-free upgrade pitch */

/* ---------- Inside / samples / why / etc. ---------- */
.asymco-one-page .asymco-inside,
.asymco-one-page .asymco-samples,
.asymco-one-page .asymco-testimonials,
.asymco-one-page .asymco-faq {
	padding: 3rem 1.5rem;
	max-width: 1100px;
	margin: 0 auto;
}

/* "The all-in-one on Apple" — bigger, more readable type. */
.asymco-one-page .asymco-inside h2 {
	font-size: 2rem;
	line-height: 1.2;
	margin: 0 0 1.25rem;
}

/* "Notable Mentions" heading — display-scale, matching the hero. */
.asymco-one-page .asymco-testimonials > h2 {
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	line-height: 1.1;
	margin: 0 0 2rem;
	letter-spacing: -0.01em;
}
.asymco-one-page .asymco-inside > p {
	font-size: 1.15rem;
	line-height: 1.7;
	max-width: 780px;
	margin: 0 auto 2rem;
}
.asymco-one-page .asymco-inside__bundle-title {
	font-size: 1.4rem;
	line-height: 1.3;
	margin: 1.5rem 0 1.5rem;
}

/* Bundle list — two columns on wide, single column on narrow. */
.asymco-one-page .asymco-inside__bundle {
	column-count: 2;
	column-gap: 2.5rem;
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 980px;
	font-size: 1.05rem;
	line-height: 1.6;
}
.asymco-one-page .asymco-inside__bundle li {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	margin: 0 0 1.1rem;
}

/* Section name = colored pill (default gray for sections without an assigned color).
   Pill on its own line; description text wraps below. */
.asymco-one-page .asymco-inside__bundle li > a:first-child {
	display: block;
	width: fit-content;
	background-color: #999;
	color: #fff !important;
	padding: 0.1em 0.7em;
	border-radius: 1em;
	text-decoration: none !important;
	margin: 0 0 0.35em;
	line-height: 1.5;
}
.asymco-one-page .asymco-inside__bundle li > a:first-child strong { font-weight: 700; }
.asymco-one-page .asymco-inside__bundle li > a:first-child:hover {
	text-decoration: none !important;
	filter: brightness(1.08);
}
.asymco-one-page .asymco-inside__bundle li > a[href*="/category/nb"]          { background-color: var(--cat-nb); }
.asymco-one-page .asymco-inside__bundle li > a[href*="/category/research"]    { background-color: var(--cat-research); }
.asymco-one-page .asymco-inside__bundle li > a[href*="/category/bulletin"]    { background-color: var(--cat-bulletin); }
.asymco-one-page .asymco-inside__bundle li > a[href*="/category/podcast"]      { background-color: var(--cat-podcast); }
.asymco-one-page .asymco-inside__bundle li > a[href*="/category/officehours"] { background-color: var(--cat-officehours); }
.asymco-one-page .asymco-inside__bundle li > a[href*="/category/conference"]  { background-color: var(--cat-event); }
/* /archives/ keeps the default gray (no assigned color). */

@media (max-width: 700px) {
	.asymco-one-page .asymco-inside__bundle {
		column-count: 1;
	}
	.asymco-one-page .asymco-inside h2 {
		font-size: 1.6rem;
	}
	.asymco-one-page .asymco-inside > p {
		font-size: 1.05rem;
	}
}
/* Why Asymco One — three-column "tastes great, more filling" block.
   Phone screenshot on the left, headline + subtext + prose in the middle,
   coffee cup on the right. White background; the page's surrounding
   sections (CTA bands) use the theme cream/grey for visual rhythm. */
.asymco-one-page .asymco-why {
	background: #fff;
	padding: 3.5rem clamp(1rem, 4vw, 3rem);
	margin: 0 auto;
	color: #000 !important;
}
.asymco-one-page .asymco-why h2,
.asymco-one-page .asymco-why h3,
.asymco-one-page .asymco-why p {
	color: #000 !important;
}
.asymco-one-page .asymco-why__layout {
	display: grid;
	grid-template-columns: minmax(160px, 1fr) minmax(0, 2.2fr) minmax(140px, 1fr);
	gap: clamp(1rem, 3vw, 2.5rem);
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}
.asymco-one-page .asymco-why__phone,
.asymco-one-page .asymco-why__coffee {
	margin: 0;
	display: flex;
	justify-content: center;
}
.asymco-one-page .asymco-why__phone img {
	width: 100%;
	max-width: 320px;
	height: auto;
	display: block;
}
.asymco-one-page .asymco-why__coffee img {
	width: 100%;
	max-width: 220px;
	height: auto;
	display: block;
}
.asymco-one-page .asymco-why__center {
	min-width: 0;
}
.asymco-one-page .asymco-why__headline {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	font-size: clamp(1.6rem, 3.2vw, 2.25rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 0.6rem;
}
.asymco-one-page .asymco-why__subtext {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 1.5rem;
}
.asymco-one-page .asymco-why__prose p {
	font-size: 1.02rem;
	line-height: 1.6;
	margin: 0 0 1rem;
}
.asymco-one-page .asymco-why__prose p:last-child {
	margin-bottom: 0;
}
@media (max-width: 820px) {
	.asymco-one-page .asymco-why__layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		text-align: center;
	}
	.asymco-one-page .asymco-why__phone img { max-width: 220px; }
	.asymco-one-page .asymco-why__coffee img { max-width: 160px; }
	.asymco-one-page .asymco-why__prose { text-align: left; }
}

/* Anchor target offset so #subscribe doesn't scroll under the sticky header. */
.asymco-one-page #subscribe,
.asymco-one-page #plans {
	scroll-margin-top: 5rem;
}

/* Interstitial CTA band — repeated nudges back to #subscribe between sections.
   Cream/grey background contrasts against the white .asymco-why band. */
.asymco-one-page .asymco-cta-band {
	background: #f2f0ea;
	padding: 2rem clamp(1rem, 4vw, 2.5rem);
	margin: 0 auto;
	text-align: center;
}
.asymco-one-page .asymco-cta-band__text {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}
.asymco-one-page .asymco-cta-band__btn {
	font-size: 0.95rem;
}
.asymco-one-page .asymco-cta-band--final {
	margin-top: 2rem;
	margin-bottom: 0;
}
/* Combined CTA + 30-day money-back band: lighter grey, smaller guarantee line. */
.asymco-one-page .asymco-cta-band--with-guarantee {
	background: #f7f6f4;
}
.asymco-one-page .asymco-cta-band__guarantee {
	font-size: 0.85rem;
	color: #555;
	margin: 0.85rem 0 0;
	line-height: 1.4;
}
.asymco-one-page .asymco-cta-band__guarantee strong {
	color: #000;
}

/* Price comparison table — descending from the most expensive to free. */
.asymco-one-page .asymco-pricetable {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0 1.75rem;
	font-size: 0.98rem;
	color: #000 !important;
}
.asymco-one-page .asymco-pricetable thead th {
	text-align: left;
	padding: 0.4rem 0.75rem;
	border-bottom: 1px solid #999;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #555 !important;
	font-weight: 600;
}
.asymco-one-page .asymco-pricetable thead th:last-child { text-align: right; }
.asymco-one-page .asymco-pricetable td,
.asymco-one-page .asymco-pricetable tbody th {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid #d8d8d8;
	color: #000 !important;
	background: transparent !important;
}
.asymco-one-page .asymco-pricetable tbody th {
	text-align: left;
	font-weight: 500;
}
.asymco-one-page .asymco-pricetable td {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.asymco-one-page .asymco-pricetable__competitor {
	color: #444 !important;
	opacity: 0.85;
}
.asymco-one-page .asymco-pricetable__divider td {
	border: 0;
	padding: 0.4rem 0;
}
.asymco-one-page .asymco-pricetable__asymco {
	background: rgba(192, 72, 64, 0.08) !important;
}
.asymco-one-page .asymco-pricetable__asymco th,
.asymco-one-page .asymco-pricetable__asymco td {
	background: rgba(192, 72, 64, 0.08) !important;
	color: #000 !important;
}
.asymco-one-page .asymco-pricetable__note {
	display: block;
	font-size: 0.78rem;
	font-weight: 400;
	color: #555 !important;
	margin-top: 0.15rem;
}

.asymco-one-page .asymco-sample-card {
	border: 1px solid #eaeaea;
	padding: 1.25rem;
	border-radius: 8px;
	height: 100%;
}
.asymco-one-page .asymco-sample-card__tag {
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0.5rem 0 0;
}

.asymco-one-page .asymco-guarantee {
	padding: 1.5rem;
	background: var(--bg-alt);
	margin: 2rem auto;
	max-width: 700px;
	border-radius: 8px;
}

.asymco-one-page .asymco-faq details {
	border-top: 1px solid #eaeaea;
	padding: 1rem 0;
}
.asymco-one-page .asymco-faq details:last-child { border-bottom: 1px solid #eaeaea; }
.asymco-one-page .asymco-faq summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 1rem;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.asymco-one-page .asymco-faq summary::-webkit-details-marker { display: none; }
.asymco-one-page .asymco-faq summary::after {
	content: "+";
	font-size: 1.4rem;
	font-weight: 300;
	color: var(--muted);
	transition: transform 0.15s;
}
.asymco-one-page .asymco-faq details[open] summary::after { transform: rotate(45deg); }
.asymco-one-page .asymco-faq details p {
	margin: 0.5rem 0 0;
	color: #444;
}

/* ---------- Testimonials ---------- */
.asymco-one-page .asymco-testimonial-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin: 2rem auto 0;
	max-width: 960px;
}
@media (min-width: 720px) {
	.asymco-one-page .asymco-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.asymco-one-page .asymco-testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}
.asymco-one-page .asymco-testimonial {
	--brand: #1f2740;
	--brand-text: #1f2740;
	--brand-bg: #ffffff;
	position: relative;
	margin: 0;
	padding: 2rem 1.75rem 3.5rem;
	background: var(--brand-bg);
	border: 0;
	border-left: 10px solid var(--brand);
	border-radius: 0;
	display: flex;
	flex-direction: column;
	min-height: 200px;
	transition: transform 0.15s, box-shadow 0.15s;
}
.asymco-one-page .asymco-testimonial:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}
.asymco-one-page .asymco-testimonial blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
}
.asymco-one-page .asymco-testimonial blockquote p {
	margin: 0;
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	line-height: 1.4;
	color: #0f172a;
	font-weight: 500;
	letter-spacing: -0.005em;
}
.asymco-one-page .asymco-testimonial blockquote a,
.asymco-one-page .asymco-testimonial blockquote a:hover,
.asymco-one-page .asymco-testimonial blockquote a:focus {
	color: inherit;
	border-bottom: 0;
	text-decoration: none !important;
}
.asymco-one-page .asymco-testimonial figcaption {
	position: absolute;
	right: 1.5rem;
	bottom: 1rem;
	margin: 0;
	text-align: right;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	max-width: 60%;
}
.asymco-one-page .asymco-testimonial__brand {
	display: inline-block;
	font-weight: 800;
	color: var(--brand-text);
	padding: 0.2em 0;
	line-height: 1;
}
/* When the brand uses press-logo wordmark styling (CNBC, Forbes, FT, Fortune, etc.),
   reset the grayscale filter from the hero so the testimonial logo can use brand color. */
.asymco-one-page .asymco-testimonial figcaption .press-logo {
	filter: none;
	opacity: 1;
	color: var(--brand-text) !important;
	height: auto;
}

/* Image-based testimonial brand logos (CNBC, Forbes, Fortune, BI, Macfilos).
   Logo on its own line; brand name as text label below. */
.asymco-one-page .asymco-testimonial figcaption {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.35rem;
}
.asymco-one-page .asymco-testimonial__logo {
	display: block;
	height: 28px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
}
.asymco-one-page .asymco-testimonial__logo--bi {
	height: 24px;
}
.asymco-one-page .asymco-testimonial__name {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--brand-text, #444);
	text-transform: uppercase;
	line-height: 1;
}

/* Per-outlet brand colors. */
.asymco-one-page .asymco-testimonial--cnbc,
.asymco-one-page .asymco-testimonial--cramer {
	--brand: #cc0000;
	--brand-text: #cc0000;
}
.asymco-one-page .asymco-testimonial--fortune {
	--brand: #d4a574;
	--brand-text: #8a6726;
}
.asymco-one-page .asymco-testimonial--forbes {
	--brand: #000;
	--brand-text: #000;
}
.asymco-one-page .asymco-testimonial--forbes .asymco-testimonial__brand {
	font-style: italic;
	font-family: Georgia, "Times New Roman", serif;
}
.asymco-one-page .asymco-testimonial--bi {
	--brand: #ed1c24;
	--brand-text: #ed1c24;
}
.asymco-one-page .asymco-testimonial--macfilos {
	--brand: #1a1a1a;
	--brand-text: #555;
}
.asymco-one-page .asymco-testimonial--ft {
	--brand: #fff1e5;
	--brand-text: #0d0d0d;
	--brand-bg: #fff1e5;
}
.asymco-one-page .asymco-testimonial--economist {
	--brand: #e3120b;
	--brand-text: #e3120b;
}
.asymco-one-page .asymco-testimonial--wsj {
	--brand: #000;
	--brand-text: #000;
}
.asymco-one-page .asymco-testimonial--verge {
	--brand: #5200ff;
	--brand-text: #5200ff;
}
.asymco-one-page .asymco-testimonial--bloomberg {
	--brand: #000;
	--brand-text: #000;
}

/* ---------- Final CTA band ---------- */
.asymco-one-page .asymco-final-cta {
	padding: 3rem 1.5rem;
	margin-top: 3rem;
}
.asymco-one-page .asymco-final-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 1rem;
}

/* ---------- Already-a-member band (Phase 1.5) ---------- */
.asymco-one-page .asymco-member-band {
	display: block !important;
	background: #fff;
	color: inherit;
	padding: 0 1.5rem 0.5rem;
	text-align: left;
	margin: 0 auto 1rem;
	border-radius: 0;
	max-width: 800px;
	width: auto;
	box-sizing: border-box;
	font-size: 0.9rem;
	line-height: 1.4;
}
.asymco-one-page .asymco-member-band a {
	color: inherit;
	text-decoration: underline;
}
@media (max-width: 600px) {
	.asymco-one-page .asymco-member-band {
		margin: 0 1rem 0.75rem !important;
		padding: 0 0 0.5rem;
		font-size: 0.85rem;
	}
}

/* ---- about.css ---- */
/* ==========================================================================
   /about/horace/ — Horace Dediu bio page. Scoped to .asymco-about-page.
   Loads alongside one.css so testimonials + buttons reuse those styles.
   ========================================================================== */

.asymco-about-page {
	--accent:        #273DA1;
	--accent-dark:   #18266a;
	--muted:         #666;
	--bg-alt:        #f7f7f5;
	--cat-bulletin:  #D97030;
}

.asymco-about-page * { box-sizing: border-box; }

/* Bypass theme's narrow contentSize, same trick as /one/. */
.asymco-about-page > section,
.asymco-about-page > * > section {
	max-width: none !important;
	width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ---------- Hero ---------- */
.asymco-about-page .asymco-about-hero {
	background: #000;
	color: #f5f5f5;
	padding: clamp(3rem, 8vw, 6rem) 1.5rem clamp(3rem, 7vw, 5rem);
}
.asymco-about-page .asymco-about-hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
}
@media (min-width: 800px) {
	.asymco-about-page .asymco-about-hero__inner {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 4rem;
	}
}
.asymco-about-page .asymco-about-hero__copy {
	color: #f5f5f5;
}
.asymco-about-page .asymco-about-hero__eyebrow {
	font-size: 0.78rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.6);
	margin: 0 0 1rem;
	font-weight: 600;
}
.asymco-about-page .asymco-about-hero__title {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0 0 1rem;
	color: #fff;
}
.asymco-about-page .asymco-about-hero__tagline {
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	color: rgba(255,255,255,0.85);
	line-height: 1.45;
	margin: 0 0 2rem;
	max-width: 32em;
}
.asymco-about-page .asymco-about-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.asymco-about-page .asymco-about-hero__portrait {
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0,0,0,0.5);
	aspect-ratio: 4 / 5;
	background: #1a1a1a;
}
.asymco-about-page .asymco-about-hero__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: contrast(1.04) saturate(1.05);
}

/* ---------- Bio prose ---------- */
.asymco-about-page .asymco-about-bio {
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 5rem) 1.5rem 1rem;
}
.asymco-about-page .asymco-about-bio p {
	font-size: 1.1rem;
	line-height: 1.7;
	color: #1f2937;
	margin: 0 0 1.25rem;
}
.asymco-about-page .asymco-about-bio__lead {
	font-size: 1.3rem !important;
	line-height: 1.55 !important;
	color: #0f172a !important;
	font-weight: 500;
	letter-spacing: -0.005em;
	margin-bottom: 1.75rem !important;
}
.asymco-about-page .asymco-about-bio a {
	color: var(--accent);
	text-decoration: none;
	border-bottom: 1px solid rgba(39, 61, 161, 0.3);
	transition: border-color 0.15s;
}
.asymco-about-page .asymco-about-bio a:hover {
	border-bottom-color: var(--accent);
}

/* ---------- Pull-quote feature ---------- */
.asymco-about-page .asymco-about-feature {
	background: var(--bg-alt);
	padding: clamp(3rem, 5vw, 4.5rem) 1.5rem;
	margin: 3rem 0;
}
.asymco-about-page .asymco-about-feature__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
	max-width: 1000px;
	margin: 0 auto;
}
@media (min-width: 800px) {
	.asymco-about-page .asymco-about-feature__inner {
		grid-template-columns: 0.9fr 1.1fr;
	}
}
.asymco-about-page .asymco-about-feature__photo {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
}
.asymco-about-page .asymco-about-feature__photo img {
	width: 100%;
	height: auto;
	display: block;
}
.asymco-about-page .asymco-about-feature__photo figcaption {
	background: #fff;
	padding: 0.75rem 1rem;
	font-size: 0.85rem;
	color: var(--muted);
	letter-spacing: 0.02em;
	text-align: center;
}
.asymco-about-page .asymco-about-feature__quote {
	margin: 0;
	padding: 0 0 0 1.5rem;
	border-left: 4px solid var(--accent);
}
.asymco-about-page .asymco-about-feature__quote p {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: #0f172a;
	margin: 0 0 1rem;
}
.asymco-about-page .asymco-about-feature__quote cite {
	display: block;
	font-style: normal;
	font-size: 0.9rem;
	color: var(--muted);
	letter-spacing: 0.04em;
}

/* ---------- Themes grid ---------- */
.asymco-about-page .asymco-about-themes {
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}
.asymco-about-page .asymco-about-themes h2 {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 2.5rem;
	color: #0f172a;
}
.asymco-about-page .asymco-about-themes__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
@media (min-width: 720px) {
	.asymco-about-page .asymco-about-themes__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1000px) {
	.asymco-about-page .asymco-about-themes__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.asymco-about-page .asymco-about-theme {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 1.5rem 1.5rem 1.75rem;
	border-top: 4px solid var(--accent);
	transition: transform 0.15s, box-shadow 0.15s;
}
.asymco-about-page .asymco-about-theme:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.asymco-about-page .asymco-about-theme h3 {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 0.6rem;
	color: #0f172a;
}
.asymco-about-page .asymco-about-theme p {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #374151;
	margin: 0;
}

/* ---------- Elsewhere ---------- */
.asymco-about-page .asymco-about-elsewhere {
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 4rem) 1.5rem clamp(3rem, 6vw, 5rem);
}
.asymco-about-page .asymco-about-elsewhere h2 {
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 2rem;
	color: #0f172a;
}
.asymco-about-page .asymco-about-elsewhere__grid {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}
@media (min-width: 700px) {
	.asymco-about-page .asymco-about-elsewhere__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1000px) {
	.asymco-about-page .asymco-about-elsewhere__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.asymco-about-page .asymco-about-elsewhere__grid a {
	display: block;
	padding: 1.25rem 1.5rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	color: #0f172a;
	text-decoration: none !important;
	transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.asymco-about-page .asymco-about-elsewhere__grid a:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(39, 61, 161, 0.1);
}
.asymco-about-page .asymco-about-elsewhere__grid a strong {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: var(--accent);
	margin: 0 0 0.25rem;
	letter-spacing: -0.01em;
}
.asymco-about-page .asymco-about-elsewhere__grid a span {
	display: block;
	font-size: 0.85rem;
	color: var(--muted);
	line-height: 1.4;
}

/* ---------- Final CTA reuses .asymco-final-cta from one.css ---------- */
.asymco-about-page .asymco-final-cta p {
	font-size: 1.4rem !important;
	font-weight: 600 !important;
	letter-spacing: -0.01em;
}


/* ---- asymco-sub-button plugin: the round subscribe pills ---- */
.asymco-sub-btn {
	--cat-research: #3B4BC8;
	--cat-nb: #C04840;
	--cat-podcast: #6B40A0;
	--cat-officehours: #7BA35E;
	--cat-bulletin: #D97030;
	--cat-event: #00A5A5;
	display: inline-block;
	border-radius: 999px;
	background: var(--cat-bulletin);
	color: #fff !important;
	padding: 0.55rem 1.5rem;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	transition: filter 0.18s ease;
	font-family: "Timeless Sans", "DM Sans", system-ui, sans-serif; font-variation-settings: "STYL" 0;
	border: 0;
	cursor: pointer;
}
.asymco-sub-btn:hover,
.asymco-sub-btn:focus { color: #fff !important; text-decoration: none !important; filter: brightness(0.9); }

/* ---- asymco-praise-rotator plugin: readers' praise, one at a time ----
   The plugin turned them with a script every 6.5s. Here every quote sits
   in the same grid cell and takes its turn through one animation, each
   starting 6.5s after the last: 17 quotes, a 110.5s cycle, each fully
   shown for about 5.5% of it. Without motion, only the first shows. */
.asymco-praise-strip {
	display: grid;
	max-width: 880px;
	margin: 3rem auto 0;
	padding: 0 1.5rem;
	text-align: center;
}
.asymco-praise-strip__item {
	animation: asymco-praise 110.5s infinite both;
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	padding: 0 1.5rem;
}
.asymco-praise-strip__quote {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2.4vw, 1.9rem);
	line-height: 1.45;
	color: #1f2937;
	font-style: italic;
}
.asymco-praise-strip__quote::before { content: "\275D\00A0"; font-style: normal; }
.asymco-praise-strip__quote::after  { content: "\00A0\275E"; font-style: normal; }
.asymco-praise-strip__cite {
	display: block;
	font-style: normal;
	font-size: 0.95rem;
	color: #6b7280;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
@keyframes asymco-praise {
	0%, 6.4% { opacity: 0; visibility: hidden; }
	0.5%, 5.4% { opacity: 1; visibility: visible; }
}
.asymco-praise-strip__item:nth-child(1) { animation-delay: -0.5s; }
.asymco-praise-strip__item:nth-child(2) { animation-delay: 6s; }
.asymco-praise-strip__item:nth-child(3) { animation-delay: 12.5s; }
.asymco-praise-strip__item:nth-child(4) { animation-delay: 19s; }
.asymco-praise-strip__item:nth-child(5) { animation-delay: 25.5s; }
.asymco-praise-strip__item:nth-child(6) { animation-delay: 32s; }
.asymco-praise-strip__item:nth-child(7) { animation-delay: 38.5s; }
.asymco-praise-strip__item:nth-child(8) { animation-delay: 45s; }
.asymco-praise-strip__item:nth-child(9) { animation-delay: 51.5s; }
.asymco-praise-strip__item:nth-child(10) { animation-delay: 58s; }
.asymco-praise-strip__item:nth-child(11) { animation-delay: 64.5s; }
.asymco-praise-strip__item:nth-child(12) { animation-delay: 71s; }
.asymco-praise-strip__item:nth-child(13) { animation-delay: 77.5s; }
.asymco-praise-strip__item:nth-child(14) { animation-delay: 84s; }
.asymco-praise-strip__item:nth-child(15) { animation-delay: 90.5s; }
.asymco-praise-strip__item:nth-child(16) { animation-delay: 97s; }
.asymco-praise-strip__item:nth-child(17) { animation-delay: 103.5s; }
@media (prefers-reduced-motion: reduce) {
	.asymco-praise-strip__item { animation: none; }
	.asymco-praise-strip__item:first-child { opacity: 1; }
	.asymco-praise-strip__item:not(:first-child) { display: none; }
}

/* The Bulletin page (page-bulletin.html and the issues block), after
   asymco.com's [bulletin_hero] and [bulletin_issues]. */
.asymco-bulletin-page { --cat-research: #3B4BC8; --cat-nb: #C04840; --cat-podcast: #6B40A0; --cat-officehours: #7BA35E; --cat-bulletin: #D97030; --cat-event: #00A5A5; }
.asymco-bulletin-pill { background: var(--cat-bulletin); border-radius: 1em; color: #fff; display: inline-block; font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; padding: 0.1em 0.55em; text-decoration: none; text-transform: uppercase; }
.asymco-bulletin-hero { margin: 0 auto 2rem; max-inline-size: 64rem; }
h1.asymco-bulletin-hero__lede { font-family: var(--font-body); font-size: 1.18rem; font-weight: 400; line-height: 1.45; margin: 0 0 1rem; max-inline-size: 48rem; }
.asymco-bulletin-hero__included { font-size: 1.18rem; font-weight: 800; margin: 0 0 3rem; }
.asymco-bulletin-hero__meta { display: grid; gap: 2.5rem; grid-template-columns: repeat(3, 1fr); }
.asymco-bulletin-hero__meta h2 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; letter-spacing: 0.06em; margin: 0 0 0.75rem; text-transform: uppercase; }
.asymco-bulletin-hero__meta p { margin: 0 0 0.75rem; }
@media (max-width: 640px) { .asymco-bulletin-hero__meta { gap: 1.75rem; grid-template-columns: 1fr; } }
.asymco-bulletin-page ol.px-issues-grid { gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .asymco-bulletin-page ol.px-issues-grid { gap: 0.75rem; grid-template-columns: repeat(2, 1fr); } }
.asymco-bulletin-page ol.px-issues-grid li { --cat: var(--cat-research); }
.asymco-bulletin-page ol.px-issues-grid li:nth-child(6n+2) { --cat: var(--cat-nb); }
.asymco-bulletin-page ol.px-issues-grid li:nth-child(6n+3) { --cat: var(--cat-podcast); }
.asymco-bulletin-page ol.px-issues-grid li:nth-child(6n+4) { --cat: var(--cat-officehours); }
.asymco-bulletin-page ol.px-issues-grid li:nth-child(6n+5) { --cat: var(--cat-bulletin); }
.asymco-bulletin-page ol.px-issues-grid li:nth-child(6n+6) { --cat: var(--cat-event); }
.asymco-bulletin-page a.px-issue { border-color: var(--cat); color: #1a1a1a; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.asymco-bulletin-page a.px-issue .px-issue-kind, .asymco-bulletin-page a.px-issue .px-issue-number { color: var(--cat); }
.asymco-bulletin-page a.px-issue:hover, .asymco-bulletin-page a.px-issue:focus-visible { box-shadow: 6px 6px 0 rgb(0 0 0 / 8%); transform: translateY(-3px); }
.asymco-bulletin-page span.px-issue { border-color: #d4d4d4; }
.asymco-bulletin-page span.px-issue .px-issue-kind, .asymco-bulletin-page span.px-issue .px-issue-number { color: color-mix(in srgb, var(--cat) 38%, #fff); }
.asymco-bulletin-page span.px-issue .px-issue-date { color: #b0b0b0; }
@media (prefers-reduced-motion: reduce) { .asymco-bulletin-page a.px-issue { transition: none; } }

/* diarium-plus-dark.css */
/* Diarium in the dark: what changes when the reader's scheme is
   dark (<html data-scheme="dark">, set by assets/scheme.js from Light,
   Dark or System in the reader's menu). Laid last of Diarium's, so it
   only overrides; the light page is the other files exactly. Text
   colours keep 4.5:1 or better on --paper. */

:root[data-scheme="dark"] {
  --accent: #93a4ff;
  --accent-fill: #3448b8;
  --card: #1c1e21;
  --ink: #e8e6e3;
  --muted: #9ba3a9;
  --paper: #131416;
  --rule: #2e3237;
  --code-comment: #8b949e;
  --code-keyword: #ff7b9c;
  --code-type: #79c0ff;
  --code-string: #7ee787;
  --code-number: #ffa657;
  --code-function: #d2a8ff;
  --code-builtin: #56d4dd;
  --code-tag: #7ee787;
  --code-attr: #d2a8ff;
  --code-inserted: #7ee787;
  --code-deleted: #ff7b72;
  color-scheme: dark;
}

/* The reader's menu. */
:root[data-scheme="dark"] div[data-user-panel] { background: var(--card); box-shadow: 0 10px 30px rgb(0 0 0 / 0.5); }

/* Buttons and pills: the accent as a fill is the deeper blue, with white
   on it; black pills turn light. */
:root[data-scheme="dark"] :is(form[data-subscribe-form] button, p[data-entry-meta] a[href^="/category/"]) { background-color: var(--accent-fill); }
:root[data-scheme="dark"] form[data-comment-form] button { color: var(--paper); }
:root[data-scheme="dark"] form[data-comment-form] button:hover { background: var(--accent-fill); color: #fff; }
:root[data-scheme="dark"] body[data-preview-as="staff"] section[data-px-protected]::before, :root[data-scheme="dark"] [data-px-field-edit] { background: var(--accent-fill); }

/* Errors. */
:root[data-scheme="dark"] :is([rst-field-error], form[data-comment-form] [data-error], form[data-subscribe-form] [data-error]) { color: #ff8a7a; }
:root[data-scheme="dark"] :is(input[rst-input][aria-invalid="true"], form[data-comment-form] [aria-invalid], form[data-subscribe-form] [aria-invalid]) { border-color: #ff8a7a; }

/* Posts and the sidebar. */
:root[data-scheme="dark"] :is(ul[data-tags] a:hover, p[data-entry-meta] a[rel="tag"]:hover) { color: var(--ink); }
:root[data-scheme="dark"] aside[data-sidebar] section[data-recent] a { color: #c4c9cd; }

/* Calls to join: a theme sets each category's lighter tone. */
:root[data-scheme="dark"] [data-prompt] { --c: var(--accent); }

/* The social box in the sidebar (extensions/social). */
:root[data-scheme="dark"] section[data-social] details[data-social-ask] :is(summary, textarea) { background: var(--card); border-color: var(--rule); }
:root[data-scheme="dark"] section[data-social] details[data-social-ask] summary:hover { border-color: var(--muted); }
:root[data-scheme="dark"] section[data-social] details[data-social-ask] button { background: var(--ink); color: var(--paper); }

/* asymco-dark.css */
/* Asymco in the dark, after diarium-plus-dark.css: its categories' and
   pages' colours when the reader's scheme is dark. The press-quote cards
   on the One and Horace pages stay light, as printed cards, since their
   logos are drawn for white. */

/* Its categories' pills. */
:root[data-scheme="dark"] p[data-entry-meta] a[href^="/category/research"] { background: var(--cat-research); }
:root[data-scheme="dark"] p[data-entry-meta] a[href^="/category/nb"], :root[data-scheme="dark"] p[data-entry-meta] a[href^="/category/nota-bene"] { background: var(--cat-nb); }
:root[data-scheme="dark"] p[data-entry-meta] a[href^="/category/podcast"] { background: var(--cat-podcast); }
:root[data-scheme="dark"] p[data-entry-meta] a[href^="/category/officehours"] { background: var(--cat-officehours); }
:root[data-scheme="dark"] p[data-entry-meta] a[href^="/category/bulletin"] { background: var(--cat-bulletin); }
:root[data-scheme="dark"] p[data-entry-meta] a[href^="/category/event"], :root[data-scheme="dark"] p[data-entry-meta] a[href^="/category/conference"] { background: var(--cat-event); }
:root[data-scheme="dark"] p[data-login-link] a, :root[data-scheme="dark"] [rst-signin] [rst-btn~="primary"] { background: var(--ink); color: var(--paper); }

/* Its quotes and menu. */
:root[data-scheme="dark"] div[data-prose] blockquote { border-inline-start-color: #c0504a; }
:root[data-scheme="dark"] nav[data-site-nav] a[href^="/category/research"]:hover { color: #8f9cf0; text-decoration-color: #8f9cf0; }
:root[data-scheme="dark"] nav[data-site-nav] a[href^="/category/nb"]:hover { color: #f08a80; text-decoration-color: #f08a80; }
:root[data-scheme="dark"] nav[data-site-nav] a[href^="/category/podcast"]:hover { color: #b496e8; text-decoration-color: #b496e8; }
:root[data-scheme="dark"] nav[data-site-nav] a[href^="/category/officehours"]:hover { color: #8fbf6e; text-decoration-color: #8fbf6e; }
:root[data-scheme="dark"] nav[data-site-nav] a[href^="/bulletin"]:hover { color: #e8975c; text-decoration-color: #e8975c; }
:root[data-scheme="dark"] nav[data-site-nav] a[href^="/category/conference"]:hover { color: #3fb5b4; text-decoration-color: #3fb5b4; }

/* Calls to join, in a lighter tone of each category's colour. */
:root[data-scheme="dark"] [data-prompt="research"] { --c: #8f9cf0; }
:root[data-scheme="dark"] [data-prompt="nb"] { --c: #f08a80; }
:root[data-scheme="dark"] [data-prompt="podcast"] { --c: #b496e8; }
:root[data-scheme="dark"] [data-prompt="officehours"] { --c: #8fbf6e; }
:root[data-scheme="dark"] :is([data-prompt="event"], [data-prompt="conference"]) { --c: #3fb5b4; }

/* The One page. Its hero and tagline bands are black in both. */
:root[data-scheme="dark"] .asymco-one-page, :root[data-scheme="dark"] .asymco-about-page { --accent: #93a4ff; --accent-dark: #2a3c9c; --bg-alt: var(--card); --muted: #9ba3a9; }
:root[data-scheme="dark"] .asymco-one-page :is(.asymco-sub-btn, .asymco-sub-btn--research, .asymco-sub-btn--nb, .asymco-sub-btn--podcast, .asymco-sub-btn--officehours, .asymco-sub-btn--bulletin, .asymco-sub-btn--event),
:root[data-scheme="dark"] .asymco-one-page :is(.asymco-sub-btn, .asymco-sub-btn--research, .asymco-sub-btn--nb, .asymco-sub-btn--podcast, .asymco-sub-btn--officehours, .asymco-sub-btn--bulletin, .asymco-sub-btn--event):focus { background: var(--ink); color: var(--paper) !important; }
:root[data-scheme="dark"] .asymco-plan-includes .asymco-card__feature::before { color: #93a4ff; }
:root[data-scheme="dark"] .asymco-one-page .asymco-pricing-section__title { color: var(--ink); }
:root[data-scheme="dark"] .asymco-one-page .asymco-pricing-section__signin, :root[data-scheme="dark"] .asymco-one-page .asymco-pricing-section__signin a { color: var(--muted) !important; }
:root[data-scheme="dark"] .asymco-one-page .asymco-pricing-section__signin a:hover { color: var(--ink) !important; }
:root[data-scheme="dark"] .asymco-one-page :is(.asymco-pricing-section__intro, .asymco-card__lede) { color: var(--muted); }
:root[data-scheme="dark"] .asymco-one-page .asymco-card { background: var(--card); border-color: var(--rule); box-shadow: 0 1px 2px rgb(0 0 0 / 0.4); }
:root[data-scheme="dark"] .asymco-one-page .asymco-card:hover { box-shadow: 0 8px 24px rgb(0 0 0 / 0.5); }
:root[data-scheme="dark"] .asymco-one-page .asymco-card--featured { border-color: var(--accent); box-shadow: 0 12px 32px rgb(0 0 0 / 0.5); }
:root[data-scheme="dark"] .asymco-one-page .asymco-card__name { color: var(--ink) !important; }
:root[data-scheme="dark"] .asymco-one-page :is(.asymco-card__price, .asymco-card__price-equiv, .asymco-card__features li, .asymco-card__features li.is-bonus) { color: var(--ink); }
:root[data-scheme="dark"] .asymco-one-page :is(.asymco-card__price-equiv strong, .asymco-card__savings) { color: #e8975c; }
:root[data-scheme="dark"] .asymco-one-page .asymco-card__features { border-top-color: var(--rule); }
:root[data-scheme="dark"] .asymco-one-page .asymco-card__features li::before {
  background-color: rgb(147 164 255 / 0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2393A4FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5,8.5 6.5,11.5 12.5,5'/></svg>");
}
:root[data-scheme="dark"] .asymco-one-page .asymco-card__features li.is-bonus::before {
  background-color: rgb(217 112 48 / 0.2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E8975C'><path d='M8 1l1.9 4.6L15 6.3l-3.7 3.4 1 5L8 12.6 3.7 14.7l1-5L1 6.3l5.1-.7z'/></svg>");
}
:root[data-scheme="dark"] .asymco-one-page .asymco-btn--primary { background: var(--accent-fill); box-shadow: 0 4px 14px rgb(0 0 0 / 0.4); }
:root[data-scheme="dark"] .asymco-one-page .asymco-btn--primary:hover { background: var(--accent-dark); }
:root[data-scheme="dark"] .asymco-one-page .asymco-btn--secondary { background: #34416e; }
:root[data-scheme="dark"] .asymco-one-page .asymco-btn--secondary:hover { background: #435290; }
:root[data-scheme="dark"] .asymco-one-page .asymco-btn--ghost { border-color: var(--ink); color: var(--ink) !important; }
:root[data-scheme="dark"] .asymco-one-page .asymco-btn--ghost:hover { background: var(--ink); color: var(--paper) !important; }
:root[data-scheme="dark"] .asymco-one-page .asymco-why { background: var(--paper); }
:root[data-scheme="dark"] .asymco-one-page .asymco-why, :root[data-scheme="dark"] .asymco-one-page .asymco-why :is(h2, h3, p) { color: var(--ink) !important; }
:root[data-scheme="dark"] .asymco-one-page .asymco-why__coffee img { border-radius: 12px; }
:root[data-scheme="dark"] .asymco-one-page .asymco-cta-band { background: var(--card); }
:root[data-scheme="dark"] .asymco-one-page .asymco-cta-band--with-guarantee { background: #18191c; }
:root[data-scheme="dark"] .asymco-one-page .asymco-cta-band__guarantee { color: var(--muted); }
:root[data-scheme="dark"] .asymco-one-page .asymco-cta-band__guarantee strong { color: var(--ink); }
:root[data-scheme="dark"] .asymco-one-page .asymco-pricetable { color: var(--ink) !important; }
:root[data-scheme="dark"] .asymco-one-page .asymco-pricetable thead th { border-bottom-color: #5a6066; color: var(--muted) !important; }
:root[data-scheme="dark"] .asymco-one-page .asymco-pricetable tbody th { border-bottom-color: var(--rule); color: var(--ink) !important; }
:root[data-scheme="dark"] .asymco-one-page .asymco-pricetable__competitor { color: #c4c9cd !important; }
:root[data-scheme="dark"] .asymco-one-page .asymco-pricetable__asymco, :root[data-scheme="dark"] .asymco-one-page .asymco-pricetable__asymco td { background: rgb(192 72 64 / 0.18) !important; }
:root[data-scheme="dark"] .asymco-one-page .asymco-pricetable__asymco td { color: var(--ink) !important; }
:root[data-scheme="dark"] .asymco-one-page .asymco-pricetable__note { color: var(--muted) !important; }
:root[data-scheme="dark"] .asymco-one-page .asymco-sample-card { border-color: var(--rule); }
:root[data-scheme="dark"] .asymco-one-page .asymco-faq details, :root[data-scheme="dark"] .asymco-one-page .asymco-faq details:last-child { border-color: var(--rule); }
:root[data-scheme="dark"] .asymco-one-page .asymco-faq details p { color: #c4c9cd; }
:root[data-scheme="dark"] .asymco-one-page .asymco-member-band { background: var(--paper); }
:root[data-scheme="dark"] .asymco-one-page .asymco-final-cta { background: var(--accent-fill); }
:root[data-scheme="dark"] .asymco-praise-strip__quote { color: var(--ink); }
:root[data-scheme="dark"] .asymco-praise-strip__cite { color: var(--muted); }

/* The About (Horace) page. Its hero is black in both. */
:root[data-scheme="dark"] .asymco-about-page .asymco-about-bio p { color: #d5d7da; }
:root[data-scheme="dark"] .asymco-about-page .asymco-about-bio__lead { color: var(--ink) !important; }
:root[data-scheme="dark"] .asymco-about-page .asymco-about-bio a { border-bottom-color: rgb(147 164 255 / 0.35); }
:root[data-scheme="dark"] .asymco-about-page .asymco-about-feature__photo figcaption { background: var(--card); }
:root[data-scheme="dark"] .asymco-about-page :is(.asymco-about-feature__quote p, .asymco-about-themes h2, .asymco-about-theme h3, .asymco-about-elsewhere h2) { color: var(--ink); }
:root[data-scheme="dark"] .asymco-about-page .asymco-about-theme { background: var(--card); border-color: var(--rule); border-top-color: var(--accent); }
:root[data-scheme="dark"] .asymco-about-page .asymco-about-theme:hover { box-shadow: 0 10px 24px rgb(0 0 0 / 0.5); }
:root[data-scheme="dark"] .asymco-about-page .asymco-about-theme p { color: #c4c9cd; }
:root[data-scheme="dark"] .asymco-about-page .asymco-about-elsewhere__grid a { background: var(--card); border-color: var(--rule); color: var(--ink); }
:root[data-scheme="dark"] .asymco-about-page .asymco-about-elsewhere__grid a:hover { border-color: var(--accent); box-shadow: 0 8px 20px rgb(0 0 0 / 0.5); }

/* The Bulletin page's issues, in lighter tones of the categories. */
:root[data-scheme="dark"] .asymco-bulletin-page ol.px-issues-grid li { --cat: #8f9cf0; }
:root[data-scheme="dark"] .asymco-bulletin-page ol.px-issues-grid li:nth-child(6n+2) { --cat: #f08a80; }
:root[data-scheme="dark"] .asymco-bulletin-page ol.px-issues-grid li:nth-child(6n+3) { --cat: #b496e8; }
:root[data-scheme="dark"] .asymco-bulletin-page ol.px-issues-grid li:nth-child(6n+4) { --cat: #8fbf6e; }
:root[data-scheme="dark"] .asymco-bulletin-page ol.px-issues-grid li:nth-child(6n+5) { --cat: #e8975c; }
:root[data-scheme="dark"] .asymco-bulletin-page ol.px-issues-grid li:nth-child(6n+6) { --cat: #3fb5b4; }
:root[data-scheme="dark"] .asymco-bulletin-page a.px-issue { color: var(--ink); }
:root[data-scheme="dark"] .asymco-bulletin-page a.px-issue:hover, :root[data-scheme="dark"] .asymco-bulletin-page a.px-issue:focus-visible { box-shadow: 6px 6px 0 rgb(255 255 255 / 6%); }
:root[data-scheme="dark"] .asymco-bulletin-page span.px-issue { border-color: #3a3e43; }
:root[data-scheme="dark"] .asymco-bulletin-page span.px-issue :is(.px-issue-kind, .px-issue-number) { color: color-mix(in srgb, var(--cat) 45%, var(--paper)); }
:root[data-scheme="dark"] .asymco-bulletin-page span.px-issue .px-issue-date { color: #6b7076; }
