/* Styles specific to the DevMuse landing page (site/devmuse/index.html).
   External, not inline: the CSP in _headers sets `style-src 'self'` with no
   'unsafe-inline', so an inline <style> block is silently dropped by the
   browser — which used to leave both languages rendered at once.
   Root-level on purpose: product subdomains pass root paths straight through
   to the assets layer, while a subdirectory path would hit the legacy
   /devmuse prefix-strip 301. */

/* Single-page bilingual: hide the inactive language. */
body:not(.lang-zh) [lang="zh"] { display: none; }
body.lang-zh        [lang="en"] { display: none; }

.lang-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font: inherit;
  font-size: 0.85rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 1rem;
}
.lang-toggle:hover { color: var(--fg); border-color: var(--fg-muted); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.cta {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-size: 0.95rem;
}
.cta.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cta.primary:hover { color: #fff; border-bottom-color: transparent; opacity: 0.9; }
.cta.secondary { color: var(--fg); }
.cta.secondary:hover { border-color: var(--fg-muted); border-bottom-color: var(--fg-muted); }

pre {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas,
               "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.55;
}
pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}

.pipeline {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
  text-align: center;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 1rem 0 2rem;
  letter-spacing: 0.02em;
}
