html { scroll-behavior: smooth; }

:root {
  /* Subtle brand accents */
  --brand: #3b82f6; /* soft blue */
  --pico-mark-gradient: linear-gradient(90deg, #fbbf24, #3b82f6 ); /* warm yellow to blue */
}
.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand small {
  opacity: 0.7;
  font-weight: 500;
}
.centered {
  text-align: center;
}

/* Navigation responsive styles */
nav, nav ul {
  flex-direction: row;
}
nav li {
  padding: 1rem;
}
@media (max-width: 576px) {
  nav, nav ul {
    flex-direction: column;
  }
  nav li {
    padding: 0.5rem;
  }
}

/* Hero section */
.hero {
  margin: 1rem auto;
  text-align: center;
}
mark {
  padding: 0;
  background: var(--pico-mark-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Hero image full width, tagline below image on mobile */
.hero-image-container {
  width: 100%;
  max-width: 1080px;
  margin: 1rem auto;
  position: relative;
}
.hero-image-container img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: block;
}
/* Tagline overlay over the hero image on desktop */
@media (min-width: 576px) {
  .hero-image-container p {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    font-size: 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    text-align: center;
    pointer-events: none;
  }
}
/* Tagline below the hero image on mobile */
@media (max-width: 575px) {
  .hero-image-container p {
    margin: 0.5rem auto;
    font-size: 1rem;
    text-align: center;
  }
}
.hero kbd {
  margin: 0.5rem auto;
}
.cta {
  background: var(--brand);
  border-color: var(--brand);
}
.cta:is(:hover, :focus) {
  filter: brightness(0.8);
}

/* General responsive tweaks */
.section {
  padding: 3rem 1rem;
  box-sizing: border-box;
}
.muted { opacity: 0.75; }
.card {
  border: 1px solid var(--pico-muted-border-color, rgba(0,0,0,0.1));
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  height: 100%;
}

/* How it works sections grid */
.how-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.how-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 25vw;
  min-width: 180px;
  margin-left: auto;
  margin-right: auto;
}
.how-image-container img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: block;
}

/* Story section styling */
.story-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.story-image-container img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* Founder's note section responsive */
.founder-note-container {
  background: linear-gradient(180deg, rgba(59,130,246,0.06), transparent 45%);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  gap: 1.5rem;
}
.founder-note-text {
  flex: 1 1 60%;
}
.founder-note-image {
  flex: 1 1 40%;
}
.founder-note-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
}
@media (max-width: 576px) {
  .founder-note-container {
    flex-direction: column;
  }
}

/* FAQ section tweaks */
.faq {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
/* Waitlist form tweaks */
.waitlist {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
/* Target Kit waitlist form to center contents */
.waitlist > * {
  width: 100%;
  margin: 0 auto;
  display: block;
  text-align: center;
}
