/* ============================================================
   VICE RIPS — /terms and /privacy (static pages, no script).
   The shop's dark look (site/app.css tokens, copied: app.css also sets
   body { overflow: hidden } for the app shell, so it is not loaded here).
   A readable column: 16px+ body, line-height 1.6, ~70 characters a line.
   ============================================================ */
:root {
  --bg: #1F2123;
  --bg-deep: #121314;
  --surface: #26282B;
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, .72);
  --faint: rgba(255, 255, 255, .5);
  --line: rgba(255, 255, 255, .10);
  --go: #FF2D9B;          /* links and focus: the logo pink lifted for 4.5:1 small text (app.css --go) */
  --pink: #FF4DAE;
  --magenta: #FC0187;     /* the logo pink */
  --chip-bg: rgba(35, 35, 38, .5);
  --chip-ring: rgba(255, 255, 255, .28);
  --pill: 999px;
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Rubik', system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg-deep); }
body {
  margin: 0; min-height: 100dvh; color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(60vmax 40vmax at 0% 0%, rgba(255, 77, 174, .10), transparent 60%),
    radial-gradient(60vmax 40vmax at 100% 100%, rgba(252, 1, 135, .08), transparent 60%),
    var(--bg-deep);
  background-attachment: fixed;
}
a { color: var(--go); text-underline-offset: 3px; }
a:hover { color: #FF6EBD; }
:focus-visible { outline: 2px solid var(--go); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; z-index: 10; left: 12px; top: -60px; padding: 10px 16px; border-radius: var(--pill); background: #fff; color: #111; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(6px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left));
  min-height: 58px; background: rgba(31, 33, 35, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-weight: 800; font-style: italic; font-size: 21px; line-height: 1; letter-spacing: -.02em;
  text-transform: lowercase; color: #fff; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
.wordmark:hover { color: #fff; }
.wordmark--logo img { height: 34px; width: auto; display: block; }
.back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--pill);
  background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); color: #fff; font-size: 14px; font-weight: 800;
  text-decoration: none; white-space: nowrap;
}
.back:hover { color: #fff; background: rgba(255, 255, 255, .1); }

main { width: 100%; max-width: 760px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-left)) 64px; }
h1 { margin: 0 0 6px; font-family: var(--display); font-weight: 900; font-size: clamp(24px, 6vw, 34px); line-height: 1.1; text-transform: uppercase; text-wrap: balance; }
.meta { margin: 0 0 28px; color: var(--faint); font-size: 14px; }
h2 { margin: 36px 0 8px; font-size: 19px; line-height: 1.3; font-weight: 800; text-wrap: balance; scroll-margin-top: 80px; }
h3 { margin: 20px 0 6px; font-size: 16px; font-weight: 800; }
p, li { color: var(--muted); max-width: 70ch; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin: 4px 0; }
strong { color: var(--text); }
.tbd { color: var(--pink); font-weight: 800; overflow-wrap: anywhere; }
.quote {
  margin: 12px 0 16px; padding: 14px 16px; border-radius: 14px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); color: var(--text);
}
.toc { margin: 0 0 8px; padding: 14px 16px 10px; border-radius: 16px; background: rgba(38, 40, 43, .7); box-shadow: inset 0 0 0 1px var(--line); }
.toc h2 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; color: var(--faint); }
.toc ol { margin: 0; columns: 2 220px; column-gap: 52px; }
/* the li carries the tap height, so an item with two links (6: Gems, the match) wraps as one line of text */
.toc li { break-inside: avoid; margin: 0; padding: 11px 0; line-height: 1.4; }   /* no margin: a column break drops the margin at the top of column 2 */
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: #fff; text-decoration: underline; }
footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
@media (max-width: 380px) { main { padding-top: 16px; } .back { padding: 0 12px; } }
