/* Modernist tokens. Names match the prototype (var(--color-accent) etc.); the design
   system's own stylesheet was not in the handoff, so values are the ones the spec states:
   flat, zero radius, 2px rules, one petrol-teal accent (D-28), Archivo throughout. */
:root {
  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --color-accent: #0f6260;
  --color-bg: #ffffff;
  --color-text: #141414;
  --color-divider: #141414;
  --color-muted: #5a5a5a;
  --rule: 2px solid var(--color-divider);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; margin: 0 0 16px; }
h1 { font-size: 2rem; }
a { color: var(--color-accent); }

.banner {
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
}
.masthead { border-bottom: var(--rule); padding: 16px; }
.masthead__brand { font-family: var(--font-heading); font-weight: 800; font-size: 1.125rem; color: var(--color-text); text-decoration: none; }
.masthead__brand span { color: var(--color-accent); }
.page { max-width: 640px; margin: 0 auto; padding: 32px 16px 48px; }
.lede { font-size: 1.125rem; color: var(--color-muted); max-width: 52ch; }
.footer { border-top: var(--rule); padding: 16px; display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted); }

/* forms & tables (staff tooling) */
.form { display: grid; gap: 16px; max-width: 420px; margin: 24px 0; }
.form--inline { margin: 8px 0 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input { font: inherit; font-size: 16px; padding: 12px; border: 2px solid var(--color-divider); border-radius: 0; min-height: 48px; }
.form button, button { font: inherit; font-weight: 600; min-height: 48px; padding: 0 20px; background: var(--color-accent); color: #fff; border: 0; border-radius: 0; cursor: pointer; }
.notice { border-left: 4px solid var(--color-accent); padding: 8px 12px; background: #f2f2f2; }
.notice--error { border-left-color: #a12a2a; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 8px; border-bottom: 1px solid #ccc; vertical-align: top; }
.table th { border-bottom: var(--rule); }
.state--sent, .state--caught { color: var(--color-accent); font-weight: 600; }
.state--failed { color: #a12a2a; font-weight: 600; }
