/* The styles of terms.html, in a file of their own so the page stays small (tools/page-assets.js). */
:root {
  --bg: #050006;
  --ink: #ffffff;
  --dim: rgba(255,255,255,.82);
  --ghost: rgba(255,255,255,.68);
  --pink: #ff2492;
  --hot: #ff67bd;
  --soft: #ffd1ee;
  --green: #7dff2b;
  --mint: #caffab;
  --cyan: #00ffd5;
  --line: rgba(255,36,146,.33);
  --shadow: 0 0 0 1px rgba(255,36,146,.1), 0 24px 70px rgba(0,0,0,.42), 0 0 54px rgba(255,36,146,.16);
  --cut-sm: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  --cut: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 28px 100%, 0 calc(100% - 26px));
  --max: 1040px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -8%, rgba(255,36,146,.28), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(125,255,43,.11), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(96,0,90,.22), transparent 62%),
    var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.72;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body::before {
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
body::after {
  z-index: 10;
  opacity: .1;
  background: linear-gradient(to bottom, rgba(255,255,255,.18), rgba(255,255,255,.18) 1px, transparent 1px, transparent 4px);
  background-size: 100% 4px;
  mix-blend-mode: screen;
}
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
.legal-title,
.section-title,
.system-tag {
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
}
.hero { padding: clamp(54px, 9vw, 110px) 0 30px; }
.system-tag {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(125,255,43,.42);
  background: rgba(125,255,43,.1);
  color: var(--mint);
  padding: 9px 11px;
  font-size: 13px;
  letter-spacing: normal;
}
.legal-title {
  margin: 18px 0 0;
  max-width: 900px;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.08;
}
.lead { max-width: 760px; color: var(--dim); margin: 22px 0 0; font-size: clamp(15px, 2vw, 18px); }
.legal-card {
  margin: 24px 0 clamp(54px, 8vw, 90px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), transparent 42%),
    rgba(10,0,15,.78);
  box-shadow: var(--shadow);
  clip-path: var(--cut);
  padding: clamp(22px, 4vw, 46px);
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.legal-meta a,
.legal-meta span {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.34);
  color: rgba(255,255,255,.72);
  padding: 10px 12px;
  clip-path: var(--cut-sm);
  font-family: inherit;
  font-size: 14px;
  text-decoration: none;
}
.legal-meta a:hover { color: var(--mint); border-color: rgba(125,255,43,.48); }
.legal-section {
  scroll-margin-top: 96px;
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid rgba(255,36,146,.18);
}
.legal-section:first-of-type { margin-top: 0; }
.section-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
}
p { color: var(--dim); margin: 0 0 16px; }
ul { margin: 12px 0 18px; padding-left: 22px; color: var(--dim); }
li { margin: 6px 0; }
address {
  font-style: normal;
  color: var(--dim);
  border-left: 2px solid rgba(125,255,43,.58);
  background: rgba(0,0,0,.32);
  padding: 14px 16px;
  margin: 12px 0 18px;
}
.contact-list { display: grid; gap: 8px; }
.footer {
  padding: 28px 0 46px;
  color: rgba(255,255,255,.72);
  font-family: inherit;
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
}


/* Center the legal page layout while keeping long legal text readable. */
.hero .wrap,
.footer .wrap {
  display: grid;
  justify-items: center;
  text-align: center;
}
.legal-card.wrap {
  width: min(920px, calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
}
.legal-meta {
  justify-content: center;
}
.legal-section {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.legal-section:first-of-type {
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}
.section-title {
  text-align: center;
}
.legal-section > p,
.legal-section ul,
.legal-section address {
  text-align: left;
}
address {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 24px, var(--max)); }
  .legal-card { clip-path: none; }
  .legal-card.wrap { width: min(100% - 24px, var(--max)); }
}

.lang-switch { display: flex; gap: 10px; margin-top: 22px; }
.lang-switch button {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.34);
  color: var(--dim);
  padding: 9px 14px;
  clip-path: var(--cut-sm);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { color: var(--mint); border-color: rgba(125,255,43,.55); background: rgba(125,255,43,.1); }
[hidden] { display: none !important; }
