/* soulscale.store static pages: Terms, Privacy and the holding page.
   No inline styles or scripts anywhere, so the server can send a strict Content-Security-Policy. */

@font-face {
  font-family: "Cinzel";
  font-weight: 400;
  font-display: swap;
  src: url("cinzel-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cinzel";
  font-weight: 700;
  font-display: swap;
  src: url("cinzel-700.woff2") format("woff2");
}

:root {
  --bg0: #07050d;
  --bg1: #120c1f;
  --panel: rgba(24, 17, 40, 0.82);
  --line: rgba(190, 170, 255, 0.16);
  --text: #ece6f7;
  --muted: #b0a7c9;
  --heaven: #f3cf7a;
  --hell: #ff7a58;
  --violet: #b9a0ff;
  --display: "Cinzel", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg0);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 17px/1.65 var(--body);
  background:
    radial-gradient(70% 40% at 50% -6%, rgba(255, 214, 140, 0.16), transparent 70%),
    radial-gradient(70% 40% at 50% 106%, rgba(255, 70, 30, 0.14), transparent 70%),
    radial-gradient(120% 80% at 50% 50%, var(--bg1), var(--bg0) 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--violet);
  text-underline-offset: 3px;
}
a:hover {
  color: #ddd0ff;
}
a:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--panel);
  padding: 8px 12px;
  z-index: 10;
}

/* ---------------------------------------------------------------- header */

.top {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 22px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(200, 180, 255, 0.55));
}
.brand b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.18em;
  background: linear-gradient(180deg, #fff3cf, var(--heaven) 45%, #c9a1ff 75%, var(--hell));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand small {
  display: block;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--muted);
}
.top nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
}
.top nav a {
  color: var(--muted);
  text-decoration: none;
}
.top nav a[aria-current="page"] {
  color: var(--text);
  border-bottom: 1px solid var(--violet);
}

/* ---------------------------------------------------------------- content */

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 22px 40px;
}
.doc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px clamp(18px, 4vw, 42px) 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin: 0 0 6px;
}
.updated {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 22px;
}
h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.04em;
  margin: 38px 0 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;
}
h3 {
  font-size: 17px;
  margin: 24px 0 6px;
  color: #fff;
  scroll-margin-top: 16px;
}
p,
ul,
ol {
  margin: 0 0 14px;
}
li {
  margin: 4px 0;
}
strong {
  color: #fff;
}

.short {
  border: 1px solid rgba(185, 160, 255, 0.55);
  background: linear-gradient(180deg, rgba(185, 160, 255, 0.12), rgba(185, 160, 255, 0.04));
  border-radius: 14px;
  padding: 16px 20px 6px;
  margin: 0 0 22px;
}
.short h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 17px;
  color: #e4d9ff;
}

.toc {
  columns: 2 230px;
  column-gap: 28px;
  font-size: 15px;
  padding-left: 20px;
}
.toc li {
  break-inside: avoid;
  margin: 0 0 6px;
}

.note {
  border-left: 3px solid var(--heaven);
  padding: 4px 0 4px 14px;
  color: #f5ead0;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}
th {
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

/* ---------------------------------------------------------------- holding page */

.hero {
  text-align: center;
  padding: 7vh 0 4vh;
}
.hero img {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 0 22px rgba(200, 180, 255, 0.7));
}
.hero h1 {
  font-size: clamp(40px, 9vw, 76px);
  letter-spacing: 0.2em;
  padding-left: 0.2em;
  margin-top: 14px;
  background: linear-gradient(180deg, #fff6d8 0%, var(--heaven) 38%, #c9a1ff 62%, var(--hell) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  font-family: var(--display);
  letter-spacing: 0.5em;
  padding-left: 0.5em; /* balances the trailing letter-spacing so it centres */
  color: #cbbcf0;
  margin: 0 auto 22px;
}
.hero p {
  max-width: 560px;
  margin: 0 auto 14px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- footer */

footer {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 22px 40px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}
footer p {
  margin: 4px 0;
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .top {
    padding-top: 18px;
  }
  .doc {
    border-radius: 14px;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  .doc {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .top nav,
  .skip,
  .toc {
    display: none;
  }
  .brand b,
  h1,
  h2,
  h3,
  strong,
  th {
    color: #000;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
  }
  a {
    color: #000;
  }
  .short {
    background: none;
    border-color: #999;
  }
  footer {
    color: #444;
  }
}
