html {
  scroll-behavior: smooth;
}

:root {
  --bg: #0f141a;
  --card: #151c24;
  --accent: #6d8bff;
  --accent-soft: #b8c6ff;
  --text: #e6edf5;
  --muted: #9aa9bb;
  --border: rgba(255, 255, 255, 0.08);
  font-family: "Inter", "Hiragino Sans", "Yu Gothic", system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(145deg, #060b10 0%, #131b27 60%, #111b27 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
  overflow: hidden;
}

.hero__content {
  max-width: 720px;
  text-align: center;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(109, 139, 255, 0.5), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(41, 216, 255, 0.4), transparent 40%);
  opacity: 0.6;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: var(--accent-soft);
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
  color: #fff;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.microcopy {
  font-size: 0.95rem;
  color: var(--accent-soft);
  min-height: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  border: 1px solid transparent;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.btn.primary {
  background: var(--accent);
  color: #0b1020;
  box-shadow: 0 10px 35px rgba(109, 139, 255, 0.35);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
}

main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 0 1.5rem 4rem;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 3vw;
  background: rgba(10, 13, 18, 0.6);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(14px);
}

.section.alt {
  background: rgba(9, 14, 22, 0.8);
}

.section__header {
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.three-col {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.6rem;
  color: var(--accent-soft);
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
}

.timeline .time {
  font-weight: 700;
  color: var(--accent-soft);
}

.cards article {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 20px;
}

.role {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signup-form label {
  font-weight: 600;
}

.input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 0.75rem;
  border-radius: 16px;
}

.input-row input {
  flex: 1;
  min-width: 200px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  padding: 0.5rem 0;
}

.input-row input:focus {
  outline: none;
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-feedback {
  font-weight: 600;
  margin: 0;
  color: var(--muted);
}

.form-feedback[data-state="success"] {
  color: #8fe6b9;
}

.form-feedback[data-state="error"] {
  color: #ff9f9f;
}

.footer {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__links {
  display: flex;
  gap: 1.2rem;
}

.footer__links a {
  color: var(--accent-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 1.2rem;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js-ready .section {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .js-ready .section.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
