:root {
  --bg: #f2fbf9;
  --bg-secondary: #e6f6f2;
  --surface: rgba(255, 255, 255, 0.76);
  --text: #0d2f2a;
  --muted: #355f58;
  --primary: #0f766e;
  --accent: #1f9d8b;
  --stroke: rgba(15, 118, 110, 0.18);
  --shadow: 0 24px 60px rgba(12, 59, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 15%, #d9fff5 0 20%, transparent 42%),
    radial-gradient(circle at 90% 10%, #c6ece6 0 22%, transparent 45%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-secondary) 100%);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  animation: drift 18s infinite alternate ease-in-out;
}

.orb-1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -90px;
  background: rgba(31, 157, 139, 0.2);
}

.orb-2 {
  width: 220px;
  height: 220px;
  bottom: -70px;
  left: -70px;
  background: rgba(15, 118, 110, 0.18);
  animation-duration: 24s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--stroke) 1px, transparent 1px),
    linear-gradient(90deg, var(--stroke) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
  opacity: 0.3;
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 3.2rem 1.4rem 1.2rem;
}

.hero {
  backdrop-filter: blur(8px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
}

h1 {
  margin: 0.65rem 0 0;
  max-width: 22ch;
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.05;
}

h1 span {
  display: inline-block;
  color: var(--accent);
}

.lead {
  max-width: 58ch;
  margin: 1rem 0 1.6rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.signal {
  width: 100%;
  height: 72px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: linear-gradient(to right, rgba(31, 157, 139, 0.08), rgba(15, 118, 110, 0.04));
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.signal svg {
  width: 100%;
  height: 100%;
}

.signal path {
  stroke: #0d8d7d;
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  animation: monitor 4.8s ease-in-out infinite;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, #0f766e, #1f9d8b);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.3);
}

.btn-secondary {
  color: var(--primary);
  border: 1px solid rgba(15, 118, 110, 0.28);
  background: rgba(255, 255, 255, 0.78);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.pillars article {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(12, 59, 54, 0.08);
}

.pillars h2 {
  margin: 0;
  font-family: "Syne", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.pillars p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer {
  text-align: center;
  color: #3d6d66;
  font-size: 0.88rem;
  padding-bottom: 0.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 700ms cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.18s;
}

.reveal-delay-2 {
  animation-delay: 0.3s;
}

.reveal-delay-3 {
  animation-delay: 0.42s;
}

@keyframes monitor {
  0% {
    stroke-dashoffset: 1700;
  }
  40% {
    stroke-dashoffset: 0;
  }
  70% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -1700;
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(20px, 10px) scale(1.1);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .hero {
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .page {
    padding-top: 2.2rem;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
