:root {
  color: #e8eef4;
  background: #050814;
  font-family: Manrope, "Segoe UI", sans-serif;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

a {
  color: #9ec0e6;
}

.home {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.landing-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 18%, rgba(47, 111, 237, 0.28), transparent 70%),
    radial-gradient(ellipse 55% 45% at 82% 78%, rgba(14, 116, 144, 0.18), transparent 65%),
    linear-gradient(165deg, #0a1220 0%, #050814 48%, #081018 100%);
  animation: landing-shift 14s ease-in-out infinite alternate;
}

.landing-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(158, 192, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 192, 230, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
}

.landing-stage {
  flex: 1;
  width: min(100%, 34rem);
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.landing-logo {
  width: min(58vw, 280px);
  height: auto;
  background: transparent;
  animation: landing-rise 700ms ease-out both;
}

.landing-brand {
  margin: 8px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #f4f8fb;
  animation: landing-rise 700ms ease-out 80ms both;
}

.landing-title {
  margin: 0;
  max-width: 14ch;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.45rem, 4.2vw, 2rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #b7d0ea;
  animation: landing-rise 700ms ease-out 140ms both;
}

.landing-support {
  margin: 0;
  max-width: 34ch;
  color: #9aa8b8;
  font-size: 1.05rem;
  line-height: 1.45;
  animation: landing-rise 700ms ease-out 200ms both;
}

.landing-note {
  margin: 4px 0 0;
  color: #7a8796;
  font-size: 0.92rem;
  animation: landing-rise 700ms ease-out 260ms both;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 40rem);
  margin: 0 auto;
  padding: 16px 24px 28px;
  animation: landing-rise 700ms ease-out 320ms both;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer-links a {
  color: #e8eef4;
  text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  text-decoration: underline;
}

.admin-side {
  font-size: 0.8rem;
  font-weight: 500;
  color: #7a8796;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.admin-side:hover,
.admin-side:focus-visible {
  color: #b7d0ea;
  text-decoration: underline;
}

.admin-corner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.page-back {
  text-align: center;
  margin-top: 1.5rem;
}

.about {
  min-height: 100vh;
  min-height: 100dvh;
}

.page {
  position: relative;
  z-index: 0;
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.page.narrow {
  max-width: 36rem;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(47, 111, 237, 0.2), transparent 70%),
    linear-gradient(165deg, #0a1220 0%, #050814 100%);
}

.brand {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: #f4f8fb;
}

.brand a {
  color: inherit;
  text-decoration: none;
}

h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #f4f8fb;
}

h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 1.5rem 0 0.75rem;
  color: #d7e4f2;
}

.lede,
.muted,
li {
  font-size: 1rem;
  color: #9aa8b8;
}

.lede {
  margin: 0 0 2rem;
}

.muted {
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

ul {
  padding-left: 1.2rem;
  margin: 0 0 2rem;
}

li + li {
  margin-top: 0.65rem;
}

.links {
  display: flex;
  gap: 1.25rem;
  font-weight: 700;
}

@keyframes landing-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes landing-shift {
  from {
    filter: saturate(1);
    transform: scale(1);
  }
  to {
    filter: saturate(1.08);
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-atmosphere,
  .landing-logo,
  .landing-brand,
  .landing-title,
  .landing-support,
  .landing-note,
  .site-footer {
    animation: none;
  }
}
