/* Added to every page by scripts/build-website.mjs (12-01): the language links that replaced the language
   buttons, the extra footer links, and the landing / trust / docs topic pages. Builds on css/site.*.css. */

.lang a,
.lang span {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.lang a:hover {
  color: var(--ink);
}

.lang a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.lang span[aria-disabled="true"] {
  opacity: 0.45;
}

.foot-more {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 2rem;
  margin: 1.6rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.foot-more .foot-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.foot-more strong {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.docs-hero .lp-lead {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.lp-cta {
  margin-top: 1.4rem;
}

.lp-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.4rem 1.5rem;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
}

.topic {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.topic h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.topic p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.topic ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

.topic-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.placeholder {
  padding: 0.1rem 0.4rem;
  border: 1px dashed currentColor;
  border-radius: 6px;
  font-weight: 600;
}

.docs-hero .lp-lead code {
  padding: 0.05rem 0.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
