/* Knovya — lifted v3.2 component styles.
 * These are ported verbatim from the redesign-v3.2 component <style is:global>
 * blocks. They depend on the design tokens in marketing-v3.css (--ink, --brand,
 * --s-*, --t-*, --ease-out, …). Each section block/part appends its rules here.
 */

/* ---- Footer (landing-v3.2/Footer.astro) -------------------------------- */
.footer {
  background: var(--surface-warm);
  border-top: 1px solid var(--border);
  padding: var(--s-9) 0 var(--s-6);
}
.footer .container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--s-5); }

.footer__brand-row {
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s-7);
}
.footer__brand { max-width: 32ch; }
.footer__brand-mark { margin-bottom: var(--s-4); display: flex; align-items: center; gap: .55rem; }
.footer__brand-mark .footer__wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.footer__brand-mark svg { width: 22px; height: 22px; color: var(--brand); }
.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-body-sm);
  color: var(--ink-muted);
  margin: 0 0 var(--s-5);
}
.footer__social { display: inline-flex; gap: var(--s-3); }
.footer__social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--ink-2);
  transition: border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.footer__social a:hover { border-color: var(--brand); color: var(--brand); }
.footer__social svg { width: 16px; height: 16px; }

.footer__cluster-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px)  { .footer__cluster-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px)  { .footer__cluster-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .footer__cluster-row { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-5); } }

.footer__col h3 {
  font-family: var(--font-body);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 var(--s-4);
  font-weight: 500;
}
.footer__col h3 a { color: inherit; transition: color var(--t-fast) var(--ease-out); }
.footer__col h3 a:hover { color: var(--brand); }
.footer__col ul { display: flex; flex-direction: column; gap: var(--s-3); list-style: none; padding: 0; margin: 0; }
.footer__col a { font-size: var(--t-body-sm); color: var(--ink-2); transition: color var(--t-fast) var(--ease-out); text-decoration: none; }
.footer__col a:hover { color: var(--brand); }
.footer__col-all { font-weight: 500; color: var(--ink) !important; margin-top: var(--s-2); font-size: 0.78rem; }
.footer__col-all:hover { color: var(--brand) !important; }

.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4);
  padding-top: var(--s-5);
  font-size: var(--t-body-sm); color: var(--ink-muted);
}
.footer__bottom-links { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.footer__bottom-links a { color: var(--ink-muted); text-decoration: none; }
.footer__bottom-links a:hover { color: var(--brand); }
