:root {
  --ink: #0c1f1a;
  --fog: #e8f2ee;
  --mist: #b7d4c8;
  --accent: #d97706;
  --accent-ink: #1a0f00;
  --panel: rgba(12, 31, 26, 0.55);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--fog);
  background: var(--ink);
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 12% 18%, rgba(46, 125, 98, 0.45), transparent 55%),
    radial-gradient(ellipse 70% 60% at 88% 8%, rgba(217, 119, 6, 0.22), transparent 50%),
    radial-gradient(ellipse 80% 50% at 70% 100%, rgba(20, 70, 90, 0.35), transparent 55%),
    linear-gradient(165deg, #071512 0%, #0c1f1a 42%, #102820 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

@keyframes drift {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.04) translate(-1.5%, 1%);
  }
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.brand {
  margin: 0;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(2.75rem, 9vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #f4fbf7;
}

h1 {
  margin: 0.25rem 0 0;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--mist);
}

.lede {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(232, 242, 238, 0.82);
  max-width: 34rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
  animation: rise 1.05s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  font: 600 0.95rem/1 "Source Sans 3", sans-serif;
  text-decoration: none;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn.primary:hover {
  background: #f59e0b;
}

.btn.ghost {
  background: var(--panel);
  color: var(--fog);
  border-color: rgba(183, 212, 200, 0.35);
  backdrop-filter: blur(8px);
}

.btn.ghost:hover {
  border-color: rgba(183, 212, 200, 0.7);
}

.meta {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  color: rgba(232, 242, 238, 0.65);
  animation: rise 1.1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.meta a {
  color: var(--mist);
}

.meta a:hover {
  color: #fff;
}
