:root {
  --bg: #0b1219;
  --card: #101a25;
  --line: #263a4d;
  --text: #e9f1f9;
  --muted: #9ab2c8;
  --accent: #52d8bb;
  --accent-2: #88b4ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  min-height: 100vh;
  background: radial-gradient(circle at 10% 0%, #19273a 0, rgba(25, 39, 58, 0) 30%),
    radial-gradient(circle at 85% 15%, #1f3350 0, rgba(31, 51, 80, 0) 28%),
    linear-gradient(165deg, #070d13, #0d151e 55%, #0b1219);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

body.page-enter {
  opacity: 0;
  transform: translateY(10px);
}

body.page-ready {
  opacity: 1;
  transform: translateY(0);
}

body.page-exit {
  opacity: 0;
  transform: translateY(-10px);
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.topbar {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  background: rgba(10, 15, 23, 0.74);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-link {
  color: #c8deff;
  text-decoration: none;
  font-weight: 700;
}

main {
  padding: 3.1rem 0 2rem;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1.08;
  margin: 0;
  max-width: 16ch;
}

.hero p {
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.7;
}

.kicker {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  color: #accbef;
  letter-spacing: 0.13em;
  margin: 0 0 0.8rem;
}

.grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(16, 26, 37, 0.9), rgba(12, 19, 28, 0.95));
}

.card h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
  font-size: 1.1rem;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.6;
}

.section {
  margin-top: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 1.2rem;
  background: rgba(16, 26, 37, 0.65);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

form {
  display: grid;
  gap: 0.7rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.68rem 0.75rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #88b4ff;
}

.btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  color: #051018;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

footer {
  margin: 2rem 0 2.2rem;
  text-align: center;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.75s ease forwards;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 940px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
