@layer page {
  /* Site-wide Input UI font (app/assets/fonts/). Used here for the monospaced hero. */
  @font-face {
    font-family: "InputMonoWeb";
    src: url("Input.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    /* Input VF: select the monospace, no-serif variant at regular weight. */
    font-variation-settings: "MONO" 1, "SRIF" 0, "wdth" 100, "wght" 400, "slnt" 0;
  }
  @font-face {
    font-family: "InputMonoWeb";
    src: url("Input.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    /* Input VF: monospace, no-serif variant at bold weight. */
    font-variation-settings: "MONO" 1, "SRIF" 0, "wdth" 100, "wght" 700, "slnt" 0;
  }

  .wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 61rem;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
  }

  section {
    border-top: 0.5px solid #e8e8e8;
    border-bottom: 0.5px solid #e8e8e8;
    clear: both;
    overflow: hidden;
    padding-top: 2.5em;
    padding-bottom: 2.5em;
  }

  h2 {
    font-family: InputMonoWeb;
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1.2em;
    margin: 2rem 0;
  }

  #story p {
    line-height: 1.6em;
  }

  /* Hero — monospaced lines that scale to fill the column width. */
  #opening {
    font-family: InputMonoWeb;
  }
  #opening a {
    color: inherit;
    text-decoration: none;
  }

  .size-to-width {
    margin-left: auto;
    margin-right: -0.5em;
    margin-top: 0.1em;
    white-space: nowrap;
  }
  .size-to-width:hover {
    font-weight: 700;
  }
  .size-to-width:hover a,
  .size-to-width:hover span {
    text-transform: uppercase;
  }

  /* Green divider bars with the centered CTA row. */
  .line {
    background: #b4d931;
    font-size: 1.2em;
  }
  .line .try-buy-pdf {
    margin-top: 3rem;
    text-align: center;
  }

  .try-buy-pdf a.button,
  .line .try-buy-pdf input.button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #000;
    border: 1px solid #000;
    color: #b4d931;
    cursor: pointer;
    display: inline-block;
    font-family: InputMonoWeb;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin: 1em 0.5em;
    outline: 0;
    padding: 0.5em 1em;
    text-transform: uppercase;
  }
  .try-buy-pdf a.button:hover,
  .try-buy-pdf a.button:focus {
    background: #b4d931;
    color: #000;
  }

  figure {
    margin: 0;
  }
  img.fill {
    width: 100%;
    height: auto;
  }
  #story img,
  #system-font img {
    width: 100%;
    height: auto;
  }

  figcaption {
    color: #b4d931;
    font-size: 80%;
    font-style: italic;
    padding: 1em 0;
  }
}
