/* One Shot Cascade — its own look, deliberately not the shared house style.
   Ported from the game's original support site: dark only, matching the game,
   cyan wordmark and a purple that only ever means a section heading.

   Self-contained on purpose. These pages do NOT load ../style.css, so a future
   game re-theming the shared sheet cannot change a live legal document.

   No webfonts, no CDN, no trackers: a privacy policy served from a page that
   phones somewhere else would be a poor joke. */

:root {
  /* The game is dark in every light, so there is no light mode here. Declaring
     the scheme stops the browser rendering pale scrollbars around a dark page. */
  color-scheme: dark;

  --bg: #07070c;
  --panel: #101018;
  --ink: #e8e8f0;
  --dim: #9a9ab0;
  --line: #23233a;
  --cyan: #4de0e0;
  --purple: #b47dff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

/* Back to the studio. House convention on every game page — small, quiet, and
   above the game's own masthead so it reads as a level up rather than as nav. */
.back {
  display: inline-block;
  margin-bottom: 1.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-decoration: none;
}

.back:hover { color: var(--cyan); }

header.masthead {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

/* The app icon doing the job it already does on a home screen — a player
   arriving from the store should recognise the page before reading it. */
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mark {
  width: 60px;
  height: 60px;
  flex: none;
  border-radius: 13px;
  box-shadow: 0 0 22px rgba(77, 224, 224, 0.14);
}

.wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  margin: 0;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(77, 224, 224, 0.45);
}

.tagline {
  color: var(--dim);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0.4rem 0 0;
}

nav { margin-top: 1.5rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }

nav a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

nav a:hover, nav a[aria-current="page"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 0.5rem; }

h2 {
  font-size: 1.15rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--purple);
  letter-spacing: 0.02em;
}

h3 { font-size: 1rem; margin: 1.75rem 0 0.5rem; color: var(--ink); }

.updated { color: var(--dim); font-size: 0.85rem; margin: 0 0 2rem; }

p { margin: 0 0 1rem; }

a { color: var(--cyan); }

ul, ol { padding-left: 1.25rem; }
li { margin: 0.4rem 0; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.panel h3 { margin-top: 0; }

.lede { font-size: 1.05rem; color: var(--ink); }

.key { color: var(--dim); }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.85rem;
}

table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.93rem; }
th, td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: 600; letter-spacing: 0.04em; }

/* The summary table is wider than a phone. It scrolls inside its own box so the
   page body never does. */
.scroll { overflow-x: auto; }

code {
  background: #1a1a28;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

@media (max-width: 34rem) {
  .wrap { padding: 1.5rem 0.9rem 3.5rem; }
  .brand { gap: 0.8rem; }
  .mark { width: 48px; height: 48px; }
  .wordmark { font-size: 1.2rem; letter-spacing: 0.28em; }
  h1 { font-size: 1.55rem; }
}
