:root {
  --bg: #071120;
  --ink: #edf7ff;
  --muted: rgba(237, 247, 255, 0.74);
  --line: rgba(88, 180, 255, 0.18);
  --accent: #39d8ff;
  --accent-deep: #2378ff;
  --accent-soft: #bcefff;
  --card: rgba(7, 17, 32, 0.58);
  --shadow: 0 26px 90px rgba(0, 6, 18, 0.46);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgba(35, 120, 255, 0.26), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(57, 216, 255, 0.22), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(31, 120, 221, 0.18), transparent 34%),
    linear-gradient(135deg, #050b16 0%, #071426 48%, #0a1b31 100%);
}

.page-glow {
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle at 50% 45%, rgba(57, 216, 255, 0.16), transparent 36%),
    radial-gradient(circle at 35% 60%, rgba(35, 120, 255, 0.18), transparent 42%);
  filter: blur(30px);
  animation: drift 18s ease-in-out infinite alternate;
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.92;
  mix-blend-mode: screen;
}

.orb-one {
  width: 18rem;
  height: 18rem;
  top: -4rem;
  right: -3rem;
  background: rgba(35, 120, 255, 0.34);
  animation: float-one 14s ease-in-out infinite;
}

.orb-two {
  width: 14rem;
  height: 14rem;
  left: -3rem;
  bottom: -2rem;
  background: rgba(34, 86, 190, 0.32);
  animation: float-two 17s ease-in-out infinite;
}

.orb-three {
  width: 10rem;
  height: 10rem;
  right: 18%;
  bottom: 10%;
  background: rgba(57, 216, 255, 0.28);
  animation: float-three 12s ease-in-out infinite;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  color: rgba(237, 247, 255, 0.84);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(88, 180, 255, 0.16),
    0 0 1.5rem rgba(57, 216, 255, 0.22);
}

.card {
  width: min(48rem, 100%);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(57, 216, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--card);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(188, 239, 255, 0.14);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.lead {
  max-width: 31rem;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.15rem);
  line-height: 1.7;
}

.signal {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.signal span {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

.signal span:nth-child(2) {
  animation-delay: 0.2s;
}

.signal span:nth-child(3) {
  animation-delay: 0.4s;
}

.footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(237, 245, 255, 0.42);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dot {
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: currentColor;
}

@keyframes pulse {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }

  40% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
}

@keyframes float-one {
  50% {
    transform: translate3d(-1.5rem, 1rem, 0);
  }
}

@keyframes float-two {
  50% {
    transform: translate3d(1.2rem, -1rem, 0);
  }
}

@keyframes float-three {
  50% {
    transform: translate3d(-0.8rem, -1.2rem, 0);
  }
}

@media (max-width: 640px) {
  body {
    overflow: auto;
  }

  .hero {
    gap: 2rem;
  }

  .card {
    border-radius: 1.5rem;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .footer {
    margin-bottom: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--accent-soft);
  opacity: 1;
}

.brand-home {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.legal-page {
  overflow: auto;
}

.legal-layout {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.legal-brand {
  align-self: start;
}

.legal-hero {
  align-self: end;
  justify-self: center;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.legal-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.legal-nav a,
.contact-reveal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(88, 180, 255, 0.24);
  border-radius: 999px;
  background: rgba(6, 17, 32, 0.46);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(188, 239, 255, 0.12);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.contact-reveal-button:hover,
.contact-reveal-button:focus-visible {
  border-color: rgba(57, 216, 255, 0.5);
  background: rgba(35, 120, 255, 0.16);
  transform: translateY(-1px);
}

.legal-content {
  width: min(48rem, 100%);
  justify-self: center;
  display: grid;
  gap: 1rem;
}

.legal-card {
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(57, 216, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(7, 17, 32, 0.62);
  box-shadow:
    0 20px 70px rgba(0, 6, 18, 0.34),
    inset 0 1px 0 rgba(188, 239, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.legal-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.legal-card h3 {
  margin: 1.55rem 0 0.45rem;
  color: var(--ink);
  font-size: 1.02rem;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.72;
}

.legal-card a {
  color: var(--accent-soft);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.legal-meta {
  margin-top: 1rem;
}

.legal-meta p {
  margin: 0.25rem 0;
  color: var(--ink);
}

.legal-meta .contact-note {
  color: var(--muted);
}

.legal-footer {
  justify-content: center;
  padding-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    row-gap: 0.45rem;
  }

  .legal-layout {
    gap: 1.25rem;
  }
}
