:root {
  --bg: #06111e;
  --bg-deep: #04101b;
  --text: #edf8ff;
  --muted: #96abc2;
  --line: rgba(127, 200, 255, 0.16);
  --line-strong: rgba(127, 200, 255, 0.32);
  --accent: #8ed8ff;
  --accent-strong: #d8efff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 18%, rgba(142, 216, 255, 0.12), transparent 24%),
    radial-gradient(circle at 80% 16%, rgba(142, 216, 255, 0.08), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.background,
.background__grid,
.background__glow,
.background__rings {
  position: fixed;
  inset: 0;
}

.background {
  pointer-events: none;
}

.background__grid {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(rgba(127, 200, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 200, 255, 0.06) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  background-position: center;
}

.background__glow {
  filter: blur(90px);
  opacity: 0.48;
}

.background__glow--left {
  background: radial-gradient(circle, rgba(142, 216, 255, 0.18), transparent 60%);
  transform: translate(-30%, -16%);
}

.background__glow--right {
  background: radial-gradient(circle, rgba(142, 216, 255, 0.12), transparent 56%);
  transform: translate(42%, 18%);
}

.background__rings {
  background:
    radial-gradient(circle at 16% 24%, transparent 0 72px, var(--line-strong) 73px 74px, transparent 75px 100%),
    radial-gradient(circle at 82% 72%, transparent 0 92px, var(--line) 93px 94px, transparent 95px 100%),
    linear-gradient(var(--line-strong), var(--line-strong)) 16% 24% / 140px 1px no-repeat,
    linear-gradient(90deg, var(--line-strong), var(--line-strong)) 16% 24% / 1px 140px no-repeat,
    linear-gradient(var(--line), var(--line)) 82% 72% / 180px 1px no-repeat,
    linear-gradient(90deg, var(--line), var(--line)) 82% 72% / 1px 180px no-repeat;
  opacity: 0.8;
}

.hero {
  position: relative;
  display: grid;
  place-content: center;
  gap: 0;
  min-height: 100vh;
  padding: 48px 32px 24px;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero__title,
.hero__subtitle,
.hero__actions {
  margin: 0;
  text-align: center;
}

.hero__title {
  max-width: none;
  font-size: clamp(1.4rem, 4.6vw, 4.8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  white-space: nowrap;
  opacity: 0;
  animation: rise 900ms 120ms ease forwards;
}

.hero__subtitle {
  margin-top: 14px;
  color: var(--muted);
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: rise 900ms 300ms ease forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  opacity: 0;
  animation: rise 900ms 420ms ease forwards;
}

.hero__link {
  min-width: 132px;
  padding: 14px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(142, 216, 255, 0.08), rgba(142, 216, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.hero__link:hover,
.hero__link:focus-visible {
  border-color: rgba(142, 216, 255, 0.7);
  background: rgba(142, 216, 255, 0.12);
  transform: translateY(-2px);
}

.hero__link:focus-visible {
  outline: 2px solid rgba(142, 216, 255, 0.45);
  outline-offset: 4px;
}

.about {
  position: relative;
  padding: 56px 24px 96px;
}

.about__inner {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 28px 28px 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(142, 216, 255, 0.03), rgba(142, 216, 255, 0.01));
  box-shadow: var(--shadow);
}

.about__eyebrow,
.about__title,
.about__text {
  margin: 0;
}

.about__eyebrow {
  color: var(--accent);
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.about__title {
  margin-top: 14px;
  max-width: 18ch;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
}

.about__text {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 20px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__eyebrow {
    letter-spacing: 0.24em;
  }

  .hero__link {
    width: min(280px, 100%);
  }

  .hero__title {
    font-size: clamp(1.05rem, 4.8vw, 1.6rem);
    letter-spacing: -0.03em;
  }

  .about {
    padding: 28px 20px 72px;
  }

  .about__inner {
    padding: 24px 20px 28px;
  }

  .background__grid {
    background-size: 72px 72px, 72px 72px, 18px 18px, 18px 18px;
  }
}

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