/* mix.tools: one static page, no JavaScript, no build step.
   Design: sites/mixtools-plan.md sections 3 and 4 (agent-drafted, PROPOSED, 2026-10-16).
   Colour: #000 on #fff, #595959 for the footer, one accent #C00000 for section numbers,
   the email button and link hover. Contrast on white (WCAG relative luminance):
   #000 21.0:1, #595959 7.0:1, #C00000 6.48:1; white on #C00000 6.48:1. No dark mode.
   Font: Archivo (Omnibus-Type), SIL Open Font License 1.1, fonts/OFL.txt. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/archivo-700-latin.woff2") format("woff2");
}

:root {
  --ink: #000000;
  --paper: #ffffff;
  --muted: #595959;
  --accent: #c00000;
  --gap-bg: #fff1a8; /* placeholders only; black on it is 18.4:1. Never ships: every gap is Ivan's to fill. */
  --rule: 2px solid var(--ink);
  --rail: 64px;
  --measure: 684px;
  --gutter: 16px;
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 28px;
  overflow-wrap: break-word;
}

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
/* The skip link focuses <main tabindex="-1">; the region itself needs no outline. */
main:focus { outline: none; }

.skip {
  position: absolute; left: var(--gutter); top: -200px;
  background: var(--paper); color: var(--ink); padding: 8px 12px; border: var(--rule); z-index: 10;
}
.skip:focus { top: 8px; }

/* Grid: 4 px base; a 64 px rail for the section number, then a text column capped at 684 px. */
.wrap { max-width: calc(var(--rail) + var(--measure) + 2 * 32px); margin: 0 auto; padding: 0 32px; }
.row { display: grid; grid-template-columns: var(--rail) minmax(0, var(--measure)); }
.row > .rail { border-right: var(--rule); padding-top: 4px; }
.row > .col { padding-left: 24px; min-width: 0; }
.band { border-top: var(--rule); }

header.site { border-bottom: var(--rule); }
header.site .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.name { font-weight: 700; text-decoration: none; }

.hero { padding: 64px 32px; }
h1 {
  font-size: 80px; line-height: 80px; font-weight: 700;
  letter-spacing: -0.05em; margin: 0 0 32px;
}
.lede { font-size: 27px; line-height: 36px; margin: 0 0 32px; }

.button {
  display: inline-block; background: var(--accent); color: var(--paper);
  font-weight: 700; font-size: 19px; line-height: 24px; padding: 16px 24px;
  text-decoration: none; border: 2px solid var(--accent);
}
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

section { padding: 48px 0; }
.num { font-family: var(--mono); font-size: 16px; line-height: 32px; color: var(--accent); font-weight: 700; }
h2 { font-size: 27px; line-height: 32px; font-weight: 700; margin: 0 0 20px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin-bottom: 12px; }
li::marker { font-weight: 700; }

/* "What it does not promise" is set as large as the offer's heading. */
.limits li { font-size: 27px; line-height: 36px; }
.limits ul { padding-left: 28px; }

.cta-repeat { padding: 48px 32px; }

/* Bracketed gaps: visibly marked so Ivan sees what to fill, keep or cut (plan section 3). */
mark.gap {
  background: var(--gap-bg); color: var(--ink);
  font-family: var(--mono); font-size: 16px; line-height: 24px;
  outline: 1px dashed var(--ink); outline-offset: 1px; padding: 0 2px;
}
.button mark.gap { font-size: 16px; }

.address { font-size: 27px; line-height: 36px; font-weight: 700; }

footer { border-top: var(--rule); padding: 24px 0 48px; color: var(--muted); font-size: 16px; line-height: 24px; }
footer p { margin: 0; }
.version { font-family: var(--mono); }

/* One breakpoint, 768 px: the number moves above the heading; 16 px side gutters.
   Section headings, body and footer keep their desktop sizes (plan section 3). */
@media (max-width: 767px) {
  .wrap, .hero, .cta-repeat { padding-left: var(--gutter); padding-right: var(--gutter); }
  .row { display: block; }
  .row > .rail { border-right: 0; padding-top: 0; }
  .row > .col { padding-left: 0; }
  .hero { padding-top: 40px; padding-bottom: 40px; }
  h1 { font-size: 48px; line-height: 52px; margin-bottom: 24px; }
  section { padding: 40px 0; }
  .button { display: block; text-align: center; }
}
