/* ============================================================
   Trenthos IME product style (23 Nov 2026; website brief, step 1).
   Product pages take the app's look: the coloured tree, the warm off-white ground with its two soft glows, white
   cards on a 1 px ruled line (release 7, "paper and proof"), bold Plus Jakarta Sans headings, Inter text, and the app's buttons on a 3 px
   ledge. Every value below is read from the app's CSS (IME repo apps/web/src/index.css, light theme, and the
   onboarding shell of its sign-in and sign-up pages), as hex.
   Loaded after the shared styles on product pages only; company pages keep the cube, the serif and the cool ground.
   ============================================================ */

:root {
  --ground:      #F6F5F3;   /* app --background */
  --ground-warm: #F3E3CD;   /* app --warm */
  --card:        #FFFFFF;   /* app --card */
  --ink:         #142429;   /* app --foreground: 14.7:1 on the ground, 16:1 on white */
  --ink-mute:    #142429;   /* G1: body text in the ink colour; captions take --caption */
  --caption:     #505C62;   /* app --muted-foreground: 6.3:1 on the ground, for captions and small labels only */
  --line:        #E1DFDA;   /* app --border */
  --line-strong: #CBC8C2;   /* app --line-strong */
  --input:       hsl(200 7% 53%);   /* #7F8A90, app --input (the field edge, apps/web/src/index.css:191): the one edge of every field and outline button, 3.2:1 on the ground (message 54) */
  --accent:      #0F756D;   /* app --primary */
  --accent-hover:#0D6860;   /* app --primary-hover */
  --accent-ledge:#084946;   /* app --brand-ledge */
  --accent-deep: #0F3033;   /* app --brand-deep */
  --accent-soft: #E6F5F2;   /* app --brand-soft */
  --accent-edge: #B7DCD6;   /* app --brand-edge */
  /* Buttons (23 Nov 2026 20:04): both buttons stand on a 3 px edge; the primary also lifts on a soft shadow, the
     secondary sits flat (a 1.5 px border and a 1.5 px edge, no shadow). tools/check-button-edges.py holds this. */
  --btn-lift:      0 6px 14px -4px rgba(8, 73, 70, 0.4);
  --btn-lift-deep: 0 6px 14px -4px rgba(0, 0, 0, 0.45);
  --warm:        #F3E3CD;
  --warm-deep:   #E3BF96;

  /* Release 7, "paper and proof" (24 Nov 2026; brand sheet v1.2, section 4): 1 px ruled lines in place of drop
     shadows. The corner rule (brand sheet v1.4, 24 Nov 2026): two corners on the whole site. Every border-radius in
     every stylesheet is one of these two tokens, or 0, or 50% on a true circle (an element as wide as it is high:
     the step numbers, the tick badge, the dots). No pill shape anywhere. tools/check-corners.py holds it. */
  --r: 3px;                 /* cards, buttons, fields, the select, notes, tab tracks and every control */
  --r-chip: 2px;            /* chips, marks, tags, the page reference stamp, the proof chip, a section number chip */

  --shadow:    none;        /* was the app's --shadow-float: cards stand on a 1 px rule instead */
  --shadow-sm: none;        /* was the app's --shadow-card */
  --rule-card: var(--line-strong);   /* a card's 1 px rule: the stronger line, now it has no shadow under it */
  /* what floats over the page keeps its shadow (it is not a card): the page viewer and the share dialog take the old
     float shadow, the contact form's open select menu the old card shadow */
  --shadow-float: 0 2px 0 var(--line), 0 28px 60px -34px rgba(18, 37, 43, 0.4);
  --shadow-pop:   0 2px 0 var(--line), 0 14px 30px -24px rgba(18, 37, 43, 0.3);

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;   /* the Trenthos serif (24 Nov 2026) */
}

/* ---- Ground and glow: a warm glow at the top left, a mint glow at the bottom right, behind everything ---- */
body { background: var(--ground); color: var(--ink); font-family: var(--font-body); }
body.footer-visible { background-color: var(--ground); }
body::before, body::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(64px);
}
body::before { left: -10rem; top: -12rem; width: 34rem; height: 34rem; background: rgba(243, 227, 205, 0.55); }
body::after { right: -10rem; bottom: -14rem; width: 38rem; height: 38rem; background: rgba(230, 245, 242, 0.9); }

/* ---- Type (G2): bold sans headings, Inter text ---- */
/* .t2 h1 and .hero2 h1 (traced.css, home.css) carry a class, so these do too; this file loads last */
h1, h2, h3, h4, .t2 h1, .t2 h2, .t2 h3 { font-family: var(--font-display); color: var(--ink); font-style: normal; }
h1, .t2 h1, .t2 .hero2 h1 { font-size: clamp(2.35rem, 4.4vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h2, .t2 h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
h3, .t2 h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.3; }
/* headings inside a card, the calculator and an article's end matter keep their own smaller sizes; an incident
   entry's title is a card title (the owner's order of 24 Nov 2026, 16:02) */
.t2 .plan h2, .t2 .plan h3, .t2 .calc h2, .t2 .calc h3, .t2 .article-refs h2, .t2 .related h2, .t2 .subscribe h2,
.t2 .start-here h2, .t2 .form-success h2, .t2 .inc-card h2, .t2 .mini-h { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.012em; }
.t2 .colophon .mini-h { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
/* The Trenthos serif returns for headings (23 Nov 2026 19:36; release 5, 24 Nov 06:37): every h1 and h2 in
   main in Playfair Display 600, at its size and line-height above, with normal tracking, in its colour above (ink;
   white on the deep band). Card titles keep the sans: the plan names and cards, the calculator, the sample cards, the
   featured article, an article's end matter, the contact card, the contents list, an incident entry. Eyebrows,
   prices, buttons, the
   header and the footer are not headings here and do not change. */
#main h1,
#main h2:not(.mini-h):not(:is(.plan, .pr-plan, .pr-answer, .calc, .sc-card, .featured-post, .article-refs, .related,
  .share, .subscribe, .start-here, .form-success, .contact-aside-card, .inc-card) h2) {
  font-family: var(--font-heading); font-weight: 600; letter-spacing: normal;
}
/* a section line set large, such as "Trenthos IME does the ordering. You do the medicine.": the serif in italic, in
   the deep teal (--accent-ledge #084946, 8.1:1 on the warm ground); the italic face stops at 500. The home line is named
   by its place: its markup is a frozen source of the brochure (tools/build-brochure.py --check), so it takes no class */
.section-line, .section-line strong, #main > #problem .wrap > p, #main > #problem .wrap > p strong {
  font-family: var(--font-heading); font-style: italic; font-weight: 500; letter-spacing: normal; color: var(--accent-ledge);
}
h1 .hl, h2 .hl { font-style: normal; color: var(--accent); }
.eyebrow { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; }
small, figcaption, .calc-note, .tag, .cl-sep, .note-small { color: var(--caption); }

/* ---- Buttons (G3): 48 px and more, the app's fill on a 3 px ledge; it sinks into the ledge when pressed ---- */
.btn {
  min-height: 48px; padding: var(--space-1-5) var(--space-3); border-radius: var(--r); border: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.03rem; letter-spacing: -0.005em;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
  transition: transform 80ms ease, box-shadow 80ms ease, background-color 150ms ease, color 150ms ease;
  /* a label is one line (23 Nov 2026), and its line is as tall as the text: with line-height 1 the 48 px box held
     room for two lines, which read as a wrap */
  white-space: nowrap; line-height: 1.375;
}
.btn--fill { background: var(--accent); color: #fff; box-shadow: 0 3px 0 var(--accent-ledge), var(--btn-lift); }
.btn--fill:hover { background: var(--accent-hover); color: #fff; }
.btn--fill:active { transform: translateY(3px); box-shadow: 0 0 0 var(--accent-ledge); }
.btn--outline { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--input), 0 1.5px 0 var(--input); }
.btn--outline:hover { background: var(--card); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent-edge), 0 1.5px 0 var(--accent-edge); }
.btn--outline:active { transform: translateY(1.5px); box-shadow: inset 0 0 0 1.5px var(--input), 0 0 0 var(--input); }

/* ---- Header (H1 to H4): the coloured lockup, 72 px, the current page marked, the button at full size ---- */
.hd { background: rgba(246, 245, 243, 0.92); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.hd-inner { height: 72px; }
.hd-logo img { height: 36px; width: auto; }
.hd-nav a, .hd-right .link, .hd-menu a { font-family: var(--font-body); font-weight: 500; color: var(--ink); }
.hd-nav a[aria-current="page"], .hd-menu a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.hd .btn { min-height: 48px; padding: var(--space-1-5) var(--space-3); font-size: 1rem; }
/* under 400 px (the owner's message 74 of 26 Nov 2026, release 7): the logo, "Start a trial" and the menu button fit
   the screen, so no page is wider than it at 320 or 360; the button keeps its words and its 48 px height, and from
   400 px the header is unchanged (tools/layout_sideways.py checks it at 320 and 360) */
@media (max-width: 399.98px) {
  .hd-inner { gap: var(--space-1); }
  .hd-logo img { height: 26px; }
  .hd .btn { padding-left: var(--space-1-5); padding-right: var(--space-1-5); }
  .hd-right { gap: var(--space-0); }
}
.hd-menu { background: var(--ground); }

/* ---- Sections (G4): the ground and white in turn, so no two sections in a row look the same ---- */
/* a closing band keeps its deep ground (the pricing page's .pr-close was turned white by this rule, 23 Nov 2026) */
main > section:nth-of-type(even):not(.hero2):not(#start):not(.pr-close) { background: var(--card); }

/* ---- The card (the owner's message 48 of 25 Nov 2026, item 2: one card, defined once and used everywhere): white,
   the card's 1 px rule (the stronger line), the 3 px corner, no shadow (release 7, G9), and 16 of padding (message 47,
   item 3 (2)). Every card of the site is in this one list, and no page's own sheet sets a card's frame; a card that
   differs says how below (its ground, or a coloured bar at its left). A big panel (the contact form, the subscribe and
   share boxes) has the same frame and 24 of padding. tools/check-gaps.py measures every card's padding. ---- */
.plan, .pr-plan, .pr-answer, .pr-steps li, .value-card, .cl-row, .cl-tile:not(.cl-tile--date), .faq, .post-link, .start-here li a,
.related-list a, .insight-link, .contact-aside-card, .form-success, .spec-list li, .article-endbox, .verify-card,
.matter-facts li, .tfacts li, .how-cards li, .who-cards li, #never .never > li, .research-card, .about-company, .reuse,
.sd-box, .sc-card, .sc-short-about, .calc, .featured-post,
.contact-form, .subscribe, .share {
  background: var(--card); border: 1px solid var(--rule-card); border-radius: var(--r); box-shadow: none;
  padding: var(--pad-card);
}
.contact-form, .subscribe, .share, .sd-box { padding: var(--pad-panel); }   /* a big panel (the service description's boxed note is a callout) */
/* a card on another ground: the service description's boxed note on the warm ground, the sample's cards on the page
   ground, the featured article on the deep ground */
.sd-box { background: var(--ground-warm); }
.sc-card { background: var(--ground); }
.featured-post { background: var(--accent-deep); border-color: var(--accent-deep); }
/* a card with a coloured bar at its left */
.article-endbox { border-left: 3px solid var(--accent); }
.pr-answer { border-left: 4px solid var(--accent); }
/* the research hero is a band, not a card: white on the card's rule */
.hero-card { background: var(--card); border: 1px solid var(--rule-card); }

/* ---- Lists (G8): no red; a teal tick for what you get ---- */
.never li::before {
  content: ""; width: 14px; height: 8px; top: calc(8px + 0.55em); left: 4px; background: none;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}

/* ---- Labels in plain type (G11): mono only for dates, D-numbers and page references ---- */
.verify b, .faq summary::after { font-family: var(--font-display); }
.steps .t { font-family: var(--font-body); }   /* a step name is a label in plain type (G11), not a heading */

/* ---- The closing band (G12): the deep ground, one heading, one line, the primary button ---- */
#start { background: var(--accent-deep); color: #fff; }
#start h2, #start p { color: #fff; }
/* Buttons on the deep ground, one style on every page (23 Nov 2026 17:24): the primary is white with ink
   text; the secondary is clear with white text and a white edge */
#start .btn--fill, #main > #close .btn--fill { background: #fff; color: var(--ink); box-shadow: 0 3px 0 #A6DDD6, var(--btn-lift-deep); outline: none; }
#start .btn--fill:hover, #main > #close .btn--fill:hover { background: #E6F5F2; color: var(--ink); }
#start .btn--outline, #main > #close .btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85), 0 1.5px 0 rgba(255, 255, 255, 0.35); }
#start .btn--outline:hover, #main > #close .btn--outline:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ---- Footer (F1 to F6): the page's own ground with a hairline above it, so it continues the page ---- */
.colophon { background: var(--ground); color: var(--ink); border-top: 1px solid var(--line); border-radius: 0; box-shadow: 0 100vh 0 100vh var(--ground); }
/* release 7 (24 Nov 2026): the footer's rule sits right where the ground changes. v2.css gave the footer a 20 to 40 px
   top margin, a strip of plain ground under the last section (under the deep closing band on /ime/); the last block of
   a page keeps its own space above the footer instead */
.colophon { margin-top: 0; }
/* the error pages end with their hero, whose bottom padding is small (20 to 36 px): it takes the legal body's bottom
   padding, the space every other page leaves above the footer */
#main > .legal-hero:last-child { padding-bottom: var(--space-5); }
html { background: var(--ground); }
.colophon a { color: var(--ink); }
.colophon a:hover { color: var(--accent); }
.colophon :focus-visible { outline-color: var(--accent); }
.colophon-logo { height: 36px; width: auto; }
/* the product logo is one file, drawn as it is: no filter, opacity or blending anywhere (tools/check-product-logo.py) */
.hd-logo img, .colophon-logo { filter: none; opacity: 1; mix-blend-mode: normal; }
.colophon-tagline, .colophon-proof { color: var(--ink); }
.colophon-col h2.mini-h { color: var(--caption); font-family: var(--font-display); }
.colophon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.colophon-bar { border-top: 1px solid var(--line); color: var(--caption); }
.colophon-copy strong { color: var(--ink); }
:is(.colophon, .ag-docs) .tag { border-color: var(--line-strong); color: var(--caption); }
/* the cube and the company line stay ordinary inline text, so they share the baseline of the ABN and hosting text
   beside them; only the cube is lifted to the middle of the line */
.colophon-company img { height: 18px; width: auto; vertical-align: -4px; margin-right: var(--space-1); }
@media (max-width: 820px) { .colophon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* F6: a short page does not leave an empty gap above the footer */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
/* ---- The paper ground (message 26, 25 Nov 2026): a fine grain on the ground only, felt more than seen. The tile is the
   app's own file (the IME app's public folder, the same bytes), drawn at 256 px as the app draws it, on the page
   ground and the footer that continues it (the home page's ground bands let the ground show through, ime/home2.css).
   Cards, fields, tables, the header, the deep band and the sand band keep their own plain backgrounds over it. Off in
   dark mode, with more contrast and in print. It stands after the footer's background above, which would reset it.
   tools/check-paper-ground.py holds it. ---- */
body, .colophon { background-image: url("/assets/paper-tile.png"); background-size: 256px 256px; }
@media (prefers-color-scheme: dark), (prefers-contrast: more), print { body, .colophon { background-image: none; } }
/* the one table that stands straight on the ground (the sample page's list of documents, at the top) takes the
   ground colour, so the grain stops at its edge: a table stays plain */
.sc-top .sc-docs .sc-table { background-color: var(--ground); }

/* ============================================================
   Every page family (23 Nov 2026): articles, the insights list, research, the legal pages, the claims register,
   trust, docs, the sample chronology, contact and the error pages take the same tokens and type as /ime/.
   One text style for each role, named here; no new colour (the tokens above, and the app's brown note colour that
   css/differ.css already uses).
     page title        h1 in main: Playfair Display 600 (the heading serif, 24 Nov 2026), the h1 size above
     section heading   h2 in main: Playfair Display 600, the h2 size above
     document heading  h2 in running text (articles, legal pages, docs): Playfair Display 600, 1.75rem at 1440
     card heading      a heading in a card, a sub-heading in running text, end matter: Plus Jakarta Sans 700, 1.25rem
     kicker            eyebrows and markers: Plus Jakarta Sans 700, 0.78rem, capitals, in the label teal
     body              paragraphs, list items and introductions: Inter 400, 18 to 19 px, ink
     small             notes, tables, references, card summaries, callouts: Inter, 0.95rem, ink
     field label       terms in a definition list, table heads, dates in a list: Inter 700, 0.72rem, capitals
     tag               a reader tag on a card: Inter 700, 0.68rem, capitals, deep teal on the soft teal
     link              text links: underlined, in the label teal (9.4:1 on the ground); on a warm box, deep teal
   ============================================================ */
:root {
  --link: var(--accent-ledge);   /* app --brand-ledge: 9.4:1 on the ground, 10.2:1 on white, 9.1:1 on the soft teal */
  --label: var(--accent-ledge);
  --error: #71360A;              /* the app's brown note colour (css/differ.css): 9.4:1 on white; never red */
  --t-body: clamp(18px, 17.63px + 0.095vw, 19px);   /* the .t2 body size (traced.css) */
  --t-small: 0.95rem;
}

/* ---- Body (G1, G2): pages without the .t2 class get the same text size as /ime/; introductions are body text ---- */
body:not(.t2) main { font-size: var(--t-body); line-height: 1.55; }
.lede, .legal-hero .lede, .hero-card .lede, .legal-content .article-lead { font-size: var(--t-body); line-height: 1.6; color: var(--ink); }
.legal-content p, .legal-content li { line-height: 1.6; }

/* ---- Small text: one size for notes, tables, references, card summaries and callouts ---- */
.legal-callout p, .article-note, .ref-list, .legal-content table, .legal-content figcaption, .subscribe-lede, .share-lede,
.subscribe-note, .pk-contents, .post-body p, .value-card p, .spec-label, .spec-text, .contact-aside-card p, .contact-meta, .field-consent label,
.field label, .legal-meta, .legal-toc, .related-title, .article-back, .insight-title, .featured-post p, .contact-mailto-link,
.fig-scroll-hint, .table-scroll-hint, .form-status, .subscribe-msg, .filter-empty, .sc-band, .start-here li span {
  font-size: var(--t-small);
}
.legal-callout p, .article-note, .ref-list, .post-body p, .value-card p, .spec-text, .contact-aside-card p, .field-consent label,
.subscribe-lede, .share-lede, .subscribe-note, .legal-meta, .form-success p, .start-here li span { color: var(--ink); }
.legal-content blockquote { color: var(--ink); }
.featured-post p { color: var(--accent-soft); }   /* 12.6:1 on the deep ground (was 8.2:1) */

/* ---- Headings (G2): every heading in the app's bold sans ---- */
.legal-hero h1, .hero-card h1 { font-size: clamp(2.35rem, 4.4vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; max-width: 18em; }
/* the research hero's print starts at 68% of the card: its heading ends before it (tools/check-layout.py, hero) */
.hero-card h1 { max-width: 12em; }
.legal-content h2, .sc-section h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.featured-post h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.legal-content h3, .sc-section h3, .value-card h4, .post-body h3, .article-refs h2, .related h2, .subscribe h2, .share h2,
.start-here h2, .form-success h2, .contact-aside-title, .share-dialog-head h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.3;
}
.legal-content h2 + h3 { margin-top: var(--space-1-5); }
.step-no, .lockup-name { font-family: var(--font-display); font-weight: 800; }
.cl-tile-n { font-weight: 800; letter-spacing: -0.02em; }   /* a figure: the weight of the prices and the home page's counts */
/* an article's diagram sets its labels in the text face (they named DM Sans, the old text face) */
.legal-content figure svg, .legal-content figure svg text { font-family: var(--font-body); }
h1 .hl, h2 .hl { font-style: normal; }

/* ---- Kicker (G11): one label for eyebrows and markers, in the label teal (9.4:1; the teal was 5.1:1) ---- */
.eyebrow, .t2 .eyebrow, .marker, .subscribe-eyebrow {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label);
}
.marker--mute { color: var(--caption); }
.hero-card .eyebrow { color: var(--label); }   /* v2 darkened it below 720 px; the label teal holds on the glow */
.eyebrow--onDark, .t2 .eyebrow.eyebrow--onDark, .featured-eyebrow { color: #A9D6D1; }
.featured-eyebrow { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.08em; }

/* ---- Field label: terms, table heads, list dates, the contents heading ---- */
.legal-meta dt, .contact-meta dt, .legal-content dl:not([class]) dt, .legal-content thead th, .post-date, .insight-date,
.lockup-brand {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
}
.legal-toc h5, .legal-toc h2.mini-h, .t2 .legal-toc h2.mini-h {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
}
.legal-content thead th { color: var(--accent-deep); }
.legal-toc a { color: var(--ink); }
.legal-toc ol a::before { color: var(--label); opacity: 1; }

/* ---- Tag: the reader tag on article cards ---- */
.post-tag, .related-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-soft);
  padding-right: calc(var(--space-1-5) - 0.08em); }   /* less the letter spacing after the last letter (message 107) */

/* ---- Links: underlined, in the label teal; deep teal on a warm box, where the label teal is 8.1:1 ---- */
a { color: var(--link); }
main :is(p, li, dd, td, th, figcaption, blockquote, label) a:is(:not([class]), .link):not(.link--quiet, .legal-toc a, .related-list a, .start-here a, .post-list a, .insight-list a, .cl-nav a) {
  color: var(--link);
  text-decoration-color: var(--accent);
}
main :is(p, li, dd, td, th, figcaption, blockquote, label) a:is(:not([class]), .link):not(.link--quiet, .legal-toc a, .related-list a, .start-here a, .post-list a, .insight-list a, .cl-nav a):hover {
  color: var(--accent-deep);
}
:is(.legal-callout, .article-note, .band) a:not(.btn, .pill),
main :is(.legal-callout, .article-note, .band) :is(p, li) a:is(:not([class]), .link) { color: var(--accent-deep); }
sup.cite a, .post-arrow, .insight-link .arrow, .contact-aside-email, .contact-mailto-link,
.field .req, .share-note { color: var(--link); }
.contact-aside-email:hover { color: var(--accent-deep); }

/* ---- Buttons (G3): the pill buttons of the older pages take the app's button, 48 px on a 3 px ledge ---- */
.pill, .subscribe-row button {
  min-height: 48px; padding: var(--space-1-5) var(--space-3); border-radius: var(--r); border: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.03rem; letter-spacing: -0.005em; line-height: 1.375; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
  transition: transform 80ms ease, box-shadow 80ms ease, background-color 150ms ease, color 150ms ease;
}
.pill--fill, .subscribe-row button { background: var(--accent); color: #fff; box-shadow: 0 3px 0 var(--accent-ledge), var(--btn-lift); }
.pill--fill:hover, .subscribe-row button:hover { background: var(--accent-hover); color: #fff; transform: none; box-shadow: 0 3px 0 var(--accent-ledge), var(--btn-lift); }
.pill--fill:active, .subscribe-row button:active { transform: translateY(3px); box-shadow: 0 0 0 var(--accent-ledge); }
.pill--ghost, .hero-card .pill--ghost:not(:hover) { background: var(--card); color: var(--ink); border: 0; box-shadow: inset 0 0 0 1.5px var(--input), 0 1.5px 0 var(--input); }
.pill--ghost:hover { background: var(--card); color: var(--accent); transform: none; box-shadow: inset 0 0 0 1.5px var(--accent-edge), 0 1.5px 0 var(--accent-edge); }
.pill--ghost:active { transform: translateY(1.5px); box-shadow: inset 0 0 0 1.5px var(--input), 0 0 0 var(--input); }
.pill--light { background: #fff; color: var(--ink); box-shadow: 0 3px 0 #A6DDD6, var(--btn-lift-deep); }
.pill--light:hover { background: #E6F5F2; color: var(--ink); transform: none; }
.pill--light:active { transform: translateY(3px); box-shadow: 0 0 0 #A6DDD6; }
.subscribe-row button:disabled, .pill:disabled { opacity: 0.6; cursor: default; transform: none; }
@media (max-width: 520px) { .hero-actions .pill { width: 100%; } }
/* the research page's deep band takes the deep-band buttons of #start above */
.cta-band .btn--fill, .cta-band .pill--light { background: #fff; color: var(--ink); box-shadow: 0 3px 0 #A6DDD6, var(--btn-lift-deep); }
.cta-band .btn--outline, .cta-band .pill--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85), 0 1.5px 0 rgba(255, 255, 255, 0.35); }
.cta-band .btn--outline:hover, .cta-band .pill--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* an article's table frame: white on the card's rule (its corner: section 1 below) */
.legal-content .table-wrap { background: var(--card); border: 1px solid var(--rule-card); box-shadow: none; }
.post-link:hover, .start-here li a:hover, .related-list a:hover { box-shadow: none; border-color: var(--accent-edge); }
/* a list of questions (/ime/ and /ime/faq/) is one ruled list in one card (the card rule above; the owner's message 55:
   the ruled list, and message 61, item 3: one design for every list of questions): no padding above and below, its
   rows carry it; a 1 px line between the rows, each row 12 above and below (ruled-row padding, message 47) */
.faq { display: grid; gap: 0; padding-block: 0; }
.faq details { padding: var(--pad-row) 0; margin: 0; }
.faq details + details { border-top: 1px solid var(--line); }
.faq details p { color: var(--ink); }
/* Inter has no italic file, so the browser slants the upright: the slanted last letter ran into the next word
   ("empty setinstead"); a tenth of an em after the slant keeps the space */
main :is(em, i, cite) { padding-right: 0.1em; }
/* text in a card wraps plainly, to the card's full width (v2.css rule, tools/check-layout.py card-text): the cards
   this file makes need it too */
:is(.hero-card, .pr-plan, .pr-answer, .pr-more, .faq details, .post-link, .start-here li, .related-list li,
    .contact-form, .contact-aside-card, .form-success, .spec-list li) :is(p, li, dd, dt, figcaption) { text-wrap: wrap; }
/* a card or a section heading never runs past its box: a long word breaks inside it */
:is(h1, h2, h3, h4, .cl-row, .post-link, .related-title, .start-here li strong, .ref-list li) { overflow-wrap: break-word; }

/* ---- Forms (contact, subscribe): fields and the select with the 3 px corner (brand sheet v1.4), captions in the caption colour, errors in brown ---- */
input[type="text"], input[type="email"], input[type="search"], select, textarea, .select-trigger { border-radius: var(--r); border-color: var(--input); }
::placeholder { color: var(--caption); opacity: 1; }
.select-value.is-placeholder { color: var(--caption); }
.form-status[data-kind="error"], .subscribe-msg[data-kind="error"] { color: var(--error); }
.form-status[data-kind="pending"] { color: var(--caption); }
.filter-btn, .subscribe-topic span { font-family: var(--font-body); }

/* ---- Notes on a warm box and the article's end: the app's warm ground, ink text ---- */
.legal-callout, .article-note { background: var(--ground-warm); color: var(--ink); }
.legal-content code { font-size: 0.88em; color: var(--accent-deep); }

/* ---- Closed notes (24 Nov 2026): every closed note on the product pages has the home page's one style, moved here
   from ime/home2.css: the label in the display face and the accent, a chevron after it that turns when the note
   opens, an underline on hover, the edge ring on focus; an open note stands in a white card. The home page's notes
   (.sec-note) and its closing band's steps, the sample page's (.sc-note, .sc-docs, .sc-card-more: already in a card,
   so no second card) and the pricing page's (.pr-more). Each page keeps its notes' place, width and alignment.
   tools/check-sample-marks.py holds the list. ---- */
.sec-note > summary, .sc-note > summary, .sc-docs > summary, .sc-card-more > summary, .pr-more > summary,
#start .cta-steps > summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: var(--space-1);
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--accent);
  padding: var(--space-1) 0; border-radius: var(--r);
}
.sec-note > summary::-webkit-details-marker, .sc-note > summary::-webkit-details-marker,
.sc-docs > summary::-webkit-details-marker, .sc-card-more > summary::-webkit-details-marker,
.pr-more > summary::-webkit-details-marker, #start .cta-steps > summary::-webkit-details-marker { display: none; }
.sec-note > summary::after, .sc-note > summary::after, .sc-docs > summary::after, .sc-card-more > summary::after,
.pr-more > summary::after, #start .cta-steps > summary::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 150ms ease;
}
.sec-note[open] > summary::after, .sc-note[open] > summary::after, .sc-docs[open] > summary::after,
.sc-card-more[open] > summary::after, .pr-more[open] > summary::after,
#start .cta-steps[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.sec-note > summary:hover, .sc-note > summary:hover, .sc-docs > summary:hover, .sc-card-more > summary:hover,
.pr-more > summary:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.sec-note > summary:focus-visible, .sc-note > summary:focus-visible, .sc-docs > summary:focus-visible,
.sc-card-more > summary:focus-visible, .pr-more > summary:focus-visible { outline: 3px solid var(--accent-edge); outline-offset: 2px; }
.sec-note[open], .sc-note[open], .sc-docs[open], .pr-more[open] {
  background: var(--card); border: 1px solid var(--rule-card); border-radius: var(--r); box-shadow: none;
  padding: var(--space-1) var(--space-2) var(--space-2);
}
/* a note is help text: its text takes the small size of the type roles above (0.95rem), never larger than the page's
   lead or than the rows it explains (the owner's message 21 of 25 Nov 2026, item 8); the sample page's notes and
   cards take the same size in its own sheet */
:is(.sec-note, .pr-more, #start .cta-steps) :is(p, li, dd, dt) { font-size: var(--t-small); }
/* An ordered list in a closed note (release 7 addendum, 24 Nov 2026: the open "More about the four steps" looked
   plain): each step numbered in two digits in JetBrains Mono, in the deep teal (--accent-ledge #084946, 10.2:1 on the
   open note's white), like the section numbers; a 1 px rule between the steps and the same padding on each (the bold
   lead-in style, which no list used, was removed on review, 24 Nov 2026). A list whose items carry their own numbers in the markup (the closing band's sign-up steps, ol.steps) keeps its
   own style: a counter would print each number twice. These rules carry an element more than ime/home2.css's
   .how-more, which loads after this file. */
:is(.sec-note, .sc-note, .sc-docs, .sc-card-more, .pr-more) > ol:not(.steps) {
  list-style: none; counter-reset: note-step; margin: var(--space-0) 0 0; padding: 0; display: block;
}
:is(.sec-note, .sc-note, .sc-docs, .sc-card-more, .pr-more) > ol:not(.steps) > li {
  counter-increment: note-step; position: relative; max-width: none;
  margin: 0; padding: var(--space-2) 0 var(--space-2) 2.6em; border-top: 1px solid var(--line);
}
:is(.sec-note, .sc-note, .sc-docs, .sc-card-more, .pr-more) > ol:not(.steps) > li:first-child { border-top: 0; }
:is(.sec-note, .sc-note, .sc-docs, .sc-card-more, .pr-more) > ol:not(.steps) > li::before {
  content: counter(note-step, decimal-leading-zero); display: inline-block; width: 2.9em; margin-left: -2.9em; text-indent: 0;   /* inline: on the first line's baseline */
  font-family: var(--font-mono); font-weight: 600; font-size: 0.9em; letter-spacing: 0; font-variant-numeric: tabular-nums;
  color: var(--accent-ledge);
}

/* ============================================================
   Release 7, "paper and proof" (24 Nov 2026; brand sheet v1.2, section 4; the owner's decisions of 09:06).
   Every statement points to its proof: thin ruled lines in place of drop shadows, small corners, the page reference as
   an outlined stamp, section numbers and proof chips in JetBrains Mono. No word, colour, font role, mark or layout
   changes here. The tokens at the top carry the corners and the shadows; the rules below repeat them for the shapes
   the older stylesheets (v2.css, traced.css, home.css, sample.css, pricing.css, claims.css, incidents.css,
   agencies.css, sd.css) draw, so this file, loaded last, decides. The home page's own file (ime/home2.css) loads after
   this one and carries the same rules itself.
   The corner rule (brand sheet v1.4, 24 Nov 2026) replaces "controls keep their shape" for corners: every control
   (the sample viewer's tabs, step buttons and close button, the filter and topic buttons, the fields, the select, the
   share dialog's buttons, the header's links and buttons) takes the 3 px corner in its own stylesheet.
   ============================================================ */

/* ---- 1. Cards: the 3 px corner where an older stylesheet set its own (cards were 12 to 22 px) ---- */
.article-hero-art, .legal-callout, .article-note, .legal-content .table-wrap, .value-card .icon-tile, .sd .table-wrap,
.reuse blockquote { border-radius: var(--r); }   /* (a card's corner: the card rule) */
.cf-label, .hero2 .cf-label { border-radius: var(--r) var(--r) 0 0; }
.hero2 .cf { border-radius: 0 0 var(--r) var(--r); }
/* a ruled list in a card and a table frame stand on the card's rule too (a card takes it from the card rule) */
.cf, .sc-top .sc-rows, .sd .table-wrap { border-color: var(--rule-card); }
/* the chronology card on the sample page: a dark rule across its top, 2 px, ink, the same rule as the top of the
   printed chronology (the owner's order of 24 Nov 2026, 10:25). The card takes one pixel of its top margin for the
   rule's second pixel, so the rows do not move. The home page's sample card has the same rule (ime/home2.css). */
.sc-top .sc-rows { border-top: 2px solid var(--ink); margin-top: var(--space-2); }
/* a card no longer lifts on hover: its rule turns the teal edge instead (it had a shadow to lift on) */
.post-link:hover, .start-here li a:hover, .related-list a:hover, .insight-link:hover,
.featured-post:hover { transform: none; box-shadow: none; }
.insight-link:hover { border-color: var(--accent-edge); }
/* a 1 px rule where the ground changes: every part of main after the first starts on a new ground on every page (the
   hero on the page ground, then white, warm, deep or the ground again, in turn), so each takes the line at its top.
   The home page sets its own (ime/home2.css: the proof strip draws its rules itself) */
#main > :is(section, div) + :is(section, div) { border-top: 1px solid var(--line); }
/* what floats over the page is not a card and keeps its shadow */
.sc-viewer, .share-dialog { box-shadow: var(--shadow-float); }
.select-menu { box-shadow: var(--shadow-pop); }

/* ---- 2. Chips, marks and tags: 2 px corners, never a pill ---- */
.chip, .post-tag, .related-tag, .status-pill, .spec-status, .colophon-status, .cl-pill, .inc-pill, .cf-badge,
.cf-badge--flag, .sc-badge, .sc-badge--ai, .sc-badge--flag { border-radius: var(--r-chip); }
/* the pricing page's "Free trial" line was a pill: it is a note, so the 3 px corner (brand sheet v1.4) */
.pr-trial { border-radius: var(--r); }

/* ---- 3. The page reference stamp: JetBrains Mono on white, a 1 px teal border, 2 px corners (it was a filled
   soft-teal chip). Text in --accent-deep, 14.1:1 on white; the border --accent, 5.6:1 on white. One pixel less padding
   on each side keeps the stamp's size. On /ime/ the sample card's stamp is in ime/home2.css. ---- */
.cf-chip, .sc-ref {
  font-family: var(--font-mono); color: var(--accent-deep);
  background: var(--card); border: 1px solid var(--accent); border-radius: var(--r-chip);
}
.cf-chip { padding: 0 var(--space-1); }
.sc-ref { padding: 0 var(--space-0); }
.cf-chip:hover, .cf-chip:focus-visible { background: var(--accent); color: #fff; }

/* ---- 4. The lead rule (decision a): a 2 px teal rule at the left edge of a page's lead paragraph (the paragraph
   right after the h1, or the hero's .lede where the h1 and the lede each sit in their own block; an article's first
   paragraph), only where the lead is left-aligned and only at 700 px and
   wider. None on a centred lead: the pricing page's trial line, the one centred lead, is left out by name. ---- */
@media (min-width: 700px) {
  #main h1 + p:not(.pr-trial), .legal-hero .lede, .hero-card .lede, .legal-content .article-lead { border-left: 2px solid var(--accent); padding-left: var(--space-2); }
}

/* ---- 5. Section numbers (decision g): two digits in JetBrains Mono before each section label, in page order
   ("01 The problem"), only where a page has section labels: an eyebrow in a part of the page other than its first
   section (the first section is the page's hero, whose eyebrow names the page, not a section; on /ime/ the first
   child of main is home2.css's link, so "first section", not "first child"). The eyebrow's warm dot (v2.css draws
   its ::before as a 9 px dot) gives way to the number. The legal pages, docs and trust number their sections already
   (h2 data-no and the contents list): the same numbers, now in the mono face. ---- */
#main { counter-reset: sec; }
#main > :not(section:first-of-type) .eyebrow { counter-increment: sec; }
#main > :not(section:first-of-type) .eyebrow::before {
  content: counter(sec, decimal-leading-zero); font-family: var(--font-mono); font-weight: 600; letter-spacing: 0;
  font-variant-numeric: tabular-nums; margin-right: var(--space-1-5);
  width: auto; height: auto; background: none; border-radius: 0;
}
.legal-content h2[data-no]::before { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0; border-radius: var(--r-chip); }
.legal-toc ol a::before { font-family: var(--font-mono); font-weight: 600; }

/* ---- 6. Proof chips (decisions d and e): "Proven · how we checked" or "Partly · how we checked" beside a sentence
   that is a claims register row; it opens that row on /ime/claims/. tools/check-proof-chips.py holds the status, the
   link, the label and the sentence. Drawn as the page reference stamp (the owner's order of 24 Nov 2026, 10:25):
   white ground, a 1 px teal border, 2 px corners, text in --accent-deep (#0F3033, 14.1:1 on white; the border
   --accent, 5.6:1 on white). Proven and Partly look alike; the words say which. ---- */
.proof-chip {
  display: inline-block; margin-left: var(--space-0); padding: 0 var(--space-1); border: 1px solid var(--accent); border-radius: var(--r-chip);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; line-height: 1.6; letter-spacing: 0;
  text-decoration: none; white-space: nowrap; vertical-align: 1px;
  background: var(--card); color: var(--accent-deep);
}
.proof-chip--proven, .proof-chip--partly { background: var(--card); color: var(--accent-deep); border-color: var(--accent); }
.proof-chip:hover { text-decoration: underline; text-underline-offset: 2px; }
.proof-chip:focus-visible { outline: 3px solid var(--accent-edge); outline-offset: 2px; }
/* a status chip after a sentence, as the documentation's "Shipping" (the owner's message 45 of 25 Nov 2026, item 5):
   on a line of its own under its sentence, 8 px (one step of the spacing scale) under the last line, its left edge on
   the text's (tools/layout_rules.py, chip; the home page's proof chips: ime/home2.css) */
main p > .spec-status { display: flex; width: fit-content; margin-top: 8px; vertical-align: baseline; }

/* ---- Motion (G10): hover only, and nothing moves when the reader asks for less motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .btn:active { transform: none; }
}

/* ---- 7. Layout faults found on the live site (the owner's orders of 24 Nov 2026, 15:18, 15:19 and 15:20): CSS only,
   no words changed. tools/check-layout.py holds each rule (inset, follow, column, card-left, card-centre, overlap,
   rows). ---- */
/* The reading column: 34em of body text (.t2 sets 18 px at 390 and 19 px at 1440; 646 px at 1440), about 69
   characters a line measured at 1440 (the owner's order of 24 Nov 2026, 17:07 item 3f: 65 to 75; at 38em, 722 px,
   it was 77), and the side margin that centres a block on it inside a wider container (0 where the container is
   narrower). */
:root {
  --col: calc(34 * clamp(18px, 17.63px + 0.095vw, 19px));
  --to-col: max(0px, calc((100% - var(--col)) / 2));
  /* the margin that holds a block to the column at the frame's left edge (the owner's message 22 of 25 Nov 2026,
     item 9: one page frame, every page but an article starts at its left edge, as About does) */
  --off-col: max(0px, calc(100% - var(--col)));
}

/* 15:18 fault 1: a claims row keeps the same space at its right as at its left, at every width: it is a card, with the
   card's padding on every side (the card rule above) */

/* 15:18 fault 2: in a centred section, a card that holds only a title, a short line and a button is centred */
#who .who-cards li { justify-items: center; text-align: center; }   /* ime/home2.css loads after this sheet */

/* 15:18 fault 3: the insights list's subscribe box takes the full width of the list above it (blocks that follow each
   other in one column share their left and right edges); its field and button already fill the box */
.legal-body--featured .shell > .subscribe { max-width: none; margin-left: 0; margin-right: 0; }

/* 15:18 fault 4 and 15:19 item 1: text pages put one reading column on the page. The eyebrow, the title, the details
   row, the lead, the body and the blocks at the end of an article share it; a table, a diagram and a two-column grid
   keep the full content width, and so does the picture at the top of an article. An article keeps its column in the
   middle of the page; every other page sets it at the frame's left edge (the owner's message 22 of 25 Nov 2026, item
   9: "one site, one frame"; tools/check-layout.py frame). */
/* articles */
main:has(> .article-body) .research-hero .shell > :not(.article-hero-art),
main:has(> .article-body) .article-shell > :not(.legal-content, dialog),
main:has(> .article-body) .article-shell > .legal-content > :not(figure, .table-wrap) { max-width: none; margin-left: var(--to-col); margin-right: var(--to-col); }
main:has(> .article-body) .article-shell > .article-back { display: flex; width: fit-content; }
/* the legal pages, the documentation and the trust page, built the same way (the trust page takes the same column,
   17:07 item 3e); their sections go in the column whole, so the rule between two sections spans the column, not the
   page */
main:has(.legal-shell--wide) .legal-hero .shell > *,
main:has(.legal-shell--wide) .legal-shell--wide > :is(.legal-toc, .legal-callout),
main:has(.legal-shell--wide) .legal-content > :not(figure, .table-wrap) { max-width: none; margin-left: 0; margin-right: var(--off-col); }
/* the contents list in the column: one entry a row (in the 34em column, two a row left "Our commitment under the
   Privacy Act" wider than its half; 17:07 item 3f) */
main:has(.legal-shell--wide) .legal-shell--wide .legal-toc ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
/* the FAQ, the agencies page, the service description and the vendor pack: every block of the page's column; on the
   agencies page the two grids too, so the left edge does not move between a heading and the grid under it (17:07
   item 3d) */
#faq-all .wrap > *,
#main > .ag .wrap > *,
.sd .sd-wrap > :not(.table-wrap),
.pk .pk-wrap > * { max-width: none; margin-left: 0; margin-right: var(--off-col); }
/* the service description's tables keep their width (860 px), at the frame's left edge: wider than the column, so
   their cells do not run long (the table check), and not the full width, so the text beside them uses enough of it
   (the notes check); its closing note, set smaller, still spans the column */
.sd .sd-wrap > .table-wrap { margin-left: 0; margin-right: auto; }
.sd .sd-wrap > .sd-foot { max-width: none; }
.pk .pk-wrap > .pk-contents { max-width: none; }   /* the column's width, as the text above it (message 20, item 2) */
/* About: the column and the founder photo beside it, as one group at the frame's left edge (message 22, item 9) */
@media (min-width: 820px) { .about-page { justify-content: start; } }

/* 15:19 item 2: a related-article label on one line, in a box as wide as its words */
.related-tag { white-space: nowrap; }
.related-list a { grid-template-columns: minmax(9.5rem, max-content) minmax(0, 1fr); }

/* 15:19 item 3 and 15:20: the footer. Each column is at least as wide as its widest item, so no item runs into the
   next column; a PDF chip does not change the height of its row; the legal links sit beside the company line, or
   under it at the left edge where they do not fit; with the claims link gone from under the logo, the logo block is
   as far from the columns as the columns are from the bottom line. */
@media (min-width: 821px) { .colophon-grid { grid-template-columns: repeat(4, minmax(max-content, 1fr)); } }
/* the letters in the middle of the tag both ways (the owner's message 107 of 29 Nov 2026; tools/check-labels.py): 2 px
   above and below (exact values: the line is as tall as the type, whose capitals stand in its middle), and the right
   side less the 0.08em of letter spacing that follows the last letter */
:is(.colophon, .ag-docs) .tag { line-height: 1; padding: 2px calc(var(--space-0) - 0.08em) 2px var(--space-0); vertical-align: baseline; position: relative; top: -1px; }
.colophon-legal { margin-left: 0; }
.colophon-top { padding-bottom: 0; border-bottom: 0; }
.colophon .colophon-tagline { margin-bottom: 0; }   /* .pg p gave it 16 px */

/* ---- 8. The changelog and the incident log as a ruled chronology (the owner's order of 24 Nov 2026, 16:09), in the
   sample chronology's signature: a white list on the card's rule, a 2 px ink rule across its top, 3 px corners; each
   row the date at the left in the deep teal (--accent-ledge #084946) and bold, a thin teal rule (--accent #0F756D) at
   the right edge of the date column, the text to its right. The page's column, the list included, sits in the middle
   of the page, as wide as the reading column. An incident is a row: its date, then its title (a card title, section
   1), its mark and What happened, Effect and Fix, one under another. On a phone the date sits on its own line above
   the text. ---- */
#changelog .wrap > *, #incidents .wrap > * { max-width: none; margin-left: 0; margin-right: var(--off-col); }
#changelog .steps, #incidents .inc-timeline {
  background: var(--card); border: 1px solid var(--rule-card); border-top: 2px solid var(--ink); border-radius: var(--r);
  padding: 0 var(--space-2);
}
#changelog .steps::before, #incidents .inc-timeline::before { display: none; }
#changelog .steps > li + li, #incidents .inc-item + .inc-item { border-top: 1px solid var(--line); }
#changelog .steps > li > .t, #incidents .inc-date .t {
  font-family: var(--font-body); font-size: 1em; font-weight: 700; letter-spacing: normal; color: var(--accent-ledge);
  white-space: nowrap;   /* a date on one line */
}
/* the changelog: one grid, the date column as narrow as the page's longest date allows, so the words get the width
   (17:07 item 3b; it was 13em); the rule runs the full height of the row */
#changelog .steps { grid-template-columns: max-content minmax(0, 1fr); column-gap: var(--space-2); }
#changelog .steps > li { margin: 0; padding: var(--pad-inset) 0; align-items: start; }   /* a row of a card: the inset rule's 16 */
#changelog .steps > li::before { display: none; }
#changelog .steps > li > .t { align-self: stretch; margin: calc(var(--space-2) * -1) 0; padding: var(--pad-inset) var(--space-2) var(--pad-inset) 0; border-right: 1px solid var(--accent); }
/* the incident log: the same columns, one grid for the whole list (each entry takes its columns from it), so the date
   column is as narrow as the longest date, "9 to 10 Nov 2026"; the card gives way to the row */
#incidents .inc-item + .inc-item { margin-top: 0; }
#incidents .inc-timeline { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: var(--space-2); }
#incidents .inc-item, #incidents .inc { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
#incidents .inc { column-gap: var(--space-2); align-items: stretch; }
#incidents .inc-date { text-align: left; margin: 0; padding: var(--pad-inset) var(--space-2) var(--pad-inset) 0; border-right: 1px solid var(--accent); }   /* a row of a card: the inset rule's 16 */
#incidents .inc-date::after { display: none; }
#incidents .inc-card { padding: var(--pad-inset) 0; }
#incidents .inc-lines { grid-template-columns: minmax(0, 1fr); }
#incidents .inc-lines > div:first-child { grid-row: auto; }
@media (max-width: 640px) {
  #changelog .steps, #changelog .steps > li { display: block; }
  #changelog .steps > li > .t { display: block; margin: 0 0 var(--space-0); padding: 0; border-right: 0; }
  #incidents .inc-timeline, #incidents .inc-item { display: block; }
  #incidents .inc { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-left: 0; }
  #incidents .inc-date { border-right: 0; padding: var(--pad-inset) 0 0; }
  #incidents .inc-card { padding: var(--space-0) 0 var(--pad-inset); }
}

/* ---- 9. The owner's order of 24 Nov 2026, 17:07 (items 2a and 3b to 3f): CSS only, no words changed. ---- */
/* 2a: the claims pill column as wide as the longest pill, "Proven on synthetic briefs" (it ran under the claim's
   words from 641 px up); every row the same, so the claims start on one line down the page */
@media (min-width: 641px) { .cl-row { grid-template-columns: 13.5rem minmax(0, 40rem); } }
/* 3d: the agencies page's two grids, now in the reading column, set one block under another, as the rest of the
   column (two columns of 307 px left a statement 3 words a line) */
.t2 #main > .ag :is(.ag-cols, .reuse-grid) { grid-template-columns: minmax(0, 1fr); row-gap: var(--gap-section); }   /* between sections */
.t2 #main > .ag .reuse-grid { row-gap: var(--space-2); }   /* between cards 16 (message 47, item 2) */
/* 3e: the trust page's tables and its two-column notes keep the full content width, from the frame's left edge, as a
   table does on the other text pages (its sections, which hold them, are in the column; 100cqw is the content's width) */
main:has(.trust-cta) .legal-content { container-type: inline-size; }
main:has(.trust-cta) .legal-content > section > :is(.table-wrap, .notes-2) {
  max-width: none; margin-left: 0; margin-right: calc(100% - 100cqw);
}
/* 2a: a code chip in running text keeps a space from the words beside it */
.legal-content code { margin: 0 var(--space-0); }
/* 3c: the footer. The gap from the logo to the line under it is 12 px on every page (it was 0 on the pages built
   from tools/pages/ and 18 px on the others); on a phone the four columns keep the desktop order, two a row:
   Product, Trust, then Learn, Company; below 420 px, where "Vendor assessment pack PDF" cannot share a row, one
   column in the same order.
   The line under the logo is one width on every page (the owner's order, relay of 24 Nov 2026, 21:20, item 8): it was
   38em on the product pages (.t2 p) and 44ch on the articles and company pages, so it wrapped differently. This is
   its only width rule (two classes, so it outranks .t2 p and main p); tools/check-layout.py holds it equal. */
.colophon .colophon-tagline { margin-top: var(--space-1-5); max-width: 38em; }
@media (max-width: 640px) {
  .colophon-grid { grid-template-areas: "product trust" "learn company"; }
  .colophon-col:nth-child(3) { grid-area: learn; }
  .colophon-col:nth-child(4) { grid-area: company; }
}
@media (max-width: 419px) {
  .colophon-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "product" "trust" "learn" "company"; }
}
/* from 420 to 479 px the two columns are narrower than the longest links ("Service description for agencies",
   "Vendor assessment pack PDF"), which ran past the screen: there a footer link wraps (the owner's message 74 of
   26 Nov 2026); tools/layout_sideways.py holds the footer and every page inside the screen at 430 */
@media (min-width: 420px) and (max-width: 479.98px) { .colophon-col a { white-space: normal; } }
/* a PDF tag never stands alone on a line: it stays with the last word of its link (the owner's message 79 of 27 Nov
   2026, fix (b)); tools/layout_sideways.py fails a footer tag that starts a line. An inline block, not an inline span:
   Chromium gives a link two boxes on one line where an inline child changes white-space, which the wrap rule of
   tools/check-layout.py reads as a link on two lines */
.colophon .tag-keep { display: inline-block; white-space: nowrap; }

/* ---- 10. Text widths (the owner's message 20 of 25 Nov 2026, items 1 and 2): text in a card runs to the card's
   padding, with no narrower limit of its own; text outside a card has one width, the lead's, the reading column
   (--col; v2.css and traced.css hold it). These cards held their text to the old 38em measure, or to the column,
   inside a wider card. tools/check-layout.py text-width holds both. ---- */
:is(.pr-answer, .calc, .cta2, .cl-tools, .cl-row, .about-company, .contact-aside-card, .legal-callout, .share, .who-cards li,
    .value-card, .reuse, .sc-card, .sc-note, .sc-short-about) :is(p, li, dd, dt, figcaption) { max-width: none; }
