:root {
  --bg: #f6f7ec;
  --surface: rgba(255, 255, 255, 0.72);
  --text: #192112;
  --muted: #44523b;
  --brand: #8aa23a;
  --accent: #f5a335;
  --accent-2: #eb6c40;
  --line: rgba(25, 33, 18, 0.12);
  --shadow: 0 20px 50px rgba(61, 73, 38, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: Manrope, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #fff9e3 0%, transparent 35%),
    radial-gradient(circle at 80% 0%, #dbe9cf 0%, transparent 40%), var(--bg);
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  background-size: 120% 120%;
  animation: bgShift 18s ease-in-out infinite;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 200;
  background: #ffffff;
  color: #111;
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem;
  border: 2px solid #111;
}

.skip-link:focus {
  left: 0.75rem;
}

.mesh-bg {
  position: fixed;
  inset: -20%;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 30%, rgba(235, 108, 64, 0.12), transparent 30%),
    radial-gradient(circle at 75% 20%, rgba(159, 181, 94, 0.15), transparent 34%),
    radial-gradient(circle at 50% 80%, rgba(245, 163, 53, 0.13), transparent 32%);
  filter: blur(10px);
  animation: meshFloat 16s linear infinite alternate;
}

.ambient {
  position: fixed;
  pointer-events: none;
  width: 40rem;
  height: 40rem;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.28;
  z-index: -1;
}

.ambient-a {
  top: -12rem;
  left: -8rem;
  background: #ffd786;
}

.ambient-b {
  bottom: -14rem;
  right: -8rem;
  background: #9ab268;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  backdrop-filter: blur(10px);
  background: rgba(246, 247, 236, 0.7);
  border-bottom: 1px solid var(--line);
  transition: background 260ms ease, border-color 260ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand img {
  width: 1.75rem;
  height: 1.75rem;
}

nav {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.download-pill {
  background: var(--text);
  color: #fff;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}

main {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 6rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 6vw, 4.4rem);
  line-height: 0.95;
  margin: 0 0 1rem;
}

.hero-copy p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #314027;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.35rem 0 0.5rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 0.9rem;
  padding: 0.8rem 1rem;
  transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 45px rgba(235, 108, 64, 0.32);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 162, 58, 0.42);
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-art img {
  width: 100%;
  max-width: 34rem;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 35px rgba(26, 31, 17, 0.2));
  animation: mascotFloat 5s ease-in-out infinite;
  will-change: transform;
}

.hero-art {
  position: relative;
  will-change: transform;
  transition: transform 120ms linear;
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(25, 33, 18, 0.08);
  pointer-events: none;
}

.hero-orbit-a {
  width: clamp(220px, 32vw, 380px);
  height: clamp(220px, 32vw, 380px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 22s linear infinite;
}

.hero-orbit-b {
  width: clamp(260px, 37vw, 430px);
  height: clamp(260px, 37vw, 430px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 32s linear infinite reverse;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card,
.split,
.price-card,
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  box-shadow: var(--shadow);
}

.card {
  padding: 1.2rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card h2 {
  font-family: "Space Grotesk", sans-serif;
  margin-top: 0;
}

.card:hover,
.price-card:hover,
.faq details:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 40px rgba(61, 73, 38, 0.2);
  border-color: rgba(138, 162, 58, 0.35);
}

.split {
  margin-top: 1rem;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: center;
}

.split img {
  width: 100%;
  max-width: 18rem;
  margin: 0 auto;
}

.pricing {
  margin-top: 3rem;
}

.pricing h2,
.faq h2 {
  font-family: "Space Grotesk", sans-serif;
  margin-top: 0;
}

.price-cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  padding: 1.25rem;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  margin: 0.2rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.price-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}

.featured {
  border-color: rgba(235, 108, 64, 0.35);
}

.tag {
  position: absolute;
  right: 1rem;
  top: 1rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #963b1f;
}

.faq {
  margin-top: 2.5rem;
}

.faq details {
  margin-top: 0.7rem;
  padding: 1rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.faq p {
  color: #324028;
  line-height: 1.55;
}

footer {
  width: min(1120px, 92vw);
  margin: 0 auto 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
}

footer img {
  width: 1.4rem;
}

footer a {
  margin-left: auto;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: revealUp 700ms ease forwards;
  animation-play-state: paused;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 240ms;
}

.delay-3 {
  animation-delay: 360ms;
}

.reveal.show {
  animation-play-state: running;
}

.pulse-points {
  display: inline-flex;
  gap: 0.4rem;
}

.pulse-points span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  animation: pulse 1.2s ease-in-out infinite;
}

.pulse-points span:nth-child(2) {
  animation-delay: 0.15s;
}

.pulse-points span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.7); opacity: 0.35; }
  50% { transform: scale(1); opacity: 1; }
}

@keyframes bgShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes meshFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.05); }
}

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

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  nav a:not(.download-pill) {
    display: none;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .price-cards,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1rem;
    gap: 0.75rem;
  }

  .hero-art {
    order: -1;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
