/**
 * Animisha.dev — responsive layout, rhythm, borders
 * Feels good on every screen.
 */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  padding-bottom: clamp(3.25rem, 8vw, 4rem);
}

header {
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

@media (max-width: 900px) {
  header {
    padding: 1rem 1.25rem;
    justify-content: center;
    text-align: center;
  }

  header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.85rem;
    width: 100%;
  }

  header nav a {
    margin-left: 0;
  }
}

section {
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
}

.hero {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 4vw, 3rem);
}

.lead {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .lead {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Unified card borders — nothing off-kilter */
.feature,
.tier,
.speed-card,
.waitlist,
.foundation-card,
.mermaid-wrap,
.chip {
  border-width: 1px;
  border-style: solid;
}

.sprint-strip {
  padding: 0.65rem clamp(0.75rem, 3vw, 2rem);
  gap: 0.65rem clamp(0.85rem, 3vw, 2rem);
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.speed-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.speed-mult {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

h1 {
  font-size: clamp(1.65rem, 4.5vw, 2.85rem);
}

h2 {
  font-size: clamp(0.95rem, 2.8vw, 1.45rem);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.section-sub {
  font-size: clamp(0.88rem, 2vw, 0.98rem);
  line-height: 1.6;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.tagline {
  font-size: clamp(0.58rem, 1.8vw, 0.72rem);
}

.badge {
  max-width: 100%;
}

.btn {
  padding: 0.75rem 1.25rem;
  font-size: clamp(0.62rem, 1.8vw, 0.72rem);
}

/* Homepage REC pulse — shared with footer */
.realtime-pulse,
.dash-rec-dot {
  display: inline-block;
  border-radius: 50%;
}

.realtime-pulse {
  width: auto;
  height: auto;
}

@keyframes rec-ambiance {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px #ff2a6d, 0 0 22px rgba(255, 42, 109, 0.65);
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 4px rgba(255, 42, 109, 0.35);
  }
}

@keyframes rec-label-glow {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(255, 42, 109, 0.75);
  }
  50% {
    opacity: 0.6;
    text-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dash-rec.is-live .dash-rec-dot,
  .dash-rec.is-live .dash-rec-label,
  .realtime-pulse {
    animation: none !important;
  }
}
