/**
 * Styling for the server-rendered pages — currently just /contract.
 *
 * A separate, tiny stylesheet rather than a reuse of shell.css, because that
 * one lays out a CRT, a disk tray and a drive, none of which exist here. This
 * page has one job: be readable, be plainly the same project, and load with no
 * JavaScript at all.
 */

:root {
  --green: #7cfc9b;
  --green-dim: #3ea75c;
  --amber: #ffb454;
  --room: #0a0b09;
  --ink: #cfd4d0;
  --ink-dim: #8a9a8f;
  --rule: #1e2a20;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 3rem 1.5rem 5rem;
  background: var(--room);
  color: var(--ink);
  font: 16px/1.65 ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 46rem;
  margin: 0 auto;
}

h1 {
  margin: 0 0 1.5rem;
  color: var(--green);
  font-size: clamp(1.4rem, 5vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h2 {
  margin: 2.5rem 0 0.75rem;
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

p { margin: 0 0 1.1rem; }

/*
 * The address itself. It wraps rather than scrolls, because someone reading
 * this on a phone is usually here to compare it character by character against
 * one they were sent — and a value they have to scroll is a value they skim.
 */
.ca {
  margin: 0 0 1.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--green-dim);
  border-radius: 4px;
  background: #08110a;
  color: var(--green);
  font-size: clamp(0.85rem, 3.4vw, 1.15rem);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  user-select: all;
}

ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.5rem; }

code {
  padding: 0.1em 0.35em;
  border-radius: 3px;
  background: #111a13;
  color: var(--ink-dim);
  overflow-wrap: anywhere;
}

a { color: var(--green); text-decoration-color: var(--green-dim); }
a:hover, a:focus-visible { color: #fff; }

.back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-dim);
}
