/* One quiet interaction language for public pages, in both themes. */
.public-design .motion-card {
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.public-design a.motion-card:focus-visible {
  border-color: var(--technical-accent);
  outline: 2px solid var(--technical-accent);
  outline-offset: 4px;
}
.public-design :is(.technical-flow a, .technical-channels a, .technical-tab, .site-footer__links a) {
  transition: color 180ms ease, background-color 180ms ease;
}
.public-design :is(.technical-start, .technical-discuss, .technical-panel a, .header-signup) > span,
.public-design .header-signup::after {
  display: inline-block;
  transition: translate 180ms ease-out;
}
/* The legacy product selectors include article/li inside :is(), so keep
   enough specificity to suppress their lift as well as the individual one. */
.public-design main .motion-card:hover,
.public-design .public-first-screen .motion-card:hover {
  transform: none;
  translate: none;
}
.public-design .motion-card:not(a):not(button):hover { box-shadow: none; }
.public-design a.motion-card :is(h3, .doc-related b) { transition: color 180ms ease; }
.public-design .technical-panel:not([hidden]) {
  animation: public-panel-in 220ms ease-out;
}
.public-design .faq-item[open] > :not(summary) {
  animation: public-answer-in 180ms ease-out;
}
@keyframes public-panel-in {
  from { opacity: .6; }
  to { opacity: 1; }
}
@keyframes public-answer-in {
  from { opacity: .6; }
  to { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .public-design a.motion-card:hover {
    border-color: var(--technical-accent);
    color: var(--technical-accent);
  }
  .public-design a.motion-card:hover :is(h3, .doc-related b) { color: var(--technical-accent); }
  .public-design :is(.technical-start, .technical-discuss, .technical-panel a, .header-signup):hover > span,
  .public-design .header-signup:hover::after { translate: 3px 0; }
  .public-design .technical-tab:hover { background-color: color-mix(in srgb, var(--technical-accent) 8%, transparent); }
  .public-design .technical-channels a:hover { background-color: #ffffff08; }
  .public-design .site-footer__links a:hover { color: var(--technical-accent); }
}
@media (prefers-reduced-motion: reduce) {
  .public-design .motion-card,
  .public-design :is(.technical-flow a, .technical-channels a, .technical-tab, .site-footer__links a),
  .public-design :is(.technical-start, .technical-discuss, .technical-panel a, .header-signup) > span,
  .public-design .header-signup::after,
  .public-design a.motion-card :is(h3, .doc-related b) { transition: none; }
  .public-design .technical-panel:not([hidden]),
  .public-design .faq-item[open] > :not(summary) { animation: none; }
}
@media print {
  .public-design .motion-card { translate: none; box-shadow: none; }
}
