:root {
  --bg: #0c0e12;
  --line: rgba(232, 197, 120, 0.16);
  --text: #f3efe6;
  --muted: #9aa3b5;
  --accent: #e8c578;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
}

.page {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

.bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(232, 197, 120, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(70, 90, 140, 0.2), transparent 60%),
    linear-gradient(180deg, #0a0c10 0%, #12161f 45%, #0c0e12 100%);
}

.scan::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  height: 40%;
  opacity: 0.4;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(232, 197, 120, 0.04) 50%,
    transparent 100%
  );
  animation: scan 8s linear infinite;
}

@keyframes scan {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(250%);
  }
}

.main {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 32rem;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 1.5rem 2.5rem;
}

.chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.2rem 0.6rem;
  margin: 0 0 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand {
  margin: 0;
  font-family: Unbounded, Georgia, serif;
  font-size: clamp(2.75rem, 10vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.lead {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.features {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  font-size: 0.875rem;
}

.features li {
  border-left: 1px solid rgba(232, 197, 120, 0.4);
  padding-left: 1rem;
}

.accent {
  font-weight: 600;
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.cta {
  margin-top: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  color: #1a1408;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: #f0d392;
}

.btn:active {
  transform: scale(0.98);
}

.bot {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delo-in {
  opacity: 1;
  animation: fade-in 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
  .delo-in,
  .scan::after {
    animation: none !important;
  }
}

.delay-1 {
  animation-delay: 0.06s;
}
.delay-2 {
  animation-delay: 0.12s;
}
.delay-3 {
  animation-delay: 0.18s;
}

/* Legal pages */
.legal-page {
  overflow: auto;
}

.legal-main {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 42rem;
  padding: 2.5rem 1.25rem 4rem;
}

.legal-title {
  margin: 0;
  font-family: Unbounded, Georgia, serif;
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 600;
  color: var(--accent);
}

.legal-prose {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #c5cddc;
}

.legal-prose p,
.legal-prose ul {
  margin: 0 0 1rem;
}

.legal-prose h2 {
  margin: 1.75rem 0 0.75rem;
  font-family: Unbounded, Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.legal-prose ul {
  padding-left: 1.25rem;
}

.legal-prose li + li {
  margin-top: 0.35rem;
}

.legal-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-panel {
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 22, 31, 0.65);
  color: var(--text);
}

.legal-panel p {
  margin: 0.25rem 0;
}

.legal-nav {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.legal-nav a {
  color: var(--muted);
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--accent);
}
