:root {
  color-scheme: dark;
  --bg: #080b17;
  --panel: #111831;
  --site-backdrop:
    url("/brand/lightning.svg?v=2") center top / max(100%, 52rem) 90rem repeat-y,
    radial-gradient(ellipse 42rem 20rem at 100% 100%, #164b8633, transparent 80%) center bottom / 100% 22rem no-repeat;
  --page-width: 1200px;
  --page-content-width: min(var(--page-width), calc(100% - var(--page-gutters)));
  --copy-width: 60ch;
  --page-gutters: 3rem;
  --hero-column-gap: clamp(1rem, 3vw, 3rem);
  --hero-title-size: clamp(2.6rem, 5.2vw, 4.9rem);
  --soft-surface: #1d2d4760;
  --soft-radius: 1.25rem;
  --line: #425b8b;
  --white: #f5f8ff;
  --muted: #c4cfe7;
  --ice: #66edff;
  --silver: #d6e4fa;
  --blue: #1954f3;
  --gold: #ffd24f;
  --body-font: system-ui, sans-serif;
  --display-font: Impact, "Arial Black", "Arial Narrow", sans-serif;
}

@media (max-width: 760px) {
  :root { --page-gutters: 1.5rem; }
}

@media screen {
  body {
    position: relative;
    isolation: isolate;
    min-block-size: 100vh;
  }

  body::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--site-backdrop);
  }
}

.back-to-top {
  width: var(--page-content-width);
  margin-inline: auto;
  padding-block: .75rem 1.5rem;
  text-align: end;
}

.back-to-top a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-block-size: 44px;
  padding-inline: .9rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: var(--panel);
  color: var(--ice);
  font-weight: 700;
  text-decoration: none;
}

.back-to-top a:hover { color: var(--white); text-decoration: underline; }
.back-to-top a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media print {
  .back-to-top { display: none; }
}
