/* viewport-legal/legal.css
 *
 * Shared by every legal page, so the terms cannot drift into looking like a
 * different company's from the page that sells the thing. Same tokens as the
 * site; laid out for reading and for printing, because these are documents
 * somebody may want on paper.
 */
:root {
  --ink: #0A0713;
  --panel: #140F1E;
  --panel-2: #1C1428;
  --line: rgba(149, 128, 255, 0.20);
  --line-strong: rgba(149, 128, 255, 0.42);
  --accent: #9580FF;
  --accent-bright: #C4B3FF;
  --miss: #FF5C7A;
  --text: #F4F0FB;
  --muted: #A79DD0;
  --faint: #6E648F;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
.sheet { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }

.crumb { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.crumb a { font-size: 14px; color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--text); }
.crumb .home { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--text); letter-spacing: -0.02em; }
.crumb .home img { width: 22px; height: 22px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: 34px; line-height: 1.08; margin: 0 0 6px; }
h2 { font-size: 21px; line-height: 1.2; margin: 44px 0 12px; }
h3 { font-size: 16.5px; margin: 26px 0 8px; }
p { margin: 0 0 14px; color: var(--muted); }
strong { color: var(--text); font-weight: 600; }
a { color: var(--accent-bright); }

.updated { font-size: 13.5px; color: var(--faint); margin-bottom: 8px; }
.lede { font-size: 17px; color: var(--muted); margin-bottom: 34px; }

ul, ol { margin: 0 0 16px; padding-left: 0; list-style: none; }
ol { counter-reset: item; }
li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--muted); }
ul > li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }
ol > li { counter-increment: item; }
ol > li::before { content: counter(item) "."; position: absolute; left: 0; color: var(--faint); font-variant-numeric: tabular-nums; }

/* The things worth stopping on: what a reader would be annoyed to discover
   later rather than here. */
aside {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 9px 9px 0;
  padding: 14px 17px;
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
aside strong { color: var(--accent-bright); }

/* Anything the seller must fill in before this is a real document. */
.fill {
  color: var(--miss);
  background: rgba(255, 92, 122, 0.10);
  border: 1px dashed rgba(255, 92, 122, 0.45);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.94em;
}

.draft {
  background: rgba(255, 92, 122, 0.08);
  border: 1px solid rgba(255, 92, 122, 0.35);
  border-radius: 10px;
  padding: 15px 18px;
  margin-bottom: 34px;
  font-size: 14.5px;
  color: var(--muted);
}
.draft strong { color: var(--miss); }

footer { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 22px; }
footer p, footer a { font-size: 13.5px; color: var(--faint); }
footer a { text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--muted); }

@media print {
  :root { --text: #14101E; --muted: #3B3350; --faint: #6E648F; --line: #DDD6F3; --panel: #F7F5FE; --accent: #6B55D6; --accent-bright: #4B37A8; }
  body { background: #fff; font-size: 10.6pt; }
  .sheet { max-width: none; padding: 0; }
  .crumb a[href^="http"], .draft { display: none; }
  h2 { break-after: avoid; }
  aside, li { break-inside: avoid; }
  a { color: var(--accent-bright); text-decoration: none; }
}
