/* Inner pages (guides, tools, features, MCP, pricing, legal): maps the old colour chapters onto the
   2026-11-27 palette so they sit beside the home page. Loaded after styles.css, pages.css and each
   page's own sheet, and before site.css, which brings the shared nav and footer.
   Old chapter -> new field:  red -> night,  maroon -> night-2,  slate -> night-3,
   mustard -> warm paper,  bone -> paper-2. The red itself is kept for the mascot and small marks. */

:root {
  --bg: #f4f4f2;
  --surface: #eaeae7;
  --surface-2: #dfdfdb;
  --ink: #111012;
  --muted: #605b63;
  --accent: #111012;
  --accent-ink: #ffffff;
  --red: #141316;
  --maroon: #1f1e23;
  --slate: #2a282e;
  --mustard: #e4e4e0;
  --bone: #eaeae7;
  --ground: var(--bg);
  --ui-ground: #f4f4f2;
  --ui-text: #111012;
  --ui-muted: #605b63;
  --ui-tint: #fbe3e5;
  --ui-tint-ink: #a3121e;
  --font-display: 'General Sans', ui-sans-serif, system-ui, sans-serif;
  --font-text: 'General Sans', ui-sans-serif, system-ui, sans-serif;
}

body { background: var(--bg); color: var(--ink); }
h1, h2, h3, .display, .poster-name, .notice-title, .draft-title, .month-name { font-weight: 600; }
.head, .display, .field h1, .field .giant { letter-spacing: -0.03em; line-height: 0.95; }

/* The old field headers only held the nav; the nav now sits on the paper above the field. */
.field-top, .pricing-top { display: contents; }

/* Buttons match the home page: fully round, flat. */
.button { border-radius: 999px; background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .button:hover { background: #3b383e; } }

.pricing .button, .pricing-full .button { border-radius: 999px; }

/* Product pictures keep square-ish corners like the home page window. */
.strip img, .poster img, .offer-slides img { border-radius: 10px; }

/* Headline lines that waited for the old home page's animation script, which inner pages do not load. */
.js .lines [data-line] { transform: none !important; opacity: 1 !important; }
.pricing .ink-dark, .pricing-full .ink-dark { color: inherit; }

/* Every .button centres its label, whatever display a container gives links. */
.page a.button, a.button, .toc-try .button { display: inline-flex; align-items: center; justify-content: center; line-height: 1.1; }
.toc-try .button { display: flex; }

/* MCP hero sits on paper (mcp.css), so its text is ink even though the page's field is "ink". */
.mcp-field { --fk: #111012; --fk-muted: #605b63; --fb: #111012; --fbk: #fff; --fb-hover: #3b383e; color: #111012; }
.page .mcp-field .field-sub, .page .mcp-field h1, .page .mcp-field .field-note { color: #111012; }

/* Tile headings: wide enough to stay on two lines. */
.tool-poster h2 { max-width: 16ch; }
.format h2, .format-text h2, .made h2, .fp h2 { max-width: 16ch; }
