/* Trailing Comma Studios — site styles.
   EXTERNAL on purpose: keeping this out of the HTML is what lets the CSP
   run style-src 'self' instead of 'unsafe-inline'. Do not inline it back. */
:root {
  /* navy MEASURED from the logo's own icon fill so the mark sits flush */
  --navy:   #1e1f3b;
  --cyan:   #00d0f8;
  --purple: #7838e8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: #e8e8f4;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
body::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60vw 60vw at 15% 20%, rgba(120,56,232,.28), transparent 60%),
    radial-gradient(50vw 50vw at 85% 75%, rgba(0,208,248,.16), transparent 60%);
  pointer-events: none;
}
main { position: relative; text-align: center; max-width: 560px; }
.logo {
  width: min(78vw, 380px);
  height: auto;
  display: block;
  margin: 0 auto;
}
.line {
  margin-top: 34px;
  font-size: clamp(14px, 2.2vw, 17px);
  color: #a8a8c8;
  line-height: 1.6;
}
.bgm {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: #a8a8c8;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.bgm:hover { color: var(--cyan); border-color: rgba(0,208,248,.5); background: rgba(0,208,248,.08); }
.bgm:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.bgm svg { width: 20px; height: 20px; fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .bgm { transition: none; } }
.foot {
  margin-top: 40px;
  font-size: 12px;
  color: #6a6a8a;
  letter-spacing: .3px;
}
.legal {
  position: relative;
  margin-top: 56px;
  font-size: 11px;
  line-height: 1.7;
  color: #5c5c7a;
}
.legal strong { color: #6f6f92; font-weight: 600; }
