/* Wired Technologies
 *
 * Built from design/wired-site.md revision 3.10 in the ops repository.
 *
 * There is no JavaScript on this page and the Content-Security-Policy has no
 * script-src, so anything injected later fails loudly rather than working
 * quietly. Every piece of motion here is therefore CSS: the hero entrance uses
 * @starting-style, the section reveals use scroll-driven timelines, and the
 * rotating subhead is three stacked spans on one keyframe cycle. All of it
 * degrades to a static, complete page when the feature is absent.
 *
 * Type: Millik for display at 30px and up, Moderat below it. That threshold is
 * not a preference. Millik is a heavy, high-contrast face that reads squashed
 * at card-title size, measured in section 4.1c.
 */

/* ---------------------------------------------------------------- fonts -- */

/* Subset to Latin with kerning, ligatures and tabular figures kept. The full
 * TTFs are 446KB; these are 45KB, and a subset webfont is also how the
 * TIGHTYPE and ZEALAB licences are honoured rather than serving the retail
 * files for anyone to take. */

@font-face {
  font-family: "Millik";
  src: url("assets/fonts/Millik.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Moderat";
  src: url("assets/fonts/Moderat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Moderat";
  src: url("assets/fonts/Moderat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens -- */

:root {
  --ink: #0c0e12;
  --ink-2: #181c23;
  --paper: #fcfdfd;
  --steel: #e8ebee;
  --tint: #f1f4f6;
  --graphite: #464c54;
  --graphite-lt: #5a616a;
  --graphite-dk: #949ba4;
  --paper-dim: #b9c0c8;
  --credit: #7c838c;
  --rule: #d2d7dc;
  --rule-ink: #262b31;
  --signal: #1433b8;
  --signal-lt: #8fb4ff;

  --display: "Millik", Georgia, "Times New Roman", serif;
  --text: "Moderat", "Helvetica Neue", Arial, sans-serif;

  /* One shadow language: same colour, no x offset, four elevations, so the
   * page is lit from straight above at one strength. Section 4.6. */
  --e2: 0 4px 14px rgba(12, 14, 18, 0.28);
  --e3: 0 10px 28px rgba(12, 14, 18, 0.09);
  --e4: 0 20px 52px rgba(12, 14, 18, 0.22);

  --gutter: 80px;
  --measure: 1280px;
}

/* ----------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 28px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--signal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 10;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* --------------------------------------------------------------- display -- */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* Solid leading at display sizes, so a two-line headline reads as one shape
 * rather than as two lines of text. */
h1,
h2 {
  font-family: var(--display);
  line-height: 1.04;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 44px;
}

/* Below 30px Millik reads squashed, so block and card titles are Moderat Bold.
 * Section 4.1b. */
h3 {
  font-family: var(--text);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.005em;
}

.lede {
  font-size: 19px;
  line-height: 31px;
  color: var(--graphite);
}

/* The mono layer is tracked Moderat with tabular figures rather than a fifth
 * typeface. Moderat carries tnum, which was the only real argument for adding
 * a monospace at all. Section 4.1b. */
.stamp {
  font-family: var(--text);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  color: var(--graphite-lt);
}

/* --------------------------------------------------------------- shell ---- */

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  position: relative;
}

/* ---------------------------------------------------------------- header -- */

/* A floating pill on the photograph, not a bar. It hugs its content and is
 * centred; the wordmark and the button carry matched clearance inside it. */
.nav {
  position: absolute;
  top: 24px;
  left: 50%;
  translate: -50% 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 36px;
  height: 52px;
  padding: 0 6px 0 23px;
  background: rgba(12, 14, 18, 0.92);
  border-radius: 26px;
  backdrop-filter: blur(6px);
}

.wordmark {
  font-family: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--paper);
  white-space: nowrap;
}

.wordmark .dot {
  color: var(--signal-lt);
  /* The wordmark is tracked +6%, and CSS letter-spacing is added after the
   * last character as well as between them, so the D pushes the dot away and
   * it reads as "WIRED ." — the same defect the Figma file had for 26
   * instances, arriving here by a different route. Pull the tracking back off
   * this one glyph. */
  margin-left: -0.06em;
  letter-spacing: normal;
}

.nav a:not(.btn) {
  color: var(--paper);
  font-size: 16px;
  white-space: nowrap;
}

.nav a:not(.btn):hover {
  color: var(--signal-lt);
  text-decoration: none;
}

/* ----------------------------------------------------------------- button -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 26px;
  background: var(--signal);
  color: #fff;
  font-family: var(--text);
  font-weight: 700;
  font-size: 17px;
  line-height: 20px;
  border-radius: 8px;
  box-shadow: var(--e2);
  transition: translate 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  background: #0f2a9c;
  translate: 0 -1px;
  box-shadow: 0 6px 18px rgba(12, 14, 18, 0.32);
  text-decoration: none;
}

.btn:active {
  translate: 0 1px;
  box-shadow: 0 2px 8px rgba(12, 14, 18, 0.26);
}

.nav .btn {
  min-height: 40px;
  padding: 10px 22px;
  font-size: 16px;
}

/* ------------------------------------------------------------------ hero -- */

.hero {
  position: relative;
  height: 780px;
  overflow: hidden;
  background: var(--steel);
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

/* Option B, chosen over a fourth reduction of the floating panel. The column
 * runs off the left and bottom edges so two of its four corners no longer
 * exist, and it reads as a division of the picture rather than an object
 * placed on it. The alpha ramp reaches full opacity exactly where the
 * photograph ends, which removes the tonal seam a flat 82% left behind. */
.hero__column {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 480px;
  padding: 44px 48px 52px 80px;
  border-top-right-radius: 20px;
  background: linear-gradient(
    to bottom,
    rgba(252, 253, 253, 0.82) 0%,
    rgba(252, 253, 253, 0.96) 72%,
    rgba(252, 253, 253, 1) 100%
  );
}

.hero__column h1 {
  max-width: 364px;
}

/* The rotating subhead. Three sentences making three different claims, in a
 * slot of fixed height so nothing below it moves when sentence three wraps —
 * which is the usual way this device is got wrong. Timing is measured off
 * bank78: 2400ms hold, 600ms swap, both sentences present throughout. */
.rotator {
  position: relative;
  height: 58px;
  margin: 14px 0 0;
}

.rotator span {
  position: absolute;
  inset: 0;
  font-size: 17px;
  line-height: 28px;
  color: var(--graphite);
  opacity: 0;
  animation: rotate-line 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Negative delay on the first line so the cycle starts already inside its
 * hold. At a delay of 0 the first 600ms of the page have the subhead at
 * opacity 0 and the hero ships with a blank line under the headline —
 * measured in the browser, not assumed. */
.rotator span:nth-child(1) {
  animation-delay: -0.6s;
}
.rotator span:nth-child(2) {
  animation-delay: 2.4s;
}
.rotator span:nth-child(3) {
  animation-delay: 5.4s;
}

@keyframes rotate-line {
  0% {
    opacity: 0;
    translate: 0 8px;
  }
  6.67% {
    opacity: 1;
    translate: 0 0;
  }
  33.33% {
    opacity: 1;
    translate: 0 0;
  }
  40% {
    opacity: 0;
    translate: 0 -8px;
  }
  100% {
    opacity: 0;
    translate: 0 -8px;
  }
}

.hero .btn {
  margin-top: 26px;
}

/* The entrance. A bleed column cannot travel on an axis it bleeds off without
 * exposing the edge it is meant to be joined to, so it grows upward instead:
 * the clip opens from the top while the content rises, and the bottom edge
 * never moves. The photograph settles from 104% at the same time. */
@starting-style {
  .hero__column {
    clip-path: inset(26px 0 0 0);
  }
  .hero__column > * {
    translate: 0 26px;
    opacity: 0;
  }
  .hero__photo {
    scale: 1.04;
  }
}

.hero__column {
  clip-path: inset(0 0 0 0);
  transition: clip-path 640ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero__column > * {
  translate: 0 0;
  opacity: 1;
  transition: translate 640ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 480ms ease-out;
}

.hero__photo {
  scale: 1;
  transition: scale 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------- before / after -- */

.tuesday {
  padding: 104px 0 96px;
}

.tuesday h2 {
  margin-bottom: 52px;
}

.rows {
  border-top: 1px solid var(--rule);
}

.row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.row p {
  margin: 0;
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.tuesday .close {
  margin: 44px 0 0;
  color: var(--graphite);
}

/* ------------------------------------------------------------- image band -- */

.band {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.band__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}

.band__panel {
  position: relative;
  margin-left: var(--gutter);
  width: 640px;
  max-width: calc(100% - var(--gutter) * 2);
  padding: 36px 40px 40px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  box-shadow: var(--e4);
}

.band__panel .stamp {
  color: var(--graphite-dk);
}

.band__panel h2 {
  font-size: 40px;
  margin: 12px 0 18px;
}

.band__panel p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 17px;
  line-height: 28px;
}

/* ----------------------------------------------------------------- cards -- */

/* The Paystack mechanics, which are not the rounded corners: white cards on a
 * tinted ground so the card is the bright object and the page recedes, an
 * illustration per card to give the row rhythm, and a link so each card goes
 * somewhere. Section 7.10. */
.process {
  background: var(--tint);
  padding: 96px 0 104px;
}

.process h2 {
  margin-bottom: 48px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 16px;
  padding: 32px 32px 30px;
  box-shadow: var(--e3);
  transition: translate 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 220ms ease;
}

.card:hover {
  translate: 0 -4px;
  box-shadow: 0 16px 38px rgba(12, 14, 18, 0.13);
}

.card svg {
  margin-bottom: 26px;
}

.card h3 {
  margin-bottom: 14px;
}

.card p {
  margin: 0 0 26px;
  color: var(--graphite);
  font-size: 16px;
  line-height: 26px;
}

.card .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.card .more svg {
  margin: 0;
  transition: translate 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card:hover .more svg {
  translate: 4px 0;
}

/* ---------------------------------------------------------- closing card -- */

.closing {
  padding: 96px 0 104px;
}

.close-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: 64px 72px 68px;
  box-shadow: var(--e4);
}

/* The mark infused rather than applied: oversized, cropped by two edges, a
 * couple of percent lighter than the card. A change in the surface, not a
 * graphic on top of it. */
.close-card::after {
  content: "W";
  position: absolute;
  right: -0.06em;
  bottom: -0.34em;
  font-family: var(--display);
  font-size: 420px;
  line-height: 1;
  color: var(--ink-2);
  pointer-events: none;
  user-select: none;
}

.close-card > * {
  position: relative;
  z-index: 1;
}

.close-card h2 {
  max-width: 14ch;
  margin-bottom: 20px;
}

.close-card p {
  margin: 0 0 30px;
  color: var(--paper-dim);
  max-width: 52ch;
}

.close-card .actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.close-card .actions a:not(.btn) {
  color: var(--paper-dim);
}

.close-card .note {
  margin: 26px 0 0;
  color: var(--credit);
  font-size: 15px;
  line-height: 24px;
}

/* ---------------------------------------------------------------- footer -- */

.footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-dim);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
}

.footer .wordmark {
  font-size: 22px;
  display: inline-block;
  margin-bottom: 26px;
}

.footer p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 24px;
  max-width: 56ch;
}

.footer .credit {
  color: var(--credit);
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.02em;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer li a {
  color: var(--paper-dim);
  font-size: 15px;
}

.footer li a:hover {
  color: var(--paper);
}

.social {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--graphite-dk);
  transition: color 160ms ease;
}

.social a:hover {
  color: var(--paper);
}

/* The bleed wordmark, cropped by the bottom of the page and by both side
 * edges. It has to be sized against the viewport rather than in pixels: at a
 * fixed 260px it covered about 60% of a 1440 screen and left a dead area to
 * the right, which reads as a broken footer rather than as a bleed. 30vw puts
 * the word slightly wider than the viewport at every width, so it is always
 * cut by all three edges. */
.footer__bleed {
  font-family: var(--display);
  font-size: 30vw;
  line-height: 0.72;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  margin-left: -0.03em;
  margin-bottom: -0.16em;
}

/* ---------------------------------------------------------------- reveal -- */

/* Scroll-driven, so it runs off the scroller rather than a timer and cannot
 * desynchronise from what the reader is looking at. Where the feature is
 * missing the element simply starts visible: the @supports guard means no
 * reader ever gets a blank section because their browser lacks a timeline. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 6% cover 26%;
    }

    .cards > .card {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 30%;
    }

    .cards > .card:nth-child(2) {
      animation-range: entry 0% cover 30%;
    }

    .cards > .card:nth-child(3) {
      animation-range: entry -4% cover 30%;
    }
  }
}

@keyframes reveal-in {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* ------------------------------------------------------------- reduced --- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  /* The rotator is the one case where killing the animation would hide
   * content, since two of the three sentences live at opacity 0. Show the
   * first and drop the others out of the accessibility tree entirely. */
  .rotator span {
    opacity: 0;
  }

  .rotator span:nth-child(1) {
    opacity: 1;
  }
}

/* --------------------------------------------------------------- mobile -- */

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 15px;
    line-height: 24px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 29px;
  }

  h3 {
    font-size: 20px;
    line-height: 26px;
  }

  .lede {
    font-size: 16px;
    line-height: 26px;
  }

  .nav {
    top: 14px;
    width: calc(100% - 28px);
    left: 14px;
    translate: none;
    justify-content: space-between;
    gap: 12px;
    padding: 0 8px 0 18px;
  }

  /* The desktop nav links do not fit a 393px pill, so they go and the button
   * stays, being the one action that matters. The wordmark is also an
   * `a:not(.btn)` and must be excluded by name, or the pill loses the company
   * it is there to identify. */
  .nav a:not(.btn):not(.wordmark) {
    display: none;
  }

  .hero {
    height: 600px;
  }

  /* A 33% column at 393px is 130px, about eleven characters. So option B keeps
   * the idea, the page ground rising into the picture, and drops the geometry:
   * a full-width shelf with uninterrupted photograph above it. */
  .hero__column {
    width: 100%;
    padding: 30px 20px 34px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
  }

  .hero__column h1 {
    max-width: none;
  }

  .rotator {
    height: 52px;
  }

  .hero .btn {
    width: 100%;
  }

  .tuesday,
  .process,
  .closing {
    padding: 64px 0 68px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  .row p {
    font-size: 17px;
    line-height: 26px;
  }

  .band {
    min-height: 0;
    display: block;
  }

  .band__photo {
    position: relative;
    height: 240px;
  }

  .band__panel {
    width: auto;
    max-width: none;
    margin: -40px 20px 0;
    padding: 28px 24px 30px;
  }

  .band__panel h2 {
    font-size: 28px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .close-card {
    padding: 40px 28px 44px;
  }

  .close-card::after {
    font-size: 260px;
  }

  .close-card h2 {
    max-width: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 44px;
  }

  /* The fluid size already works at 393; overriding it with a fixed value
   * reintroduces exactly the gap this rule exists to close. */
  .footer__bleed {
    letter-spacing: 0;
  }
}

/* ============================================================ legal pages ==
 *
 * privacy.html and terms.html carry their own class vocabulary, written
 * before this redesign. Rather than rewrite 657 lines of careful legal copy to
 * match new class names, the names are supported here. A privacy policy is a
 * document, so it is set narrow and quiet, and it does not animate.
 */

.site-header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px var(--gutter);
  background: var(--ink);
  flex-wrap: wrap;
}

.site-header .wordmark {
  font-size: 19px;
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-right: auto;
}

.site-nav a {
  color: var(--paper-dim);
  font-size: 16px;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--paper);
}

.action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 22px;
  background: var(--signal);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
  box-shadow: var(--e2);
}

.action:hover {
  background: #0f2a9c;
  text-decoration: none;
}

.action--sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 15px;
}

.doc-title {
  padding: 72px 0 34px;
  border-bottom: 1px solid var(--rule);
}

.doc-title h1 {
  font-size: 44px;
  margin: 8px 0 16px;
}

.label {
  font-family: var(--text);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite-lt);
  margin: 0;
}

.doc-meta {
  margin: 0;
  color: var(--graphite);
  font-size: 16px;
  line-height: 26px;
}

.short-version {
  margin: 40px 0;
  padding: 32px 36px;
  background: var(--tint);
  border-radius: 16px;
}

.short-version h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: 16px 0 96px;
  align-items: start;
}

.doc-contents {
  position: sticky;
  top: 28px;
  font-size: 15px;
  line-height: 24px;
}

.doc-contents ol,
.doc-contents ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--graphite);
}

.doc-contents li {
  margin-bottom: 7px;
}

.doc-sec {
  padding-bottom: 34px;
}

.doc-sec h2 {
  font-size: 30px;
  margin: 26px 0 14px;
}

.doc-sec h3 {
  font-size: 19px;
  margin: 22px 0 10px;
}

.doc-body p,
.doc-sec p,
.doc-sec li {
  color: var(--graphite);
  font-size: 17px;
  line-height: 29px;
}

.doc-sec strong {
  color: var(--ink);
}

/* A wide table on a narrow screen scrolls inside its own box rather than
 * making the whole document scroll sideways. */
.doc-scroll {
  overflow-x: auto;
  margin: 18px 0;
  -webkit-overflow-scrolling: touch;
}

.doc-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 15px;
  line-height: 24px;
}

.doc-table th,
.doc-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--graphite);
}

.doc-table th {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.mono {
  font-family: var(--text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.link {
  font-weight: 700;
}

/* An unanswered question is marked, not hidden. A legal page that quietly
 * invented a retention period would be worse than one that admits it is
 * unfinished. */
.tbc {
  background: #fdeee9;
  color: #a62806;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.86em;
  white-space: nowrap;
}

.band--ink {
  background: var(--ink);
  color: var(--paper-dim);
  border-radius: 16px;
  padding: 32px 36px;
  margin: 28px 0;
}

.band--ink h2,
.band--ink h3 {
  color: var(--paper);
}

.band--ink p,
.band--ink li {
  color: var(--paper-dim);
}

.site-footer {
  background: var(--ink);
  color: var(--paper-dim);
  padding: 44px var(--gutter);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 15px;
  line-height: 24px;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a,
.footer-contact a {
  color: var(--paper-dim);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--paper);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 10;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

@media (max-width: 900px) {
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .doc-contents {
    position: static;
  }

  .doc-title {
    padding: 44px 0 26px;
  }

  .doc-title h1 {
    font-size: 29px;
  }

  .doc-sec h2 {
    font-size: 24px;
  }

  .short-version {
    padding: 24px 22px;
  }

  .site-header {
    gap: 14px;
    padding: 14px 20px;
  }
}
