/* D BADAMI — commercial/category page components. Loads alongside
   /guides/guides.css (which provides the tokens, nav, footer, base type & tables). */

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

/* TL;DR / direct-answer callout under the H1 */
.tldr {
  margin: 0 0 2.4rem;
  padding: 1.4rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  font-size: 1.06rem;
  line-height: 1.65;
}
.tldr strong { font-weight: 500; }

/* Range card grid (links to cluster pages) */
.range-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.6rem 0 2rem;
}
.range-card {
  display: block;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.range-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.range-card__title {
  display: block;
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.range-card__desc { display: block; font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.range-card__arrow { display: block; margin-top: 0.7rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }

/* Certification chips */
.cert-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.4rem 0 2rem; padding: 0; list-style: none; }
.cert-chips li {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
  background: var(--surface);
  margin: 0;
}

/* Client proof row */
.client-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
  margin: 1.4rem 0 2rem; padding: 0; list-style: none;
  font-family: var(--display); font-size: 1.05rem; color: var(--muted);
}
.client-row li { margin: 0; }

/* How to order — numbered steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: 1rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -0.1rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid var(--ink); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 0.9rem;
}
.steps li strong { font-weight: 500; }

/* CTA buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1rem; }
.btn {
  display: inline-block; padding: 0.85rem 1.6rem;
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--ink);
  background: var(--ink); color: var(--invert);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--invert); }

/* FAQ list (plain, server-rendered — not collapsed) */
.faq-list { margin: 1.4rem 0 0; }
.faq-q {
  font-family: var(--display); font-weight: 400; font-size: 1.1rem;
  margin: 1.6rem 0 0.4rem; color: var(--ink);
}
.faq-a { margin: 0 0 0.4rem; color: var(--ink); }

/* Footer fabric links as a visual dropdown (<details>). Links remain in the DOM
   whether open or closed, so they stay fully crawlable — no SEO impact. */
.footer__fabrics { margin: 1.4rem auto 0; max-width: 64ch; }
.footer__fabrics > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); transition: color 0.3s var(--ease);
}
.footer__fabrics > summary::-webkit-details-marker { display: none; }
.footer__fabrics > summary:hover { color: var(--ink); }
.footer__fabrics > summary::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; transition: transform 0.3s var(--ease);
}
.footer__fabrics[open] > summary::after { transform: rotate(-135deg); margin-top: 2px; }
.footer__fabrics__links {
  display: none; /* collapsed by default; links stay in the DOM (crawlable) */
  flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.3rem;
  margin-top: 1.1rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer__fabrics[open] .footer__fabrics__links { display: flex; }
.footer__fabrics__links a { color: var(--muted); text-decoration: none; transition: color 0.3s var(--ease); }
.footer__fabrics__links a:hover { color: var(--ink); }

/* Editorial hero image (optional) */
.page-figure { margin: 0 0 2rem; }
.page-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }

/* ── Press / "As featured in" page ── */
.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; margin: 0 0 2.6rem; }
.feature { padding: 2.2rem 0; border-top: 1px solid var(--line); }
.feature:last-of-type { border-bottom: 1px solid var(--line); }
.feature .outlet { display: flex; gap: 0.8rem; align-items: baseline; flex-wrap: wrap; margin: 0 0 0.55rem; }
.feature .outlet strong { font-size: 0.95rem; letter-spacing: 0.02em; }
.feature .outlet time { font-size: 0.8rem; color: var(--muted); }
.feature .headline { font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 0.9rem; }
.feature blockquote { margin: 0 0 1.1rem; padding: 0 0 0 1.1rem; border-left: 2px solid var(--ink); font-size: 1.02rem; color: var(--ink); }
.feature .byline { font-size: 0.82rem; color: var(--muted); margin: 0 0 1rem; }
.feature .source { display: inline-block; font-size: 0.85rem; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; text-decoration: none; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.feature .source:hover { color: var(--muted); border-color: var(--muted); }

/* Press — section headings */
.press-h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.01em; margin: 3rem 0 1.2rem; }

/* Press — "As Featured In" wordmark wall */
.featured-in { margin: 2.4rem 0 1rem; padding: 1.8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.featured-in .eyebrow { display: block; margin-bottom: 1.2rem; }
.outlet-wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 2rem; }
.outlet-wall a { font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.01em; color: var(--ink); text-decoration: none; opacity: 0.7; transition: opacity 0.3s var(--ease); }
.outlet-wall a:hover { opacity: 1; }

/* Press — grouped coverage lists */
.coverage > p { color: var(--muted); max-width: 60ch; margin: 0 0 1rem; }
.coverage-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 1.5rem; }
.coverage-list a { font-size: 0.95rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: border-color 0.3s var(--ease); }
.coverage-list a:hover { border-color: var(--ink); }
@media (max-width: 640px) { .coverage-list { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  .range-grid { grid-template-columns: 1fr; }
}
