:root {
  --ink: #14231c;
  --ink-soft: #3d5248;
  --surface: #f4faf7;
  --accent: #0f6b52;
  --line: rgba(20, 35, 28, 0.08);
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Figtree", sans-serif;
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 10% -10%, #c8e8d8 0%, transparent 55%),
    radial-gradient(90% 70% at 100% 0%, #d6ebe3 0%, transparent 50%),
    linear-gradient(165deg, #f7fcf9 0%, #eaf5f0 45%, #ddeee6 100%);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  will-change: transform;
}

.orb-a {
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  top: -8%;
  right: -6%;
  background: rgba(64, 168, 132, 0.35);
  animation: drift-a 14s ease-in-out infinite alternate;
}

.orb-b {
  width: min(44vw, 380px);
  height: min(44vw, 380px);
  bottom: 5%;
  left: -10%;
  background: rgba(30, 110, 90, 0.22);
  animation: drift-b 18s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-4%, 6%) scale(1.08); }
}

@keyframes drift-b {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(8%, -5%) scale(1.12); }
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(100% - 2.5rem, 640px);
  margin: 0 auto;
  padding: 5rem 0 3rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 1.75rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 0.85rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 28ch;
  font-weight: 400;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
}

footer p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  opacity: 0.85;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

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

@media (max-width: 560px) {
  .hero {
    padding: 4rem 0 2.5rem;
    width: min(100% - 2rem, 640px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb-a,
  .orb-b,
  .brand,
  h1,
  .lede,
  footer p {
    animation: none;
  }
}
