/*
 * Orbite website, the privacy policy and the page not found: a document to read, in the colours of the game. It scrolls
 * as any page; titles in Titan One, text in the rounded face, links in cyan.
 */
.doc {
  width: min(100%, calc(72ch + var(--pad-l) + var(--pad-r)));
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px) var(--pad-r) clamp(56px, 8vw, 104px) var(--pad-l);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 7px 14px;
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
  color: var(--cyan);
  font: 400 0.8rem/1 var(--f-display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.doc h1 {
  margin: 0;
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.6rem);
  line-height: 1.04;
  text-wrap: balance;
}

.updated {
  margin: 14px 0 0;
  color: var(--mute);
  font-size: 0.95rem;
  font-weight: 600;
}

.summary {
  margin: 28px 0 0;
  padding: 18px 22px;
}
.summary p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}
.summary ul {
  margin: 0;
  padding-left: 1.2em;
}
.summary li {
  margin: 0.35em 0;
  color: var(--text);
}
.summary li::marker {
  color: var(--gold);
}

.doc h2 {
  margin: 2.2em 0 0.6em;
  color: var(--gold);
  font: 400 1.45rem/1.2 var(--f-display);
  -webkit-text-stroke: 0.14em var(--ink);
  paint-order: stroke fill;
  scroll-margin-top: 24px;
}
.doc h2 .num {
  margin-right: 0.45em;
  color: var(--cyan);
}

.doc p,
.doc li,
.doc td,
.doc th {
  color: var(--body);
  line-height: 1.65;
}
.doc section p {
  margin: 0 0 1em;
}
.doc ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}
.doc li {
  margin: 0.4em 0;
}
.doc li::marker {
  color: var(--pink);
}
.doc strong {
  color: var(--text);
  font-weight: 700;
}
.doc section a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.doc section a:hover {
  text-decoration-thickness: 2px;
}

/* What the game sends, and why: a table on wide screens, a list of cards on phones. */
.data {
  width: 100%;
  margin: 0 0 1.2em;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(42, 27, 92, 0.55);
  border: 2px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
}
.data th,
.data td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.data th {
  background: var(--ink);
  color: var(--sun);
  font: 400 0.85rem/1.3 var(--f-display);
  letter-spacing: 0.05em;
}
.data td {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.data td:first-child {
  width: 52%;
  color: var(--text);
}

@media (max-width: 620px) {
  .data,
  .data tbody,
  .data tr,
  .data td {
    display: block;
    width: 100%;
  }
  .data thead {
    display: none;
  }
  .data tr {
    padding: 4px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .data tr:first-child {
    border-top: 0;
  }
  .data td {
    padding: 6px 16px;
    border: 0;
  }
  .data td:first-child {
    width: 100%;
    padding-top: 12px;
  }
  .data td:last-child {
    padding-bottom: 12px;
    color: var(--mute);
  }
}

/* The page not found: a moon adrift in the middle of the screen. */
.lost {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  min-height: 68vh;
  padding: 32px var(--pad-r) 48px var(--pad-l);
  text-align: center;
}
.lost img {
  width: 104px;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(8, 3, 34, 0.55));
  animation: drift 9s ease-in-out infinite;
}
.lost h1 {
  margin: 0;
  font-size: clamp(2.4rem, 1.4rem + 5vw, 4.6rem);
  line-height: 1;
}
.lost p {
  max-width: 38ch;
  margin: 0;
  color: var(--body);
  font-size: 1.1rem;
}
.lost a {
  color: var(--cyan);
  font-weight: 700;
  text-underline-offset: 4px;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(-8deg);
  }
  50% {
    transform: translate(16px, -12px) rotate(10deg);
  }
}
