:root {
  --bg: #000000;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.56);
  --hairline: rgba(255, 255, 255, 0.08);
  --chip-bg: rgba(255, 255, 255, 0.10);
  --chip-bg-hover: rgba(255, 255, 255, 0.16);
  --cta-bg: #ffffff;
  --cta-ink: #000000;

  --sans: "SF Pro Display", "Helvetica Neue", Helvetica, -apple-system,
    "system-ui", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100svh;
}

body {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow-x: hidden;
}

/* --- top nav ------------------------------------------------------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 6vw, 72px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--muted);
}

.nav-brand {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--chip-bg);
  color: var(--ink);
  border-radius: 9999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.18s ease;
}

.nav-pill:hover { background: var(--chip-bg-hover); }

/* --- hero ---------------------------------------------------------- */

main {
  display: grid;
  place-items: center;
  padding: clamp(48px, 12vh, 120px) clamp(24px, 6vw, 72px);
  position: relative;
  isolation: isolate;
}

.halo {
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 100%,
      rgba(120, 140, 220, 0.18) 0%,
      rgba(120, 140, 220, 0.00) 65%),
    radial-gradient(40% 40% at 50% 100%,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.00) 70%);
  pointer-events: none;
}

.hero {
  max-width: 760px;
  width: 100%;
  text-align: center;
  animation: rise 0.5s cubic-bezier(.2, .7, .2, 1) both;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 28px;
  padding: 6px 14px;
  background: var(--chip-bg);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.68) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  margin: 0 auto 40px;
  max-width: 520px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
}

/* --- CTA ---------------------------------------------------------- */

.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

a.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--cta-bg);
  color: var(--cta-ink);
  border-radius: 9999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

a.btn:hover {
  background: #ececec;
  transform: translateY(-1px);
}

a.btn .arrow {
  transition: transform 0.18s ease;
}

a.btn:hover .arrow {
  transform: translateX(3px);
}

a.btn.ghost {
  background: var(--chip-bg);
  color: var(--ink);
}

a.btn.ghost:hover {
  background: var(--chip-bg-hover);
}

a.btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* --- responsive --------------------------------------------------- */

@media (max-width: 560px) {
  .nav { padding: 18px 22px; }
  main { padding: 48px 22px 72px; }
  .hero h1 { letter-spacing: -0.025em; }
  .eyebrow { margin-bottom: 22px; }
}

/* --- motion ------------------------------------------------------- */

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

@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
  a.btn, a.btn .arrow { transition: none; }
}
