:root {
  --legal-rule: rgba(203, 224, 255, 0.13);
  --legal-ink: rgba(245, 248, 255, 0.94);
  --legal-copy: rgba(226, 234, 250, 0.76);
}

body {
  background:
    radial-gradient(circle at 12% 2%, rgba(124, 199, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(155, 124, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, #08101c 0%, #040711 45%, #02040a 100%);
}

body::before {
  opacity: 0.2;
}

.site-shell {
  width: min(100%, 76rem);
}

.site-header {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--legal-rule);
}

.brand-mark {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1.15rem;
  box-shadow: 0 0 2rem rgba(124, 199, 255, 0.18);
}

.brand-mark img {
  width: 2.75rem;
  height: 2.75rem;
  filter: drop-shadow(0 0 0.8rem rgba(104, 224, 255, 0.34));
}

.wordmark {
  font-size: 1.7rem;
}

.hero {
  max-width: 57rem;
  margin-bottom: clamp(2.6rem, 6vw, 4.8rem);
}

.hero h1,
h1 {
  max-width: 14ch;
  font-size: clamp(3.4rem, 7.8vw, 6.75rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 47rem;
}

.page-layout {
  grid-template-columns: minmax(12rem, 14.5rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.25rem);
}

.toc {
  top: 1.5rem;
  max-height: calc(100vh - 3rem);
  overflow: auto;
  padding: 0.2rem 1rem 0.2rem 0;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--legal-rule);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  scrollbar-width: thin;
}

.toc a {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding: 0.55rem 0;
}

.content {
  max-width: 50rem;
}

.glass-card {
  scroll-margin-top: 2rem;
  margin: 0;
  padding: clamp(1.7rem, 4vw, 2.8rem) 0;
  border: 0;
  border-bottom: 1px solid var(--legal-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.glass-card:first-child {
  padding-top: 0;
}

.glass-card h2 {
  max-width: 27ch;
  margin-bottom: 1rem;
  color: var(--legal-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.glass-card h3 {
  margin: 1.4rem 0 0.7rem;
  color: var(--legal-ink);
  font-size: 1.05rem;
}

.glass-card p,
.glass-card li {
  color: var(--legal-copy);
  line-height: 1.78;
}

.glass-card li + li {
  margin-top: 0.42rem;
}

.glass-card a {
  text-decoration: underline;
  text-decoration-color: rgba(104, 224, 255, 0.35);
  text-underline-offset: 0.2em;
}

.legal-callout {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid rgba(104, 224, 255, 0.58);
  background: rgba(104, 224, 255, 0.045);
}

.deletion-form {
  max-width: 40rem;
}

.field input,
.field textarea {
  border-radius: 0.85rem;
  background: rgba(6, 10, 19, 0.76);
}

.site-footer {
  border-top: 1px solid var(--legal-rule);
  margin-top: 3rem;
}

@media (max-width: 53.75rem) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    max-height: none;
    padding: 1rem;
    border: 1px solid var(--legal-rule);
    border-radius: 1rem;
  }

  .toc a {
    display: inline-flex;
    margin-right: 1rem;
    border-top: 0;
    border-bottom: 1px solid rgba(203, 224, 255, 0.08);
  }
}

@media (max-width: 35rem) {
  .site-header {
    gap: 1rem;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .site-nav .nav-link,
  .site-nav .button {
    width: 100%;
    min-height: 2.75rem;
    padding-inline: 0.75rem;
  }

  .hero h1,
  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .glass-card {
    padding-block: 1.75rem;
  }

  .glass-card h2 {
    font-size: 1.7rem;
  }
}

@media print {
  :root {
    --legal-ink: #111;
    --legal-copy: #222;
    --legal-rule: #ccc;
  }

  html,
  body {
    background: #fff !important;
    color: #111;
    overflow: visible;
  }

  body::before,
  .site-header,
  .toc,
  .back-top,
  .site-footer,
  form {
    display: none !important;
  }

  .site-shell,
  .content {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .page-layout {
    display: block;
  }

  .hero {
    margin-bottom: 1.5rem;
  }

  .hero h1,
  h1 {
    color: #111;
    font-size: 34pt;
  }

  .kicker,
  .meta,
  .hero-copy {
    color: #333;
  }

  .glass-card {
    break-inside: avoid;
    padding: 1rem 0;
  }

  .glass-card h2,
  .glass-card h3,
  .glass-card p,
  .glass-card li,
  .glass-card a {
    color: #111;
  }
}
