/* Eisenbits -- stylesheet entry. Compiled by `make gen-css`. */

/*
 * Self-hosted fonts. The .woff2 files are copied into /assets/fonts by
 * `make gen-css` from the @fontsource packages. URLs are relative to this
 * stylesheet's built location (/css/main.css), so they resolve under any
 * deploy path.
 *
 * IBM Plex Sans -- display, headings, body, interface.
 * IBM Plex Mono -- eyebrows, labels, meta, diagram captions.
 */

@font-face {
  font-family: "IBM Plex Sans";

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url("../fonts/plex-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";

  font-style: normal;

  font-weight: 500;

  font-display: swap;

  src: url("../fonts/plex-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";

  font-style: normal;

  font-weight: 600;

  font-display: swap;

  src: url("../fonts/plex-sans-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";

  font-style: normal;

  font-weight: 700;

  font-display: swap;

  src: url("../fonts/plex-sans-700.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url("../fonts/plex-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";

  font-style: normal;

  font-weight: 500;

  font-display: swap;

  src: url("../fonts/plex-mono-500.woff2") format("woff2");
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

:root {
  color-scheme: light;
  /* Page palette (light). Referenced by the Tailwind colours. */
  --c-paper: #FFFFFF;
  --c-paper-2: #F6F6F5;
  --c-ink: #14161A;
  --c-ink-soft: #5B616B;
  --c-rule: #E3E4E6;
  --c-swiss: #DA1710;
  --c-swiss-deep: #A9120C;
  --c-swiss-wash: #FBECEB;
  /* Always-dark surfaces (footer, section-dark bands). Their text stays
       light in both themes; only the shade shifts so they still read as a
       distinct surface on a dark page. */
  --band-bg: #14161A;
  --band-fg: #FFFFFF;
  --band-rule: rgba(255, 255, 255, 0.14);
  --band-heading: rgba(255, 255, 255, 0.55);
  --band-btn-bg: #FFFFFF;
  --band-btn-fg: #14161A;
  --band-btn-hover: #F6F6F5;
}

html.dark {
  color-scheme: dark;
  --c-paper: #0E1013;
  --c-paper-2: #171A1F;
  --c-ink: #E8EAED;
  --c-ink-soft: #99A0AA;
  --c-rule: #282C33;
  --c-swiss: #F14A3C;
  --c-swiss-deep: #FF7365;
  --c-swiss-wash: #241412;
  --band-bg: #1B1F26;
  --band-fg: #E8EAED;
  --band-rule: rgba(255, 255, 255, 0.12);
  --band-heading: rgba(232, 234, 237, 0.5);
  --band-btn-bg: #E8EAED;
  --band-btn-fg: #14161A;
  --band-btn-hover: #FFFFFF;
}

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

body {
  background-color: var(--c-paper);
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  color: var(--c-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}

/* One family throughout; headings differ by weight, size and tracking. */

h1, h2, h3, h4 {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--c-ink);
  text-wrap: balance;
}

/* Links inherit; components opt into colour and underline explicitly. */

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

::-moz-selection {
  background: var(--c-swiss);
  color: #fff;
}

::selection {
  background: var(--c-swiss);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--c-swiss);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---- Layout shell ------------------------------------------------ */

.shell {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 72rem;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* Vertical rhythm. One class per section, so spacing never depends on
     selector-specificity accidents. */

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-dark {
  background: var(--band-bg);
  color: var(--band-fg);
}

.section-dark h1,
  .section-dark h2,
  .section-dark h3 {
  color: var(--band-fg);
}

.section-dark .eyebrow {
  color: var(--c-swiss);
}

.section-dark .lede {
  color: var(--band-fg);
  opacity: 0.8;
}

.rule {
  border-width: 0px;
  border-top-width: 1px;
  border-color: var(--c-rule);
}

.rule-soft {
  border-top-color: var(--band-rule);
}

/* ---- Typographic helpers ---------------------------------------- */

.eyebrow {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-swiss);
  font-size: 0.72rem;
}

.label {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-ink-soft);
  font-size: 0.7rem;
}

.h-display {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--c-ink);
}

.h-section {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--c-ink);
}

.lede {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--c-ink-soft);
}

.measure {
  max-width: 44rem;
}

/* ---- Buttons ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 2px;
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

.btn-primary {
  background-color: var(--c-swiss);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--c-swiss-deep);
  transform: translateY(-1px);
}

.btn-on-dark {
  background: var(--band-btn-bg);
  color: var(--band-btn-fg);
}

.btn-on-dark:hover {
  background: var(--band-btn-hover);
  transform: translateY(-1px);
}

/* Inline prose link. */

.link {
  color: var(--c-swiss-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-color: var(--c-swiss);
}

.link:hover {
  color: var(--c-swiss);
}

/* ---- Navigation -------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0px;
  z-index: 20;
  background-color: var(--c-paper);
  border-bottom: 1px solid var(--c-rule);
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
  row-gap: 0.75rem;
  padding-block: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
}

.brand-word {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--c-ink);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
  row-gap: 0.5rem;
}

.nav-link {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  color: var(--c-ink-soft);
  font-size: 0.92rem;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--c-ink);
}

.nav-link-active {
  font-weight: 500;
  color: var(--c-ink);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--c-ink-soft);
  transition: color 0.15s, background-color 0.15s;
}

.theme-toggle:hover {
  color: var(--c-ink);
  background: var(--c-paper-2);
}

.theme-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
}

.lang-select {
  border-radius: 2px;
  background-color: transparent;
  border: 1px solid var(--c-rule);
  color: var(--c-ink-soft);
  font-size: 0.8rem;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.lang-select:hover {
  color: var(--c-ink);
  border-color: var(--c-ink-soft);
}

/* ---- Cards ------------------------------------------------------- */

.card {
  border-radius: 2px;
  background-color: var(--c-paper);
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--c-rule);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.card:hover {
  --tw-shadow: 0 1px 2px rgba(20, 22, 26, 0.04), 0 10px 30px -22px rgba(20, 22, 26, 0.4);
  --tw-shadow-colored: 0 1px 2px var(--tw-shadow-color), 0 10px 30px -22px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  border-color: var(--c-ink-soft);
  transform: translateY(-2px);
}

.card-title {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--c-ink);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-top: 0.7rem;
  margin-bottom: 0.5rem;
}

.card-body {
  color: var(--c-ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ---- Capability (a card with a numbered head and a spec list) ---- */

.capability {
  border-radius: 2px;
  background-color: var(--c-paper);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border: 1px solid var(--c-rule);
}

.capability-index {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  color: var(--c-swiss);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.capability-title {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--c-ink);
  font-size: 1.3rem;
  margin-top: 0.6rem;
}

.capability-body {
  color: var(--c-ink-soft);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.capability-list {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  color: var(--c-ink-soft);
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-rule);
  font-size: 0.82rem;
  line-height: 1.9;
  list-style: none;
}

/* ---- Steps (a real, ordered sequence) --------------------------- */

.step {
  display: flex;
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--c-rule);
}

.step-index {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  font-weight: 500;
  color: var(--c-swiss);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  min-width: 2.5rem;
  padding-top: 0.25rem;
}

.step-title {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--c-ink);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.step-body {
  color: var(--c-ink-soft);
  line-height: 1.65;
}

/* ---- Engagements (client sentences, quoted) --------------------- */

.engagement {
  background-color: var(--c-paper);
  border: 1px solid var(--c-rule);
  border-left: 2px solid var(--c-swiss);
  border-radius: 0 2px 2px 0;
  padding: 1.4rem 1.5rem;
}

.engagement-text {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  color: var(--c-ink);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ---- Insight index (blog listing rows) -------------------------- */

.insight {
  display: block;
  padding-block: 1.6rem;
  border-top: 1px solid var(--c-rule);
  transition: border-color 0.2s;
}

.insight:hover {
  border-top-color: var(--c-ink-soft);
}

.insight-meta {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-ink-soft);
  font-size: 0.7rem;
}

.insight-title {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--c-ink);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.15;
  margin-top: 0.6rem;
  transition: color 0.15s;
}

.insight:hover .insight-title {
  color: var(--c-swiss-deep);
}

/* ---- Schematic (the signature engineering diagram) -------------- */

.schematic-frame {
  border-radius: 2px;
  background-color: var(--c-paper);
  border: 1px solid var(--c-rule);
  overflow: hidden;
}

.schematic-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  color: var(--c-ink-soft);
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--c-rule);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schematic-body {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.schematic {
  width: 100%;
  height: auto;
  color: var(--c-ink);
}

.figure-cap {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  color: var(--c-ink-soft);
  font-size: 0.72rem;
  margin-top: 0.8rem;
}

/* ---- Price block (workshop) ------------------------------------- */

.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-num {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--c-ink);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
}

.price-unit {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-ink-soft);
  font-size: 0.72rem;
}

/* ---- Footer ------------------------------------------------------ */

.colophon {
  background: var(--band-bg);
  color: var(--band-fg);
}

.colophon .brand-word {
  color: var(--band-fg);
}

.colophon a {
  color: var(--band-fg);
  opacity: 0.78;
  transition: opacity 0.15s;
}

.colophon a:hover {
  opacity: 1;
}

.colophon-heading {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--band-heading);
  font-size: 0.68rem;
}

/* ---- Post prose (insight body, rendered from XML) --------------- */

.entry {
  margin-left: auto;
  margin-right: auto;
  max-width: 44rem;
}

.entry > * + * {
  margin-top: 1.25rem;
}

.entry h2 {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--c-ink);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  margin-top: 2.6rem;
}

.entry h3 {
  font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--c-ink);
  font-size: 1.25rem;
  margin-top: 2rem;
}

.entry p {
  color: var(--c-ink);
  font-size: 1.08rem;
  line-height: 1.75;
}

.entry a {
  color: var(--c-swiss-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-swiss);
  transition: text-decoration-color 0.15s;
}

.entry a:hover {
  text-decoration-color: var(--c-swiss-deep);
}

.entry ul, .entry ol {
  padding-left: 1.4rem;
}

.entry ul {
  list-style: disc;
}

.entry ol {
  list-style: decimal;
}

.entry li {
  margin-top: 0.5rem;
  line-height: 1.7;
}

.entry blockquote {
  color: var(--c-ink-soft);
  border-left: 2px solid var(--c-swiss);
  padding-left: 1.25rem;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Tag list emitted by Skryba's Tag_list macro. */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.tag-list a {
  font-family: IBM Plex Mono, ui-monospace, SFMono-Regular, monospace;
  color: var(--c-ink-soft);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--c-rule);
  border-radius: 999px;
  transition: color 0.15s, border-color 0.15s;
}

.tag-list a:hover {
  color: var(--c-swiss-deep);
  border-color: var(--c-swiss);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-14 {
  margin-top: 3.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-7 {
  margin-top: 1.75rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-9 {
  margin-top: 2.25rem;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-xs {
  max-width: 20rem;
}

.grow {
  flex-grow: 1;
}

@keyframes rise-in {
  0% {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-rise-in {
  animation: rise-in 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-x-6 {
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
}

.gap-x-8 {
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}

.gap-y-1 {
  row-gap: 0.25rem;
}

.gap-y-6 {
  row-gap: 1.5rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.rounded-seal {
  border-radius: 2px;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-rule {
  border-color: var(--c-rule);
}

.p-5 {
  padding: 1.25rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.text-center {
  text-align: center;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-subhead {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.4;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.not-italic {
  font-style: normal;
}

.leading-relaxed {
  line-height: 1.625;
}

.text-ink {
  color: var(--c-ink);
}

.text-ink-soft {
  color: var(--c-ink-soft);
}

.text-paper {
  color: var(--c-paper);
}

.underline {
  text-decoration-line: underline;
}

.underline-offset-4 {
  text-underline-offset: 4px;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-80 {
  opacity: 0.8;
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.focus\:absolute:focus {
  position: absolute;
}

.focus\:left-4:focus {
  left: 1rem;
}

.focus\:top-4:focus {
  top: 1rem;
}

.focus\:z-50:focus {
  z-index: 50;
}

.focus\:rounded-seal:focus {
  border-radius: 2px;
}

.focus\:bg-ink:focus {
  background-color: var(--c-ink);
}

.focus\:px-4:focus {
  padding-left: 1rem;
  padding-right: 1rem;
}

.focus\:py-2:focus {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.focus\:text-paper:focus {
  color: var(--c-paper);
}

.dark\:block:is(.dark *) {
  display: block;
}

.dark\:hidden:is(.dark *) {
  display: none;
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-\[0\.8fr_1\.2fr\] {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .md\:grid-cols-\[1\.3fr_1fr\] {
    grid-template-columns: 1.3fr 1fr;
  }

  .md\:grid-cols-\[1\.6fr_1fr_1fr_1\.2fr\] {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }

  .md\:grid-cols-\[1fr_1fr\] {
    grid-template-columns: 1fr 1fr;
  }

  .md\:justify-self-end {
    justify-self: end;
  }

  .md\:pt-16 {
    padding-top: 4rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-\[1\.05fr_0\.95fr\] {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .lg\:grid-cols-\[1\.2fr_0\.8fr\] {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .lg\:items-end {
    align-items: flex-end;
  }

  .lg\:justify-end {
    justify-content: flex-end;
  }

  .lg\:justify-self-end {
    justify-self: end;
  }

  .lg\:text-right {
    text-align: right;
  }
}
