@font-face {
  font-family: "Martian Mono";
  src: url("/fonts/martianmono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Martian Mono";
  src: url("/fonts/martianmono-latin-ext.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --tx-black: #06070a;
  --tx-screen: #0c0f15;
  --tx-white: #eaf2f5;
  --tx-yellow: #ffe500;
  --tx-cyan: #37e6f0;
  --tx-green: #4ee07a;
  --tx-red: #ff4b3e;
  --tx-blue: #1b3fd8;
  --tx-magenta: #e46bff;
  --tx-dim: #7c8f99;
  --tx-rule: #1e2833;
  --tx-inset: #05060a;

  --cols: 30;
  --adv: 0.7;
  --gutter: 0.75rem;
  --fs: clamp(0.8125rem, calc((100vw - 2.75rem) / (var(--cols) * var(--adv))), 1.25rem);
  --cell: calc(var(--fs) * var(--adv));
  --row: calc(var(--cell) * 1.75);
  --page: calc(var(--cell) * var(--cols));
  --measure: min(calc(var(--cell) * 54), 100%);

  --font:
    "Martian Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 22.5rem) {
  :root {
    --cols: 34;
  }
}

@media (min-width: 34rem) {
  :root {
    --cols: 46;
  }
}

@media (min-width: 52rem) {
  :root {
    --cols: 64;
  }
}
