/* Legal and support pages of the The Magician landing: same tokens as the landing, no JavaScript. */
:root {
  --base: #f9eef3; --alt: #f0dce7; --text: #331a2a; --muted: #6e465e; --line: #b898a9; --accent: #5a2140; --accent-ink: #fff4fa; --focus: #331a2a;
  --display: Tahoma, Verdana, "Segoe UI", "DejaVu Sans", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) { :root { --base: #2a1725; --alt: #43283a; --text: #f9eef3; --muted: #e1b9cf; --line: #977288; --accent: #e1b9cf; --focus: #e1b9cf; --accent-ink: #2a1725; } }
* { box-sizing: border-box; }
html { background: var(--base); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--text); font: 400 17px/1.65 var(--body); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: -9999px; top: 10px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { inset-inline-start: 16px; }
.head, .doc, .foot { width: min(760px, 100%); margin: 0 auto; padding: 0 20px; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: calc(18px + env(safe-area-inset-top)); padding-bottom: 18px; border-bottom: 2px solid var(--text); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--display); text-decoration: none; }
.brand img { border-radius: 8px; }
.lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--text); text-decoration: none; font-weight: 600; }
.doc { padding-top: 36px; padding-bottom: 48px; }
h1 { font: 700 clamp(32px, 6vw, 48px)/1.08 var(--display); letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font: 700 23px/1.25 var(--display); margin: 40px 0 10px; }
h3 { font: 700 18px/1.3 var(--display); margin: 26px 0 6px; }
.updated { font: 700 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }
p, li { color: var(--text); }
ul { padding-inline-start: 22px; }
li { margin: 6px 0; }
.tldr { border: 2px solid var(--text); background: var(--alt); padding: 16px 20px; box-shadow: 5px 5px 0 var(--text); margin: 0 0 28px; }
.tldr p { margin: 6px 0; }
.cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent-ink); box-shadow: 4px 4px 0 var(--accent-ink); font-weight: 700; text-decoration: none; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: start; vertical-align: top; padding: 10px 8px; border-bottom: 2px solid var(--line); }
th { font-family: var(--display); }
.foot { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; border-top: 2px solid var(--text); padding-top: 16px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.err { text-align: center; padding: 18vh 20px; }
.err img { margin: 0 auto 24px; image-rendering: pixelated; }
