:root {
  --bg: #070d14;
  --bg-elev: #0c1620;
  --ink: #eef5f8;
  --muted: #8aa0ad;
  --cyan: #3ec8e8;
  --cyan-soft: rgba(62, 200, 232, 0.14);
  --gold: #d4b45a;
  --line: rgba(238, 245, 248, 0.1);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark img {
  border-radius: 8px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

nav a {
  color: rgba(238, 245, 248, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: #041018 !important;
  background: var(--cyan);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  filter: brightness(1.08);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-plane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: scale(1.02);
  animation: drift 12s ease-in-out infinite alternate;
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 13, 20, 0.88) 0%, rgba(7, 13, 20, 0.55) 48%, rgba(7, 13, 20, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 13, 20, 0.55) 0%, rgba(7, 13, 20, 0.2) 40%, rgba(7, 13, 20, 0.92) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 7rem 1.5rem 4.5rem;
  animation: rise 800ms ease both;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 11vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: rgba(238, 245, 248, 0.82);
  font-size: 1.15rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease;
}

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

.btn.primary {
  color: #041018;
  background: linear-gradient(135deg, #6ad7f0, var(--cyan));
}

.btn.ghost {
  color: var(--ink);
  background: rgba(7, 13, 20, 0.35);
  border: 1px solid rgba(238, 245, 248, 0.28);
  backdrop-filter: blur(6px);
}

.btn.ghost:hover {
  background: var(--cyan-soft);
  border-color: rgba(62, 200, 232, 0.45);
}

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

@keyframes drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-1.2%, -0.6%, 0);
  }
}

main > .section,
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 1rem;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0.65rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}

.feature-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.feature-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.feature-list span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
}

.split p {
  color: var(--muted);
  max-width: 40rem;
}

.aside-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding-top: 0.4rem;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid rgba(62, 200, 232, 0.45);
  width: fit-content;
  padding-bottom: 0.15rem;
}

.text-link:hover {
  color: var(--cyan);
}

.code {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.35rem;
  overflow-x: auto;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #c9e7f0;
  font-size: 0.92rem;
  line-height: 1.65;
}

.code code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
}

.hint {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hint code {
  color: #c9e7f0;
  font-size: 0.9em;
}

.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.footer strong {
  color: var(--ink);
  font-family: var(--font-display);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 6rem;
  }

  nav a:not(.nav-cta) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
