/* Home page styles — extends the shared Material 3 theme in styles.css */

/* ---------- Hero ---------- */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.9rem;
  border-radius: var(--shape-full);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform var(--dur-med) var(--ease-spring);
}
.btn:hover { transform: scale(1.05); }
/* a:hover in styles.css is more specific than .btn-primary, so re-assert colors on hover */
.btn-primary, .btn-primary:hover { background: var(--md-primary); color: var(--md-on-primary); }
.btn-tonal, .btn-tonal:hover {
  background: var(--md-secondary-container);
  color: var(--md-on-secondary-container);
}
.wordmark {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.feature p { margin: 0; color: var(--md-on-surface-variant); font-size: 0.95rem; }

/* ---------- Phone screenshots ---------- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.shot-wrap {
  display: flex;
  flex-direction: column;
  border-radius: var(--shape-lg);
  overflow: hidden;
  border: 1px solid var(--md-outline-variant);
}
.shot {
  background: #ffffff; /* screenshots 1-7 sit on a #ffffff background inside a Pixel 8 Pro frame */
}
.shot.dark {
  background: #111827; /* screenshot 8 (dark mode feed) sits on a #111827 background */
}
.shot img { display: block; width: 100%; height: auto; }
.shot-caption {
  padding: 0.7rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--md-on-surface-variant);
  background: var(--md-surface-container-high);
  border-top: 1px solid var(--md-outline-variant);
}

@media (max-width: 480px) {
  .btn { width: 100%; text-align: center; }
}
