:root {
  --bg: #fff8f0;
  --ink: #14213d;
  --mint: #2ec4b6;
  --sun: #ff9f1c;
  --sky: #3d5a80;
  --coral: #e71d36;
}

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

body {
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(46, 196, 182, 0.18), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(255, 159, 28, 0.2), transparent 40%);
}

.nav {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  font-weight: 700;
  font-size: 0.85rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.hero {
  display: grid;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem) 3rem;
  align-items: center;
  min-height: 70vh;
}

.brand {
  font-weight: 800;
  font-size: clamp(3.8rem, 14vw, 7.5rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--coral);
  margin-bottom: 1rem;
  animation: pop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  max-width: 12ch;
  margin-bottom: 0.9rem;
  animation: pop 0.6s 0.08s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.sub {
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 34ch;
  opacity: 0.8;
  margin-bottom: 1.75rem;
  animation: pop 0.6s 0.14s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.cta {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 0.95rem 1.4rem;
  border-radius: 12px;
  transition: transform 0.2s ease, background 0.2s ease;
  animation: pop 0.6s 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.cta:hover {
  background: var(--coral);
  transform: translateY(-3px);
}

.hero-art {
  position: relative;
  height: 280px;
  animation: pop 0.7s 0.15s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

.shape {
  position: absolute;
  display: block;
}

.s1 {
  width: 180px;
  height: 180px;
  background: var(--mint);
  border-radius: 40px;
  top: 20px;
  left: 10%;
  animation: bob 4s ease-in-out infinite;
}

.s2 {
  width: 120px;
  height: 120px;
  background: var(--sun);
  border-radius: 50%;
  top: 40px;
  right: 12%;
  animation: bob 5s 0.5s ease-in-out infinite;
}

.s3 {
  width: 160px;
  height: 90px;
  background: var(--sky);
  border-radius: 20px;
  bottom: 20px;
  left: 28%;
  transform: rotate(-8deg);
  animation: bob 4.5s 0.2s ease-in-out infinite;
}

.tools {
  padding: 1rem clamp(1.25rem, 4vw, 3rem) 4rem;
}

.tools h2 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.65;
}

.row {
  display: grid;
  gap: 1rem;
}

.tile {
  padding: 1.5rem;
  border-radius: 18px;
  color: #fff;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}


.t-mint { background: var(--mint); color: var(--ink); }
.t-sun { background: var(--sun); color: var(--ink); }
.t-sky { background: var(--sky); }

.icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  margin-bottom: auto;
}

.t-sun .icon {
  background: rgba(20, 33, 61, 0.15);
}

.tile h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.tile p {
  font-size: 0.95rem;
  opacity: 0.9;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.s3 {
  animation-name: bob-tilt;
}

@keyframes bob-tilt {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-10px); }
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .row {
    grid-template-columns: repeat(3, 1fr);
  }
}

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