/* SimulFactory — newspaper editorial system (shared with the safecalcs family)
   paper + hairlines + short declaratives. No shadows, no gradients, no pills,
   no left-accent callout boxes. */

:root {
  --paper: #fbfaf7;
  --ink: #1a1a1a;
  --ink-soft: #4a4640;
  --hair: #dcd7cd;
  --hair-strong: #1a1a1a;
  --accent: #193c3e;      /* logo handle teal */
  --accent-warm: #733e39; /* logo rock brown */
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: #efece5; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

.sheet {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 48px;
  background: var(--paper);
  border-left: 1px solid var(--hair);
  border-right: 1px solid var(--hair);
  min-height: 100vh;
}

/* ---------- masthead ---------- */

.masthead { padding: 28px 0 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  display: block;
}

.wordmark {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.mast-sub {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 14px 0 0;
  padding: 6px 0 10px;
  border-top: 3px solid var(--hair-strong);
  border-bottom: 1px solid var(--hair-strong);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- body type ---------- */

main { padding-top: 8px; }

.lede-block { padding: 36px 0 30px; border-bottom: 1px solid var(--hair); }

h1 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.22;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}

.lede {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 14px;
}

.byline {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

section { padding: 30px 0; border-bottom: 1px solid var(--hair); }
section:last-of-type { border-bottom: none; }

h2 {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

p { margin: 0 0 14px; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- principles list ---------- */

.principles ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pr;
}

.principles li {
  counter-increment: pr;
  padding: 14px 0 14px 40px;
  border-top: 1px solid var(--hair);
  position: relative;
  max-width: 62ch;
}

.principles li:last-child { border-bottom: 1px solid var(--hair); }

.principles li::before {
  content: counter(pr, upper-roman) ".";
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent-warm);
}

.principles strong { font-family: var(--serif); }

/* ---------- footer ---------- */

.fine {
  margin-top: 40px;
  padding-top: 14px;
  border-top: 3px solid var(--hair-strong);
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- responsive ---------- */

@media (max-width: 560px) {
  .wordmark { font-size: 24px; }
  h1 { font-size: 28px; }
  .lede { font-size: 18px; }
  .mast-sub { font-size: 11px; }
}
