:root {
  --bg: #061018;
  --ink: #e8f4f1;
  --muted: #8eaea6;
  --line: rgba(232, 244, 241, 0.12);
  --accent: #2ee6a6;
  --accent-deep: #149a6c;
  --warm: #f0b429;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(46, 230, 166, 0.18), transparent 58%),
    radial-gradient(900px 540px at -12% 88%, rgba(240, 180, 41, 0.12), transparent 52%),
    linear-gradient(165deg, #040c10 0%, #0a1a20 48%, #061018 100%);
}

.grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(232, 244, 241, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 244, 241, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 28%, transparent 78%);
  animation: drift 28s linear infinite;
}

@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 32px, 64px 32px; }
}

.top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 56px);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  color: #04110c;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 0 1px rgba(46, 230, 166, 0.35);
}

.brand-word {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 18px;
}

.hero {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(20px, 5vw, 56px) 64px;
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
  animation: rise 0.7s ease both;
}

.logo-hero {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #f5fffb 10%, var(--accent) 55%, #9ff0d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.85s ease 0.05s both;
}

.lead {
  margin: 28px 0 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.55;
  color: var(--muted);
  animation: rise 0.9s ease 0.12s both;
}

.inline-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(46, 230, 166, 0.55);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.inline-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  animation: rise 1s ease 0.18s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cta.primary {
  color: #04110c;
  background: linear-gradient(135deg, var(--accent), #1fc48a);
  box-shadow: 0 10px 30px rgba(46, 230, 166, 0.22);
}

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

.cta.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.cta.ghost:hover {
  border-color: rgba(46, 230, 166, 0.45);
  background: rgba(46, 230, 166, 0.08);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px clamp(20px, 5vw, 56px) 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.foot a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 230, 166, 0.4);
}

.foot a:hover {
  color: var(--accent);
}

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

@media (max-width: 640px) {
  .hero {
    min-height: calc(100vh - 160px);
    padding-top: 40px;
  }

  .cta {
    width: 100%;
    justify-content: center;
  }

  .foot {
    flex-direction: column;
  }
}
