  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: #fff;
    color: #000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.6;
  }
  main {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 20px 80px;
  }
  .site {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-bottom: 3px solid #000;
    padding-bottom: 10px;
    margin-bottom: 36px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  .site a { color: #000; text-decoration: none; }
  .site nav a { margin-left: 14px; }
  .site nav a:hover { text-decoration: underline; }
  h1 {
    font-size: 52px;
    line-height: 1.1;
    margin: 0 0 6px;
  }
  .meta { margin: 0 0 28px; }
  .pos { font-style: italic; font-weight: bold; }
  h2 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    padding-bottom: 6px;
    margin: 40px 0 14px;
  }
  ol { margin: 0; padding-left: 28px; }
  li { margin-bottom: 14px; padding-left: 6px; }
  li::marker { font-weight: bold; }
  .label { font-style: italic; }
  p { margin: 0 0 14px; }
  blockquote {
    margin: 0 0 14px;
    padding-left: 16px;
    border-left: 2px solid #000;
    font-style: italic;
  }
  .note { font-size: 15px; }

  /* interactive bits */
  .grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 14px;
  }
  .grid label {
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  input[type=number] {
    width: 100%;
    font: inherit;
    padding: 8px;
    border: 1px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    -moz-appearance: textfield;
  }
  input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
  button {
    font: inherit;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 18px;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    cursor: pointer;
    border-radius: 0;
  }
  button:hover { background: #000; color: #fff; }
  button.primary { background: #000; color: #fff; }
  button.primary:hover { background: #fff; color: #000; }
  button:disabled { opacity: 0.4; cursor: default; }
  .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .result {
    border: 1px solid #000;
    padding: 16px 18px;
    margin-top: 18px;
  }
  .verdict { font-size: 26px; font-weight: bold; line-height: 1.2; margin: 0 0 6px; }
  .statline { font-size: 30px; font-weight: bold; margin: 8px 0 14px; }
  .small { font-family: Helvetica, Arial, sans-serif; font-size: 13px; }
  .proclaim { font-size: 22px; font-style: italic; margin-top: 18px; }
  .hidden { display: none; }
  .err { font-style: italic; }
  @media (max-width: 480px) {
    body { font-size: 17px; }
    main { padding-top: 32px; }
    h1 { font-size: 40px; }
    .grid { grid-template-columns: repeat(3, 1fr); }
    .statline { font-size: 24px; }
  }
