* { box-sizing: border-box; }
html {
  background: #080808;
  color: #e5e5e5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body {
  /* Soft, monochrome atmosphere remains if WebGL cannot run. */
  background:
    radial-gradient(ellipse at 8% 5%, #393939 0, #1a1a1a 24%, transparent 55%),
    radial-gradient(ellipse at 98% 88%, #2b2b2b 0, #141414 25%, transparent 58%),
    #080808;
}
#flow, .grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#flow { opacity: 0; }
#flow.ready { opacity: 1; }
.grain {
  /* A viewport-sized SVG field, never tiled; static to avoid visual flicker. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='noStitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: .09;
}
main {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 1.5rem;
}
h1 {
  max-width: 100%;
  margin: 0;
  padding-inline-start: .18em; /* Compensate for trailing letter spacing. */
  font-size: clamp(1.125rem, 2.6vw, 1.625rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .18em;
  text-align: center;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 18px rgb(0 0 0 / 20%);
}
.identity { position: relative; max-width: 100%; text-align: center; }
.tagline {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 3rem);
  margin: .875rem 0 0;
  color: #929292;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .035em;
}
.discord {
  position: fixed;
  right: max(1.5rem, env(safe-area-inset-right));
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 7px;
  background: rgb(18 18 18 / 55%);
  color: #a3a3a3;
  font-size: .875rem;
  line-height: 1;
  letter-spacing: .025em;
  text-decoration: none;
}
.discord::before { content: ""; position: absolute; inset: -6px; }
.discord svg { display: block; }
.discord:hover { background: #222; color: #eee; border-color: #666; }
.discord:focus-visible { outline: 2px solid #ddd; outline-offset: 4px; }
