/* ============================================================================
   Close & Tie · design tokens · v1.0 · 25 Nov 2026

   One system for closeandtie.com, the dashboard, the printed leave-behind and
   the sales deck. Derived from the Flow Pressure skin (C:\fpi\web\style.css):
   petrol-graphite ground, gauge brass, Archivo used across its width axis,
   tabular figures wherever numbers line up.

   THEMES
     dark  = the screen theme. Default for the website and the dashboard.
     light = the print theme. Paper, PDF exports, the leave-behind, deck
             handouts. Offered on screen only by an explicit toggle.
     <html data-theme="light"> switches to light. Print always uses light.

   MEASURED, NOT EYEBALLED
     Contrast figures below are WCAG 2 ratios against the named surface.
     Chart colours were found by search (source/palette_search.py,
     source/palette_ramps.py) and pass the data-viz validator: lightness band,
     chroma floor, adjacent-pair separation under protanopia and deuteranopia
     (OKLab dE x100, Machado 2009), the normal-vision floor, and 3:1 contrast.
     Results are recorded in BRAND-DIRECTION.md, section 4.
   ========================================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------------------
   Theme-independent tokens
   ------------------------------------------------------------------------ */
:root {
  /* Families. Archivo is the only typeface. Mono is for IDs and code only. */
  --ct-font-sans: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ct-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;

  /* Width axis (font-stretch). Expanded is the brand's voice; normal is for reading. */
  --ct-stretch-wordmark: 125%;
  --ct-stretch-display: 125%;      /* hero line, h1, KPI values, deck titles */
  --ct-stretch-heading: 112%;      /* h2-h4, panel titles, buttons, nav */
  --ct-stretch-text: 100%;         /* body copy, forms, captions */
  --ct-stretch-dense: 92%;         /* dense tables only */

  /* Weights */
  --ct-weight-regular: 400;
  --ct-weight-medium: 500;
  --ct-weight-semibold: 600;
  --ct-weight-bold: 650;           /* headings; Flow Pressure uses 650 */
  --ct-weight-heavy: 750;          /* hero figures only */

  /* Figures. Every number that can line up does. Negatives in (parentheses). */
  --ct-figures: tabular-nums lining-nums;

  /* Type scale: website (rem, 16px root; display sizes are fluid) */
  --ct-fs-display: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  --ct-fs-h1: clamp(2rem, 1.5rem + 2vw, 3rem);
  --ct-fs-h2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --ct-fs-h3: 1.25rem;
  --ct-fs-h4: 1.0625rem;
  --ct-fs-lead: 1.25rem;
  --ct-fs-body: 1.0625rem;         /* 17px reading size */
  --ct-fs-small: 0.875rem;
  --ct-fs-caption: 0.8125rem;
  --ct-fs-eyebrow: 0.75rem;        /* uppercase labels, tracked */

  /* Type scale: dashboard (px, dense UI; matches Flow Pressure) */
  --ct-ui-fs: 13.5px;
  --ct-ui-fs-sm: 12.5px;
  --ct-ui-fs-xs: 11.5px;
  --ct-ui-fs-title: 17px;
  --ct-ui-fs-kpi: 26px;
  --ct-ui-fs-kpi-xl: 34px;

  /* Type scale: print (pt; leave-behind and handouts) */
  --ct-pt-display: 30pt;
  --ct-pt-h2: 14pt;
  --ct-pt-body: 10pt;
  --ct-pt-small: 8pt;

  /* Leading and tracking */
  --ct-lh-tight: 1.08;
  --ct-lh-heading: 1.2;
  --ct-lh-ui: 1.45;
  --ct-lh-body: 1.6;
  --ct-track-display: 0.005em;
  --ct-track-caps: 0.06em;         /* any expanded capitals set as text */
  --ct-track-eyebrow: 0.1em;

  /* Spacing: 4px base */
  --ct-space-1: 4px;
  --ct-space-2: 8px;
  --ct-space-3: 12px;
  --ct-space-4: 16px;
  --ct-space-5: 20px;
  --ct-space-6: 24px;
  --ct-space-8: 32px;
  --ct-space-10: 40px;
  --ct-space-12: 48px;
  --ct-space-16: 64px;
  --ct-space-20: 80px;
  --ct-space-24: 96px;
  --ct-space-32: 128px;

  /* Layout */
  --ct-measure: 68ch;              /* longest line of body copy */
  --ct-container: 1200px;
  --ct-gutter: clamp(16px, 4vw, 40px);

  /* Radii */
  --ct-radius-xs: 4px;             /* chart data-ends, tags */
  --ct-radius-sm: 6px;             /* buttons, inputs */
  --ct-radius-md: 8px;             /* dense cards, cells */
  --ct-radius-lg: 12px;            /* panels and boards */
  --ct-radius-xl: 16px;            /* marketing cards, framed screenshots */
  --ct-radius-pill: 999px;         /* chips, status pills */
  --ct-radius-icon: 22.37%;        /* app icon tile */

  /* Rules. Hairlines do the structuring. The double rule means "final total"
     and is used for nothing else. */
  --ct-rule-w: 1px;
  --ct-rule-strong-w: 2px;
  --ct-double-rule: 3px double;    /* border shorthand: two 1px lines, 1px apart */
  --ct-double-rule-lg: 6px double; /* two 2px lines, 2px apart: hero totals, print */

  /* Motion: quiet, short, and off when the reader asks */
  --ct-ease: cubic-bezier(.2, .7, .2, 1);
  --ct-dur-1: 120ms;
  --ct-dur-2: 200ms;
  --ct-dur-3: 320ms;

  /* Focus ring */
  --ct-focus-w: 2px;
  --ct-focus-offset: 2px;

  /* Chart marks (both themes) */
  --ct-chart-line-w: 2px;
  --ct-chart-marker: 8px;
  --ct-chart-bar-radius: 4px;      /* data end only; the baseline end stays square */
  --ct-chart-gap: 2px;             /* surface-colour gap between adjacent fills */
}

/* ---------------------------------------------------------------------------
   Dark: the screen theme (default)
   ------------------------------------------------------------------------ */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;

  /* Ground */
  --ct-bg: #0b1316;                /* page */
  --ct-surface: #0f1a1e;           /* panels, cards, chart surface */
  --ct-raised: #152328;            /* hover rows, inputs, popovers */
  --ct-raised-a: rgba(21, 35, 40, .6);
  --ct-rule: #1d2d33;              /* hairlines */
  --ct-rule-2: #2a3e45;            /* control borders, axis lines */

  /* Ink. Ratios on --ct-surface. */
  --ct-text: #e3ebeb;              /* 14.6:1 */
  --ct-muted: #8ea1a5;             /* 6.6:1  secondary text, labels */
  --ct-faint: #5d7176;             /* 3.4:1  large or non-essential text only; never a figure */

  /* Brass: the one accent. Focus, selection, the active tab, the double rule. */
  --ct-brass: #e2a84b;             /* 8.4:1 */
  --ct-brass-text: #e2a84b;        /* brass set as text */
  --ct-accent-fill: #e2a84b;       /* primary button fill */
  --ct-on-accent: #1b1305;         /* label on the fill, 8.7:1 */
  --ct-brass-a: rgba(226, 168, 75, .10);

  /* Status: the tie states. Always a glyph plus a label; colour is the second channel. */
  --ct-good: #3dcb94;              /* tied / favourable, 8.6:1 */
  --ct-open: #e2a84b;              /* open item / needs review */
  --ct-critical: #f0605a;          /* broken tie / unfavourable, 5.5:1 */
  --ct-neutral: #7e9095;           /* not started / no data */
  --ct-good-a: rgba(61, 203, 148, .13);
  --ct-critical-a: rgba(240, 96, 90, .13);
  --ct-open-a: rgba(226, 168, 75, .10);

  --ct-shadow: 0 10px 30px rgba(0, 0, 0, .35);

  /* Chart: categorical, fixed order, never cycled. Series 6 and up fold into Other.
     Adjacent pairs: worst CVD dE 9.3, normal-vision dE 17.5, all >= 3:1 on surface.
     Scatter and small multiples (all pairs): first three slots only. */
  --ct-series-1: #c78707;          /* brass   5.8:1 */
  --ct-series-2: #20a89b;          /* aqua    6.0:1 */
  --ct-series-3: #8665d1;          /* violet  4.0:1 */
  --ct-series-4: #16a4e2;          /* sky     6.3:1 */
  --ct-series-5: #d863a0;          /* rose    5.2:1 */
  --ct-series-other: #7e9095;

  /* Sequential (magnitude): one hue, petrol blue. In dark, low values take the
     dark end so "nothing" recedes into the surface. Ordinal use: steps 100-500. */
  --ct-seq-100: #ddf2fe;
  --ct-seq-200: #b0dff9;
  --ct-seq-300: #80c8ee;
  --ct-seq-400: #49aedd;
  --ct-seq-500: #1b92c2;
  --ct-seq-600: #00729b;
  --ct-seq-700: #045473;

  /* Diverging (variance to budget): unfavourable <- neutral -> favourable.
     Strongest pair: protan dE 20.9, deutan dE 8.8. Variances always carry their
     sign in text, so colour never carries it alone. */
  --ct-div-unf-3: #f0605a;
  --ct-div-unf-2: #b7524c;
  --ct-div-unf-1: #7d4540;
  --ct-div-mid: #2a3e45;
  --ct-div-fav-1: #3b6a54;
  --ct-div-fav-2: #3d9a73;
  --ct-div-fav-3: #3dcb94;

  /* Chart chrome */
  --ct-chart-surface: var(--ct-surface);
  --ct-chart-grid: var(--ct-rule);
  --ct-chart-axis: var(--ct-rule-2);
  --ct-chart-label: var(--ct-muted);
  --ct-chart-budget: var(--ct-muted);  /* plan and budget: outline or hatch, never a fill colour */
  --ct-chart-hatch: repeating-linear-gradient(135deg, currentColor 0 1.5px, transparent 1.5px 6px);
}

/* ---------------------------------------------------------------------------
   Light: the print theme
   Kept in step with the block under @media print below.
   ------------------------------------------------------------------------ */
:root[data-theme="light"] {
  color-scheme: light;

  --ct-bg: #edf1f0;
  --ct-surface: #ffffff;
  --ct-raised: #f3f6f5;
  --ct-raised-a: rgba(243, 246, 245, .7);
  --ct-rule: #dde5e4;
  --ct-rule-2: #c8d3d2;

  /* Ratios on white */
  --ct-text: #0f1b1e;              /* 17.6:1 */
  --ct-muted: #50646a;             /* 6.2:1 */
  --ct-faint: #84969a;             /* 3.1:1  large or non-essential text only */

  --ct-brass: #a46c16;             /* 4.4:1  rules, icons, large text */
  --ct-brass-text: #8f5e12;        /* 5.6:1 on white, 4.9:1 on --ct-bg: brass as body-size text */
  --ct-accent-fill: #8f5e12;
  --ct-on-accent: #ffffff;         /* 5.6:1 */
  --ct-brass-a: rgba(164, 108, 22, .09);

  --ct-good: #047b60;              /* 5.2:1 */
  --ct-open: #a46c16;
  --ct-critical: #c1351e;          /* 5.5:1 */
  --ct-neutral: #687b80;
  --ct-good-a: rgba(4, 123, 96, .10);
  --ct-critical-a: rgba(193, 53, 30, .10);
  --ct-open-a: rgba(164, 108, 22, .09);

  --ct-shadow: 0 10px 30px rgba(15, 27, 30, .12);

  /* Same five hues, stepped for white. Worst adjacent CVD dE 9.7, normal 17.3. */
  --ct-series-1: #976712;          /* brass   4.9:1 */
  --ct-series-2: #029791;          /* aqua    3.6:1 */
  --ct-series-3: #7553bd;          /* violet  5.6:1 */
  --ct-series-4: #0891c9;          /* sky     3.6:1 */
  --ct-series-5: #b54481;          /* rose    5.1:1 */
  --ct-series-other: #687b80;

  /* Ordinal use on white: steps 400-700 (step 400 is 2.5:1). */
  --ct-seq-100: #ddf2fe;
  --ct-seq-200: #b0dff9;
  --ct-seq-300: #80c8ee;
  --ct-seq-400: #49aedd;
  --ct-seq-500: #1b92c2;
  --ct-seq-600: #00729b;
  --ct-seq-700: #045473;

  /* Strongest pair: protan dE 11.5, deutan dE 10.5 */
  --ct-div-unf-3: #c1351e;
  --ct-div-unf-2: #db7460;
  --ct-div-unf-1: #eead9f;
  --ct-div-mid: #e6ebea;
  --ct-div-fav-1: #a1c7b9;
  --ct-div-fav-2: #60a18b;
  --ct-div-fav-3: #047b60;

  --ct-chart-surface: var(--ct-surface);
  --ct-chart-grid: var(--ct-rule);
  --ct-chart-axis: var(--ct-rule-2);
  --ct-chart-label: var(--ct-muted);
  --ct-chart-budget: var(--ct-muted);
  --ct-chart-hatch: repeating-linear-gradient(135deg, currentColor 0 1.5px, transparent 1.5px 6px);
}

@media print {
  :root,
  :root[data-theme] {
    color-scheme: light;
    --ct-bg: #ffffff;              /* paper */
    --ct-surface: #ffffff;
    --ct-raised: #f3f6f5;
    --ct-raised-a: rgba(243, 246, 245, .7);
    --ct-rule: #dde5e4;
    --ct-rule-2: #c8d3d2;
    --ct-text: #0f1b1e;
    --ct-muted: #50646a;
    --ct-faint: #84969a;
    --ct-brass: #a46c16;
    --ct-brass-text: #8f5e12;
    --ct-accent-fill: #8f5e12;
    --ct-on-accent: #ffffff;
    --ct-brass-a: rgba(164, 108, 22, .09);
    --ct-good: #047b60;
    --ct-open: #a46c16;
    --ct-critical: #c1351e;
    --ct-neutral: #687b80;
    --ct-good-a: rgba(4, 123, 96, .10);
    --ct-critical-a: rgba(193, 53, 30, .10);
    --ct-open-a: rgba(164, 108, 22, .09);
    --ct-shadow: none;
    --ct-series-1: #976712;
    --ct-series-2: #029791;
    --ct-series-3: #7553bd;
    --ct-series-4: #0891c9;
    --ct-series-5: #b54481;
    --ct-series-other: #687b80;
    --ct-div-unf-3: #c1351e;
    --ct-div-unf-2: #db7460;
    --ct-div-unf-1: #eead9f;
    --ct-div-mid: #e6ebea;
    --ct-div-fav-1: #a1c7b9;
    --ct-div-fav-2: #60a18b;
    --ct-div-fav-3: #047b60;
    --ct-chart-surface: #ffffff;
    --ct-chart-grid: #dde5e4;
    --ct-chart-axis: #c8d3d2;
    --ct-chart-label: #50646a;
    --ct-chart-budget: #50646a;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --ct-dur-1: 0ms;
    --ct-dur-2: 0ms;
    --ct-dur-3: 0ms;
  }
}

/* ---------------------------------------------------------------------------
   Three helpers that carry brand meaning. Everything else is the product's CSS.
   ------------------------------------------------------------------------ */

/* Figures that line up */
.ct-figures { font-variant-numeric: var(--ct-figures); }

/* A final total: the accountant's double underline, in brass. Use it once per
   table, schedule or slide, under the number that closes it. */
.ct-total {
  font-variant-numeric: var(--ct-figures);
  padding-bottom: 2px;
  border-bottom: var(--ct-double-rule) var(--ct-brass);
}

/* Expanded capitals as a label: eyebrows, table heads in the deck */
.ct-eyebrow {
  font-size: var(--ct-fs-eyebrow);
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
  letter-spacing: var(--ct-track-eyebrow);
  text-transform: uppercase;
  color: var(--ct-muted);
}


/* ============================================================================
   closeandtie.com · site stylesheet
   Built on brand/tokens.css, which the build prepends to this file.
   One idea throughout: the page reads like a well-kept working paper. Labels on
   the left, figures on the right, hairlines doing the structuring. The double
   rule means "final total" and appears at most once per page, under the figure
   that closes a table of sample data.
   ========================================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
  background: var(--ct-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ct-bg);
  color: var(--ct-text);
  font-family: var(--ct-font-sans);
  font-size: var(--ct-fs-body);
  font-weight: var(--ct-weight-regular);
  font-stretch: var(--ct-stretch-text);
  line-height: var(--ct-lh-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: var(--ct-weight-bold);
  line-height: var(--ct-lh-heading);
  text-wrap: balance;
}

p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: var(--ct-focus-w) solid var(--ct-brass);
  outline-offset: var(--ct-focus-offset);
  border-radius: 2px;
}

::selection { background: rgba(226, 168, 75, .3); color: var(--ct-text); }

main { display: block; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--ct-radius-sm);
  background: var(--ct-accent-fill);
  color: var(--ct-on-accent);
  font-weight: var(--ct-weight-semibold);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 2 * var(--ct-gutter), var(--ct-container));
  margin-inline: auto;
}

.num, .ct-figures { font-variant-numeric: var(--ct-figures); }

/* ---------------------------------------------------------------- type */
.ct-eyebrow { display: block; }

.link {
  color: var(--ct-text);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--ct-rule-2);
  transition: text-decoration-color var(--ct-dur-1) var(--ct-ease), color var(--ct-dur-1) var(--ct-ease);
}
.link:hover { text-decoration-color: var(--ct-brass); }

.caption {
  margin-top: 14px;
  font-size: var(--ct-fs-caption);
  line-height: 1.5;
  color: var(--ct-muted);
}

.note {
  margin-top: 20px;
  font-size: var(--ct-fs-small);
  color: var(--ct-muted);
}

.plain-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.plain-list li { position: relative; padding-left: 20px; }
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .78em;
  width: 8px; height: 1px;
  background: var(--ct-muted);
}
.plain-list--small { font-size: var(--ct-fs-small); color: var(--ct-muted); gap: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--ct-radius-sm);
  font: inherit;
  font-size: 15px;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
  letter-spacing: .005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--ct-dur-1) var(--ct-ease), border-color var(--ct-dur-1) var(--ct-ease), color var(--ct-dur-1) var(--ct-ease);
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--ct-accent-fill); color: var(--ct-on-accent); }
.btn-primary:hover { background: #ecb862; }
.btn-primary:active { background: #d39a3f; }
.btn-outline { border-color: var(--ct-rule-2); color: var(--ct-text); background: transparent; }
.btn-outline:hover { border-color: #47606a; background: rgba(227, 235, 235, .03); }
.btn[aria-busy="true"] { opacity: .72; cursor: progress; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 19, 22, .88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--ct-rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { width: 172px; height: auto; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; list-style: none; padding: 0; }
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--ct-radius-sm);
  color: var(--ct-muted);
  font-size: 14.5px;
  font-weight: var(--ct-weight-medium);
  font-stretch: var(--ct-stretch-heading);
  text-decoration: none;
  transition: color var(--ct-dur-1) var(--ct-ease);
}
.site-nav a:hover { color: var(--ct-text); }
.site-nav a[aria-current="page"] { color: var(--ct-text); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: -16px;
  height: 2px;
  background: var(--ct-brass);
}
.site-header__cta { flex: none; }

.menu { display: none; }
.menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ct-rule-2);
  border-radius: var(--ct-radius-sm);
  color: var(--ct-text);
  font-size: 14px;
  font-weight: var(--ct-weight-medium);
  font-stretch: var(--ct-stretch-heading);
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.menu__toggle::-webkit-details-marker { display: none; }
.menu__toggle::marker { content: ""; }
.menu__bars {
  position: relative;
  width: 14px; height: 10px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
.menu__bars::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  margin-top: -.75px;
  background: currentColor;
}
.menu[open] .menu__bars { border-color: transparent; }
.menu[open] .menu__bars::before { transform: rotate(45deg); }
.menu[open] .menu__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  margin-top: -.75px;
  background: currentColor;
  transform: rotate(-45deg);
}
.menu__panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  padding: 8px var(--ct-gutter) 28px;
  background: var(--ct-bg);
  border-bottom: 1px solid var(--ct-rule);
  box-shadow: 0 28px 48px -12px rgba(0, 0, 0, .65);
}
.menu__panel ul { list-style: none; padding: 0; }
.menu__panel li a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--ct-rule);
  font-size: 20px;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
  text-decoration: none;
}
.menu__panel li a[aria-current="page"] { color: var(--ct-brass-text); }
.menu__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
  color: var(--ct-muted);
  font-size: 15px;
}
.menu__direct a { text-decoration: none; }

@media (max-width: 899px) {
  .site-nav { display: none; }
  .menu { display: block; }
  .site-header__cta { margin-left: auto; }
  .site-header__inner { gap: 12px; height: 64px; }
  .brand img { width: 148px; }
}
@media (max-width: 439px) {
  .site-header__inner { gap: 10px; }
  .brand img { width: 136px; }
  .menu__toggle { padding: 0 10px; gap: 8px; }
  .site-header__cta .btn-sm { padding: 0 14px; }
}
@media (max-width: 359px) {
  .site-header__cta { display: none; }
  .menu { margin-left: auto; }
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--ct-rule);
  padding: 64px 0 32px;
  color: var(--ct-muted);
  font-size: 15px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 40px;
}
.site-footer__brand { grid-column: 1 / span 5; }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { width: 132px; }
.site-footer__brand p { margin-top: 24px; max-width: 34ch; line-height: 1.55; }
.site-footer__nav { grid-column: 7 / span 3; }
.site-footer__nav ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.site-footer__contact { grid-column: 10 / -1; display: grid; gap: 18px; align-content: start; }
.site-footer__contact dt { font-size: 13px; }
.site-footer__contact dd { margin-top: 2px; color: var(--ct-text); }
.site-footer a { text-decoration: none; transition: color var(--ct-dur-1) var(--ct-ease); }
.site-footer__nav a:hover, .site-footer__legal a:hover { color: var(--ct-text); }
.site-footer__contact a:hover { color: var(--ct-brass-text); }
.site-footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--ct-rule);
  font-size: 14px;
}
.site-footer__legal { display: flex; gap: 24px; list-style: none; padding: 0; }

@media (max-width: 899px) {
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__nav { grid-column: 1 / span 6; }
  .site-footer__contact { grid-column: 7 / -1; }
}
@media (max-width: 559px) {
  .site-footer__nav, .site-footer__contact { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--follow { padding-top: clamp(24px, 3.5vw, 48px); }

.section__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 12px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section__head h2 {
  grid-column: 1 / span 6;
  font-size: var(--ct-fs-h2);
  font-stretch: var(--ct-stretch-heading);
  letter-spacing: -.005em;
}
.section__lead {
  grid-column: 7 / -1;
  color: var(--ct-muted);
  font-size: 1.125rem;
  line-height: 1.5;
}
.section__more { margin-top: 32px; }

@media (max-width: 899px) {
  .section__head h2, .section__lead { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- product UI primitives */
.ui {
  font-size: var(--ct-ui-fs);
  line-height: var(--ct-lh-ui);
  font-stretch: var(--ct-stretch-text);
}
.panel {
  background: var(--ct-surface);
  border: 1px solid var(--ct-rule);
  border-radius: var(--ct-radius-lg);
  padding: 18px 20px 20px;
}
.ui-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
}
.ui-title {
  font-size: 14px;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
  color: var(--ct-text);
  line-height: 1.3;
}
.ui-sub { margin-top: 3px; font-size: var(--ct-ui-fs-sm); color: var(--ct-muted); line-height: 1.35; }

.chip {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 22px;
  padding: 0 9px;
  border: 1px solid var(--ct-rule-2);
  border-radius: var(--ct-radius-pill);
  color: var(--ct-muted);
  font-size: var(--ct-ui-fs-xs);
  font-weight: var(--ct-weight-semibold);
  line-height: 1;
  white-space: nowrap;
}

/* Tie states: always a glyph and a label. Colour is the second channel. */
.state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px 0 6px;
  border-radius: var(--ct-radius-pill);
  font-size: var(--ct-ui-fs-xs);
  font-weight: var(--ct-weight-semibold);
  line-height: 1;
  white-space: nowrap;
}
.state .glyph { flex: none; }
.state--tied { color: var(--ct-good); background: var(--ct-good-a); }
.state--open { color: var(--ct-open); background: var(--ct-open-a); }
.state--broken { color: var(--ct-critical); background: var(--ct-critical-a); }
.state--none { color: var(--ct-neutral); background: rgba(126, 144, 149, .12); }

.lines {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: var(--ct-figures);
}
.lines th {
  padding: 5px 16px 5px 0;
  text-align: left;
  font-weight: var(--ct-weight-regular);
  color: var(--ct-muted);
}
.lines td {
  padding: 5px 0;
  text-align: right;
  color: var(--ct-text);
  white-space: nowrap;
}
.lines__sum th { color: var(--ct-text); }
.lines__sum td { border-top: 1px solid var(--ct-rule-2); }
.lines__diff th, .lines__diff td {
  color: var(--ct-text);
  font-weight: var(--ct-weight-semibold);
  border-top: 1px solid var(--ct-rule-2);
}

/* A final total. The double rule is the brand's one structural gesture. */
.total { position: relative; display: inline-block; font-variant-numeric: var(--ct-figures); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: clip;
  padding: clamp(44px, 6vw, 88px) 0 clamp(72px, 8vw, 120px);
}
.hero::before {
  /* a tonal lift behind the product, in the ground's own hue */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 60% at 78% 42%, rgba(42, 62, 69, .34), rgba(11, 19, 22, 0) 70%),
    linear-gradient(to bottom, rgba(15, 26, 30, .55), rgba(11, 19, 22, 0) 40%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}
.hero__copy { grid-column: 1 / span 5; position: relative; z-index: 2; padding-bottom: 24px; }
.hero__eyebrow { margin-bottom: 24px; }
.hero__title {
  font-size: clamp(2.25rem, 1.3rem + 2.2vw, 3.125rem);
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-display);
  line-height: 1.07;
  letter-spacing: -.016em;
}
.hero__lead {
  margin-top: 24px;
  max-width: 40ch;
  color: var(--ct-muted);
  font-size: var(--ct-fs-lead);
  line-height: 1.5;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__figure { grid-column: 6 / -1; position: relative; margin: 0; }

/* The product window: bleeds off the right edge of the viewport, the way the
   product sits on a desk. It holds the picture slot /assets/hero-dashboard.png. */
.hero__shot {
  --bleed: calc((100vw - min(100vw - 2 * var(--ct-gutter), var(--ct-container))) / 2);
  position: relative;
  margin-right: calc(-1 * var(--bleed) - 64px);
  margin-left: 24px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ct-surface);
  border: 1px solid var(--ct-rule-2);
  border-radius: var(--ct-radius-xl);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
}
.hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
.hero__shot::after {
  /* a quiet fall-off along the lower edge so the floating schedule reads first */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(to bottom, rgba(11, 19, 22, 0), rgba(11, 19, 22, .55));
  pointer-events: none;
}

.hero__card {
  position: absolute;
  left: 0;
  bottom: -64px;
  z-index: 3;
  width: 432px;
  padding: 18px 20px 20px;
  background: var(--ct-surface);
  border: 1px solid var(--ct-rule-2);
  border-radius: var(--ct-radius-lg);
  box-shadow: 0 1px 0 rgba(227, 235, 235, .04) inset, 0 28px 60px -12px rgba(0, 0, 0, .72);
}
.hero__caption {
  margin-top: 18px;
  margin-left: 420px;
  text-align: right;
  font-size: var(--ct-fs-caption);
  color: var(--ct-muted);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ct-rule);
  border-bottom: 1px solid var(--ct-rule);
}
.kpi { padding: 12px 12px 14px 0; min-width: 0; }
.kpi + .kpi { padding-left: 14px; border-left: 1px solid var(--ct-rule); }
.kpi dt { font-size: var(--ct-ui-fs-sm); color: var(--ct-muted); }
.kpi__value {
  margin: 6px 0 8px;
  font-size: 21px;
  font-weight: var(--ct-weight-bold);
  font-stretch: var(--ct-stretch-display);
  font-variant-numeric: var(--ct-figures);
  letter-spacing: -.01em;
  line-height: 1.1;
  white-space: nowrap;
}
.kpi__note { font-size: var(--ct-ui-fs-xs); color: var(--ct-muted); font-variant-numeric: var(--ct-figures); }

.flip { display: inline-grid; }
.flip > * { grid-area: 1 / 1; }

.bridge { margin-top: 16px; }
.bridge__title {
  margin-bottom: 4px;
  font-size: var(--ct-ui-fs-sm);
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
  color: var(--ct-text);
}
.bridge__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: var(--ct-figures);
}
.bridge__table th {
  padding: 6px 12px 6px 0;
  text-align: left;
  font-weight: var(--ct-weight-regular);
  color: var(--ct-muted);
  white-space: nowrap;
}
.bridge__table td.num {
  width: 1%;
  padding: 6px 0 6px 12px;
  text-align: right;
  white-space: nowrap;
  color: var(--ct-text);
}
.bridge__start th, .bridge__total th { color: var(--ct-text); font-weight: var(--ct-weight-medium); }
.bridge__bar { position: relative; width: 44%; }
.bridge__bar::before {
  content: "";
  position: absolute;
  left: 50%; top: 3px; bottom: 3px;
  width: 1px;
  background: var(--ct-rule-2);
}
.vbar {
  position: absolute;
  top: 50%;
  height: 8px;
  margin-top: -4px;
}
.vbar--fav { left: calc(50% + 1px); background: var(--ct-div-fav-2); border-radius: 0 var(--ct-radius-xs) var(--ct-radius-xs) 0; }
.vbar--unf { right: 50%; background: var(--ct-div-unf-2); border-radius: var(--ct-radius-xs) 0 0 var(--ct-radius-xs); }
/* Bar lengths are the variances on one scale: 61,047 is 48% of the cell. */
.vbar--volume { width: 48%; }
.vbar--labor { width: 17.8%; }
.vbar--materials { width: 7.4%; }
.vbar--overhead { width: 12.3%; }

.bridge__total td.num {
  padding-top: 9px;
  padding-bottom: 12px;
  font-size: 15px;
  font-weight: var(--ct-weight-bold);
  font-stretch: var(--ct-stretch-heading);
}
.bridge__total td.num::before {
  /* the footing line above the total */
  content: "";
  display: block;
  height: 1px;
  margin: -3px 0 6px auto;
  width: 100%;
  background: var(--ct-muted);
}

/* The signature moment. After a 400 ms pause the brass double rule draws under
   the figure that closes the bridge, once, and revenue turns to "tied". The
   resting styles are the final state, so reduced motion simply shows it. */
.total--draw { padding-bottom: 8px; }
.total--draw::before,
.total--draw::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ct-brass);
  transform-origin: left center;
}
.total--draw::before { bottom: 4px; animation: ct-rule 420ms var(--ct-ease) 400ms both; }
.total--draw::after { bottom: 0; animation: ct-rule 420ms var(--ct-ease) 580ms both; }

.flip__from { opacity: 0; visibility: hidden; animation: ct-flip-out 180ms ease-out 1020ms both; }
.flip__to { animation: ct-flip-in 240ms ease-out 1020ms both; }

@keyframes ct-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ct-flip-out { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }
@keyframes ct-flip-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1199px) {
  .hero__card { width: 404px; left: -24px; }
  .hero__caption { margin-left: 0; margin-top: 84px; text-align: left; padding-left: 400px; }
}

@media (max-width: 959px) {
  .hero__grid { display: block; }
  .hero__copy { padding-bottom: 0; }
  .hero__figure { margin-top: 40px; }
  .hero__shot { display: none; }
  .hero__card { position: static; width: auto; box-shadow: none; }
  .hero__caption { margin: 14px 0 0; padding: 0; text-align: left; }
  .bridge { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--ct-rule); }
  .kpi:nth-child(2) { border-left: 0; padding-left: 0; }
  .kpi__value { font-size: 26px; }
  /* On a phone the closing figure is the net income tile. */
  .total--mobile { padding-bottom: 8px; }
  .total--mobile::before,
  .total--mobile::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: var(--ct-brass);
    transform-origin: left center;
  }
  .total--mobile::before { bottom: 4px; animation: ct-rule 420ms var(--ct-ease) 400ms both; }
  .total--mobile::after { bottom: 0; animation: ct-rule 420ms var(--ct-ease) 580ms both; }
}

@media (prefers-reduced-motion: reduce) {
  .total--draw::before, .total--draw::after,
  .total--mobile::before, .total--mobile::after,
  .flip__from, .flip__to { animation: none; }
}

/* ---------------------------------------------------------------- home: the problem */
.problem { border-top: 1px solid var(--ct-rule); }
.statement {
  max-width: 27ch;
  font-size: clamp(1.75rem, 1.15rem + 2.2vw, 2.875rem);
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-display);
  line-height: 1.12;
  letter-spacing: -.014em;
  color: var(--ct-muted);
}
.statement__line { display: block; }
.statement__line + .statement__line { margin-top: .1em; }
.statement__line--point { margin-top: .5em !important; color: var(--ct-text); }

.problem__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 40px;
  align-items: start;
  margin-top: clamp(48px, 6vw, 88px);
}
.problem__copy { grid-column: 1 / span 4; display: grid; gap: 16px; color: var(--ct-muted); }
.problem__claim {
  color: var(--ct-text);
  font-size: 1.5rem;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
  line-height: 1.25;
}
.problem__figure { grid-column: 6 / -1; }

.match__cols, .match__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr);
  column-gap: 16px;
}
.match__cols {
  padding: 10px 0 8px;
  border-top: 1px solid var(--ct-rule);
  color: var(--ct-muted);
  font-size: var(--ct-ui-fs-xs);
}
.match__cols span:nth-child(2) { text-align: center; }
.match__list { list-style: none; padding: 0; }
.match__row { align-items: center; padding: 12px 0; border-top: 1px solid var(--ct-rule); }
.match__side { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: baseline; }
.match__id { color: var(--ct-text); font-weight: var(--ct-weight-medium); white-space: nowrap; }
.match__amt { text-align: right; color: var(--ct-text); font-variant-numeric: var(--ct-figures); }
.match__meta { grid-column: 1 / -1; color: var(--ct-muted); font-size: var(--ct-ui-fs-xs); }
.match__side--empty .match__id { color: var(--ct-muted); font-weight: var(--ct-weight-regular); }
.match__state { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.match__diff { color: var(--ct-muted); font-size: var(--ct-ui-fs-xs); font-variant-numeric: var(--ct-figures); white-space: nowrap; }

@media (max-width: 899px) {
  .problem__copy, .problem__figure { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .match__cols { display: none; }
  .match__row { grid-template-columns: 1fr; row-gap: 10px; }
  .match__state { order: -1; flex-direction: row; justify-content: flex-start; gap: 10px; }
  .match__side .visually-hidden {
    position: static !important;
    width: auto; height: auto; margin: 0;
    clip: auto; clip-path: none;
    grid-column: 1 / -1;
    color: var(--ct-muted);
    font-size: var(--ct-ui-fs-xs);
  }
}

/* ---------------------------------------------------------------- home: what we build */
/* One product surface cut into three cells, each a fragment on sample data. */
.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
  background: var(--ct-surface);
  border: 1px solid var(--ct-rule);
  border-bottom: 0;
  border-radius: var(--ct-radius-lg) var(--ct-radius-lg) 0 0;
  font-size: var(--ct-ui-fs-sm);
  line-height: var(--ct-lh-ui);
}
.strip__cell { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 20px 22px 22px; }
.strip__cell + .strip__cell { border-left: 1px solid var(--ct-rule); }
.strip__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.strip__title { color: var(--ct-text); font-weight: var(--ct-weight-semibold); font-stretch: var(--ct-stretch-heading); }
.strip__sub { color: var(--ct-muted); font-size: var(--ct-ui-fs-xs); white-space: nowrap; }
.strip__states { display: flex; flex-wrap: wrap; gap: 6px; }

.seg { display: flex; gap: 2px; height: 10px; margin-top: 6px; }
.seg span { display: block; border-radius: 2px; }
.seg__t { flex: 18; background: var(--ct-good); opacity: .85; }
.seg__o { flex: 2; background: var(--ct-open); }
.seg__b { flex: 1; background: var(--ct-critical); }

.minibars { display: grid; gap: 9px; list-style: none; padding: 0; }
.minibars li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.minibars__name { color: var(--ct-muted); }
.minibars__track { position: relative; height: 8px; }
.minibars__bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 var(--ct-radius-xs) var(--ct-radius-xs) 0; }
.minibars__bar--1 { width: 96.5%; background: var(--ct-series-1); }
.minibars__bar--2 { width: 62%; background: var(--ct-series-2); }
.minibars__bar--3 { width: 42.1%; background: var(--ct-series-3); }
.minibars__plan { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--ct-text); border-radius: 1px; }
.minibars__plan--1 { left: 93.3%; }
.minibars__plan--2 { left: 62.6%; }
.minibars__plan--3 { left: 42.7%; }
.minibars__val { color: var(--ct-text); font-variant-numeric: var(--ct-figures); text-align: right; }
.minibars__key {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ct-rule);
  color: var(--ct-muted);
  font-size: var(--ct-ui-fs-xs);
}
.minibars__key-bar { width: 14px; height: 6px; border-radius: 0 2px 2px 0; background: var(--ct-muted); }
.minibars__key-plan { width: 2px; height: 12px; margin-left: 10px; background: var(--ct-text); border-radius: 1px; }

.ministeps { display: grid; list-style: none; padding: 0; margin-top: auto; border-top: 1px solid var(--ct-rule); }
.ministeps li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; color: var(--ct-muted); }
.ministeps li + li { border-top: 1px solid var(--ct-rule); }
.ministeps__g { display: inline-flex; }
.ministeps__g--tied { color: var(--ct-good); }
.ministeps__g--open { color: var(--ct-open); }
.ministeps__g--broken { color: var(--ct-critical); }

.strip__cell--paper { padding-bottom: 0; justify-content: flex-end; overflow: hidden; }
.minipaper {
  display: grid;
  gap: 7px;
  margin: 0 8px;
  padding: 16px 18px 18px;
  background: #ffffff;
  color: #0f1b1e;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .6);
}
.minipaper__title { font-weight: var(--ct-weight-bold); font-stretch: var(--ct-stretch-display); font-size: 13px; }
.minipaper__sub { color: #50646a; font-size: 10.5px; margin-top: -5px; }
.minipaper__rule { height: 1px; background: #0f1b1e; margin: 2px 0 3px; }
.minipaper__line { height: 5px; border-radius: 3px; background: #e6ebea; }
.minipaper__line--b { width: 88%; }
.minipaper__line--c { width: 58%; }
.minipaper__sign { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 8px; border-top: 1px solid #dde5e4; color: #50646a; font-size: 10.5px; }
.minipaper .state--open { color: #8f5e12; background: rgba(164, 108, 22, .1); }

@media (max-width: 899px) {
  .strip { display: none; }
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--ct-rule-2);
}
.build-grid__item { padding: 28px 28px 0 0; }
.build-grid__item + .build-grid__item { padding-left: 28px; border-left: 1px solid var(--ct-rule); }
.build-grid h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
  line-height: 1.25;
}
.build-grid h3 a { text-decoration: none; }
.build-grid h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--ct-brass); }
.build-grid p { color: var(--ct-muted); }

.strip + .build-grid {
  border: 1px solid var(--ct-rule);
  border-radius: 0 0 var(--ct-radius-lg) var(--ct-radius-lg);
}
.strip + .build-grid .build-grid__item { padding: 24px 22px 30px; }

@media (max-width: 899px) {
  .build-grid, .strip + .build-grid { grid-template-columns: 1fr; border: 0; border-top: 1px solid var(--ct-rule-2); border-radius: 0; }
  .build-grid__item, .build-grid__item + .build-grid__item,
  .strip + .build-grid .build-grid__item { padding: 24px 0 28px; border-left: 0; }
  .build-grid__item + .build-grid__item { border-top: 1px solid var(--ct-rule); }
}

/* ---------------------------------------------------------------- home: how it works */
.how { background: linear-gradient(to bottom, rgba(15, 26, 30, .7), rgba(15, 26, 30, 0)); border-top: 1px solid var(--ct-rule); }
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
}
.step {
  counter-increment: step;
  position: relative;
  padding: 0 32px 0 0;
}
.step::before {
  content: counter(step);
  display: block;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ct-rule-2);
  color: var(--ct-muted);
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.5rem);
  font-weight: 300;
  font-stretch: var(--ct-stretch-display);
  font-variant-numeric: var(--ct-figures);
  line-height: 1;
}
.step + .step { padding-left: 0; }
.step__title {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
}
.step p { color: var(--ct-muted); max-width: 34ch; }

@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step { padding: 0; }
}

/* ---------------------------------------------------------------- home: checks */
.checks__list { list-style: none; padding: 0; border-top: 1px solid var(--ct-rule-2); }
.checks__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 6px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--ct-rule);
}
.checks__name {
  grid-column: 1 / span 3;
  font-size: 1.125rem;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
}
.checks__text { grid-column: 4 / span 6; color: var(--ct-muted); }
.checks__link {
  grid-column: 10 / -1;
  justify-self: end;
  color: var(--ct-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--ct-rule-2);
  white-space: nowrap;
}
.checks__link:hover { text-decoration-color: var(--ct-brass); }

@media (max-width: 899px) {
  .checks__name, .checks__text, .checks__link { grid-column: 1 / -1; justify-self: start; }
}

/* ---------------------------------------------------------------- home: founder */
.founder { border-top: 1px solid var(--ct-rule); }
.founder__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 20px;
}
.founder__label {
  grid-column: 1 / span 3;
  padding-top: 8px;
  color: var(--ct-muted);
  font-size: 1rem;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
}
.founder__note { grid-column: 4 / span 8; }
.founder__quote p {
  max-width: 42ch;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem);
  line-height: 1.45;
  color: var(--ct-text);
}
.founder__quote .founder__line {
  margin-top: 24px;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
}
.founder__by { display: grid; gap: 2px; margin-top: 32px; }
.founder__name { font-weight: var(--ct-weight-semibold); }
.founder__cred { color: var(--ct-muted); font-size: 15px; }
.founder__more { grid-column: 4 / span 8; }

@media (max-width: 899px) {
  .founder__label, .founder__note, .founder__more { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- closing band */
.cta-band { padding: clamp(24px, 4vw, 48px) 0 clamp(72px, 9vw, 120px); }
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: end;
  padding: clamp(28px, 5vw, 56px);
  background: var(--ct-surface);
  border: 1px solid var(--ct-rule);
  border-radius: var(--ct-radius-xl);
}
.cta-band h2 {
  max-width: 20ch;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-display);
  line-height: 1.1;
  letter-spacing: -.012em;
}
.cta-band p { max-width: 52ch; margin-top: 16px; color: var(--ct-muted); }
.cta-band p a { color: var(--ct-text); text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--ct-rule-2); }
.cta-band p a:hover { text-decoration-color: var(--ct-brass); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 899px) {
  .cta-band__inner { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- inner pages: head */
.page-head { padding: clamp(56px, 8vw, 112px) 0 clamp(28px, 3.5vw, 48px); }
.page-head__title {
  max-width: 22ch;
  font-size: var(--ct-fs-h1);
  font-weight: 620;
  font-stretch: var(--ct-stretch-display);
  line-height: 1.08;
  letter-spacing: -.014em;
}
.page-head__lead {
  max-width: 56ch;
  margin-top: 24px;
  color: var(--ct-muted);
  font-size: var(--ct-fs-lead);
  line-height: 1.5;
}
.page-head__meta { margin-top: 16px; color: var(--ct-muted); font-size: var(--ct-fs-small); }
.page-head--legal .page-head__title { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.625rem); }

.toc ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-top: 36px; }
.toc a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ct-rule-2);
  border-radius: var(--ct-radius-pill);
  color: var(--ct-muted);
  font-size: 14px;
  font-weight: var(--ct-weight-medium);
  font-stretch: var(--ct-stretch-heading);
  text-decoration: none;
  transition: color var(--ct-dur-1) var(--ct-ease), border-color var(--ct-dur-1) var(--ct-ease);
}
.toc a:hover { color: var(--ct-text); border-color: #47606a; }

/* ---------------------------------------------------------------- what we build: features */
.feature { border-top: 1px solid var(--ct-rule); }
.feature__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 40px;
  align-items: start;
}
.feature__copy { grid-column: 1 / span 5; position: sticky; top: 112px; }
.feature__copy h2 {
  font-size: var(--ct-fs-h2);
  font-stretch: var(--ct-stretch-heading);
  letter-spacing: -.005em;
}
.feature__lead { margin-top: 16px; font-size: 1.125rem; line-height: 1.5; }
.feature__copy > p:not(.feature__lead) { margin-top: 14px; color: var(--ct-muted); }
.feature__figure { grid-column: 7 / -1; }

.spec-list { display: grid; gap: 18px; margin-top: 28px; list-style: none; padding: 0; }
.spec-list li { padding-top: 18px; border-top: 1px solid var(--ct-rule); color: var(--ct-muted); }
.spec-list strong { display: block; margin-bottom: 4px; color: var(--ct-text); font-weight: var(--ct-weight-semibold); }

@media (max-width: 899px) {
  .feature__copy { grid-column: 1 / -1; position: static; }
  .feature__figure { grid-column: 1 / -1; }
}

.exc__list { list-style: none; padding: 0; }
.exc__item { padding: 16px 0 14px; border-top: 1px solid var(--ct-rule); }
.exc__item:last-child { padding-bottom: 2px; }
.exc__top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.exc__title { font-size: 14px; font-weight: var(--ct-weight-semibold); }

.drill__list { list-style: none; padding: 0; }
.drill__item { border-top: 1px solid var(--ct-rule); }
.drill__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(9ch, auto) 16px;
  align-items: center;
  column-gap: 16px;
  padding: 13px 6px 13px 4px;
  border-radius: var(--ct-radius-md);
  cursor: pointer;
  list-style: none;
  transition: background-color var(--ct-dur-1) var(--ct-ease);
}
.drill__row::-webkit-details-marker { display: none; }
.drill__row::marker { content: ""; }
.drill__row:hover { background: var(--ct-raised); }
.drill__row:focus-visible { outline-offset: -2px; }
.drill__name { color: var(--ct-text); font-size: 14px; font-weight: var(--ct-weight-medium); }
.drill__value {
  text-align: right;
  font-size: 15px;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
  font-variant-numeric: var(--ct-figures);
}
.drill__row .chevron { color: var(--ct-muted); transition: transform var(--ct-dur-2) var(--ct-ease); }
.drill__item[open] .chevron { transform: rotate(90deg); }
.lines--source {
  margin: 2px 0 14px;
  border-left: 2px solid var(--ct-rule-2);
}
.lines--source th { padding-left: 14px; }
.lines--source td { padding-right: 26px; }
.drill__total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 16px;
  column-gap: 16px;
  align-items: start;
  padding: 16px 6px 2px 4px;
  border-top: 1px solid var(--ct-muted);
}
.drill__total .drill__name { font-weight: var(--ct-weight-semibold); }
.drill__total .drill__value { grid-column: 2; font-size: 16px; font-weight: var(--ct-weight-bold); }
.drill__total .total { padding-bottom: 3px; border-bottom: var(--ct-double-rule) var(--ct-brass); }

/* The monthly pack prints in the light theme, so its sample page is paper. */
.paper {
  max-width: 440px;
  margin-left: auto;
  padding: 28px 28px 24px;
  background: #ffffff;
  color: #0f1b1e;
  border-radius: var(--ct-radius-md);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75);
  font-size: 12px;
  line-height: 1.45;
}
.paper__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-bottom: 14px; border-bottom: 1px solid #0f1b1e; }
.paper__title { font-size: 19px; font-weight: var(--ct-weight-bold); font-stretch: var(--ct-stretch-display); letter-spacing: -.005em; }
.paper__sub { color: #50646a; font-size: 11.5px; }
.paper__section {
  margin: 18px 0 6px;
  color: #50646a;
  font-size: 11px;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
}
.paper__table { width: 100%; border-collapse: collapse; font-variant-numeric: var(--ct-figures); font-size: 11.5px; }
.paper__table th, .paper__table td { padding: 5px 0 5px 10px; text-align: right; border-bottom: 1px solid #dde5e4; white-space: nowrap; }
.paper__table th:first-child { padding-left: 0; text-align: left; }
.paper__table thead th { color: #50646a; font-weight: var(--ct-weight-medium); border-bottom-color: #c8d3d2; }
.paper__table tbody th { font-weight: var(--ct-weight-regular); }
.paper__sum th, .paper__sum td { font-weight: var(--ct-weight-bold); border-top: 1px solid #0f1b1e; border-bottom: 0; }
.paper__text span { display: block; height: 6px; margin: 9px 0; border-radius: 3px; background: #e6ebea; }
.paper__text span:nth-child(2) { width: 92%; }
.paper__text span:nth-child(3) { width: 61%; }
.paper__sign {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #dde5e4;
  font-size: 11.5px;
  color: #50646a;
}
.paper .state--open { color: #8f5e12; background: rgba(164, 108, 22, .1); }

@media (max-width: 899px) {
  .paper { margin-left: 0; }
}

/* ---------------------------------------------------------------- ledger rows: label left, text right */
.ledger { border-top: 1px solid var(--ct-rule-2); }
.ledger--after { margin-top: clamp(56px, 7vw, 96px); }
.ledger__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 12px;
  padding: 32px 0;
  border-bottom: 1px solid var(--ct-rule);
}
.ledger__label {
  grid-column: 1 / span 4;
  font-size: 1.125rem;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
  line-height: 1.35;
}
.ledger__body { grid-column: 5 / span 7; max-width: 62ch; }
.ledger__body p + p, .ledger__body p + ul, .ledger__body ul + p { margin-top: 12px; }

@media (max-width: 899px) {
  .ledger__label, .ledger__body { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- how it works */
.phases { counter-reset: phase; list-style: none; padding: 0; }
.phase {
  counter-increment: phase;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 16px;
  padding: 40px 0 44px;
  border-top: 1px solid var(--ct-rule-2);
}
.phase::before {
  content: counter(phase);
  grid-column: 1 / span 1;
  color: var(--ct-muted);
  font-size: clamp(2.5rem, 2rem + 1.8vw, 3.75rem);
  font-weight: 300;
  font-stretch: var(--ct-stretch-display);
  font-variant-numeric: var(--ct-figures);
  line-height: .9;
}
.phase__head { grid-column: 2 / span 4; }
.phase__title {
  font-size: var(--ct-fs-h2);
  font-stretch: var(--ct-stretch-heading);
  letter-spacing: -.005em;
}
.phase__tag { margin-top: 10px; color: var(--ct-muted); font-size: var(--ct-fs-small); }
.phase__body { grid-column: 7 / -1; max-width: 56ch; }
.phase__body p + p { margin-top: 12px; }
.phase__body p:last-child { color: var(--ct-muted); }

@media (max-width: 899px) {
  .phase::before { grid-column: 1 / -1; }
  .phase__head, .phase__body { grid-column: 1 / -1; }
}

.faq { border-top: 1px solid var(--ct-rule-2); }
.faq__item {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--ct-rule);
}
.faq dt {
  grid-column: 1 / span 5;
  font-size: 1.0625rem;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
  line-height: 1.4;
}
.faq dd { grid-column: 7 / -1; color: var(--ct-muted); max-width: 56ch; }

@media (max-width: 899px) {
  .faq dt, .faq dd { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- security: where it runs */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(118px, 1.1fr) minmax(0, 5fr) minmax(118px, 1.1fr) minmax(0, 2fr);
  align-items: center;
  row-gap: 0;
  padding: clamp(20px, 3vw, 36px);
  background: var(--ct-surface);
  border: 1px solid var(--ct-rule);
  border-radius: var(--ct-radius-xl);
}
.flow .flow__node { background: var(--ct-raised); }
.flow .flow__node--inside { background: #1a2b31; border-color: #34494f; }
.flow__col--people { align-self: center; }
.flow__col { display: grid; gap: 10px; }
.flow__kicker {
  color: var(--ct-muted);
  font-size: 12.5px;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
}
.flow__node {
  padding: 13px 14px;
  background: var(--ct-surface);
  border: 1px solid var(--ct-rule-2);
  border-radius: var(--ct-radius-md);
  font-size: 14px;
  font-weight: var(--ct-weight-medium);
  line-height: 1.35;
}
.flow__node--inside { background: var(--ct-raised); }
.flow__link { position: relative; height: 1px; margin: 0 12px; background: var(--ct-muted); }
.flow__link::after {
  content: "";
  position: absolute;
  right: -1px; top: -4px;
  border-left: 7px solid var(--ct-muted);
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}
.flow__link-label {
  position: absolute;
  left: 50%; bottom: 10px;
  transform: translateX(-50%);
  color: var(--ct-muted);
  font-size: 12px;
  white-space: nowrap;
}
.flow__boundary {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px dashed #4b6670;
  border-radius: var(--ct-radius-lg);
}
.flow__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; }
.flow__owned { color: var(--ct-muted); font-size: 13px; }
.flow__caption { grid-column: 1 / -1; margin-top: 24px; }

@media (max-width: 999px) {
  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow__link { width: 1px; height: 56px; margin: 0 0 0 24px; }
  .flow__link::after { right: auto; top: auto; left: -4px; bottom: -1px; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-top: 7px solid var(--ct-muted); border-bottom: 0; }
  .flow__link-label { left: 18px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .flow__col--sources { grid-template-columns: 1fr 1fr; }
  .flow__col--sources .flow__kicker { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .flow__steps { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- about */
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 40px;
  align-items: start;
}
.about__story { grid-column: 1 / span 6; display: grid; gap: 16px; font-size: 1.125rem; line-height: 1.55; }
.about__story p:not(.about__lede) { color: var(--ct-muted); }
.about__lede { font-size: 1.375rem; line-height: 1.45; }
.about__quote {
  grid-column: 8 / -1;
  padding-left: 24px;
  border-left: 1px solid var(--ct-rule-2);
}
.about__quote blockquote p {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-display);
  line-height: 1.22;
  letter-spacing: -.01em;
}
.about__quote figcaption { margin-top: 18px; color: var(--ct-muted); font-size: var(--ct-fs-small); }

.career { list-style: none; padding: 0; }
.career__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 4px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ct-rule);
}
.career__item:first-child { padding-top: 0; }
.career__role { color: var(--ct-text); font-weight: var(--ct-weight-medium); }
.career__where { color: var(--ct-muted); }

@media (max-width: 899px) {
  .about__story, .about__quote { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .career__item { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- contact */
.page-head--contact { padding-bottom: clamp(24px, 3vw, 40px); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
  align-items: start;
}
.contact__main { grid-column: 1 / span 7; }
.contact__aside { grid-column: 9 / -1; padding-top: 8px; }
.contact__h {
  font-size: 1rem;
  font-weight: var(--ct-weight-semibold);
  font-stretch: var(--ct-stretch-heading);
}
.contact__h + * { margin-top: 14px; }
.contact__aside .contact__h:not(:first-child) { margin-top: 40px; }
.direct { display: grid; gap: 14px; }
.direct__row { display: grid; gap: 2px; }
.direct dt { color: var(--ct-muted); font-size: 13px; }
.direct dd { font-size: 1.125rem; }

.form { padding: clamp(20px, 3vw, 32px); border-radius: var(--ct-radius-xl); }
.form[hidden] { display: none; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  color: var(--ct-text);
  font-size: 14px;
  font-weight: var(--ct-weight-medium);
}
.field__optional { margin-left: 6px; color: var(--ct-muted); font-weight: var(--ct-weight-regular); }
.field__input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: var(--ct-bg);
  border: 1px solid var(--ct-rule-2);
  border-radius: var(--ct-radius-sm);
  color: var(--ct-text);
  font: inherit;
  font-size: 16px;
  transition: border-color var(--ct-dur-1) var(--ct-ease), box-shadow var(--ct-dur-1) var(--ct-ease);
}
.field__input:hover { border-color: #47606a; }
.field__input:focus { outline: none; border-color: var(--ct-brass); box-shadow: 0 0 0 3px rgba(226, 168, 75, .22); }
.field__input--area { height: auto; min-height: 136px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field__input[aria-invalid="true"] { border-color: var(--ct-critical); }
.field__error { margin-top: 7px; color: var(--ct-critical); font-size: 13.5px; }
.field__error[hidden] { display: none; }

.choices { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices__row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 13px;
  border: 1px solid var(--ct-rule-2);
  border-radius: var(--ct-radius-sm);
  cursor: pointer;
  font-size: 15px;
  transition: border-color var(--ct-dur-1) var(--ct-ease), background-color var(--ct-dur-1) var(--ct-ease);
}
.choice:hover { border-color: #47606a; }
.choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--ct-brass); }
.choice:has(input:checked) { border-color: var(--ct-brass); background: var(--ct-brass-a); }
.choice:has(input:focus-visible) { outline: 2px solid var(--ct-brass); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }

.field--trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form__check:empty { display: none; }
.form__check { margin-top: 22px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.form__privacy { flex: 1 1 260px; color: var(--ct-muted); font-size: 13.5px; line-height: 1.5; }
.form__status:empty { display: none; }
.form__status { margin-top: 18px; font-size: 15px; color: var(--ct-muted); }
.form__status[data-tone="error"] { color: var(--ct-critical); }
.form__noscript { margin-top: 18px; color: var(--ct-text); }

.form-done { padding: clamp(24px, 4vw, 40px); border-radius: var(--ct-radius-xl); }
.form-done[hidden] { display: none; }
.form-done__title {
  font-size: var(--ct-fs-h2);
  font-stretch: var(--ct-stretch-heading);
}
.form-done__title:focus { outline: none; }
.form-done p { margin-top: 12px; color: var(--ct-muted); }
.form-done__email { color: var(--ct-text); }

@media (max-width: 899px) {
  .contact__main, .contact__aside { grid-column: 1 / -1; }
}
@media (max-width: 559px) {
  .form__grid { grid-template-columns: 1fr; }
  .form__submit { width: 100%; }
}

/* ---------------------------------------------------------------- legal */
.prose { max-width: 68ch; }
.prose h2 {
  margin: 44px 0 12px;
  font-size: 1.25rem;
  font-stretch: var(--ct-stretch-heading);
}
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }
.prose ul { margin-top: 12px; padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--ct-muted); }
.prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--ct-rule-2);
}
.prose a:hover { text-decoration-color: var(--ct-brass); }
.legal { padding-top: 0; }

/* ---------------------------------------------------------------- 404 */
.notfound { padding: clamp(80px, 12vw, 168px) 0; }
.notfound__inner { max-width: 760px; }
.notfound__state { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; }
.notfound__why { color: var(--ct-muted); font-size: var(--ct-fs-small); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; list-style: none; padding: 0; }
.notfound__links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--ct-rule-2);
}
.notfound__links a:hover { text-decoration-color: var(--ct-brass); }

/* ---------------------------------------------------------------- print */
@media print {
  .site-header, .menu, .cta-band, .skip-link, .hero__shot { display: none !important; }
  body { background: #fff; color: #0f1b1e; }
  .hero__card { position: static; box-shadow: none; }
}
