/* OTM — main.css */

@font-face {
  font-family: "IBM 3270";
  src: url("../fonts/ibm-3270.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  background: #F2E0C0;
  color: #FF4500;
  font-family: "IBM 3270", ui-monospace, "Cascadia Code", "Source Code Pro",
               Menlo, Consolas, "DejaVu Sans Mono", monospace;
  font-size: clamp(8px, 1.4vw, 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}

main.source-view {
  white-space: pre;
  line-height: 1.6;
  padding: 1em;
  max-width: 100vw;
  overflow: hidden;
}

/* Structural markup — recedes into background */
.dim {
  color: #2A2420;
}

/* Human-meaningful content — full accent brightness */
.bright {
  color: #FF4500;
}

/* h1 resets so it displays inline within source lines */
h1 {
  display: inline;
  font-size: inherit;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

/* Links: bright, no underline by default */
a {
  color: #FF4500;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #FF4500;
  outline-offset: 2px;
}
