/* Styles specific to the Tactify landing page (site/tactify/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
   /tactify 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); }

.shot {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 0 0 2rem;
  display: block;
}

.features { padding-left: 0; list-style: none; }
.features li { margin-bottom: 1rem; }
