/* MGI Stream Control on madgodinc.net/stream/. The app's own look carried to
   the web: the near-black ground with three slow glows, Unbounded for display,
   Manrope for text, the ember gradient for the one thing to press. */

:root {
  --ground: #07060c;
  --raise: #12101c;
  --line: rgba(255, 255, 255, .09);
  --line-hi: rgba(255, 255, 255, .18);
  --ink: #f5f1ff;
  --dim: #b4aec8;
  --faint: #7d7794;
  --c1: #ff6a3d;
  --c2: #ff3d9a;
  --c3: #ffc23d;
  --ok: #2ee6b0;
  --bad: #ff3d6e;
  --display: 'Unbounded', sans-serif;
  --text: 'Manrope', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 5vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--c3); outline-offset: 3px; }
[hidden] { display: none !important; }

.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky i { position: absolute; border-radius: 50%; filter: blur(20px); animation: breathe 12s ease-in-out infinite; }
.sky i:nth-child(1) { left: -20%; top: 5%; width: 58rem; height: 58rem; background: radial-gradient(closest-side, color-mix(in oklab, var(--c1) 26%, transparent), transparent 72%); }
.sky i:nth-child(2) { right: -18%; top: -32%; width: 52rem; height: 52rem; background: radial-gradient(closest-side, color-mix(in oklab, var(--c2) 22%, transparent), transparent 72%); animation-delay: -4s; }
.sky i:nth-child(3) { left: 35%; bottom: -50%; width: 64rem; height: 46rem; background: radial-gradient(closest-side, color-mix(in oklab, var(--c3) 14%, transparent), transparent 72%); animation-delay: -8s; }
@keyframes breathe { 50% { transform: scale(1.08) translateY(-2%); opacity: .8; } }

main { max-width: 1160px; margin: 0 auto; padding: clamp(24px, 5vw, 64px) var(--gutter) 48px; }
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.wordmark { font: 800 15px/1 var(--display); letter-spacing: .02em; text-decoration: none; }
.wordmark b { color: var(--c1); }
.wordmark span { font-weight: 500; color: var(--dim); margin-left: .4em; }
.by { color: var(--faint); font-size: 13.5px; text-decoration: none; }
.by:hover { color: var(--ink); }

h1 { margin: 0; font: 800 clamp(32px, 5.4vw, 64px)/1.02 var(--display); letter-spacing: -.035em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--c3); }
h2 { margin: 0 0 18px; font: 500 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.lead { margin: 22px 0 0; color: var(--dim); font-size: 21px; max-width: 46ch; text-wrap: pretty; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 19px 34px 19px 28px; border: 0; cursor: pointer;
  background: linear-gradient(100deg, var(--c1), var(--c2)); color: #fff;
  font: 700 21px/1 var(--text); text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: filter 160ms var(--ease), transform 160ms var(--ease);
}
.button:hover { filter: brightness(1.12) saturate(1.1); }
.button:active { transform: translateY(1px); }
.button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.button--quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-hi); font-size: 17px; padding: 13px 20px; }
.button--quiet:hover { box-shadow: inset 0 0 0 1px var(--c3); filter: none; }
.meta { color: var(--faint); font-size: 13.5px; margin: 12px 0 0; }

kbd { font: 400 .85em var(--mono); padding: .12em .5em; border: 1px solid var(--line-hi); border-bottom-width: 2px; color: var(--ink); }

footer { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { *, .sky i { animation: none !important; transition-duration: 1ms !important; } }
