/* A second layer over styles.css: type and furniture in the manner of NeXT's print and of
   NEXTSTEP's screens, circa 1990. Black, white and one mid gray; Helvetica set bold and tight
   for everything that is not running copy; windows with black title bars; buttons with a
   bevel and a return mark; four small squares of color and nowhere else.

   It borrows manners, not marks: no cube, no logo, no wordmark of theirs.
   Delete this file and its <link> and the page is as it was. */

:root {
  --paper: #ffffff;
  --paper-sunk: #dcdcdc;
  --ink: #000000;
  --ink-2: #262626;
  --ink-3: #595959;
  --line: #b9b9b9;
  --line-strong: #000000;
  --accent: #000000;
  --sans: "Helvetica Neue", Helvetica, "Nimbus Sans", "Liberation Sans", Arial, sans-serif;
  --bevel-light: #ffffff;
  --bevel-dark: #7d7d7d;
  --c1: #e2452c;
  --c2: #f0b400;
  --c3: #2a9d4b;
  --c4: #b5309a;
}

body { background: var(--paper); }
a { color: var(--ink); }

/* ---------------------------------------------------------------- the black band */
.band { background: #000; color: #fff; }
.band a:focus-visible, .band .button:focus-visible { outline-color: #fff; }
.band .masthead::after { border-bottom: 1px solid #4a4a4a; }
.band .wordmark { color: #fff; }
.band .masthead nav a { color: #b9b9b9; }
.band .masthead nav a:hover { color: #fff; }
.band .masthead nav .masthead-cta { color: #fff; }
.band .deck { color: #cfcfcf; }
.band .deck a, .band .hero-action a:not(.button) { color: #fff; }
.band-hero { padding-bottom: clamp(2.75rem, 6vw, 4.75rem); }
.band-hero + .picture { padding-top: clamp(2.25rem, 5vw, 3.75rem); }

.wordmark { font-family: var(--sans); font-weight: 700; letter-spacing: -0.03em; font-size: 1.15rem; }

/* Four squares: the only color on the page. */
.chips { display: flex; gap: 0.4rem; margin: 0 0 1.5rem; }
.chips i { display: block; width: 0.85rem; height: 0.85rem; }
.chips i:nth-child(1) { background: var(--c1); }
.chips i:nth-child(2) { background: var(--c2); }
.chips i:nth-child(3) { background: var(--c3); }
.chips i:nth-child(4) { background: var(--c4); }

/* ---------------------------------------------------------------- type */
h1 {
  max-width: 13ch;
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(2.7rem, 7.6vw, 5.6rem); line-height: 0.95; letter-spacing: -0.045em;
}
.subhead { font-family: var(--sans); font-weight: 700; letter-spacing: -0.035em; }
h2, .coupon h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; }
h3, .facts h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; }
.limits-list strong, .list-note strong { font-family: var(--sans); font-weight: 700; letter-spacing: -0.015em; }
.opening::first-letter { font-family: var(--sans); font-weight: 700; }
.particulars > h2, .compare > h2, .audience > h2 { border-top-width: 4px; }
.limits-grid, .row-specimen-grid { border-top-width: 4px; }

/* Numbered facts: the numeral reversed out of a small black square. */
.facts li { grid-template-columns: 2.9rem minmax(0, 1fr); }
.facts li::before {
  grid-row: 1 / span 2; align-self: start; margin-top: 0.05rem;
  width: 1.95rem; height: 1.95rem; display: grid; place-items: center;
  background: #000; color: #fff;
  font-family: var(--sans); font-weight: 700; font-size: 0.92rem; line-height: 1; letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------- buttons */
.button, button.button {
  padding: 0.78rem 1.1rem 0.78rem 1.2rem;
  background: #cfcfcf; color: #000; border: 1px solid #000;
  box-shadow: inset 1px 1px 0 var(--bevel-light), inset -1px -1px 0 var(--bevel-dark);
  font-family: var(--sans); font-weight: 700; letter-spacing: -0.015em;
}
.button::after { content: "↵"; margin-left: 0.75rem; font-weight: 400; }
.button:hover { background: #e3e3e3; border-color: #000; }
.button:active { box-shadow: inset 1px 1px 0 var(--bevel-dark), inset -1px -1px 0 var(--bevel-light); }

/* ---------------------------------------------------------------- windows */
.specimen { padding-top: 0; border: 1px solid #000; background: var(--paper-sunk); }
.specimen-title, .kv caption.specimen-title {
  position: relative; display: block; padding: 0.34rem 1.9rem; margin: 0;
  background: #000; color: #fff; text-align: center;
  font-family: var(--sans); font-weight: 700; font-size: 0.82rem; line-height: 1.3; letter-spacing: -0.01em;
}
/* The close box at the right of a title bar. It does nothing; it is furniture. */
.specimen-title::after {
  content: ""; position: absolute; right: 0.5rem; top: 50%; width: 0.66rem; height: 0.66rem; margin-top: -0.33rem;
  border: 1px solid #fff;
  background:
    linear-gradient(45deg, transparent 44%, #fff 44% 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, #fff 44% 56%, transparent 56%);
}
.specimen pre { margin: 0; border: 0; background: transparent; box-shadow: inset 1px 1px 0 var(--bevel-light); color: #000; }
.specimen pre b { background: none; font-weight: 700; }
.specimen .caption { margin: 0; padding: 0.65rem 0.85rem 0.75rem; border-top: 1px solid #000; background: #fff; }

.row-specimen-grid { border-top: 0; padding-top: 0; }
.kv { display: table; border: 1px solid #000; background: var(--paper-sunk); }
.kv caption.specimen-title { display: table-caption; border: 1px solid #000; border-bottom: 0; }
.kv th, .kv td { padding-inline: 0.8rem; border-top-color: #a6a6a6; }
.kv tr:first-child th, .kv tr:first-child td { border-top: 0; box-shadow: inset 0 1px 0 var(--bevel-light); }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.kv th { color: #3d3d3d; }

/* The diagram's three parties are three windows. */
.dg-box { fill: #fff; stroke: #000; stroke-width: 1.5; }
.dg-yours { fill: var(--paper-sunk); stroke-width: 1.5; }
.dg-bar { fill: #000; }
.dg-title { font-family: var(--sans); font-weight: 700; font-size: 15px; fill: #fff; letter-spacing: -0.01em; }
.dg-name { font-family: var(--sans); font-weight: 700; letter-spacing: -0.015em; }
.dg-note { font-family: var(--sans); fill: #4a4a4a; }
.dg-absent { stroke: var(--c1); }
.dg-absent-label { fill: var(--c1); font-weight: 700; }

/* ---------------------------------------------------------------- comparison */
.comparison thead th { padding: 0.6rem 0.85rem 0.65rem; background: #000; color: #fff; border-bottom: 0; }
.comparison thead small { color: #b9b9b9; }
.comparison thead .ours { padding-top: 0.6rem; border-top: 0; background: #000; color: #fff; box-shadow: inset 0 5px 0 var(--c1); }
.comparison tbody th, .comparison tbody td { padding-left: 0.85rem; }
.comparison tbody th { padding-left: 0; font-family: var(--sans); font-weight: 700; letter-spacing: -0.015em; }
.comparison .ours { background: var(--paper-sunk); }

/* ---------------------------------------------------------------- the offer and its form */
.coupon {
  border: 1px solid #000; background: var(--paper-sunk);
  box-shadow: inset 1px 1px 0 var(--bevel-light), inset -1px -1px 0 var(--bevel-dark);
}
.coupon p + p, .coupon p { color: var(--ink-2); }
.field label { font-weight: 700; color: #000; letter-spacing: -0.01em; }
.field .optional { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { border: 1px solid #000; box-shadow: inset 1px 1px 0 var(--bevel-dark); }
.proof li::marker { font-family: var(--sans); color: #000; }
.list-note { border-left-width: 4px; }
.record dt { font-weight: 700; letter-spacing: -0.015em; }

@media (max-width: 55.99rem) {
  .comparison tbody tr { border-top-width: 4px; }
  .comparison tbody td.ours { padding-left: 0.75rem; }
}
@media print {
  .band { background: #fff; color: #000; }
  .band .wordmark, .band .deck { color: #000; }
}
