:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #101c32;
  --panel: rgba(10, 18, 34, 0.72);
  --panel-strong: rgba(18, 30, 52, 0.9);
  --line: rgba(189, 209, 255, 0.16);
  --text: #edf3ff;
  --muted: #aebad0;
  --accent: #8fffd6;
  --accent-2: #9cb7ff;
  --accent-3: #ffb36b;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(156, 183, 255, 0.2), transparent 35%),
    radial-gradient(circle at 85% 18%, rgba(143, 255, 214, 0.16), transparent 28%),
    linear-gradient(180deg, #07101d 0%, #091325 55%, #060b14 100%);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

main,
.topbar,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  top: 8%;
  left: -6rem;
  width: 16rem;
  height: 16rem;
  background: rgba(143, 255, 214, 0.18);
}

.ambient-two {
  top: 42%;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(156, 183, 255, 0.14);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(143, 255, 214, 0.22), rgba(156, 183, 255, 0.22));
  border: 1px solid var(--line);
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
}

.brand-text {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: inline-flex;
  gap: 18px;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.panel,
.card,
.hero-card,
.note-panel,
.footer-link {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 28px;
  padding: 40px;
  border-radius: 32px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), transparent 42%, rgba(143, 255, 214, 0.08));
  pointer-events: none;
}

.hero-copy,
.hero-card,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.brand-mark {
  font-family: "Fraunces", serif;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.45rem;
}

.lede,
.card p,
.note-panel p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.lede {
  max-width: 56ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(143, 255, 214, 0.45);
}

.button-primary {
  color: #051019;
  background: linear-gradient(135deg, var(--accent), #d1fff0);
  font-weight: 700;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.status-row > div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-label,
.card-kicker,
.card-index {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-row strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(17, 28, 50, 0.92), rgba(7, 14, 26, 0.94)),
    radial-gradient(circle at top right, rgba(143, 255, 214, 0.18), transparent 45%);
}

.hero-card-glow {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(143, 255, 214, 0.35), transparent 70%);
  filter: blur(3px);
}

.card-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.card-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.section {
  margin-top: 30px;
  padding: 0 4px;
}

.section-heading,
.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.section-heading h2,
.split h2,
.footer h2 {
  max-width: 12ch;
}

.grid.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.card {
  padding: 24px;
  border-radius: 24px;
  background: var(--panel-strong);
}

.card-index {
  margin-bottom: 48px;
}

.card p {
  margin-bottom: 0;
}

.split {
  margin-top: 38px;
}

.note-panel {
  max-width: 520px;
  padding: 24px;
  border-radius: 24px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 42px 0 54px;
}

.footer-link {
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--accent);
}

.reveal {
  animation: rise 700ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero,
  .split,
  .footer,
  .section-heading {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .hero {
    padding: 28px;
  }

  .grid.cards,
  .status-row {
    grid-template-columns: 1fr;
  }

  .topbar {
    gap: 18px;
    flex-direction: column;
    align-items: start;
  }

  .nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  main,
  .topbar,
  .footer {
    width: min(100% - 20px, 1120px);
  }

  .hero {
    border-radius: 24px;
  }

  .hero-copy h1 {
    max-width: 8ch;
  }

  .status-row > div,
  .card,
  .note-panel {
    border-radius: 18px;
  }
}