:root {
  --bg: #f5efe4;
  --ink: #1f2421;
  --muted: #5a655f;
  --accent: #16697a;
  --accent-soft: #4f9d69;
  --card: rgba(255, 252, 245, 0.76);
  --stroke: rgba(22, 105, 122, 0.18);
  --shadow: 0 16px 40px rgba(14, 35, 31, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(79, 157, 105, 0.22), transparent 45%),
    radial-gradient(circle at 85% 8%, rgba(22, 105, 122, 0.24), transparent 42%),
    linear-gradient(145deg, #fdf8ec 0%, #f3ebdf 48%, #efe7d8 100%);
}

.texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: radial-gradient(rgba(31, 36, 33, 0.07) 0.6px, transparent 0.6px);
  background-size: 8px 8px;
}

.bg-orb {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(35px);
  opacity: 0.5;
  pointer-events: none;
}

.orb-one {
  top: -6rem;
  left: -4rem;
  background: #7cc68f;
  animation: driftOne 13s ease-in-out infinite;
}

.orb-two {
  right: -6rem;
  bottom: -8rem;
  background: #58a9ba;
  animation: driftTwo 16s ease-in-out infinite;
}

.hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 2.5rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  margin: 0.7rem 0 0;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  font-weight: 700;
}

.subtitle {
  max-width: 43rem;
  margin: 1rem auto 0;
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.primary-cta {
  display: inline-block;
  margin-top: 1.7rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.78rem 1.45rem;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
  box-shadow: 0 10px 24px rgba(22, 105, 122, 0.25);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 26px rgba(22, 105, 122, 0.3);
}

.grid {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.app-card {
  opacity: 0;
  transform: translateY(16px);
  border: 1px solid var(--stroke);
  background: var(--card);
  backdrop-filter: blur(7px);
  border-radius: 1.2rem;
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 235px;
  transition: transform 200ms ease, border-color 200ms ease;
}

.app-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 105, 122, 0.38);
}

.category {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h2 {
  margin: 0.55rem 0 0;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.22;
}

.app-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.52;
  font-size: 0.97rem;
}

.app-card a {
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;
  color: #0f535f;
  font-weight: 700;
  border-bottom: 2px solid rgba(15, 83, 95, 0.3);
  padding-bottom: 2px;
}

.app-card a:hover {
  border-color: rgba(15, 83, 95, 0.75);
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 1rem 2.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@keyframes driftOne {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(2rem, 2.5rem) scale(1.06);
  }
}

@keyframes driftTwo {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-2rem, -1.8rem) scale(1.08);
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 4.3rem;
  }

  .app-card {
    min-height: 210px;
  }
}
