/* Speak Professional — Stitch-aligned extras (Tailwind handles layout) */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background-color: #f8f9fb;
  color: #191c1e;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, sans-serif;
}

.site-main {
  flex: 1;
}

.glass-nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glow-bg {
  background: radial-gradient(circle at 50% 50%, rgba(244, 180, 0, 0.08) 0%, transparent 60%);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.mic-pulse {
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 180, 0, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(244, 180, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 180, 0, 0);
  }
}

.logo-scroll {
  display: flex;
  width: calc(250px * 14);
  animation: scroll-logos 40s linear infinite;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

/* Nav: never show list bullets (Pico leftover) */
.nav-links,
.nav-links li,
.footer-links,
.footer-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  text-decoration: none;
  color: #504533;
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: #7a5900;
}

.nav-links a[aria-current="page"] {
  color: #7a5900;
  font-weight: 700;
  border-bottom-color: #f4b400;
}

/* Blog / legal content (no Pico) */
.prose {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  line-height: 1.65;
}

.prose h1,
.prose h2,
.prose h3 {
  font-family: Poppins, system-ui, sans-serif;
  line-height: 1.2;
}

.prose img {
  border-radius: 16px;
  margin: 1.25rem 0;
  max-width: 100%;
  height: auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #5f5e5e;
}

.breadcrumbs li {
  list-style: none;
}

.breadcrumbs a {
  text-decoration: none;
  color: #7a5900;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: #aaa;
}

.legal-doc {
  max-width: 42rem;
  margin: 0 auto;
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.legal-doc h2 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.search-bar {
  display: flex;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.search-bar input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font: inherit;
  background: #fff;
}

.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
}

.tag-chips a {
  text-decoration: none;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  color: #191c1e;
}

.tag-chips a:hover,
.tag-chips a.is-active {
  background: #f4b400;
  border-color: #f4b400;
}

.badge {
  display: inline-block;
  background: #f4b400;
  color: #261900;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
}

.btn-dark {
  background: #1a1a1a;
  color: #fff;
}

.btn-yellow {
  background: #f4b400;
  color: #261900;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card.post-card h3 {
  margin: 0.65rem 0 0.5rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.1rem;
  line-height: 1.35;
}

.card.post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.featured-card {
  display: grid;
  gap: 1.5rem;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .featured-card {
    grid-template-columns: 1fr 1fr;
  }
}

.featured-card .media {
  min-height: 220px;
  background: #1a1a1a;
  overflow: hidden;
}

.featured-card .media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.post-card {
  overflow: hidden;
  padding: 0;
}

.post-card-media {
  display: block;
  background: #1a1a1a;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin: 1.25rem 0 1.75rem;
  background: #1a1a1a;
}

.featured-card .body {
  padding: 1.5rem;
}

.article-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .article-layout {
    grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.8fr);
    align-items: start;
  }

  .article-sidebar {
    position: sticky;
    top: 6rem;
  }
}

.faq details {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid #e0e0e0;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.muted {
  color: #5f5e5e;
}

.meta {
  color: #5f5e5e;
  font-size: 0.9rem;
}
