:root {
  --color-background: #020844;
  --color-background-deep: #01042d;
  --color-surface: #0e144c;
  --color-text: #d7d7db;
  --color-muted: #afb0b8;
  --color-accent: #90ff00;
  --color-cyan: #00b2ff;
  --color-border: rgba(215, 215, 219, 0.16);
  --font-body: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--color-background-deep);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-text);
  background: linear-gradient(var(--color-background), var(--color-background-deep));
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 0.1875rem solid var(--color-cyan);
  outline-offset: 0.1875rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.background-system {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.background-system::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(215, 215, 219, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 215, 219, 0.022) 1px, transparent 1px);
  background-size: 2.25rem 2.25rem;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.signal-orbit {
  position: absolute;
  top: -15rem;
  left: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(144, 255, 0, 0.12);
  border-right-color: transparent;
  border-bottom-color: rgba(0, 178, 255, 0.06);
  border-radius: 50%;
  translate: -50% 0;
}

.signal-orbit--outer {
  width: 38rem;
}

.signal-orbit--middle {
  top: -10rem;
  width: 28rem;
}

.signal-orbit--inner {
  top: -5rem;
  width: 18rem;
}

.site-page {
  display: grid;
  place-items: center;
  padding:
    max(clamp(1.5rem, 5vh, 3rem), env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(clamp(1.5rem, 5vh, 3rem), env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

.site-shell,
.privacy-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 29rem);
}

.brand-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.brand-logo,
.privacy-logo {
  height: auto;
}

.brand-logo {
  width: min(15.75rem, 72vw);
  margin-inline: auto;
}

.brand-subtitle {
  max-width: 23rem;
  margin: 1.125rem auto 0;
  color: var(--color-muted);
  font-size: clamp(0.92rem, 3.8vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.link-list {
  display: grid;
  gap: 0.75rem;
}

.contact-link,
.back-link {
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.contact-link {
  display: grid;
  min-height: 4.75rem;
  grid-template-columns: 2.75rem minmax(0, 1fr) 1rem;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.11);
}

.contact-link:active,
.back-link:active {
  background: #131a57;
}

.contact-link--featured {
  color: var(--color-background);
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0.875rem 2.25rem rgba(0, 0, 0, 0.24);
}

.contact-link--featured:active {
  background: #7fe000;
}

.link-icon,
.back-link {
  display: inline-grid;
  width: 2.75rem;
  aspect-ratio: 1;
  place-items: center;
}

.link-icon {
  color: var(--color-accent);
  background: rgba(144, 255, 0, 0.08);
  border: 1px solid rgba(144, 255, 0, 0.36);
  border-radius: 0.625rem;
  font-size: 1.2rem;
}

.contact-link--featured .link-icon {
  color: var(--color-background);
  background: rgba(2, 8, 68, 0.08);
  border-color: rgba(2, 8, 68, 0.2);
}

.fa-icon {
  width: 1em;
  height: 1em;
  overflow: visible;
  fill: currentColor;
}

.link-copy {
  display: grid;
  min-width: 0;
  gap: 0.125rem;
}

.link-title {
  overflow-wrap: anywhere;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.25;
}

.link-description {
  overflow-wrap: anywhere;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.contact-link--featured .link-description {
  color: rgba(2, 8, 68, 0.76);
}

.link-arrow {
  display: grid;
  place-items: center;
  color: var(--color-muted);
  font-size: 0.72rem;
  opacity: 0.72;
}

.contact-link--featured .link-arrow {
  color: var(--color-background);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1.5rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  text-align: center;
}

.site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  text-underline-offset: 0.18em;
}

.privacy-page {
  padding:
    max(clamp(1rem, 4vh, 2rem), env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(clamp(2rem, 6vh, 3rem), env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

.privacy-shell {
  width: min(100%, 43rem);
  margin-inline: auto;
}

.privacy-toolbar {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.privacy-logo {
  width: min(10.5rem, 52vw);
}

.back-link {
  flex: 0 0 auto;
  border-radius: 50%;
  font-size: 1rem;
}

.privacy-card {
  padding: clamp(1.25rem, 5vw, 2.5rem);
  background: rgba(14, 20, 76, 0.96);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 4.375rem rgba(0, 0, 0, 0.26);
}

.section-label {
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-card h1,
.privacy-card h2,
.privacy-card p {
  margin-top: 0;
}

.privacy-card h1 {
  margin-bottom: 0.875rem;
  font-family: "Funnel Display", "Arial Black", Arial, sans-serif;
  font-size: clamp(1.85rem, 8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1.05;
}

.privacy-lead {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-size: 1.02rem;
}

.privacy-card section + section {
  margin-top: 1.6rem;
}

.privacy-card h2 {
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 750;
}

.privacy-card section p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.text-link {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.privacy-updated {
  margin: 2rem 0 0;
  padding-top: 1rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(0.875rem);
  }
}

@keyframes reveal-fade {
  from { opacity: 0; }
}

@keyframes orbit-drift {
  from {
    opacity: 0.5;
    transform: rotate(-8deg) scale(0.98);
  }

  to {
    opacity: 1;
    transform: rotate(24deg) scale(1.035);
  }
}

.reveal {
  animation: reveal-up 600ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.reveal-delay-1 { animation-delay: 80ms; }
.reveal-delay-2 { animation-delay: 170ms; }
.reveal-delay-3 { animation-delay: 250ms; }
.reveal-delay-4 { animation-delay: 330ms; }
.reveal-delay-5 { animation-delay: 410ms; }
.reveal-delay-6 { animation-delay: 490ms; }

.signal-orbit--outer {
  animation: orbit-drift 18s ease-in-out infinite alternate;
}

.signal-orbit--middle {
  animation: orbit-drift 15s ease-in-out 500ms infinite alternate-reverse;
}

.signal-orbit--inner {
  animation: orbit-drift 12s ease-in-out 900ms infinite alternate;
}

@media (max-width: 22.5rem) {
  .site-page {
    padding-inline: 0.75rem;
  }

  .brand-header {
    margin-bottom: 1.25rem;
  }

  .contact-link {
    grid-template-columns: 2.5rem minmax(0, 1fr) 0.875rem;
    gap: 0.7rem;
    padding-inline: 0.75rem;
  }

  .link-icon {
    width: 2.5rem;
  }
}

@media (max-height: 37.5rem) {
  .site-page {
    place-items: start center;
    padding-top: max(0.625rem, env(safe-area-inset-top));
    padding-bottom: max(0.625rem, env(safe-area-inset-bottom));
  }

  .brand-header {
    margin-bottom: 1.25rem;
  }

  .brand-logo {
    width: 12rem;
  }

  .brand-subtitle {
    margin-top: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .signal-orbit {
    animation: none !important;
  }

  .reveal {
    animation-name: reveal-fade;
    animation-duration: 180ms;
    animation-delay: 0ms;
  }
}
