/* codelis.env.pm -- centered card on a plain dark background. */

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #e8edf5;
  line-height: 1.65;
  background: #12141c;
}

main {
  width: 100%;
  max-width: 540px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 26px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: .02em;
}
.pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ee6a6;
  box-shadow: 0 0 10px #2ee6a6;
}

/* Panel holding the disclaimers, credit, and contact. */
.glass {
  text-align: left;
  padding: 24px 24px 26px;
  margin: 0 0 22px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
}
.glass p { margin: 0; }
.glass .no + .no { margin-top: .4em; }
.glass .no { font-weight: 700; color: #ffd36e; }

/* Empty line between the yellow disclaimers and the moved-in text. */
.gap { height: 1.4em; }

.credit {
  font-size: .95rem;
  color: #ffffff;
  margin: 0 0 .35em;
}

.url {
  font-size: .95rem;
  color: #7f8ca6;
  margin: 0 0 .15em;
  word-break: break-all;
}

/* The registration link: same font as the contact email link below. */
.reg-link {
  color: #6fb7ff;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}
.reg-link:hover { text-decoration: underline; }

/* Contact: one plain line with an inline email link. */
.contact {
  margin: 0;
  font-size: .95rem;
  color: #ffffff;
}
.contact a {
  color: #6fb7ff;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}
.contact a:hover { text-decoration: underline; }

/* Mobile: tighter padding and a touch smaller text so nothing crowds the
   edges on small phones. Everything already reflows (fluid widths, rem, word
   breaks on the long links); this just makes the fit comfortable. */
@media (max-width: 520px) {
  body { padding: 16px; }
  .glass { padding: 18px 16px 20px; }
  .pill { font-size: .95rem; }
  .credit, .url, .contact { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
