:root {
  --bg: #eef5f1;
  --bg-deep: #e2ece7;
  --ink: #14312c;
  --muted: #3f5f57;
  --accent: #1f6f5b;
  --accent-deep: #0e3d36;
  --line: #b7cfc5;
  --surface: rgba(255, 255, 255, 0.55);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", 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:
    radial-gradient(1200px 600px at 10% -10%, #d7ebe2 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #c5ddd3 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.55;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 49, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 49, 44, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 75%);
  animation: drift 28s linear infinite;
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(48px);
  }
}

.top {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
}

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

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 0.2rem;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 0 4px rgba(31, 111, 91, 0.12);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 5rem);
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 11ch;
  animation: rise 0.9s ease both;
}

.hero-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
  animation: rise 0.9s ease 0.12s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 0.9s ease 0.22s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 550;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.cta.primary {
  background: var(--accent-deep);
  color: #f4fff9;
}

.cta.ghost {
  color: var(--accent-deep);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(6px);
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(14, 61, 54, 0.18);
  box-shadow: 0 24px 60px rgba(14, 61, 54, 0.18);
  animation: rise 1s ease 0.18s both;
}

.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 2.2s ease forwards 0.4s;
}

.line.b {
  animation-delay: 0.7s;
}

.node {
  transform-origin: center;
  animation: pop 0.6s ease both;
}

.n1 {
  animation-delay: 1s;
}
.n2 {
  animation-delay: 1.15s;
}
.n3 {
  animation-delay: 1.3s;
}

.pulse {
  transform-origin: 320px 240px;
  animation: pulse 2.8s ease-out infinite 1.4s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.55;
    transform: scale(0.7);
  }
  70% {
    opacity: 0;
    transform: scale(1.45);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

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

.strip {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  border-top: 1px solid rgba(20, 49, 44, 0.1);
}

.strip.alt {
  padding-bottom: 5rem;
}

.strip h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

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

.status-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
}

.status-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid rgba(20, 49, 44, 0.08);
  backdrop-filter: blur(6px);
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #8aa39a;
}

.dot.ok {
  background: #2f9e78;
  box-shadow: 0 0 0 4px rgba(47, 158, 120, 0.15);
}

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.sep {
  opacity: 0.5;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    padding-top: 2rem;
  }
}

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