/* ═══════════════════════════════════════════════════════
   Fort Aegis — Legal Notice Page Styles
   ═══════════════════════════════════════════════════════ */

/* ── Pure-CSS safety reveal ── */
@keyframes reveal-body-legal  { to { opacity: 1; } }
@keyframes reveal-container   { to { visibility: visible; } }

body {
  align-items: flex-start;
  justify-content: flex-start;
  padding: calc(64px + clamp(2rem, 4vw, 4rem)) 1rem clamp(2rem, 4vw, 4rem);
  animation: reveal-body-legal 0.5s ease 2.5s both;
}

body.loaded {
  animation: none;
  opacity: 1;
}

body.loaded .container {
  visibility: visible;
  animation: none;
}

.container {
  width: min(100%, 780px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  visibility: hidden;
  animation: reveal-container 0s linear 2.8s both;
}

/* ── Page Header ── */
.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.logo-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 64px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(110, 159, 255, 0.5))
          drop-shadow(0 0 40px rgba(110, 159, 255, 0.2));
  animation: float 5s ease-in-out infinite;
}

.logo-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(110, 159, 255, 0.2);
  animation: orbit-spin 25s linear infinite;
}

.logo-ring--reverse {
  inset: -14px;
  border-style: dotted;
  border-color: rgba(110, 159, 255, 0.1);
  animation-direction: reverse;
  animation-duration: 35s;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.logo-glow-orb {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(110, 159, 255, 0.12) 0%,
    rgba(110, 159, 255, 0.04) 40%,
    transparent 70%);
  animation: glow-breathe 4s ease-in-out infinite;
  z-index: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 0.6rem;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 48ch;
  margin: 0 auto;
}

.header-divider {
  width: 60px;
  height: 2px;
  margin: 1.4rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

/* ── Legal Content ── */
.legal-content {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.legal-content h2 {
  font-size: 1.15rem;
  color: var(--accent-light);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--surface-border);
}

.legal-field {
  margin-bottom: 1.4rem;
}

.legal-field:last-child {
  margin-bottom: 0;
}

.legal-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.legal-value {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.legal-value a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-value a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .logo-wrap {
    width: 80px;
    height: 80px;
  }
  .logo {
    width: 50px;
  }
}
